Cannot disable aob script.

Anything Cheat Engine related, bugs, suggestions, helping others, etc..
Post Reply
polis27
Novice Cheater
Novice Cheater
Posts: 18
Joined: Tue Feb 13, 2018 11:49 am
Reputation: 0

Cannot disable aob script.

Post by polis27 » Wed Jul 04, 2018 7:17 pm

I am stuck with this code here. I want to replace instruction to NOP. The code work but cannot be disable. Can anyone enlighten me?



[code]

[ENABLE]



aobscanmodule(stoc,Yumina.exe,89 41 04 0F BF 81 4E 02 00 00) // should be unique

define(address,stoc)

define(bytes,89 41 04 0F BF 81 4E 02 00 00)



assert(address,bytes)



address:

nop

nop

nop



[DISABLE]



address:

db 89 41 04 0F BF 81 4E 02 00 00

[/code]

User avatar
FreeER
RCE Fanatics
RCE Fanatics
Posts: 142
Joined: Fri Mar 10, 2017 7:11 pm
Reputation: 12
Contact:

Cannot disable aob script.

Post by FreeER » Wed Jul 04, 2018 7:31 pm

get rid of the defines and assert... the aobscan does both.



Then add [icode]registerSymbol(address)[/icode] in the enable section and [icode]unregisterSymbol(address)[/icode] in the disable section and make sure that name is unique (you don't have any other scripts registering the same symbol). That way the disable section can know where the code was found in the enable section (they're run separately and don't automagically know about each other)

polis27
Novice Cheater
Novice Cheater
Posts: 18
Joined: Tue Feb 13, 2018 11:49 am
Reputation: 0

Cannot disable aob script.

Post by polis27 » Wed Jul 04, 2018 8:13 pm

It work. Didn't see that. Thank you

Post Reply

Who is online

Users browsing this forum: No registered users