rain_gloom Posted April 28, 2013 Share Posted April 28, 2013 1. It was meant to be a script editor at first, so I only added support for .lua files but then I added support for .xml-based files (.map and .conf files) too. I might give the user an option to create any file extension files.2. I want users to have MTA installed so that they can start client/server from within the editor itself (there is a new Test Resource button which will send request to the server to start/restart the currently opened resource, the server must be running) 3. I have to remake the server configuration window because there are more and more setting coming from time to time, so I also need to think of a way to dynamically add support for the new settings instead of adding them manually and releasing an update just for the new server settings. This is the reason why I disabled that option for now 4. I don't know what you mean by "our own functions". Do you mind explaining a little better? 5. (skipped) 6. Not currently. I don't want users to have a functions fetcher/updater because that requires 100s connections at a time to fetch all the functions from wiki. I have my own app which allows me to fetch all the functions from wiki. This way I can update the functions list file (MTAFuncs.db) and upload it so others can download it manually. If you want, you can update the file yourself. It's a simple SQLite 3 file so SQLite Database Browser can open this file. e1. I noticed that and I'll be trying to find a proper RegularExpression that will color the table/methods correctly e2. Open the options window (Tools->Options) and there you will have an "Integration with server" box that requires admin's username as well as password. You can create a fictional account on your server just for use by MTA:SE, and use that account to integrate MTA:SE with the MTA server. e3. I can't create folders in the resource explorer because they are not present in meta.xml. It's not a simple task to make user-friendly as well as program, because I don't want to display empty folders in the resource explorer as well as folders which are not even part of file's name in meta.xml (eg. ) e4. I wanted to add the events snippets to the auto-complete box but first I needed to add the more important thing (functions list) I hope it answers all of your questions and thanks for giving it a try. NOTE: Just to let everyone know who may be concerned about installer problem that Dealman had, the problem has been solved. His registry was a little messy and didn't let him install MTA:SE, I've also modified the installer so that even when another user has the similar problem, they will still be able to install it. thanks for replying even the dumb questions, you are awesome ps edit: I'm still sad about not being able to use scripts from my dropbox folder edit2: I forgot to answer the question, but now it's in the "nevermind" folder, anyway: (How) can we add our own definitions? but you already answered so don't bother answering again (you said we can use SQLite whatnot so I'll use that) Link to comment
MIKI785 Posted April 28, 2013 Share Posted April 28, 2013 I still wonder why it's not official Link to comment
50p Posted April 29, 2013 Author Share Posted April 29, 2013 ...thanks for replying even the dumb questions, you are awesome ps edit: I'm still sad about not being able to use scripts from my dropbox folder edit2: I forgot to answer the question, but now it's in the "nevermind" folder, anyway: (How) can we add our own definitions? but you already answered so don't bother answering again (you said we can use SQLite whatnot so I'll use that) I'm actually thinking of loading resources manually. So, you can have a main directory of resources and then load resources from different folders/zips. User would pick a meta.xml or a zip file (zipped resource) and that would load the resource to resource explorer. That's just what I'm thinking. I still wonder why it's not official Because MTA:SE is not open source. Once I decide to go open source it will be official but until then I'm the only programmer. Link to comment
csiguusz Posted April 29, 2013 Share Posted April 29, 2013 Because MTA:SE is not open source. Once I decide to go open source it will be official but until then I'm the only programmer. And don't you want to make it open source? Link to comment
50p Posted April 29, 2013 Author Share Posted April 29, 2013 Because MTA:SE is not open source. Once I decide to go open source it will be official but until then I'm the only programmer. And don't you want to make it open source? I will but just not sure when. Link to comment
rain_gloom Posted June 24, 2013 Share Posted June 24, 2013 plain and simple: line hiding like in NPP: you select them, you hide them, they disappear, you click them, they appear Link to comment
riderj Posted June 24, 2013 Share Posted June 24, 2013 For some reason everytime I create a script using the SE, and it edits the meta.xml, the server does not load the meta.xml of the resource. Link to comment
Chaz-CR Posted June 26, 2013 Share Posted June 26, 2013 Nice one, im learning LUA now and i'd like to learn whit this usefull program! Great job boss! Link to comment
-Gus- Posted July 6, 2013 Share Posted July 6, 2013 (edited) when I open a .lua file the background is black, it is white only when i have just created it using the script editor, but if i close and reopen it turns black, here's a pic Edited July 17, 2013 by Guest Link to comment
angelberge Posted July 6, 2013 Share Posted July 6, 2013 suggestion: Add different languages, for ease of understanding in the application. Link to comment
rain_gloom Posted August 21, 2013 Share Posted August 21, 2013 Open in explorer button? Link to comment
golanu21 Posted August 21, 2013 Share Posted August 21, 2013 You Forgot to add the "setTimer" in the list of functions Link to comment
Ice Cold Posted August 21, 2013 Share Posted August 21, 2013 Wow. It's amazing. But if you would make it able to work remotely (over sftp and ssh), it would be 1000% awesomness. Link to comment
glowdemon1 Posted August 22, 2013 Share Posted August 22, 2013 Installing, lets see what this will be like EDIT : Would be nice to have whenever you write down functions that the needed arguments show up like they sometimes do in Eclipse IDE. Link to comment
glowdemon1 Posted September 4, 2013 Share Posted September 4, 2013 Eh, I've got no clue what's going on... But whenever I try to open my server trough this IDE it seems to corrupt the file, it just opens the server and shuts it down after like .. 3 seconds. However when I don't use this IDE it doesn't seem to corrupt this file. Linking : https://forum.multitheftauto.com/viewtopic.php?f=105&t=64859 Link to comment
rain_gloom Posted November 11, 2013 Share Posted November 11, 2013 I like working with SciTE, NPP and MTA:SE simultaniously, so sometimes I have a folder with .lua scripts but without a meta.xml and the server and MTA:SE are already running. Now, in this scenario, I do not have my scripts as a resource, so I quickly add a meta to test something in MTA, but I forget the parameters of some function, so I want to fix it in this topics editor, but I haven't got any feature to load it. so the functions I would suggest are: (some unrealted, some might already be there, but it's late and I'm too tired to check) refresh, just like the server command with the same name add file to meta auto meta (some string would determine the side, eg.: s_name.lua, c_name.lua, or user-defined wildcard patterns) and what's up with the meta editor? open resource: not a running one, but any other --i know you said that this editor is intended to be used alongside MTA, but frankly, I don't see why this shouldn't be implemented oh, one more thing: the fields below the function list and the resource browser are not doing anything. is it a bug or a missing feature? Link to comment
ThePCGuy Posted November 12, 2013 Share Posted November 12, 2013 I need some help, the connection has been established but the ''test resource'' button is still greyed out.. help please? Link to comment
ThePCGuy Posted November 12, 2013 Share Posted November 12, 2013 Nevermind a restart of the program helped. Link to comment
Thorxx Posted December 26, 2013 Share Posted December 26, 2013 (edited) Awesome Edited February 19, 2014 by Guest Link to comment
mommytellme Posted March 27, 2014 Share Posted March 27, 2014 Bug: Meta.xml is coded in ANSI (?), not in UTF8, and server is not load orginal meta, you moust first change encoding to UTF8 to use the script. Sorry for my bad english, beacuse i'm from Poland. Link to comment
xXMADEXx Posted March 27, 2014 Share Posted March 27, 2014 Is this program open-source? Link to comment
Moderators Citizen Posted March 28, 2014 Moderators Share Posted March 28, 2014 Is this program open-source? No, but it should since the author probably doesn't have time to keep it up-to-date. Link to comment
Subtixx Posted July 26, 2014 Share Posted July 26, 2014 So because the Installer won't install the Editor anymore I extracted the resources from the Installer for you guys : http://www.xup.to/dl,63448374/INSTDIR.rar/ Link to comment
50p Posted July 26, 2014 Author Share Posted July 26, 2014 I have stopped developing the project but I started a new one. This time I moved to Sublime Text 3. It's simple but powerful text editor. It already has Lua support but I've added MTA functions to auto-complete as well as highlighted them (client-side are red, server-side orange and shared are blue). It has parameters included so that when you auto-complete a function name it will also fill the parameter names as well. getEle -- will show auto-complete list and when you hit TAB on a function (eg. getElementHealth) it will auto-complete: getElementHealth( element theElement ) -- "element theElement" will be selected so you can change it to your element Here is a screenshot: https://dl.dropboxusercontent.com/u/437 ... Editor.png What I'm planning to add in the future: 1. "Build system" that will compile the current resource 2. Start MTA Server (if it's not running), ask the server to start current resource and join the server (with mtasa:// protocol) 3. When new file is created in a resource folder (inside of Sublime Text 3) then add it to meta.xml automatically But first I will have to learn Python before I can add these features. Link to comment
Recommended Posts