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 


Another Question...
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Lodan
Newbie cheater
Reputation: 0

Joined: 21 Mar 2015
Posts: 14

PostPosted: Sun Mar 22, 2015 3:36 am    Post subject: Another Question... Reply with quote

HP PLAYER =
(EntityOffset + 0x11D8)
(0X142AEC018 + 0X11D8) = 142AED1F0 ???

If i search for this result (142AED1F0) in the memory view in CE, i will find the HP player ?
Back to top
View user's profile Send private message
vng21092
Grandmaster Cheater
Reputation: 15

Joined: 05 Apr 2013
Posts: 644

PostPosted: Sun Mar 22, 2015 8:39 am    Post subject: Reply with quote

That is correct, but keep in mind "142AED1F0" is subject to change, meaning the next time you start the game up it won't be the same. But IF the name of your "Entity Offset" is the name of a module (exe,dll,etc), then you just found a static address, and that would stay the same every time you run it. So if you found something like "game.exe + 1234", that would be the same evertime you run it, but something like "[eax+1234]" would change.
Back to top
View user's profile Send private message
Lodan
Newbie cheater
Reputation: 0

Joined: 21 Mar 2015
Posts: 14

PostPosted: Sun Mar 22, 2015 11:29 am    Post subject: Reply with quote

Understood man, but when i type this value in memory view i dont get the Player HP.
why ? Even without restart the game.
Back to top
View user's profile Send private message
vng21092
Grandmaster Cheater
Reputation: 15

Joined: 05 Apr 2013
Posts: 644

PostPosted: Sun Mar 22, 2015 11:33 am    Post subject: Reply with quote

well, where are you looking? In the memory view there are two halves, top half shows instructions and bottom half shows values. The bottom half is where you want to be looking, change the display type to 4 byte decimal (or whatever you health is represented in) and you should see it.
Back to top
View user's profile Send private message
Lodan
Newbie cheater
Reputation: 0

Joined: 21 Mar 2015
Posts: 14

PostPosted: Sun Mar 22, 2015 11:46 am    Post subject: Reply with quote

I guess im looking in right place see it.
Still nothing.[/url]
Back to top
View user's profile Send private message
vng21092
Grandmaster Cheater
Reputation: 15

Joined: 05 Apr 2013
Posts: 644

PostPosted: Sun Mar 22, 2015 11:48 am    Post subject: Reply with quote

right click the health and click "Find Out What Writes To This Address", what do you see?
Back to top
View user's profile Send private message
Lodan
Newbie cheater
Reputation: 0

Joined: 21 Mar 2015
Posts: 14

PostPosted: Sun Mar 22, 2015 11:56 am    Post subject: Reply with quote

That is another problem my HP is in percentage, and i dont know how to get the static adress from percentage.

The value that i post i found in source of a hack that im using, then i just want to do a some kind of reverse engineering.

Is there my logic correct ?
Back to top
View user's profile Send private message
vng21092
Grandmaster Cheater
Reputation: 15

Joined: 05 Apr 2013
Posts: 644

PostPosted: Sun Mar 22, 2015 12:02 pm    Post subject: Reply with quote

its possible there is no static address, and the way its represented doesn't matter. Ok, this hack you found, is it in the form of a cheat table? If it is, copy the injection point from the script, open up the memory viewer, and at the TOP section, press ctrl+g and paste in the injection point. Right click on it and press "Find what addresses this instruction accesses" and that will give you your current health address.
Back to top
View user's profile Send private message
Lodan
Newbie cheater
Reputation: 0

Joined: 21 Mar 2015
Posts: 14

PostPosted: Sun Mar 22, 2015 12:19 pm    Post subject: Reply with quote

Its not .CT the language is C++.
Back to top
View user's profile Send private message
vng21092
Grandmaster Cheater
Reputation: 15

Joined: 05 Apr 2013
Posts: 644

PostPosted: Sun Mar 22, 2015 12:35 pm    Post subject: Reply with quote

oh... ok, well doesn't matter. Lets start from the beginning, without opening the C++ exe, by yourself, can you find the health address?
Back to top
View user's profile Send private message
Lodan
Newbie cheater
Reputation: 0

Joined: 21 Mar 2015
Posts: 14

PostPosted: Sun Mar 22, 2015 1:42 pm    Post subject: Reply with quote

Ok i tried and i tried and i tried to find my hp adress but i dont get it, just like i said it is percentage,
anyway i need to find offset from weapon ekipped to make my esp show wich weapon the player is using.
Any ideia how can i do this ?
Back to top
View user's profile Send private message
vng21092
Grandmaster Cheater
Reputation: 15

Joined: 05 Apr 2013
Posts: 644

PostPosted: Sun Mar 22, 2015 2:22 pm    Post subject: Reply with quote

try looking for unknown value, swap weapon, look for changed value. swap weapon, swap BACK to old weapon, look for same value, and repeat until you narrow it down. Then start looking for repeating patterns and such, and change the values yourself and see if the weapon changes. Not guaranteed of course.
Back to top
View user's profile Send private message
Lodan
Newbie cheater
Reputation: 0

Joined: 21 Mar 2015
Posts: 14

PostPosted: Sun Mar 22, 2015 9:01 pm    Post subject: Reply with quote

Ok i get it this is static adress i restart the game many times and it still there.
so which is my offset ?



b.png
 Description:
 Filesize:  20.96 KB
 Viewed:  8428 Time(s)

b.png


Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sun Mar 22, 2015 9:22 pm    Post subject: Reply with quote

You have multiple offsets there since it is a multi-level pointer.

<game_name>.exe + 02AEC070 is the first pointer.
+170 is the first offset.
+228 is the next offset.
+270 is the next offset.
+B8 is the next offset.
+0 is the last offset.

Each offset here is read as a pointer. Also keep in mind everything shown is also considered hexadecimal.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sun Mar 22, 2015 9:33 pm    Post subject: Reply with quote

Oops, you forgot to white out one of those [name removed] labels in your screenshots. Wink
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 programming All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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