| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| majmun Newbie cheater
 
  Reputation: 1 
 Joined: 22 Dec 2012
 Posts: 15
 
 
 | 
			
				|  Posted: Sun Sep 16, 2012 5:50 am    Post subject: Re: Auto assembler scripts in cheat tables |   |  
				| 
 |  
				| Mr.DarkByte I have a big problem.Can you help me with this files (T-Search) to convert in AA script in Cheat Engine? What shall i do with this files?Thanks in advanced!
 
 Patched script:
 Poke 131DDC0 90 90 90
 
 
 UnPatched script:
 Poke 131DDC0 89 47 14
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| atom0s Moderator
 
  Reputation: 205 
 Joined: 25 Jan 2006
 Posts: 8587
 Location: 127.0.0.1
 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| majmun Newbie cheater
 
  Reputation: 1 
 Joined: 22 Dec 2012
 Posts: 15
 
 
 | 
			
				|  Posted: Mon Sep 17, 2012 3:31 am    Post subject: |   |  
				| 
 |  
				| Thank you Wiccaan! |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Elitis How do I cheat?
 
 ![]() Reputation: -1 
 Joined: 30 Apr 2012
 Posts: 0
 
 
 | 
			
				|  Posted: Mon Sep 17, 2012 11:04 am    Post subject: |   |  
				| 
 |  
				| Thankyou very awesome _________________
 
 VEXXUSARTS. COM |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| xyz0x Advanced Cheater
 
  Reputation: 0 
 Joined: 02 Jan 2014
 Posts: 78
 Location: C:\Program Files (x86)\Cheat Engine 6.6\
 
 | 
			
				|  Posted: Mon Jan 27, 2014 8:01 am    Post subject: |   |  
				| 
 |  
				| Thanks |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| JEFERSON How do I cheat?
 
 ![]() Reputation: 0 
 Joined: 07 Apr 2016
 Posts: 0
 
 
 | 
			
				|  Posted: Thu Apr 07, 2016 5:46 pm    Post subject: Re: Auto assembler scripts in cheat tables |   |  
				| 
 |  
				|  	  | Dark Byte wrote: |  	  | Let's say you have a auto assemble script and want to put it in a cheat table so you can easily give it to friends, or to have the ability to enable/disable them with hotkeys. 
 Then write your script as always, but mark the part where you enable the cheat with [enable] and the part where you turn off the cheat with [disable].
 
 It is recommended to place in the disable part the code to cleanup allocated memory in the enable part to save space, and restore the original code, or use another kind of machanism to define enabled or disabled (e.g a byte set to 0 for disabled cheat and 1 for enabled, etc...)
 
 And if you're just too lazy to add the [enable]/[disable] parts yourself after writing a good script you can click on template->cheat table framework code
 
 when done with your enable and disable parts, click on file->assign to current cheat table. CE will verify if the code is valid, and if it is add it to the cheat table
 
 
 here is a auto assembler script that is valid for cheat tables (for the pinball game that came with xp sp2)
 
  	  | Code: |  	  | [ENABLE]
 //code from here to '[DISABLE]' will be used to enable the cheat
 
 alloc(newmem,2048) //2kb should be enough
 label(returnhere)
 label(originalcode)
 label(exit)
 
 Pinball.exe+175b7:
 jmp newmem
 nop
 returnhere:
 
 newmem: //this is allocated memory, you have read,write,execute access
 //place your code here
 mov eax,2//change the eax register to 2
 
 //note that I could also have done mov [esi+00000146],2
 
 originalcode:
 mov [esi+00000146],eax
 
 exit:
 jmp returnhere
 
 
 [DISABLE]
 //code from here till the end of the code will be used to disable the cheat
 dealloc(newmem) //free memory
 
 Pinball.exe+175b7:
 mov [esi+00000146],eax //place the original code back
 
 | 
 
 also, I don't know if it's because I have installed all windows symbols, or if the symbols are suplied by default, but on my comp I can replace "Pinball.exe+175b7" with "TPinballTable::ChangeBallCount+D" and it'll work as well. (and should even work in different versions then)
 | 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| dpmage83 Newbie cheater
 
 ![]() Reputation: 0 
 Joined: 11 Feb 2016
 Posts: 12
 
 
 | 
			
				|  Posted: Tue Jul 26, 2016 12:19 am    Post subject: |   |  
				| 
 |  
				| How do I turn something like this 
  	  | cheatingvash wrote: |  	  | Quick Level Up 
 [ENABLE]
 
 aobscanmodule(INJECT,Phantom Brave PC.exe,01 18 11 70 04) // should be unique
 alloc(newmem,$1000)
 
 label(code)
 label(return)
 
 newmem:
 
 code:
 add [eax],#999
 //add [eax],ebx
 adc [eax+04],esi
 jmp return
 
 INJECT:
 jmp code
 return:
 registersymbol(INJECT)
 
 [DISABLE]
 
 INJECT:
 db 01 18 11 70 04
 
 unregistersymbol(INJECT)
 dealloc(newmem)
 | 
 into something that Cheat Engine will recognize?  [/quote]
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| hhhuut Grandmaster Cheater
 
  Reputation: 6 
 Joined: 08 Feb 2015
 Posts: 607
 
 
 | 
			
				|  Posted: Tue Jul 26, 2016 2:16 am    Post subject: |   |  
				| 
 |  
				| Memory View -> Tools -> Auto Assemble -> Paste your code in there 
 
  	  | Code: |  	  | //Quick Level Up 
 [ENABLE]
 
 aobscanmodule(INJECT,Phantom Brave PC.exe,01 18 11 70 04) // should be unique
 alloc(newmem,$1000)
 
 label(code)
 label(return)
 
 newmem:
 
 code:
 add [eax],#999
 //add [eax],ebx
 adc [eax+04],esi
 jmp return
 
 INJECT:
 jmp code
 return:
 registersymbol(INJECT)
 
 [DISABLE]
 
 INJECT:
 db 01 18 11 70 04
 
 unregistersymbol(INJECT)
 dealloc(newmem)
 | 
 
 -> File -> Assign to current cheat table
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| dpmage83 Newbie cheater
 
 ![]() Reputation: 0 
 Joined: 11 Feb 2016
 Posts: 12
 
 
 | 
			
				|  Posted: Tue Jul 26, 2016 12:41 pm    Post subject: |   |  
				| 
 |  
				| @hhhuut Ok thank you.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  |