| View previous topic :: View next topic |
| Author |
Message |
TschauKakau How do I cheat?
Reputation: 0
Joined: 04 Mar 2017 Posts: 2
|
Posted: Sat Jun 10, 2017 3:28 am Post subject: Script freezing/unfreezing game |
|
|
First off I need to say that the game I'm trying to cheat is the first Sanctum from the year 2011. I want to make a script that negates the deletion or subtraction of money or at best even add money upon buying tower/upgrades.
| Code: |
[ENABLE]
aobscanmodule(INJECT,SanctumGame-Win32-Shipping.exe,89 0A C2 14 00 8B 49)
alloc(newmem,$1000)
label(code)
label(return)
newmem:
push ecx
mov ecx,100
mov [edx],ecx
pop ecx
ret 0014
jmp return
code:
mov [edx],ecx
ret 0014
jmp return
INJECT:
jmp newmem
return:
registersymbol(INJECT)
[DISABLE]
INJECT:
db 89 0A C2 14 00
unregistersymbol(INJECT)
dealloc(newmem)
|
The problem as stated in the title is that either the game crashes instantly or freezes when activating the script. In case of the later event I can turn the script off again in a short amount of time and the game unfreezes.
As most can see I tried adding 100$ instead of losing money upon buying a building or losing money in general.
Please excuse any compiling errors in this post as this is my first post ever on this site but I hope someone can help me or just tell me to stop
Thanks in advance,
Tschau Kakau <3
Edit: Seems like I found the main suspect for my inability to make this thing work! It's some kind of anticheat mechanism that gives out the same adress/function (mov [edx],ecx) for everything in this game!
From the costs of upgrades to the bonusmoney received at the end of a round, its all written to by the same adress/function (mov [edx],ecx).
If anyone has an idea how to outplay this little fella of an anticheat or at least get the original operations that write to these adresses pls do tell me.
And again,
thanks in advance!
_________________
- Kill a Man and you're a murderer.
- Kill Millions and you're a conquerer.
- Kill them all and you are God.
|
|
| Back to top |
|
 |
Schnitzelmaker Advanced Cheater
Reputation: 6
Joined: 27 Jan 2012 Posts: 64
|
Posted: Sat Jun 10, 2017 9:09 pm Post subject: |
|
|
Your problem is the "ret 0014" which make the script not working correctly and crash the game.
Try to inject a little bit higher to avoid unwanted ret/calls/jmps in the script.
And as far as i know SanctumGame has an anti-cheat.
I think the only way cheating money was to set it before doing anything in the level.
|
|
| Back to top |
|
 |
TschauKakau How do I cheat?
Reputation: 0
Joined: 04 Mar 2017 Posts: 2
|
Posted: Sun Jun 11, 2017 4:08 am Post subject: |
|
|
Thanks alot!
I'll try your solution right away. The one with cheating the money before doing anything didn't work for me because the pointer I got from a fearless table never got the moneyvalue before I did anything :C It either did not update or only after I bought something :/
_________________
- Kill a Man and you're a murderer.
- Kill Millions and you're a conquerer.
- Kill them all and you are God.
|
|
| Back to top |
|
 |
|