View previous topic :: View next topic |
Author |
Message |
The Dab Cheater Reputation: 0
Joined: 22 May 2017 Posts: 33
|
Posted: Tue Jul 18, 2017 2:10 pm Post subject: How to scan for multiple array of bytes in one script. |
|
|
I am trying to make a instant kill cheat so when I enable the script the enemies will die in one hit. However there are different variants of enemies throughout the game, and each variant runs on a different array of bytes. So my question is how could I scan for variant 1's and variant 2's bytes, then edit each array of bytes differently using the same script?
Example:
Code: |
aobscanmodule(varient1,popcapgame1.exe,89 AF C8 00 00 00) // variant 1
aobscanmodule(varient2,popcapgame1.exe,5C 4F 68 00 00 00) // variant 2
varient1:
mov [edi+000000C8],(int)0
varient2:
mov [edx+000000D0],(int)0
|
|
|
Back to top |
|
|
++METHOS I post too much Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Tue Jul 18, 2017 3:10 pm Post subject: |
|
|
CE can automatically combine the scripts for you. Highlight your first injection location and let CE build a script out for you using the auto assembler. Keep the window open and locate your second injection point. With the second injection location highlighted, have CE create another script for you with the same auto assemble window. Repeat as needed.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25295 Location: The netherlands
|
Posted: Tue Jul 18, 2017 3:25 pm Post subject: |
|
|
I think this is some kind of vtable lookup and he wants all instances of that object.
I suggest using lua's aobscan (or memscan and set the region) and get the list like that
_________________
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 |
|
|
|