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 


Question about making a trainer

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

Joined: 08 Aug 2019
Posts: 2

PostPosted: Thu Aug 08, 2019 2:23 am    Post subject: Question about making a trainer Reply with quote

Hello,

So I watched a couple of videos of doing pointerscans and using the static pointers.

Everything works fine so far but I'm questioning myself if this is making sense.

So what I have now is for every cheat I got a static pointer and each cheat has its own pointer map where I got the static pointer from.

I think this is kinda redurant or isn't?

So I came to this theory:

What if I get only the base address of the player as a static pointer from one map and from there I add offsets for example health, then I use the same base pointer to get the shield from that player class.

Is this how I can make it better in theory?

Excuses if my question sounds a little dumb but I got to learn it somehow Razz

Thanks!
Back to top
View user's profile Send private message
Viloresi
Expert Cheater
Reputation: 0

Joined: 02 Feb 2017
Posts: 149

PostPosted: Thu Aug 08, 2019 3:37 am    Post subject: Reply with quote

yes I guess you've got the point, every game has a player structure that holds every stat of the player, so if you get the base address of that player structure, then you can retrieve all the other stats (like health , shield exp etc...) from there.
That's how cheats like aimbot works for example (it needs to do like a "for" cycle through each player structure to retrieve each XYZ position on the game map) because otherwise manually finding a different pointer for each player with pointerscan couldn't be possible
Back to top
View user's profile Send private message
Bewaq291
How do I cheat?
Reputation: 0

Joined: 08 Aug 2019
Posts: 2

PostPosted: Thu Aug 08, 2019 4:06 am    Post subject: Reply with quote

Viloresi wrote:
yes I guess you've got the point, every game has a player structure that holds every stat of the player, so if you get the base address of that player structure, then you can retrieve all the other stats (like health , shield exp etc...) from there.
That's how cheats like aimbot works for example (it needs to do like a "for" cycle through each player structure to retrieve each XYZ position on the game map) because otherwise manually finding a different pointer for each player with pointerscan couldn't be possible


Ah thanks that clears it up! Very Happy
Back to top
View user's profile Send private message
HotHeap
!BEWARE! Deletes post on answer
Ban
Reputation: 2

Joined: 06 Oct 2018
Posts: 4

PostPosted: Wed Sep 18, 2019 7:58 pm    Post subject: Reply with quote

I recommended finding a MMO and searching for open source programs on it that “hack” it as then you can learn structs as you play the game and have a interest
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
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