 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
deraz12 How do I cheat?
Reputation: 0
Joined: 18 Nov 2015 Posts: 4
|
Posted: Wed Nov 18, 2015 5:59 pm Post subject: Auto assembly code!! help plzzzz |
|
|
Hi!
I'm new to cheat engine and game hacking!
and I'm trying to hack a construction progress for an RTS game
I've found the code that acess to the adresses of the featur I want to hack
| Code: |
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
mov [esi+0C],eax
mov eax,[esi+04]
exit:
jmp returnhere
"game.dll"+4D26BA:
jmp newmem
nop
returnhere:
|
the code writes to many deffirent adresses including AI player adresses
I've used the structur dissect function to find the player ID as 0
but I couldn't manage to make a working script to make constructions to be buit in one turn instead of many turns.
So any ideas?????
|
|
| Back to top |
|
 |
deraz12 How do I cheat?
Reputation: 0
Joined: 18 Nov 2015 Posts: 4
|
Posted: Wed Nov 18, 2015 6:07 pm Post subject: |
|
|
I've found a table that uses a script to hack the same code!
but I couldn't fugure out how it's done
| Code: |
_MonConst:
push ebx
mov dword ptr [aLast1],'MoCo'
mov [pConst],esi
mov [pConst1],eax
cmp dword ptr [iEnableMC],0
je _ExitMC // Jump if feature is disabled
test eax,eax
jz _ExitMC
mov ebx,[esi+04]
test ebx,ebx
jz _ExitMC
mov ebx,[ebx+00000094]
cmp ebx,[pGold]
jne _ExitMC
inc dword ptr [iCounters+30]
mov ebx,[eax+10]
dec ebx
cmp ebx,[eax+0c]
jle _ExitMC
mov [eax+0c],ebx
_ExitMC:
pop ebx
mov [esi+0C],eax // Original code
mov eax,[esi+04] // Original code
jmp _BackMC // Back to main 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
|
|