Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Starcraft Cheat table
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions
View previous topic :: View next topic  
Author Message
hhhuut
Grandmaster Cheater
Reputation: 6

Joined: 08 Feb 2015
Posts: 607

PostPosted: Thu Jan 28, 2016 4:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
brisingr
Cheater
Reputation: 0

Joined: 23 Jan 2016
Posts: 39

PostPosted: Sun Feb 07, 2016 12:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
brisingr
Cheater
Reputation: 0

Joined: 23 Jan 2016
Posts: 39

PostPosted: Sat Feb 13, 2016 4:51 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites