  | 
				
				Cheat Engine The Official Site of Cheat Engine   
				
 
				 | 
			 
		 
		 
	
		| View previous topic :: View next topic   | 
	 
	
	
		| Author | 
		Message | 
	 
	
		AylinCE Grandmaster Cheater Supreme
  Reputation: 37
  Joined: 16 Feb 2017 Posts: 1530
 
  | 
		
			
				 Posted: Thu Aug 06, 2020 5:26 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				I bought this code to add it to Trainer.
 
But I realized that "Attach" does not activate the selected action.
 
The picture shows the process.
 
I tampered with the code a little bit and now it is working properly.
 
I think you should make changes to your code.
 
Note: Thanks for the gesture. (Slide picture)
 
 
 	  | Code: | 	 		  function ProcessMemory(pro)
 
f = createForm() f.setSize(300,150) f.Caption = "Sorted Process List" setProperty(f , "BiDiMode", "bdLeftToRight")
 
f.Color=0xFF0000 f.Position = poDesktopCenter
 
list = createListBox(f) x,y=f.getSize() list.setSize(x-10, y-50) list.setPosition(5,45) list.OptimalFill=true list.color=0x00FFFF
 
list.Font.Style="fsBold"
 
local lx1 = createLabel(f)
 
lx1.AutoSize = false
 
lx1.Height = 41
 
lx1.Left = 15
 
lx1.Top = 1
 
lx1.Width = 270
 
lx1.Font.Size=10 lx1.Font.Color=0xFFFFFF lx1.OptimalFill=true lx1.Font.Style="fsBold"
 
lx1.Alignment= "taCenter"
 
lx1.caption = 'Double-click the selection to confirm.\nOnaylamak için, seçimi çift tıklayın.\nPID:   -     Process:    -     Memory:                                 '
 
 
 function filterprocess()
 
 local pro = pro..".exe"
 
 if pro == "" or pro == nil then return nil end
 
 
 local tasklist = io.popen"tasklist /fo csv /nh"
 
 local plist = {}
 
 local proc_item
 
 list.clear()
 
 
 for line in tasklist:lines() do
 
 local exe, pid, mem = line:match'^"(.-)","(%d+)",.-"([^"]+)"$'
 
 table.insert(plist, {pid = tonumber(pid), exe = exe, mem = tonumber((mem:gsub("%D", "")))})
 
 end
 
 
 tasklist:close()
 
 table.sort(plist, function(a, b) return a.mem > b.mem end)
 
 for j = 1, math.min(120, #plist) do
 
  if plist[j].exe == pro then
 
  proc_item = string.format(plist[j].pid..' - '..plist[j].exe..' - '..plist[j].mem..' Kb')
 
  list.Items.Add(proc_item)
 
  end
 
  end
 
  end
 
 
function attaching(name)
 
local a = list.ItemIndex
 
local pro1 = list.Items[a]
 
print(pro1)
 
--pid, mem = pro:match("(.*) -- "..name.." - (.*) Kb")
 
local pid = pro1:match('%d+');
 
  pid=tonumber(pid)
 
print(pid.." - "..name)
 
if pid then
 
openProcess(pid)
 
sleep(200)
 
f.Close()
 
end
 
end
 
 
filterprocess()
 
list.onDblClick = function() attaching(pro..".exe") end
 
end
 
 
ProcessMemory("chrome") | 	  
	
  
	 
	
	
		
	 
	
		|  Description: | 
		
			
		 | 
	 
	
		|  Filesize: | 
		 38.38 KB | 
	 
	
		|  Viewed: | 
		 13181 Time(s) | 
	 
	
		
  
 
  | 
	 
	 
	 
 _________________
  | 
			 
		  | 
	 
	
		| Back to top | 
		 | 
	 
	
		  | 
	 
	
		Corroder Grandmaster Cheater Supreme
  Reputation: 75
  Joined: 10 Apr 2015 Posts: 1668
 
  | 
		
			
				 Posted: Thu Aug 06, 2020 6:12 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				Yup.!! I am too lazy to re-post the edited scripts before. I have fixed those matter before you tell me. Thanks to remind.
 _________________
 Stealing Code From Stolen Code...
 
And Admit It.. Hmmm....Typically LOL  | 
			 
		  | 
	 
	
		| Back to top | 
		 | 
	 
	
		  | 
	 
	
		SuperCheats How do I cheat?
  Reputation: 0
  Joined: 06 Aug 2020 Posts: 2
 
  | 
		
			
				 Posted: Thu Aug 06, 2020 3:13 pm    Post subject: I want to create a trainer that does not work with adobe fla | 
				       | 
			 
			
				
  | 
			 
			
				| Hi friends, I want to create a trainer for 8 ball pool, but before they used adobe flast player and it was easy to identify now no, they don't have adobe flast player they don't have a software to identify the game, so how do I create a trainer that can hack any process ?
 | 
			 
		  | 
	 
	
		| Back to top | 
		 | 
	 
	
		  | 
	 
	
		daspamer Grandmaster Cheater Supreme
  Reputation: 54
  Joined: 13 Sep 2011 Posts: 1588
 
  | 
		
			
				 Posted: Thu Aug 06, 2020 3:26 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				It's now probably using html5
 _________________
 I'm rusty and getting older, help me re-learn lua.  | 
			 
		  | 
	 
	
		| Back to top | 
		 | 
	 
	
		  | 
	 
	
		AylinCE Grandmaster Cheater Supreme
  Reputation: 37
  Joined: 16 Feb 2017 Posts: 1530
 
  | 
		
			
				 Posted: Thu Aug 06, 2020 3:29 pm    Post subject: Re: I want to create a trainer that does not work with adobe | 
				       | 
			 
			
				
  | 
			 
			
				 	  | SuperCheats wrote: | 	 		  | Hi friends, I want to create a trainer for *********, but before they used adobe flast player and it was easy to identify now no, they don't have adobe flast player they don't have a software to identify the game, so how do I create a trainer that can hack any process ? | 	  
 
 
Do not share online multiplayer game names.
 
Please correct your question first.
 
Otherwise, it will be difficult to get help.
 _________________
  | 
			 
		  | 
	 
	
		| Back to top | 
		 | 
	 
	
		  | 
	 
	
		 | 
	 
 
  
	 
	    
	   | 
	
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
  | 
   
 
		 |