Posted: Wed Dec 22, 2021 4:22 pm Post subject: How to nop code in multiple places in one script
hey guys, new user here.
im wondering how to nop multiple op code instructions in one script, currently i use an aob injection script and then just remove the line of code and save the script to the table but i have to do an aob injection script for every line of opcode i want to replace with nop (unless they rly close together). maybe theres a way to put multiple aob injection scripts into one script, i kinda want my table to clean and not like 20 aob scripts to make one change in the game as that doesnt look nice.
can anyone help, thanks/.
edit: im making a script to stop the game from writing to a value i want the value to not be written to as its apart of the game physics and using the cheat engine freeze isnt fast enough even with 1ms so im nopping everything that writes to that address. i nopped everything manually and it works good.
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
Posted: Wed Dec 22, 2021 5:18 pm Post subject:
You can use multiple address labels/symbols to do multiple edits in a single script. For example:
Code:
[ENABLE]
00400000:
db 90 90
00500000:
db 90 90 90 90
[DISABLE]
00400000:
db AA BB
00500000:
db AA BB CC DD
The same will work with symbols resolved from things like aobscan and similar functions instead of using the address as the label directly. _________________
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