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 


Getting health on enemy ingame.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
casperc
How do I cheat?
Reputation: 0

Joined: 07 Jan 2016
Posts: 3

PostPosted: Thu Jan 07, 2016 10:32 am    Post subject: Getting health on enemy ingame. Reply with quote

Hello guys. I have used cheatengine to get health on target enemy. I got the address. But when i close the game and open again. the address changes. Is there anyway I can make a shortcut or someting to get the value instead of attacking one a search for the hp every time i open the game.

Im new to I dont even know what to search for, i tried google alot but I cant find a solution if there is one.

Thanks. Very Happy
Back to top
View user's profile Send private message
mgostIH
Expert Cheater
Reputation: 3

Joined: 01 Jan 2016
Posts: 159

PostPosted: Thu Jan 07, 2016 10:49 am    Post subject: Re: Getting health on enemy ingame. Reply with quote

casperc wrote:
Hello guys. I have used cheatengine to get health on target enemy. I got the address. But when i close the game and open again. the address changes. Is there anyway I can make a shortcut or someting to get the value instead of attacking one a search for the hp every time i open the game.

Im new to I dont even know what to search for, i tried google alot but I cant find a solution if there is one.

Thanks. :D


Usually pointers fit this role, but if it's a game with multiple generated enemies, than you'll need to iterate thru the entities structure of the game itself.

_________________
Do you need to ask me something? Feel free to join my discord server at: https://discord.gg/At4VZXA or ask me something in my YouTube channel: https://www.youtube.com/c/mgostIH
Back to top
View user's profile Send private message
casperc
How do I cheat?
Reputation: 0

Joined: 07 Jan 2016
Posts: 3

PostPosted: Thu Jan 07, 2016 10:53 am    Post subject: Reply with quote

Its getting the HP of my current target. And its working. I tried searching for pointers but there is ALOT. But i am sure i am doing something wrong Sad

This is what I get when i read what access to address when i click on a enemy



tester.png
 Description:
 Filesize:  40.12 KB
 Viewed:  3697 Time(s)

tester.png


Back to top
View user's profile Send private message
mgostIH
Expert Cheater
Reputation: 3

Joined: 01 Jan 2016
Posts: 159

PostPosted: Thu Jan 07, 2016 11:07 am    Post subject: Reply with quote

casperc wrote:
Its getting the HP of my current target. And its working. I tried searching for pointers but there is ALOT. But i am sure i am doing something wrong :(

This is what I get when i read what access to address when i click on a enemy


Apparently, the register rbx (in the first line) contains the base address of the player structure, so check what's its value.
Once done, search for the value of RBX with the memory scanner of cheat engine, set to hexadecimal and 4 bytes scan value.

You should find at least one address with a green text, if done, add it to your addresses table.
You can then add an address manually as a pointer (watch this video https: // www . youtube. com/watch?v=YPHy_9zaP2w)
remember to put the offset, in your case: 324


You should first solve the step 6 on the cheat engine tutorial.

_________________
Do you need to ask me something? Feel free to join my discord server at: https://discord.gg/At4VZXA or ask me something in my YouTube channel: https://www.youtube.com/c/mgostIH
Back to top
View user's profile Send private message
casperc
How do I cheat?
Reputation: 0

Joined: 07 Jan 2016
Posts: 3

PostPosted: Thu Jan 07, 2016 3:33 pm    Post subject: Reply with quote

This is what I get I tried adding a pointer and its working but when i close and open the game it isnt working and the address is changed Surprised


ippppppp.png
 Description:
 Filesize:  380.82 KB
 Viewed:  3659 Time(s)

ippppppp.png


Back to top
View user's profile Send private message
mgostIH
Expert Cheater
Reputation: 3

Joined: 01 Jan 2016
Posts: 159

PostPosted: Thu Jan 07, 2016 3:48 pm    Post subject: Reply with quote

casperc wrote:
This is what I get I tried adding a pointer and its working but when i close and open the game it isnt working and the address is changed :o


It might be a multilevel pointer.
In that case, use the pointer scanner instead.

_________________
Do you need to ask me something? Feel free to join my discord server at: https://discord.gg/At4VZXA or ask me something in my YouTube channel: https://www.youtube.com/c/mgostIH
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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