Lua Editor
Moderator: Team Members
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Lua Editor
This is the all in one editors I am working on mainly to help me learn how EQ2 emu works. Right now it is just a lua editor but as I find the time I will add the rest. I would also like to stress I suck with UI's so I am sure this could have a better design.
Setting the script path will look in all folders in that path for .lua files, but it will not check the root path and will probably add folders with no .lua in it. The font and color setting should all work. This program will create a settings.xml file to save all you settings. The keywords.xml file contains every thing to be highlighted (lua keywords as well as EQ2Emu functions). It will probably require .net 4.0 (3.5 at the least)
EDIT: Source is on tools SVN now and you can get udated exe's from there as well.
Setting the script path will look in all folders in that path for .lua files, but it will not check the root path and will probably add folders with no .lua in it. The font and color setting should all work. This program will create a settings.xml file to save all you settings. The keywords.xml file contains every thing to be highlighted (lua keywords as well as EQ2Emu functions). It will probably require .net 4.0 (3.5 at the least)
EDIT: Source is on tools SVN now and you can get udated exe's from there as well.
You do not have the required permissions to view the files attached to this post.
Last edited by Jabantiz on Thu Aug 29, 2013 3:46 pm, edited 1 time in total.
Reason: svn
Reason: svn
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Lua Editor
Working with lua a lot lately I decided to take another stab at this, despite what the original post says this is now just a lua editor. I used third party libraires this time and the result is far better then the original version here is the basic layout
Here is a lua file loaded up
Added the ability to create blank scripts with all the function that the server can call
Here is a new spawn script
This is probably far more functional with more features then the last version but haven't done any extensive testing on it yet, still want to add more to it mainly get auto formatting working right and the ability to customize the colors. There is also an auto complete feature in one of the third party libraries but the whole library isn't documented well so might take a while to figure out how to use it. To get the "solution explorer" to work you have to set a path to where the server exe is by going to File->Open Project Folder.
I would appreciate it if any one tests it out and leaves feedback, but be warned this is still early development so use at your own risk.
The attachment on the original post has been updated.
ps - this will be on tools svn (source too) in the future when I am sure it is stable and useable
I would appreciate it if any one tests it out and leaves feedback, but be warned this is still early development so use at your own risk.
The attachment on the original post has been updated.
ps - this will be on tools svn (source too) in the future when I am sure it is stable and useable
You do not have the required permissions to view the files attached to this post.
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Lua Editor
Forgot to mention windows are all dockable
Solution explorer can also be hidden or closed
You do not have the required permissions to view the files attached to this post.
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Lua Editor
New version attached to the first post.
Fixes a couple bugs foof found, also enabled auto complete and added the ability to hit f1 on an eq2emu keyword and open up the wiki page for that function
Fixes a couple bugs foof found, also enabled auto complete and added the ability to hit f1 on an eq2emu keyword and open up the wiki page for that function
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Lua Editor
New version - adds auto format
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: Lua Editor
I love tools.
Excellent work, Jab.
Excellent work, Jab.
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Lua Editor
New version on the first post auto format now supports for, while, and repeat until loops. Also added the ability to toggle auto complete and auto format.
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Lua Editor
New version, fixes a rare null pointer exception in the solution explorer. Can now load files through command line (right click lua file, select open with and browse to the exe). Added the black eq2 icon to the exe.
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Lua Editor
New version, settings.xml should now be created/saved in the proper folder (same folder you run the exe from).
You should now be able to edit font colors/back ground colors to customize the syntax highlighting. (View -> Settings)
Added some missing and new lua functions to the emu keywords list
If you are replacing an older version you will need to delete the settings.xml file in the folder with the exe.
Updated file attached to the first post.
You should now be able to edit font colors/back ground colors to customize the syntax highlighting. (View -> Settings)
Added some missing and new lua functions to the emu keywords list
If you are replacing an older version you will need to delete the settings.xml file in the folder with the exe.
Updated file attached to the first post.
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Lua Editor
Source for this tool is now up on the tools svn under my folder.
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: Lua Editor
Thanks, Jab. If you need the folder to be hidden for now, let me know. I know you said you had more work you wanted to do.
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Lua Editor
Its ok to leave it public, I know xinux wanted to poke around in it and I am not finding much time to work on it currently
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: Lua Editor
Yeah, I had asked to look at it, but you never replied to my PM.
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Lua Editor
Sorry about that, must of misread the pm thought you were just reminding me about the tools svn.John Adams wrote:Yeah, I had asked to look at it, but you never replied to my PM.
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: Lua Editor
I was probably being subtle... you know, like a brick is to glass.
Who is online
Users browsing this forum: No registered users and 0 guests