 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
NexuIV Cheater
Reputation: 0
Joined: 24 Jul 2016 Posts: 26
|
Posted: Sun Jul 24, 2016 5:24 pm Post subject: Help with Mono |
|
|
Hello to all and please forgive me for my imprecise English. I enrolled at this forum, officially recently, although I have read a lot and I have spent many hours following this interesting forum as a Guest.
I have already created trainer and tables for different videogames following the guides present in the various sections, with various techniques (AoBScan, AutoAssembly, etc ...).
But now, I'd like to perfect myself more on the "Mono" where I feel stupid and a real newbie. The game in question would be "Militant".
This game should be protected. Besides having some encrypted data, it does not allow the classic procedures of PointerScan, What / write accesses adresses, etc ...
If you start these procedures, the game quits unexpectedly. (At least in the version they have in their possession). But this is unimportant.
The only access I managed to get it through Mono.
Running the Jit and thanks to one of Cielos script, I managed to create a table by retrieving the addresses and pointers I need. Now, however, I would like to translate all in on/off script.
I attached a few stamp for greater understanding.
OK, the question is simple. How do I change the Boolean bytes in the structure "gamecheats"? Someone would be kind enough to explain it to me perhaps by inserting a small example script?
Please do not kill me or not insult me if I made an absurd request. Thanks to all those who want to give me an explanation.
P.S .: Forgive me if I posted in the wrong section
Byez
| Description: |
|
| Filesize: |
48.06 KB |
| Viewed: |
2541 Time(s) |

|
| Description: |
|
| Filesize: |
148.21 KB |
| Viewed: |
2541 Time(s) |

|
| Description: |
|
| Filesize: |
92.52 KB |
| Viewed: |
2541 Time(s) |

|
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sun Jul 24, 2016 6:48 pm Post subject: |
|
|
Booleans are enabled and disabled by setting their values to 1 and 0.
Inside a script, it could be:
| Code: | [ENABLE]
[boolean_address_or_pointer]:
db 1
[DISABLE]
[boolean_address_or_pointer]:
db 0 |
Did you try changing the default debugger to VEH instead? May fix the crashing.
Edit > Settings > Debugger Options > Use VEH Debugger
|
|
| Back to top |
|
 |
NexuIV Cheater
Reputation: 0
Joined: 24 Jul 2016 Posts: 26
|
Posted: Mon Jul 25, 2016 10:00 am Post subject: |
|
|
Thanks for the answer Zanzer. I activated the VEH function and is much more stable. I created this script that works . Any suggestions to improve it or make it more effective ?
| Code: | [ENABLE]
{$lua}
LaunchMonoDataCollector()
{$asm}
registersymbol(pGameManager)
registersymbol(CoolOff)
alloc(newmem,2048)
alloc(pGameManager,4)
label(CoolOff)
label(returnhere)
label(originalcode)
label(exit)
GameManager:Update:
jmp newmem
nop
returnhere:
newmem:
push [esp+4]
pop [pGameManager]
originalcode:
push ebp
mov ebp,esp
sub esp,08
Offset:
push eax
mov eax,[pGameManager]
mov eax,[eax+1C]
mov [eax+A],(int)1
mov [CoolOff],eax
jmp returnhere
CoolOff:
db 0
exit:
jmp returnhere
[DISABLE]
{$lua}
local ptr = readInteger("CoolOff")
if ptr ~= 1 then
writeInteger(ptr + 0x0A, 0)
end
{$asm}
unregistersymbol(CoolOff)
unregistersymbol(pGameManager)
dealloc(newmem)
dealloc(pGameManager)
GameManager:Update:
//db 55 8B EC 57 83 EC 04
push ebp
mov ebp,esp
sub esp,08
|
Thanks and regards
|
|
| 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
|
|