View previous topic :: View next topic |
Author |
Message |
Fresco Grandmaster Cheater
Reputation: 4
Joined: 07 Nov 2010 Posts: 600
|
Posted: Fri Feb 17, 2012 9:53 am Post subject: after auto assembler code restoration code still works. |
|
|
how is it possible?
i made a simple script that changes a code that writes to multiple values but when i disable it, it doesn't get disabled.
i checked twice the original code (by restarting the game a few times)
also checked twice the [DISABLE] part of my script ...
i double checked the assambled address after code was enabled and then disabled, and every instruction around it is was just like the code had never been enabled
also... i tried to nop the code and then restore it ... (this way works) but only if the auto assamble code have not been executed
_________________
... Fresco |
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25796 Location: The netherlands
|
Posted: Fri Feb 17, 2012 4:35 pm Post subject: |
|
|
What do you mean with "Doesn't get disabled" Does the checkbox stay enabled ?
Could be there is a syntax error in the disable part that wasn't detected when the script was added (e.g userdefined symbols defined previously but gone now)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
Fresco Grandmaster Cheater
Reputation: 4
Joined: 07 Nov 2010 Posts: 600
|
Posted: Sat Feb 18, 2012 6:21 am Post subject: |
|
|
the code does get disabled (the checkbox does get disabled).
the addresses does return to their original values, but the game still executes my code:
let's just clear things up, I'll post an example:
Code: | [ENABLE]
alloc (mycode,2048)
label(returnhere)
mycode:
//...mycode
jmp returnhere
"game.exe"+0ABCF:
jmp mycode
nop
returnhere:
[DISABLE]
dealloc(mycode)
"game.exe"+0ABCF:
//... originalcode |
now when i enable the code "game.exe"+0ABCF jumps to my code, executes it, and then returns after the instruction at "game.exe"+0ABCF
let's just say that original code writes 5 into address 0ABC000F
my code says: write 10 into address 0ABC000F
and it works
when i disable the code, address "game.exe"+0ABCF returns to it's original value, that says: write 5 into address 0ABC000F
but after the code was disabled, and then executed the original code (at address "game.exe"+0ABCF), into address 0ABC000F is still written 10
and like i said before i have checked the instructions before and after "game.exe"+0ABCF and they are the same as the my code was never been enabled
_________________
... Fresco |
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25796 Location: The netherlands
|
Posted: Sun Feb 19, 2012 12:12 pm Post subject: |
|
|
Make sure you undo ALL the changes in the original code in the [disable] section
I have no idea what your situation is, but if you mean that after disabling the routine that changes your health to 100, it stays 100 and doesn't restore it to -292373 as it should be. That's normal
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
Fresco Grandmaster Cheater
Reputation: 4
Joined: 07 Nov 2010 Posts: 600
|
Posted: Sun Feb 19, 2012 12:33 pm Post subject: |
|
|
Quote: | if you mean that after disabling the routine that changes your health to 100, it stays 100 and doesn't restore it to -292373 as it should be. That's normal
|
i don't get it why it's normal ... if original code writes to health -292373 why health stays 100 after they shoot me ?
_________________
... Fresco |
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25796 Location: The netherlands
|
Posted: Sun Feb 19, 2012 12:39 pm Post subject: |
|
|
What I meant was that if you changed to code to set health to 100 and you had only 12 hp at the time, disabling it would not set it back to 12 (let alone add the damage you got while it was enabled)
But from what you say it looks like the script is still being executed, so check the places you edited the code of
Also, some games are just bugged. E.g if you write health to a value above the allowed maximum, it will always stay above the max
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
|