EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Tools (https://www.eqemulator.org/forums/forumdisplay.php?f=593)
-   -   Web-based Quest Editor (https://www.eqemulator.org/forums/showthread.php?t=38823)

Tabasco 09-23-2014 05:54 PM

Web-based Quest Editor
 
This is just a simple quest editor. It can be used by itself or integrated into other projects.
https://github.com/josheb/questedit

There is no authentication built in so you'll either want it hosted on a local-only web server or using something like .htaccess.

For integration you can use the query string to point to a given zone and file. Add create=1 and it will create the requested file if it does not exist. (For normal use there is a box at the top of the file list for creating new files.)

Known issues:
If you resize the layout with no tabs open it will eat the space where the tabs go. Opening new tabs after that will have the first line of text under the tab area. It's pretty easy to avoid once you're aware of it.

If you provide a path for quests that involves a symlink, the path validation will fail. You need to specify the complete path without any symlinked directories.

provocating 09-25-2014 01:35 PM

Without look at the code, which I have not. Does this work with perl and lua quest?

Tabasco 09-25-2014 02:23 PM

It does.
The actual coded editing library is ace. It will display any text, it just needs to know what syntax highlighting to use, which is currently determined by the file extension.

It would actually be really easy to convert it to a general editor for text files at a given root. It just happens to favor .pl or .lua files at the moment.


All times are GMT -4. The time now is 03:17 PM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.