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 


External lua editor request

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

Joined: 19 Jun 2014
Posts: 15

PostPosted: Thu Jun 19, 2014 11:09 am    Post subject: External lua editor request Reply with quote

Can cheat engine allow for the use of external editors to edit the lua script?
The built-in editor is nice but it can be more convenient this way.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Thu Jun 19, 2014 1:31 pm    Post subject: Reply with quote

try SciTE or notepad++

note though that they won't be able to step through CE scripts like CE 6.4 can

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

Joined: 19 Jun 2014
Posts: 15

PostPosted: Thu Jun 19, 2014 1:44 pm    Post subject: Reply with quote

The script I'm trying to edit is within the ct file, am I able to do this without opening up the .ct xml file or copy/pasting between the editor and the lua script window?
Back to top
View user's profile Send private message
Redouane
Master Cheater
Reputation: 3

Joined: 05 Sep 2013
Posts: 363
Location: Algeria

PostPosted: Thu Jun 19, 2014 2:06 pm    Post subject: Reply with quote

simonzack wrote:
The script I'm trying to edit is within the ct file, am I able to do this without opening up the .ct xml file or copy/pasting between the editor and the lua script window?


Click 'show cheat table lua script' and you'll get a window containing the script,in 6.3 and older versions,you have to enable 'show all windows in taskbar' and enlarge the window,it has been fixed in 6.4

Regarding text editors,you could use SciTE or notepad++,but they don't have syntax highlightning for CE specific functions,you also won't be able to test your CE Lua code with them,it would be nice if CE had syntax highlightning for all its native functions,variables,and tables (like _G,_VERSION,string,type,createTimer etc.),that would reduce mispelling.

notepad++ even highlights the metamethod field names (__index,__add etc.)
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Thu Jun 19, 2014 2:11 pm    Post subject: Reply with quote

I recommend you copy/paste the scripts between the editor and the lua script window, as xml contains some special characters that need to be encased in special character notations (e.g &gt instead of > )
_________________
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
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