View previous topic :: View next topic |
Author |
Message |
jededias !BEWARE! Deletes post on answer Reputation: 0
Joined: 15 Apr 2017 Posts: 17
|
Posted: Mon May 22, 2017 9:09 pm Post subject: Trainer with hotkey to increase and decrease AOB? |
|
|
My luascript to change the height 80 to 99
Code: | [b]autoAssemble([[
Aobscan(_aob2, 46 00 00 00 00 00 00 00 00 00 00 80 BF 00 00 80 3F 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 3F)
_aob2:
db 46 00 00 00 00 00 00 00 00 00 00 80 BF 00 00 80 3F 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 99 3F
]]
)[/b] |
The last letter 80 is the original height, I can change to everything i want in hexadecimal, to change the game height, but how to add button to increase and decrease in trainer?
|
|
Back to top |
|
|
FreeER Grandmaster Cheater Supreme Reputation: 53
Joined: 09 Aug 2013 Posts: 1091
|
Posted: Mon May 22, 2017 10:56 pm Post subject: |
|
|
a simple script to find it and register a symbol would let you easily do so.
Code: |
Aobscan(_aob2, 46 00 00 00 00 00 00 00 00 00 00 80 BF 00 00 80 3F 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 3F)
registerSymbol(_aob2)
|
once it's "assembled" then you can use _aob2 + bytes to 99 as the address, I'd guess 32 (decimal) bytes but I don't feel like counting (note the first byte, 46, is at _aob2+0). So you'd have something like _aob2+20 for the address and then you could use regular hotkeys to increase/decrease it or use something like writeInteger("_aob2+20", readInteger("_aob2+20")+1) in lua to increase it by one.
I'm going to bed now though... nearly midnight.
|
|
Back to top |
|
|
jededias !BEWARE! Deletes post on answer Reputation: 0
Joined: 15 Apr 2017 Posts: 17
|
Posted: Tue May 23, 2017 9:32 am Post subject: You can post the example here? |
|
|
You can post the example here?
|
|
Back to top |
|
|
|