Posted: Wed Dec 02, 2015 10:54 pm Post subject: Curious on how to modify multiple Addresses with One script
Is there a way that I can Modify Multiple Addresses/Places with one Script?
I'm Trying to take the instructions here, and Modify all the different Addresses with one Script...Hopefully:
Quote:
For GOTY Version Steps:
Click "Memory View".
Right-click at the address and choose "Go to Address".
Type "00541CDA". Then click OK.
Double-click the selected Address.
Change the selected Address' Assembler Code to "sub ebp,ebp".
Click OK.
Right-click at the address and choose "Go to Address".
Type "00542223". Then click OK.
Double-click the selected Address.
Change the selected Address' Assembler Code to "jmp 0054222d".
Click OK.
Right-click at the address and choose "Go to Address".
Type "00542214". Then click OK.
Double-click the selected Address.
Change the selected Address' Assembler Code to "nop".
Click OK.
Right-click at the address and choose "Go to Address".
Type "0047169B". Then click OK.
Double-click the selected Address.
Change the selected Address' Assembler Code to "add [eax+40],edx".
Click OK.
DONE.
In case anyone is Wondering, I'm just making a Trainer for Plants vs. Zombies GOTYE.. I know there is tons out there. But I want to Make one from Scratch. Just sort of a Challenge for myself.
I just want to know if its Possible to Consolidate all these Instructions into One Script.. Even if its in Lua... Just need to know. Thanks in Advance
[disable]
00541CDA:
//write here what was at 00541CDA before you overwrote it with "sub ebp,ebp"
00542223:
//write here what was at 00542223
00542214:
//write here what was at 00542214
0047169B:
//write here what was at 0047169B
When you do the replacements by hand you'll notice that sometimes CE adds some nop(s) after what you typed. You MUST add those nops to the script above. No need to type their addresses, just put them under the sub/jmp/nop/add. _________________
DO NOT PM me if you want help on making/fixing/using a hack.
If all you're doing is overwriting existing static code with code the same size (using nops for padding if it's smaller), no allocation or labels are needed. _________________
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