 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
alphabr How do I cheat?
Reputation: 0
Joined: 29 Oct 2013 Posts: 2
|
Posted: Tue Oct 29, 2013 7:03 pm Post subject: Auto Assembler updating aobscan. |
|
|
Hey i need some help.
I made this working hack for a game but every time i enter another map, or town i have to turn off and on again, so the aobscan will search for the pattern again, how can i turn this script into an updating aobscan.
| Quote: |
[ENABLE]
label(mycheat)
registersymbol(mycheat)
aobscan(aob1,00 00 00 00 45 04 00 00 ?? ?? 00 00 4B 04 00 00 ?? 00 00 00 D7 04 00 00 ??)
aob1+18:
mycheat:
db 99 60
[DISABLE]
mycheat:
db 00 00
unregistersymbol(mycheat)
|
|
|
| Back to top |
|
 |
SteveAndrew Master Cheater
Reputation: 30
Joined: 02 Sep 2012 Posts: 323
|
Posted: Wed Oct 30, 2013 4:41 am Post subject: |
|
|
Well I think I know what you mean...
You have to toggle (enable/disable) this cheat pretty frequently, but you don't want to wait for it to keep re-finding the address from the aob over and over again...
The simple solution I thought of here, is to just use 2 scripts!
First script has the aobscan, it finds the address and makes a registered symbol! It doesn't modify the code though its only purpose was to find the address and put it in a registered symbol!
The second script uses the registered symbol (if it's been registered [you've enabled the first script and it actually found the address from aob]) and enables and disables the cheat (optionally /w CE hotkey)
Address Finder: (Script 1)
| Code: |
[enable]
aobscan(mycheataob,00 00 00 00 45 04 00 00 ?? ?? 00 00 4B 04 00 00 ?? 00 00 00 D7 04 00 00 ??)
label(mycheataddress)
registersymbol(mycheataddress)
mycheataob+18:
mycheataddress:
[disable]
mycheataddress:
db 00 00
unregistersymbol(mycheataddress)
|
Toggler: (Script 2)
| Code: |
[enable]
mycheataddress:
db 99 60
[disable]
mycheataddress:
db 00 00
|
There's two ways you can not have any issues when putting the second script in your CT...
1. Enable the first script first, which 'mycheataddress' will then be a registered symbol. In this case you wont have any problem adding it to your CT in any of the available ways!
2. Add a blank script to your CT / duplicate a script entry and edit it. When you go to click OK to save changes to the script, you'll get this popup message:
CE now lets you edit a script, and forcefully say that it is okay like that, when before the only way was to manually edit your .CT file! It's complaining that it doesn't know what 'mycheataddress' is, since it hasn't been registered as a symbol. However we know that after we enable that first script it will be a registered symbol, so it will actually accept it and enable this script once that's true!
| Description: |
|
 Download |
| Filename: |
mycheat-in2scripts.CT |
| Filesize: |
1002 Bytes |
| Downloaded: |
765 Time(s) |
_________________
|
|
| Back to top |
|
 |
alphabr How do I cheat?
Reputation: 0
Joined: 29 Oct 2013 Posts: 2
|
Posted: Wed Oct 30, 2013 8:43 am Post subject: |
|
|
No, i'm sorry i have misspoke, the address that the aobscan finds changes every time i change map, since it's not a static pointer. what i wanted is to every time i changed map, it automatically did the aobscan again to find the new address and change it. Thanks for the reply.
ps: i'm trying to find where the game change this address with olly to nop it but no success yet.
|
|
| Back to top |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Wed Oct 30, 2013 4:36 pm Post subject: |
|
|
Find that address,
Check what writes to it.
Click show in dissembler
get the opcode AoB (select several lines, recommended to avoid any jmp,je,jne,jnz,jg,jng,jl and etc., since the destination changes, and you cannot relay on them).
use SteveAndrew example, and assigan the AoBscan(address, code) and just write what you'd like to do.
If it's bit difficult for you, just send me/us screen shot after performing the steps above (check whats writes to and then click on show in dissembler).
_________________
I'm rusty and getting older, help me re-learn lua. |
|
| Back to top |
|
 |
|
|
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
|
|