Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How can i split my "life" from "enemies"

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Crimson Viper
Newbie cheater
Reputation: 0

Joined: 15 May 2011
Posts: 18
Location: Norway

PostPosted: Wed Mar 22, 2017 9:40 am    Post subject: How can i split my "life" from "enemies" Reply with quote

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
______________________________________________________

Arrow 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
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Wed Mar 22, 2017 10:10 am    Post subject: Reply with quote

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
View user's profile Send private message
Crimson Viper
Newbie cheater
Reputation: 0

Joined: 15 May 2011
Posts: 18
Location: Norway

PostPosted: Wed Mar 22, 2017 10:56 am    Post subject: Reply with quote

Thanx, i'll check it out
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites