| View previous topic :: View next topic |
| Author |
Message |
Grandmaster Strategist Newbie cheater
Reputation: 0
Joined: 22 Mar 2014 Posts: 12
|
Posted: Mon Dec 28, 2015 2:04 pm Post subject: Cheat engine AA script problem |
|
|
I have written auto assembly code for one game(in cheat engine AA) the script is:
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem:
mov [edi+00000140],64
mov ecx,64
originalcode:
mov ecx,[edi+00000140]
exit:
jmp returnhere
007133A6:
jmp newmem
nop
returnhere:
As you see, it changes all statistics connected with code mov [edi+00000140]( which is responsible for one specific statistic in game) to 100 because 64 in hexadecimal is 100 in decimal. And how can i change it to 100 but only for "units" who i control, not all players or AI?
IF something is unclear then write what so i can explain it better. |
|
| Back to top |
|
 |
vng21092 Grandmaster Cheater
Reputation: 15
Joined: 05 Apr 2013 Posts: 644
|
Posted: Mon Dec 28, 2015 2:54 pm Post subject: |
|
|
C.E Tutorial 9 covers exactly this. In short, you must find some offset within the data structure that filters you (maybe you and your team) from other players in the game. So essentially, you'd end up with something like | Code: | cmp [edi+???],???
je myCode
jmp originalcode | or some other variation, where the first ??? is the "filter" offset, and the second ??? is the value within said offset. |
|
| Back to top |
|
 |
Rydian Grandmaster Cheater Supreme
Reputation: 31
Joined: 17 Sep 2012 Posts: 1358
|
|
| Back to top |
|
 |
|