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 


Trainer Generator (freeze time)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
AntonVit
Advanced Cheater
Reputation: 0

Joined: 25 Jan 2014
Posts: 73

PostPosted: Sat Aug 29, 2015 11:35 am    Post subject: Trainer Generator (freeze time) Reply with quote

Hi!
I tryed generate trainer with CE trainer generator
I set freeze interval not standart 250 but 1 milisecond (in settings of trainer not in CE settings)
And when i start finised trainer (exe) and try to activate freezer option, trainer freeze value not with 1 milisecond but i think aboute 100 or more.

When i change freezer interval to 1 milisecond in CE main setting value was frozen more faster than in finished trainer. And i think that trainer dont have it option. I mean i can change in trainer setting freezer interval but in finished exe trainer this option dont work (work standart 250ms)
Why this can be?
Back to top
View user's profile Send private message
DaSpamer
Grandmaster Cheater Supreme
Reputation: 52

Joined: 13 Sep 2011
Posts: 1578

PostPosted: Sat Aug 29, 2015 4:43 pm    Post subject: Reply with quote

Create your own timer using lua, and set its interval to 1.
_________________
HEY Hitler
Do you get lazy when making trainers?
Well no more!
My CETrainer will generate it for you in seconds, so you won't get lazy! Very Happy

http://forum.cheatengine.org/viewtopic.php?t=564919
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Sat Aug 29, 2015 6:11 pm    Post subject: Reply with quote

If you have to reset a value that often, it's probably a situation in which making an AOB script would accomplish the same task in a safer and less resource-intensive manner.

http://forum.cheatengine.org/viewtopic.php?t=570083

_________________
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 218

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Sun Aug 30, 2015 1:23 am    Post subject: Reply with quote

add this line at the end of Lua script.
Code:
getFreezeTimer().Interval = 1



TIP:
1. when using "CE trainer generator", choose "script only" as output (dropbox).
2. adjust few things as you normally do
3. click generate
4. at the very bottom of Lua script (below line --TRAINERGENERATORSTOP--) add suggested line
5. press CTRL+S
6. save as CT file


7. when you want to release a trainer, open your CT file without executing Lua script.
(you might want to set options like this http://i.imgur.com/Og4BbA9.png)
8. click save icon (or CTRL+ALT+S)

9. save as .CETRAINER or as .EXE (remember to use different name than game executable)

_________________
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