|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
Terenas How do I cheat? Reputation: 0
Joined: 25 Feb 2015 Posts: 2
|
Posted: Fri Mar 06, 2015 6:03 am Post subject: Armies of Exigo Unlimited MP |
|
|
Hi, I use Geri's code on his blog for Armies of Exigo and implement this for godmode(Unlimited HP), and it works well.. right now I am wondering how can I do the same for Unlimited Mana?
This is the one for unlimited HP.
Code: |
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
006696CC:
jmp newmem
returnhere:
newmem: //this is allocated memory, you have read,write,execute access
fstp dword ptr [esi+04]
pushfd
pushad
cmp [esi],0
jne +6
mov eax,[esi+08]
mov [esi+04],eax
popad
popfd
//place your code here
originalcode:
//fstp dword ptr [esi+04]
test eax,eax
exit:
jmp returnhere
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
006696CC:
fstp dword ptr [esi+04]
test eax,eax
//Alt: db D9 5E 04 85 C0
|
This is the one currently use
Code: | If, offset 0004 [ESI+04]: --> the hp of the unit.
offset 0008 [ESI+08]: -->max hp of the unit.
|
how do I write a code that is similiar to this but it is for unlimited mana?
Code: | offset 000C [ESI+0C]: --> Mana of the unit.
offset 0010 [ESI+10]: --> Max mana of the unit. |
|
|
Back to top |
|
|
Geri Moderator Reputation: 111
Joined: 05 Feb 2010 Posts: 5636
|
Posted: Fri Mar 06, 2015 7:01 am Post subject: |
|
|
Never bothered with mana, so I don't know which code is accessing to the mana, but you can modify this script to refill your mana when you take damage. Just add 2 more lines like this
Code: | [ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
006696CC:
jmp newmem
returnhere:
newmem: //this is allocated memory, you have read,write,execute access
fstp dword ptr [esi+04]
pushfd
pushad
cmp [esi],0
jne +6
mov eax,[esi+08]
mov [esi+04],eax
mov eax,[esi+0C]
mov [esi+10],eax
popad
popfd
//place your code here
originalcode:
//fstp dword ptr [esi+04]
test eax,eax
exit:
jmp returnhere
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
006696CC:
fstp dword ptr [esi+04]
test eax,eax
//Alt: db D9 5E 04 85 C0 |
Or find the code which is accessing to the mana, and make a similar script like this god mode.
_________________
|
|
Back to top |
|
|
Terenas How do I cheat? Reputation: 0
Joined: 25 Feb 2015 Posts: 2
|
Posted: Fri Mar 06, 2015 1:52 pm Post subject: |
|
|
The modified code made this :-
Quote: | Everytime unit A gets attacked and if he has 300 max MP, and his MP is at 180, he will get 180/180 instead of 300/300. |
And I made this similiar to the godmode script, but it did not work. Nothing changes.
Code: |
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
006772B8:
jmp newmem
returnhere:
newmem: //this is allocated memory, you have read,write,execute access
fstp dword ptr [esi+0C]
pushfd
pushad
cmp [esi],0
jne +6
mov eax,[esi+10]
mov [esi+0C],eax
popad
popfd
//place your code here
originalcode:
//fstp dword ptr [esi+04]
pop edi
exit:
jmp returnhere
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
006772B8:
fstp dword ptr [esi+0C]
pop edi
//Alt: db D9 5E 04 85 C0 |
Description: |
|
Filesize: |
855.91 KB |
Viewed: |
12421 Time(s) |
|
|
|
Back to top |
|
|
Geri Moderator Reputation: 111
Joined: 05 Feb 2010 Posts: 5636
|
Posted: Sat Mar 07, 2015 8:21 am Post subject: |
|
|
Yes, it's my mistake. Switch them. ESI+10 comes first, ESI+0C comes as second. Also screwed up the jump length, which needs to be doubled.
Code: | [ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
006696CC:
jmp newmem
returnhere:
newmem: //this is allocated memory, you have read,write,execute access
fstp dword ptr [esi+04]
pushfd
pushad
cmp [esi],0
jne +0C
mov eax,[esi+08]
mov [esi+04],eax
mov eax,[esi+10]
mov [esi+0C],eax
popad
popfd
//place your code here
originalcode:
//fstp dword ptr [esi+04]
test eax,eax
exit:
jmp returnhere
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
006696CC:
fstp dword ptr [esi+04]
test eax,eax
//Alt: db D9 5E 04 85 C0 |
As for your own code, check it when is it used. Maybe that code is used for certain magic only or something. Other than that, it should work. I don't really get it, because this code is not on the picture that you posted, so I don't know where did you get it.
_________________
|
|
Back to top |
|
|
JIeMyp4uK How do I cheat? Reputation: 0
Joined: 29 Oct 2015 Posts: 1
|
Posted: Thu Oct 29, 2015 5:50 pm Post subject: Help plz |
|
|
Unfortunately i cant send pm messages... why?... So i can write only here.
Guys, i need your help. I took code on godmode from the first post. But i cant use it, it doesnt work for me. Can u teach me, how to get godmod by myself? Plz.
But it will be better, if i press Num 1, and my selected unit get, for ex, 1000 hp.
|
|
Back to top |
|
|
kornicska Cheater Reputation: 0
Joined: 04 Mar 2012 Posts: 31
|
|
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
|
|