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 


[HELP] Is there a function/script that clears lua engine?

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

Joined: 24 Oct 2016
Posts: 14
Location: Gilbert, AZ

PostPosted: Tue Nov 22, 2016 11:31 pm    Post subject: [HELP] Is there a function/script that clears lua engine? Reply with quote

So what i'm looking for is a script or a function that can clear the lua engine output. I know it's possible to manually do it, but I was wondering if there was a script or function you could use to do that. Help would be appreciated. Thanks.

Sincerely, Mortalkombatman2. Have a nice day! cx

_________________
will edit later
Back to top
View user's profile Send private message Send e-mail
panraven
Grandmaster Cheater
Reputation: 54

Joined: 01 Oct 2008
Posts: 941

PostPosted: Wed Nov 23, 2016 2:02 am    Post subject: Reply with quote

May try
Code:

function clearDebugOutput()
  GetLuaEngine().Menu.Items[0][4].doClick()
end


May need adjust the number 4 if older ce version or some lua extension changed the menu order.

bye~

_________________
- Retarded.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Wed Nov 23, 2016 5:11 am    Post subject: Reply with quote

or:
Code:

GetLuaEngine().MenuItem5.doClick()


though if I actually do give it a name in the future it may break. (but it will currently work in all CE builds)

_________________
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
Mortalkombatman2
Newbie cheater
Reputation: 0

Joined: 24 Oct 2016
Posts: 14
Location: Gilbert, AZ

PostPosted: Thu Nov 24, 2016 9:43 pm    Post subject: Reply with quote

Dark Byte wrote:
or:
Code:

GetLuaEngine().MenuItem5.doClick()


though if I actually do give it a name in the future it may break. (but it will currently work in all CE builds)


Thanks, it worked. You should make it an actual function in your next cheat engine build you make. Also, is it possible to change the "How do I cheat?" thing in my profile? I would show an image but I'm not allowed to post URL's.

_________________
will edit later
Back to top
View user's profile Send private message Send e-mail
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