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 


Auto Assemble compile bug.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Dr.Disrespect
Grandmaster Cheater
Reputation: 3

Joined: 17 Feb 2016
Posts: 526

PostPosted: Wed Jun 22, 2016 8:01 pm    Post subject: Auto Assemble compile bug. Reply with quote

I try to "Code Injection" at this line of the code:

Code:

movzx ecx,byte ptr [eax*8+game.exe+1DDB00A]


However, the "Auto assemble" cannot compile the code above. It pops an error message which says:

"Error in line 12(movzx ecx,byte ptr [eax*8+game.exe+1DDB00A]) : this instruction can't be compiled."

But that line of code is the original code in the game, there is no error with it, the game runs smoothly with it, plus, I have not changed anything in the template. Is this a bug? If not, how to fix it? Thanks.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25778
Location: The netherlands

PostPosted: Wed Jun 22, 2016 8:16 pm    Post subject: Reply with quote

is it really game.exe or something else? e.g something with a "-" in it ?

anyhow, try movzx ecx,byte ptr [eax*8+"game.exe"+1DDB00A]

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Dr.Disrespect
Grandmaster Cheater
Reputation: 3

Joined: 17 Feb 2016
Posts: 526

PostPosted: Wed Jun 22, 2016 8:36 pm    Post subject: Reply with quote

Dark Byte wrote:
is it really game.exe or something else? e.g something with a "-" in it ?

anyhow, try movzx ecx,byte ptr [eax*8+"game.exe"+1DDB00A]


Thanks for the reply. The quotation mark is not working.

But there is a underscore in it, it is:
movzx ecx,byte ptr [eax*8+game_tc.exe+1DDB00A].

No more special characters.

This happned to me before, and I switched the positions in the bracket like the following and the problem was fixed:
movzx ecx,byte ptr [game_tc.exe+1DDB00A+eax*8]

But this method cannot fix the problem this time.


Edit: just for testing purpose, if I remove this part: "game_tc.exe+1DDB00A", no compile error occurs.
Back to top
View user's profile Send private message
hhhuut
Grandmaster Cheater
Reputation: 6

Joined: 08 Feb 2015
Posts: 607

PostPosted: Thu Jun 23, 2016 2:15 am    Post subject: Reply with quote

Yeah, it's kind of a bug in CE I think.

When generating the script, CE fills in the assembler command without the "" around the exe name, but it can't always assemble that instruction later ...
Back to top
View user's profile Send private message
Dr.Disrespect
Grandmaster Cheater
Reputation: 3

Joined: 17 Feb 2016
Posts: 526

PostPosted: Thu Jun 23, 2016 5:53 pm    Post subject: Reply with quote

hhhuut wrote:
Yeah, it's kind of a bug in CE I think.

When generating the script, CE fills in the assembler command without the "" around the exe name, but it can't always assemble that instruction later ...


Thanks for the reply, I hope it will get fixed. Smile
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 222

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

PostPosted: Fri Jun 24, 2016 5:01 am    Post subject: Reply with quote

fmanager wrote:
Dark Byte wrote:
is it really game.exe or something else? e.g something with a "-" in it ?

anyhow, try movzx ecx,byte ptr [eax*8+"game.exe"+1DDB00A]


Thanks for the reply. The quotation mark is not working.


If processname has weird characters you can try this:
Code:
mov ecx,"game_tc.exe"+1DDB00A
movzx ecx,byte ptr [eax*8+ecx]

_________________
Back to top
View user's profile Send private message MSN Messenger
Dr.Disrespect
Grandmaster Cheater
Reputation: 3

Joined: 17 Feb 2016
Posts: 526

PostPosted: Fri Jul 01, 2016 5:51 pm    Post subject: Reply with quote

mgr.inz.Player wrote:
fmanager wrote:
Dark Byte wrote:
is it really game.exe or something else? e.g something with a "-" in it ?

anyhow, try movzx ecx,byte ptr [eax*8+"game.exe"+1DDB00A]


Thanks for the reply. The quotation mark is not working.


If processname has weird characters you can try this:
Code:
mov ecx,"game_tc.exe"+1DDB00A
movzx ecx,byte ptr [eax*8+ecx]


Thank you, mgr.inz.Player. Sorry for the late late reply.
I will try your method and provide a feedback.
Back to top
View user's profile Send private message
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