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] This instruction can't be compiled

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Hatschi
Master Cheater
Reputation: 2

Joined: 28 Jan 2010
Posts: 327

PostPosted: Mon Jul 08, 2013 9:58 am    Post subject: [Bug] This instruction can't be compiled Reply with quote

Code:
mov eax,[rsi+rcx*4-04]


What's wrong on this instruction?
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: Mon Jul 08, 2013 10:37 am    Post subject: Reply with quote

CE6.2 or CE6.3 ?

If CE6.2 use this:
Code:
//mov eax,dword ptr [rsi+rcx*4-04]
db 8B 44 8E FC

_________________
Back to top
View user's profile Send private message MSN Messenger
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Mon Jul 08, 2013 10:45 am    Post subject: Reply with quote

make sure the target process is 64-bit

if you're writing code in a 64-bit module inside a 32-bit process, then you need to work around it:
Code:

mov eax,[esi+ecx*4-04]

_________________
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
Hatschi
Master Cheater
Reputation: 2

Joined: 28 Jan 2010
Posts: 327

PostPosted: Mon Jul 08, 2013 11:39 am    Post subject: Reply with quote

It's a 32bit process but you're right Dark Byte, it's a 64 bit module and your workaround works flawless, thanks!
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Mon Jul 08, 2013 12:07 pm    Post subject: Reply with quote

if it becomes too annoying (e.g: other instructions including r8-r15 instructions that refuse to work)

then execute this lua script and reopen the process
Code:

autoAssemble([[
iswow64process:
mov eax,1
mov dword [rdx],0
ret
]], true)

_________________
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
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