Unofficial MTA Script Editor 0.3 (4851) RELEASED!

All Lua scripting topics related to Multi Theft Auto.

Moderators: Scripting Moderators, Moderators, MTA Team

Unofficial MTA Script Editor 0.3 (4851) RELEASED!

Postby 50p on Mon Jul 06, 2009 7:43 pm

Image
Unofficial MTA Script Editor
Current release: 0.3 (4851)
DOWNLOAD 0.3 (4851)


Very anticipated application is now released! I'm asking every user to report bugs in this topic. Before you report though, please make sure it hasn't been reported already. You can now view our bugs on the mantis (bug tracker), HERE. If you can see MTA bugs but not ours, just change the "Project" (top right) to "Multi Theft Auto: Script Editor".


I think this page was getting way too long so I moved it to the wiki. There is no change in the way I keep you updated though. I'll keep updating the changelog here and the download links.

If you're new here and wanted to find out what this tool is about you can visit the wiki page here:
http://wiki.multitheftauto.com/index.php?title=MTASE



Changelog:
Release 0.3b:
  • First 0.3 beta release which is stripped down version of 0.2.9.6. There is much less features and it makes it more basic editor but still makes life easier for scripters.
  • changed: Menu icons (all created myself)
  • changed: Different syntax highlighter which highlights MTA functions (for client-side files it will highlight client-side functions, for server-side scripts - server-side function)
  • changed: Uses different sound player library
  • changed: It now uses .NET 3.5 so you must have it installed before you can use MTA:SE
  • added: New icon for DirectX .fx files as well as .dff, .txd and .col (RenderWare files)
  • added: Supports .zip resources. You don't have to unzip resource to edit them. Now you can edit the zipped resources like if they were folder resources.
  • added: "New file" window
  • added: You can now preview font files. Just move your mouse over a font file and you'll see a preview showing "Sample text"
  • fixed: Some crashes and minor bugs

Release 0.3 (4719): (release date: 2.12.2012)
  • added: Lua syntax checker
  • added: SQLite database file with all available MTA functions (including functions which are available in nightly versions of MTA) (Up-to-date: 2/12/2012)
  • added: move mouse over MTA function and you will get a tool tip with function description
  • added: right-clicking a function declaration will show a new menu item "Export function <right-clicked function>" (this is still WIP and will NOT export functions)
  • fixed: File -> Open allows you to open .lua scripts

Release 0.3 (4722): (release date: 5.12.2012)
  • fixed: Delete key does not delete text to the right of caret unless text is selected
  • fixed: Crash on startup when one of the resources has more then 1 root elements (thanks to KWKSND for being so patient due to me being pain in the ass)
  • fixed: Lua syntax checker for newly created files and added MTA function highlighter for them as well (thanks to α7мα∂qтя for the report and not giving up on me)
  • fixed: Opening files (Ctrl+O) allows to open same file multiple times
  • added: "File -> Open" menu item
  • added: Warning icon is now shown for the resources which failed to load (most likely due to meta.xml error)
  • added: You can now drag-and-drop files from Windows explorer to MTA:SE window to open files
  • added: Asterix (*) to the file tabs which have been changed but not saved (thanks to Al3grab for the report)

Release 0.3 (4804): (release date: 25.02.2013)
The first release that uses installer.
  • fixed: Right-click tab menu doesn't work ("Close" doesn't close files, "Save" doesn't save files, "Close all but this" doesn't work)
  • fixed: "File -> Save all" not saving all opened files
  • fixed: Main toolbar buttons give warning messages when no file is open
  • fixed: Function list on the right side of the window. The list includes exported functions
  • fixed: File -> Open (CTRL+O); - You can now open more file formats (including .lua, .xml, .map, .conf)
  • changed: Zip resource button in Resource Explorer now shows a message that resource has zipped and will ask you whether you want to open the resource folder in Windows explorer
  • changed: Scrolling with mouse is now system dependent (as you have set your mouse scroll lines in the panel control)
  • changed: Scrolling with your mouse while holding CTRL will change font size (in the currently opened file only)
  • added: Middle-clicking tab acts the same as Right-click tab -> Close
  • added: Hover over tabs to see full file path
  • added: Drag-and-drop files from Windows explorer to MTA:SE Resource explorer to add files to resource
  • added: Sorting of the Resource explorer in alphabetical order (folders first, files next)
  • added: "Unsaved files" window when closing MTA:SE allowing you to select the files you want to save before closing MTA:SE
  • added: File association (open files from within Windows explorer by double-clicking .lua files)
  • added: CTRL + TAB will switch to the next opened file (tab to the right of the current tab), CTRL + SHIFT + TAB will switch to the previous opened file (tab to the left of the current tab)
  • added: Icon in the status bar informing you about the status of MTA:SE integration with MTA server (bare in mind it's still WIP)
  • added: syntax.xml file which allows you to modify the syntax highlighter (you may have as many presets as you want but the preset with attribute "active" will be used)

Release 0.3 (4851): (release date: 13.04.2013)
  • added: "File -> New -> Resource" will now open a window where user can input the most important resource info (author, version, etc.) to create a new resource
  • added: Right-click a function definition from within a resource file (opened from Resource explorer) allows you to export the function from the resource (meta.xml: <export/>)
  • added: Context (right-click) menu for functions list on the right side of the window. Allowing you to call exported functions from other resources (you can also just double-click the function name) as well as going straight to the function definition
  • added: Options window where you can change MTA paths if necessary
  • added: Saving resource state in Resource Explorer - if you expand some folders and you switch to another resource switching back to previous resource will bring back old state of the resource; that is opened folders
  • added: Config.ini file where main MTA:SE settings will be stored
  • added: Full server integration; You can start/restart resources by clicking "Test resource" button
  • added: "Compile script" for all Lua scripts - this is Windows integration, so you can right-click any Lua file within Windows Explorer and you will have an option to compile the clicked script
  • changed: Installer will now ask you for MTA server and client paths. This way MTA:SE will have valid paths right from the start.
  • changed: Installer won't overwrite file association. When running uninstaller it will bring the original file association that was used before installing MTA:SE (if you have already installed older version of MTA:SE more than once the file association will not be brought back, you will have to do it manually)
  • fixed: Crash on some PC at start up. Doesn't crash any more, if it does please contact me immediately!
  • fixed: Not loading any resources due to using wrong paths leading to non-MTA folders (installer will deal with this)
  • fixed: Some syntax highlighter issues including Lua functions highlighting (eg. math.cos, string.format, etc.)
Last edited by 50p on Sat Jan 09, 2010 1:11 pm, edited 59 times in total.
User avatar
50p
Scripting Section Moderator
 
Posts: 2863
Joined: Fri Jan 19, 2007 5:55 pm
Gang: Lua Masters :P

Re: [WIP] Unofficial MTA Script Editor!

Postby Dark Dragon on Mon Jul 06, 2009 7:57 pm

this sounds very cool, it will definitely speed up resource making process a lot! i can't wait for it to be released :D
User avatar
Dark Dragon
Loc
 
Posts: 1649
Joined: Sat Feb 11, 2006 11:16 am
Location: Frankfurt, Germany
Gang: eXo

Re: [WIP] Unofficial MTA Script Editor!

Postby Skull~Death on Tue Jul 07, 2009 4:10 am

Looks awesome! can't wait for this.
User avatar
Skull~Death
Civilian
 
Posts: 24
Joined: Thu Oct 19, 2006 6:08 pm

Re: [WIP] Unofficial MTA Script Editor!

Postby Thehookerkiller01 on Tue Jul 07, 2009 5:37 am

Nice man, i can't wait.
Thehookerkiller01
Prankster
 
Posts: 328
Joined: Sat Dec 27, 2008 7:16 pm
Gang: None, sorry

Re: [WIP] Unofficial MTA Script Editor!

Postby Gamesnert on Tue Jul 07, 2009 5:46 am

Real nice! Seeing it from the screenshots, I really would just dump N++ as soon as this is released! :D

I'm wondering, is the functions/events list specifically made for 1.0, DP2 or both? As 1.0 seems to be coming closer to release.
Gamesnert
MTA Contributor
 
Posts: 1994
Joined: Sat May 24, 2008 5:31 am

Re: [WIP] Unofficial MTA Script Editor!

Postby DakiLLa on Tue Jul 07, 2009 5:53 am

cool! ill get rid of notepad++ immediately when this thing will be released! Good job :D
User avatar
DakiLLa
Road Dawg
 
Posts: 863
Joined: Sun Jun 08, 2008 4:12 pm
Gang: All Wheel Drive

Re: [WIP] Unofficial MTA Script Editor!

Postby 50p on Tue Jul 07, 2009 8:36 am

Thanks for your replies. It seems that you all like the idea.

Gamesnert wrote:...
I'm wondering, is the functions/events list specifically made for 1.0, DP2 or both? As 1.0 seems to be coming closer to release.

It will be for 1.0 it may have DP2.x functions and events too.
User avatar
50p
Scripting Section Moderator
 
Posts: 2863
Joined: Fri Jan 19, 2007 5:55 pm
Gang: Lua Masters :P

Re: [WIP] Unofficial MTA Script Editor!

Postby Talidan on Tue Jul 07, 2009 9:05 am

Very nice work.

Suggestions
  • Undo/redo - I dont see this from the screenshots. A vast undo/redo history is extremely useful to me, in notepad++ the history length seems to be infinite, i've often had to undo all the way back to my original file when things go horribly wrong
  • Shell integration - Its unclear how this is handled now, but i would say opening Lua files is not enough for obvious reasons. I would reccomend a right-click on a resource folder/zip and a "Open resource" shell appears (i believe its possible to make it advanced enough to detect is a meta.xml is inside). This should also be possible with the actual meta.xml
  • Zip support - I understand this is planned, but just incase you forget. This isnt an immediate priority - like most people i work in folders. However, this would be extremely useful for resources which i update on community (e.g. realdriveby) where I was constantly unpacking and repacking.

That's all i can think of for now. I'll post more as i think of them, and once i start using it.
User avatar
Talidan
Godfather (The MTA Team)
 
Posts: 2767
Joined: Sun Dec 28, 2003 3:24 pm
Location: Cave
Gang: VCP

Re: [WIP] Unofficial MTA Script Editor!

Postby 50p on Tue Jul 07, 2009 11:22 am

Shell integration - this is a good idea and we'll do our best to implement it.
User avatar
50p
Scripting Section Moderator
 
Posts: 2863
Joined: Fri Jan 19, 2007 5:55 pm
Gang: Lua Masters :P

Re: [WIP] Unofficial MTA Script Editor!

Postby knash94 on Tue Jul 07, 2009 11:46 am

Nice one (Y)

Sounds like it will save me alot of time and handy for the meta.xml too :P, Ive only used notepad2 so far but im sure im gnna use this when its finished :)

I really wish i had coding skills like you :P
knash94
Busta
 
Posts: 149
Joined: Tue May 26, 2009 11:44 am

Re: [WIP] Unofficial MTA Script Editor!

Postby Cazomino05 on Tue Jul 07, 2009 3:40 pm

looks nice ;)
Image

KillMTADevs? D: *cries*
Cazomino05
Godfather (The MTA Team)
 
Posts: 114
Joined: Sun Sep 23, 2007 1:36 pm
Gang: MTA Dev Team

Re: [WIP] Unofficial MTA Script Editor!

Postby 50p on Tue Jul 07, 2009 4:29 pm

I added it for lulz :P Cry baby cry, because you gonna die! Don't worry because KillMe is executed first :P
User avatar
50p
Scripting Section Moderator
 
Posts: 2863
Joined: Fri Jan 19, 2007 5:55 pm
Gang: Lua Masters :P

Re: [WIP] Unofficial MTA Script Editor!

Postby Gamesnert on Wed Jul 08, 2009 5:59 am

I'm wondering, will there also be something to edit the files in server\mods\deathmatch? (i.e. acl.xml) This would also make installing a server overall a lot easier, and editing one would be too.

Also, perhaps it's an idea to rename it "MTA Resource Editor" or "MTA Server Editor", as it doesn't appear like it's only for scripting. :P
Gamesnert
MTA Contributor
 
Posts: 1994
Joined: Sat May 24, 2008 5:31 am

Re: [WIP] Unofficial MTA Script Editor!

Postby 50p on Wed Jul 08, 2009 8:21 am

Gamesnert wrote:I'm wondering, will there also be something to edit the files in server\mods\deathmatch? (i.e. acl.xml) This would also make installing a server overall a lot easier, and editing one would be too.

Also, perhaps it's an idea to rename it "MTA Resource Editor" or "MTA Server Editor", as it doesn't appear like it's only for scripting. :P

In our old SE (Script Editor) we had support for setting up the server and we have plans to add it again.

And the name, at the very start we named it MTA Lua Editor, but we thought it's more then just editing lua files, so we called it Script Editor. As we go further we may even change it to simply MTA Editor. We'll stick to Script Editor for now.
User avatar
50p
Scripting Section Moderator
 
Posts: 2863
Joined: Fri Jan 19, 2007 5:55 pm
Gang: Lua Masters :P

Re: [WIP] Unofficial MTA Script Editor!

Postby Dark Dragon on Wed Jul 08, 2009 3:45 pm

my suggestion: make it work with external http servers - only the clientside stuff should get uploaded, of course you have to enter accound and passowrd. there should be an option for direct upload on save
User avatar
Dark Dragon
Loc
 
Posts: 1649
Joined: Sat Feb 11, 2006 11:16 am
Location: Frankfurt, Germany
Gang: eXo

Next

Return to Scripting

Who is online

Users browsing this forum: Sarrum and 8 guests