| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		Dark Byte Site Admin
  Reputation: 470
  Joined: 09 May 2003 Posts: 25807 Location: The netherlands
  | 
		
			
				 Posted: Mon Nov 18, 2019 3:12 am    Post subject: Always decimal PID's | 
				       | 
			 
			
				
  | 
			 
			
				Put this in your CE autorun folder and the processid's will always show as decimal when CE starts
 
 	  | Code: | 	 		  
 
z=registerFormAddNotification(function(s)
 
  --watches for the ProcessWindow form
 
  if s.ClassName=='TProcessWindow' then
 
    s.registerCreateCallback(function(s2)
 
      s.miConvertPIDToDecimal.Checked=true
 
    end)
 
  end
 
end)
 
 | 	  
 _________________
 Do not ask me about online cheats. I don't know any and wont help finding them.
 
 
Like my help? Join me on Patreon so i can keep helping  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		AylinCE Grandmaster Cheater Supreme
  Reputation: 37
  Joined: 16 Feb 2017 Posts: 1530
 
  | 
		
			
				 Posted: Mon Nov 18, 2019 3:08 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				There seems to be something wrong.
 
 
"Error:...am Files (x86)\Cheat Engine 6.8.3\autorun\Decimal.lua:4: attempt to call a nil value (field 'registerCreateCallback')"
 
 
 
@atom0s had written a code for this topic.  
 _________________
  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Dark Byte Site Admin
  Reputation: 470
  Joined: 09 May 2003 Posts: 25807 Location: The netherlands
  | 
		
			
				 Posted: Mon Nov 18, 2019 6:17 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				Cheat Engine 7.0 of course
 _________________
 Do not ask me about online cheats. I don't know any and wont help finding them.
 
 
Like my help? Join me on Patreon so i can keep helping  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		AylinCE Grandmaster Cheater Supreme
  Reputation: 37
  Joined: 16 Feb 2017 Posts: 1530
 
  | 
		
			
				 Posted: Tue Nov 19, 2019 7:12 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				I need advice again.
 
 
EDIT:
 
Are these relevant?
 
 
 
>>091AE030 
 
 
 
>>0C975180
	
  
	 
	
	
		
	 
	
		|  Description: | 
		
			
		 | 
	 
	
		|  Filesize: | 
		 76.14 KB | 
	 
	
		|  Viewed: | 
		 19476 Time(s) | 
	 
	
		
  
 
  | 
	 
	 
	 
 _________________
  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Dark Byte Site Admin
  Reputation: 470
  Joined: 09 May 2003 Posts: 25807 Location: The netherlands
  | 
		
			
				 Posted: Tue Nov 19, 2019 8:37 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				Most likely the browser you used to copy/paste from added some invisible extra characters that lua doesn't parse
 _________________
 Do not ask me about online cheats. I don't know any and wont help finding them.
 
 
Like my help? Join me on Patreon so i can keep helping  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		AylinCE Grandmaster Cheater Supreme
  Reputation: 37
  Joined: 16 Feb 2017 Posts: 1530
 
  | 
		
			
				 Posted: Tue Nov 19, 2019 9:08 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				The same error when typed without copying.
 
An extra question: Is it normal for TProcessWindow to be red?
	
  
	 
	
	
		
	 
	
		|  Description: | 
		
			
		 | 
	 
	
		|  Filesize: | 
		 37.76 KB | 
	 
	
		|  Viewed: | 
		 19467 Time(s) | 
	 
	
		
  
 
  | 
	 
	 
	 
 _________________
  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Dark Byte Site Admin
  Reputation: 470
  Joined: 09 May 2003 Posts: 25807 Location: The netherlands
  | 
		
			
				 Posted: Tue Nov 19, 2019 12:18 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				You're sure you're saving as a .lua file using notepad and not saving the script using a cheat table and put that in your autorun?
 
 
Try copying this file to your autorun folder instead (Delete any other lua files you may have added yourself)
	
  
	 
	
	
		
	 
	
		|  Description: | 
		
			
		 | 
		  Download | 
	 
	
		|  Filename: | 
		 decimalpid.lua | 
	 
	
		|  Filesize: | 
		 232 Bytes | 
	 
	
		|  Downloaded: | 
		 1319 Time(s) | 
	 
	 
	 
 _________________
 Do not ask me about online cheats. I don't know any and wont help finding them.
 
 
Like my help? Join me on Patreon so i can keep helping  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		AylinCE Grandmaster Cheater Supreme
  Reputation: 37
  Joined: 16 Feb 2017 Posts: 1530
 
  | 
		
			
				 Posted: Tue Nov 19, 2019 6:17 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				All instructions are OK. The result is pictured.
 
Windows 7/64 bit system.
 
 
 
I guess I should be offended.
 
One question: Does it do the same job as the following publication?
 
 
https://forum.cheatengine.org/viewtopic.php?t=608280
	
  
	 
	
	
		
	 
	
		|  Description: | 
		
			
		 | 
	 
	
		|  Filesize: | 
		 81.71 KB | 
	 
	
		|  Viewed: | 
		 19367 Time(s) | 
	 
	
		
  
 
  | 
	 
	 
	 
 _________________
  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		atom0s Moderator
  Reputation: 205
  Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
  | 
		
			
				 Posted: Tue Nov 19, 2019 8:08 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				Mine was before this was really a thing. I would recommend this one over mine for sure since it's much more simplified and doesn't require 'hack-arounds' from Lua to work.
 
 
Edited the main post of my version to include a link to this instead.
 _________________
 - Retired.  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		mgr.inz.Player I post too much
  Reputation: 222
  Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
  | 
		
			
				 Posted: Wed Nov 20, 2019 11:51 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				DB plugin just "clicks" popup menu entry, this one:
 
 
 
 
registerCreateCallback was added recently. Previous CE versions do not have it.
 _________________
  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		AylinCE Grandmaster Cheater Supreme
  Reputation: 37
  Joined: 16 Feb 2017 Posts: 1530
 
  | 
		
			
				 Posted: Wed Nov 20, 2019 3:53 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				now okay.
 
Thanks DB.
 
Also thanks to @mrInzPlayer for identifying this detail and clarifying the issue.
	
  
	 
	
	
		
	 
	
		|  Description: | 
		
			
		 | 
	 
	
		|  Filesize: | 
		 56.1 KB | 
	 
	
		|  Viewed: | 
		 19305 Time(s) | 
	 
	
		
  
 
  | 
	 
	 
	 
 _________________
  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		 |