 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
hhhuut Grandmaster Cheater
Reputation: 6
Joined: 08 Feb 2015 Posts: 607
|
Posted: Thu Jan 28, 2016 4:31 pm Post subject: |
|
|
| It pushes something on the stack. If you delete that command, those bytes are not added to the stack, therefore the next instructions that takes something from the stack gets a wrong value ... That can lead to access violations or memory leaking which cause your target to crash.
|
|
| Back to top |
|
 |
brisingr Cheater
Reputation: 0
Joined: 23 Jan 2016 Posts: 39
|
Posted: Sun Feb 07, 2016 12:46 pm Post subject: |
|
|
Hi again, unfortunately when i change faction the game crashes again.
It happenz only with the zerg faction, terran and protoss it works fine.
How can I solve?
More infos, I've also tried to make again from the beginning a new structure, found the opcode, modified the table... but in the end the game crashes.
I've also tried in skirmish, no way!
this is the table:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
cmp [ebx+134],00 //place your code here
jne originalcode
mov eax,[ebx+10]
originalcode:
mov [ebx+08],eax
push 00
exit:
jmp returnhere
"StarCraft.exe"+798B9:
jmp newmem
returnhere:
[DISABLE]
dealloc(newmem)
"StarCraft.exe"+798B9:
mov [ebx+08],eax
//code from here till the end of the code will be used to disable the cheat
|
|
| Back to top |
|
 |
brisingr Cheater
Reputation: 0
Joined: 23 Jan 2016 Posts: 39
|
Posted: Sat Feb 13, 2016 4:51 am Post subject: |
|
|
hey again,
I've tried to modify many times the script, in the end I found a working script only for the zerg, but I'm not sure how I did it.
Here is the code:
| Code: | [ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
newmem:
cmp [ebx+134],00
jne originalcode
mov eax,[ebx+134]
originalcode:
mov [ebx+08],eax
push 00
exit:
jmp returnhere
"StarCraft.exe"+798B9:
jmp newmem
returnhere:
[DISABLE]
dealloc(newmem)
"StarCraft.exe"+798B9:
mov [ebx+08],eax
push 00 |
Can some1 explain me why the script works using the command mov eax,[ebx+134]?
|
|
| 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
|
|