 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
Redouane Master Cheater
Reputation: 3
Joined: 05 Sep 2013 Posts: 363 Location: Algeria
|
Posted: Tue Nov 05, 2013 9:20 am Post subject: Non writable memory region? |
|
|
Hello,I'm trying to cheat in a game called "The Microbie Story",It's an .exe game.
First,the game has some anti-debugging features that can be bypassed by setting the so called "DebugPort" item of the EPROCESS structure to 0.
Second thing,when I try to inject a code in the part :
cmp [edx+40],eax
je The Microbie Story.exe+4B0C1
I first get an error : "error in line 6 (je The Microbie Story.exe+4B0C1) this instruction can't be compiled.",even if it's just a line from the original code that I jumped.
2: After remplacing the module The Microbie Story.exe with It's base address,I tried to assign this script to my Cheat table:
Code: | [ENABLE]
alloc(newmem,1024)
label(returnhere)
newmem:
mov [edx+40],(int)50
cmp [edx+40],eax
je 0044B0C1
jmp returnhere
"The Microbie Story.exe"+4B061:
jmp newmem
returnhere:
[DISABLE]
dealloc(newmem)
"The Microbie Story.exe"+4B061:
cmp [edx+40],eax
je 0044B0C1 |
I can't enable the script,tried to click on "execute" instead,It said "this code can be injected,are you sure?" when I clicked yes,it said "not all instructions could be injected",and nothing happened.
I also tried to add this line under the alloc command " Code: | fullaccess("The Microbie Story.exe"+4B061,64) | "but It didn't work,also tried the single line assembler,but still nothing.
How can I make this region writable to inject my code?
Here's a picture that shows the memory regions where I want to inject the code.
I also encountered this issue on the Zylom Yahtzee:score is stored as float but code that changes score is not writable.
Bugs:
Mispelling:"Not all code is injectable,are you sure you WAN'T to edit with this?",should be WANT.
"je The Microbie Story.exe+4B0C1" can't be compiled (because of the spaces) even if it's the original code (The Microbie Story.exe is a module).
Description: |
|
Filesize: |
518.26 KB |
Viewed: |
7982 Time(s) |

|
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25785 Location: The netherlands
|
Posted: Tue Nov 05, 2013 9:48 am Post subject: |
|
|
Perhaps the parser is having trouble. Try the exact address instead of modulename+offset
Also, see if rightclicking the hexview with the code region focused and choosing make writable has an effect
If that doesn't work either then you will have to set the pagetable entry to writable manually
_________________
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 |
|
 |
Redouane Master Cheater
Reputation: 3
Joined: 05 Sep 2013 Posts: 363 Location: Algeria
|
Posted: Wed Nov 06, 2013 11:29 am Post subject: |
|
|
Dark Byte wrote: | Perhaps the parser is having trouble. Try the exact address instead of modulename+offset
Also, see if rightclicking the hexview with the code region focused and choosing make writable has an effect
If that doesn't work either then you will have to set the pagetable entry to writable manually |
"Make page writable" didn't work.
Also tried to add it to my cheat table as AOB,when I edit it,It goes back Immediately to its original value.
Assuming that the game has some anti debugging features,there must be another anti-cheat code.
|
|
Back to top |
|
 |
|
|
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
|
|