View previous topic :: View next topic |
Author |
Message |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Wed Jun 22, 2016 8:01 pm Post subject: Auto Assemble compile bug. |
|
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25778 Location: The netherlands
|
Posted: Wed Jun 22, 2016 8:16 pm Post subject: |
|
|
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 |
|
 |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Wed Jun 22, 2016 8:36 pm Post subject: |
|
|
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 |
|
 |
hhhuut Grandmaster Cheater
Reputation: 6
Joined: 08 Feb 2015 Posts: 607
|
Posted: Thu Jun 23, 2016 2:15 am Post subject: |
|
|
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 |
|
 |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Thu Jun 23, 2016 5:53 pm Post subject: |
|
|
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.
|
|
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: Fri Jun 24, 2016 5:01 am Post subject: |
|
|
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 |
|
 |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Fri Jul 01, 2016 5:51 pm Post subject: |
|
|
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 |
|
 |
|