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 


Disabling trainer usage after X time..

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Mon Oct 29, 2012 4:54 pm    Post subject: Disabling trainer usage after X time.. Reply with quote

So is it possible to disable the trainer usage after X time?
Lets say I want to make trainer that will work until the 31 october 2012.
Is there any way to make the disable the usage if trainer was opened after the 31 oct?

_________________
I'm rusty and getting older, help me re-learn lua.
Back to top
View user's profile Send private message Visit poster's website
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Mon Oct 29, 2012 6:08 pm    Post subject: Reply with quote

the lua command os.date() return the current date
More info: http://www.lua.org/manual/5.1/manual.html#pdf-os.date

_________________
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
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Tue Oct 30, 2012 6:19 am    Post subject: Reply with quote

Hey thank you.
Now I need another help Razz.
So I'm using ONLY array of byte scan for my trainers (Because its flash game).
Now I'm facing a small problem, so lets say the value I look for is
"88 5E 11 35" (example for some item, its also CHANGING all the time)
And I need to replace it with some other value for example "78 50 11 35" (This is also changing all the time).
So I've thinking if I can calc what the diff between the both values,
Can I make an script that will for example decrease "88 5E 11 35" by 3600 (In 4 byte, or "10 0E" in HEX).

Sorry for bothering so much :p
This stuff I don't know..
Thanks again mate.

_________________
I'm rusty and getting older, help me re-learn lua.
Back to top
View user's profile Send private message Visit poster's website
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