TsTg Master Cheater
Reputation: 5
Joined: 12 Dec 2012 Posts: 340 Location: Somewhere....
|
Posted: Thu May 30, 2013 6:19 pm Post subject: |
|
|
If the image base is 00400000, then 00E10F60 should equal to "Client.exe"+00A10F60, at then you can modify the assembly code the way you want.
but since the code is not much helpful (i don't have your prog or game), and you have the pointers to the health and the mana, you can create a thread to modify your values, or put the code in that routine instead, a simple thread that should work (using createthread method)
Code: |
Alloc(MyMem,100)
[ENABLE]
MyMem:
//"Client.exe"+006BE494 | 478 | 94 | 688 | 7C | 234 modifies the health every 100 milesecs
mov eax,"Client.exe"+006BE494
mov eax,[eax]
mov ebx,[eax+478]
mov eax,[ebx+94]
mov ebx,[eax+688]
mov eax,[ebx+7C]
mov [eax+234],0x64 //Here modify your health, 0x64 is the hexadecimal value of 100
push 64 //100 milesec
call Kernel32.Sleep
jmp MyMem
createthread(MyMem)
[DISABLE]
MyMem:
ret
| [/code]
Last edited by TsTg on Thu Jun 27, 2013 2:40 am; edited 2 times in total |
|