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 


BUG Cheat Engine 6.2 ??

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Smanettone83
Expert Cheater
Reputation: 3

Joined: 21 Feb 2011
Posts: 146
Location: Italia

PostPosted: Thu Jun 07, 2012 4:27 pm    Post subject: BUG Cheat Engine 6.2 ?? Reply with quote

Hi

i'm try to using code injection. This 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: //this is allocated memory, you have read,write,execute access
//place your code here

originalcode:
dec [esi]
fnstcw [esp+0C]

exit:
jmp returnhere

"MaxPayne3.exe"+1BDC17:
jmp newmem
nop
returnhere:


 
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"MaxPayne3.exe"+1BDC17:
dec [esi]
fnstcw [esp+0C]
//Alt: db FF 0E D9 7C 24 0C


When i try to click "File > Assign to current cheat table" i see this error:
"Error in line 13 (fnstcw [esp+0C]): This instruction can't be compiled"

i want precise that the original istruction is:

Code:

dec [esi]
fnstcw [esp+0C]

It's a bug?

_________________
Back to top
View user's profile Send private message MSN Messenger
mgr.inz.Player
I post too much
Reputation: 218

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Thu Jun 07, 2012 4:46 pm    Post subject: Reply with quote

Use this:
fnstcw word ptr [esp+0C]

Or do code injection on "xorps xmm0,xmm0"


Edit:
of course it's disassembler fault.

_________________
Back to top
View user's profile Send private message MSN Messenger
Smanettone83
Expert Cheater
Reputation: 3

Joined: 21 Feb 2011
Posts: 146
Location: Italia

PostPosted: Thu Jun 07, 2012 5:22 pm    Post subject: Reply with quote

mgr.inz.Player wrote:
Use this:
fnstcw word ptr [esp+0C]

Or do code injection on "xorps xmm0,xmm0"


Edit:
of course it's disassembler fault.


yes thanks now i've understand that is a disassembler fault.

_________________
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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