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 


Need some Auto Assemble help

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
makotech222
Expert Cheater
Reputation: 0

Joined: 12 May 2011
Posts: 199

PostPosted: Tue Sep 16, 2014 9:29 pm    Post subject: Need some Auto Assemble help Reply with quote

Hello everyone. i'm trying to write a script to hack this game, but i'm running into problems. Namely, it crashes the game when i execute my script. Here's what the auto assemble script is defaulted as:

Code:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

newmem: //this is allocated memory, you have read,write,execute access


originalcode:
mov [ecx+eax],bx
and edx,001FFFFC

exit:
jmp returnhere

10013374:
jmp newmem
nop
nop
nop
nop
nop
returnhere:


 
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
10013374:
mov [ecx+eax],bx
and edx,001FFFFC
//Alt: db 66 89 1C 01 81 E2 FC FF 1F 00


Now, i need the ebx registry (specifically the bx part) to have the value 99(dec). Its normally something in between 0 and 99 (00000047 for example)How should i go about doing that? I've tried adding in
mov ebx,#99
but that crashes the game. Am i doing anything wrong?
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 Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
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