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 


how to disable function and change the debugger

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

Joined: 17 Feb 2016
Posts: 40

PostPosted: Sun Mar 13, 2016 11:32 am    Post subject: how to disable function and change the debugger Reply with quote

hello
i tried to disable a function by adding timer and add that function in it
so when i disable the timer ... the function disable with it ... it didn't work
first question is there any way to disable a function ?


second question is there anyway to change the debugger method by lua script ? (the debugger that cheat engine use)

thank you)
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sun Mar 13, 2016 12:54 pm    Post subject: Reply with quote

What do you mean disable a function? You stop calling it and it's disabled.

I believe once a debugger is attached, you cannot change it.
Back to top
View user's profile Send private message
HyberCode
Cheater
Reputation: 0

Joined: 17 Feb 2016
Posts: 40

PostPosted: Sun Mar 13, 2016 1:01 pm    Post subject: Reply with quote

there's a function i call when the program start (UDF2.show)
the problem is when i close the UDF2 it show agine cuz the program keep calling the func over and over

he's it

function FormActivate(sender)
UDF2.show()
end
function FormClick(sender)
UDF2.close()
end
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sun Mar 13, 2016 1:04 pm    Post subject: Reply with quote

You should not be calling UDF2.show() from the form's activate event.
Back to top
View user's profile Send private message
HyberCode
Cheater
Reputation: 0

Joined: 17 Feb 2016
Posts: 40

PostPosted: Sun Mar 13, 2016 1:07 pm    Post subject: Reply with quote

how then can i show the second form when the program start ? do u have other way to do it ?
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sun Mar 13, 2016 1:17 pm    Post subject: Reply with quote

Set the Form's Visible property to true and then save the table.
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 Lua Scripting 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