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 


[delp] Conditioning global const according to Gameversion

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

Joined: 14 Nov 2011
Posts: 8

PostPosted: Thu Nov 24, 2011 10:00 pm    Post subject: [delp] Conditioning global const according to Gameversion Reply with quote

i have pretty complex procedure and function so
i separated my code in different unit for easy managing


i have "trainervar.pas" only for storing var and const
and i uses my 'var' unit in 'main' unit

the problem is, i want to conditioning every const when the game updated

how i can do this globally

if gameversion = "7.2" then
address = $555; // uses this when trainer attached to 7.2 version
if gameversion = "7.3" then
address = $560; // uses this when trainer attached to 7.3 version

edit:
if i placed the const in procedure and place it in public declaration should it work ?
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