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 


can Cheat Engine auto enable a script at startup?

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

Joined: 22 Jun 2015
Posts: 34

PostPosted: Tue Sep 13, 2016 4:32 pm    Post subject: can Cheat Engine auto enable a script at startup? Reply with quote

i have quite a number of INFOS displayed on my table, many require [code]alloc[/code]
right now ive put them all in one script under [enable] and put nothing inside the [disable] so they arent accidentally turned off. i name the box "CHECK ME BEFORE LAUNCH". this is kind of ghetto, is there any way to make a script automatically enabled after attached?

ive played around with putting everything on my table inside of a group, and making it so when you check the box to expand the group it enables the script, this kind of works.. but it pushes everything over half an inch, and space is precious, also again, its kind of ghetto.

anyone know a way to make my script auto enabled?
thanks very much you guys rock!
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Tue Sep 13, 2016 5:46 pm    Post subject: Reply with quote

Ctrl+Alt+L
Code:
function onOpenProcess()
  local timer = createTimer(nil, false)
  timer.Interval = 500
  timer.OnTimer = function(timer)
    local list = getAddressList()
    local mem = list.getMemoryRecordByDescription("Script Name (Description)")
    mem.Active = true
    timer.Destroy()
  end
  timer.Enabled = true
end
Back to top
View user's profile Send private message
catfood
Cheater
Reputation: 0

Joined: 22 Jun 2015
Posts: 34

PostPosted: Tue Sep 13, 2016 7:31 pm    Post subject: Reply with quote

thank you very much Zanzer!! this is exactly what i was looking for!
Back to top
View user's profile Send private message
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