View previous topic :: View next topic |
Author |
Message |
Crimson Viper Newbie cheater Reputation: 0
Joined: 15 May 2011 Posts: 18 Location: Norway
|
Posted: Wed Mar 22, 2017 9:40 am Post subject: How can i split my "life" from "enemies" |
|
|
I'm really struggling with one scripting problem:
The problem is...
ex : Make infinite health script and everybody included enemies got infinite health. I use AOB scripting, since i don't know other method so well.
How can i seperate my character from an enemy in one single script ? game?
EX for game: Summoner or Heroes of might & Magic 3
______________________________________________________
SUMMONER (Steam)
Quote: | 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:
fstp dword ptr [ecx+000005F8]
exit:
jmp returnhere
"Sum.exe"+50BC8:
jmp newmem
nop
returnhere:
|
Quote: | 00450BBF - D8 80 F8050000 - fadd dword ptr [eax+000005F8]
00450BC5 - 8B 4D EC - mov ecx,[ebp-14]
00450BC8 - D9 99 F8050000 - fstp dword ptr [ecx+000005F8] <<
00450BCE - DB 45 F0 - fild dword ptr [ebp-10]
00450BD1 - 8B 55 EC - mov edx,[ebp-14]
EAX=008ED980
EBX=00000001
ECX=008ED980
EDX=00000000
ESI=008EFCF8
EDI=40400000
ESP=0019FD20
EBP=0019FD3C
EIP=00450BCE |
If i change fstp dword ptr [ecx+000005F8] to db 90 90 90 90 90 everybody got infinite health.
Hope there are someone with a solution for this.
|
|
Back to top |
|
|
++METHOS I post too much Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Wed Mar 22, 2017 10:10 am Post subject: |
|
|
Complete the last step of the CE tutorial that covers data structure dissection.
You need to segregate the code so that you are only manipulating the health for player. There are many different ways to do this.
|
|
Back to top |
|
|
Crimson Viper Newbie cheater Reputation: 0
Joined: 15 May 2011 Posts: 18 Location: Norway
|
Posted: Wed Mar 22, 2017 10:56 am Post subject: |
|
|
Thanx, i'll check it out
|
|
Back to top |
|
|
|