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 


[newbie here] what if game devs never declare globals ?

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

Joined: 01 Jun 2017
Posts: 2

PostPosted: Fri Jun 02, 2017 2:44 pm    Post subject: [newbie here] what if game devs never declare globals ? Reply with quote

hi there,
im pretty new here and to cheat engine in general so yeah...

I've been watching a few tutorials online (mainly on how to create aimbots and wallhacks and what not on CSGO and other games of the like)
but they all seem to be doing the same stuff, really....

-> search for the value you're looking to change / make a cheat for
-> find out from what other addresses the address is being accessed from
-> keep doing this for every address that accessed the previous one and hope that you eventually find a static address

but if thats really what most cheats do, then isn't it like really easy to prevent it?
I mean, it seems like the only reason these sorts of cheats work is because of the way most game engines are structured
but if someone makes an engine with a different structure that doesn't declaring global variables, then poof, no more static addresses, everything is dynamic and no more cheaters, or what?
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Fri Jun 02, 2017 4:20 pm    Post subject: Reply with quote

There is a world beyond pointers and static addresses
_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25814
Location: The netherlands

PostPosted: Fri Jun 02, 2017 6:04 pm    Post subject: Reply with quote

devs will always love globals

anyhow, the stack is 'kinda' global as well, so even if the game where to store it's data only in local variables and allocated classes, you can still reach the final location by using the first local variable on the stack as a point of origin

Also, API's can accidentally leak pointers. E.g the sound player API may have a pointer to the last played sound object, and that object could hold a pointer to the in game sound engine, which could contain a pointer to the game engine itself, which then can hold the pointer to whatever you want.

---
And of course, besides pointers there's always code injection, rip redirection, etc...

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
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