View previous topic :: View next topic |
Author |
Message |
Hatschi Master Cheater
Reputation: 2
Joined: 28 Jan 2010 Posts: 327
|
Posted: Mon Jul 08, 2013 9:58 am Post subject: [Bug] This instruction can't be compiled |
|
|
Code: | mov eax,[rsi+rcx*4-04] |
What's wrong on this instruction?
|
|
Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Mon Jul 08, 2013 10:37 am Post subject: |
|
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25785 Location: The netherlands
|
Posted: Mon Jul 08, 2013 10:45 am Post subject: |
|
|
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 |
|
 |
Hatschi Master Cheater
Reputation: 2
Joined: 28 Jan 2010 Posts: 327
|
Posted: Mon Jul 08, 2013 11:39 am Post subject: |
|
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25785 Location: The netherlands
|
Posted: Mon Jul 08, 2013 12:07 pm Post subject: |
|
|
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 |
|
 |
|