Ransom Posted February 14, 2011 Share Posted February 14, 2011 (edited) There are quite a few tools to help make scripting and mapping easier. Sadly they seem to get little attention. Instead of creating a big list of stickies we will list all tools here. Please note some of these may be outdated! Let us know so it can be noted... If you see something that should be in this list reply to let us know. Any resources in development that cause conflict with project goals of MTA will not be included. A prime example would be unofficial map editors. Scripting: HIGHLY RECOMMENDED Browse the MTA scripting wiki offline and much more quickly: offline wiki copy General movement around GTASA: SUPERMAN! Context menu to start/stop/restart resources: Resources Menu (YAML) Run multiple clients for testing: Virtual Machines Script Editor Stuff Sublime Text 3 - 50p's MTA Editor (package) Notepad++ Syntax Highlighting & Auto Completion by JR10 LuaForWindows - Good default theme and anti-theft compiling integrated More Info Here Notepad++ Notepad++ Lua (NOT MTA function) Syntax Checker by Talidan Unofficial MTA Script Editor General Scripting dxGUI - Alternative to MTA GUI Textlib: Create and stylize dxText easily Custom Blips by Talidan Slothbot AI generator by Slothman mabako-services by mabako/XX3 - Interiors, ammunation, food shops and pay n spray house_system by DakiLLa - Create houses ingame Stage - Movie making script with advanced camera control and ped recorder by vovo4ka Wiki: Useful Functions (These are small copy-paste functions to accomplish common tasks) Note: There are a lot of candidates for this section. Whatever else goes here should be flexible, functioning well and NOT DEPRECATED! GUI Creation: Qt to Lua - Create your MTA GUI outside of MTA GUI Editor 3.1.2 (now with DX support) GUI Classes v1.0 (scripting GUI MADE EASY!) YAML - Yet Another Menu Library v1.1.0 Resource Theft and Usage Protection How to make client scripts exist only in memory Mapping and Modelling: Map Editing: Proper Map Editor Plugins Editor Loop Generator (MTA Official loop generator plugin) Editor racemap loader RCG - Roller Coaster Generator plugin for editor TeleportEditor (create teleport shortcuts) by Wojak DrCrazy's vehicle movement record/draw Arezu's Mapping Toolbox (Google this) NeXTreme's Editor Tools (Google this) Fernando-A-Rocha's newmodels map editor Improper Mapping Tools Map elements mass mover online PARC - Puma's Automatic Road Creator - MTA Mapping MAP <-> IPL Converters by Aeron *Race mod syntax! Manual conversion required. Mass Object Adder By YWA *Race mod syntax! Manual conversion required. Custom Model Creation: 50p's MTA:SA Map Exporter (3DS MAXScript) Custom vehicle resource creator online Custom peds skin resource creator online Conversion: MTA <-> SA-MP Object, Vehicle, Pickup converter GTA Map Converter (MTA <-> SAMP) by deLUX Server Tools: User Management (webpanel) Web Admin panel by mawej (login_panel) Login Panel by NeXTreme (P-Login) Login System by B!ERPuNK (C-panel) Admin Panel by castillo14 (sqlitebrowser) SQLite Browser and editor by driver2 Nick Protection by driver2 Resource Management Ingame Current Map Deleter IRC Echo IRC Server Echo (by VRocker) VRocker's IRC Echo Advanced LUA Scripts (Modified by AlienX) [Mini-Missions] Irc Echo System Socket Module & IRC Resource (by MCvarial) Edited January 30, 2023 by Vinyard adding "newmodels map editor" link 1 Link to comment
Ransom Posted March 5, 2011 Author Share Posted March 5, 2011 (edited) EDIT: Note that this information was written years ago. As development progressed, both on MTA and the virtual softwares, the outcome of these methods have changed. As recently as Oct 2014 CCW updated VMWare text here for VMWare 6.0 ... and as of Dec 2014 qaisjp claims VirtualBox works again. Run multiple clients There are times you need more than 1 person to test your script. An example would be team game menus that react differently once another person has joined. It is a luxury to get someone to hang around and test while you debug even part of the time. What you can do is use a virtual machine... Switch user (Tested on Win7 Ultimate / nvidia 9800 GTX / MTA 1.0.4 only!) You can run GTASA/MTASA from multiple Windows accounts and log them into the same server using 127.0.0.1 ... just setup another user account and use switch user, DO NOT use log off. This seems to lead to network trouble in my testing, but you can still use it for script testing with full frame rate. Switch user no longer works as of 1.0.5 for exploit reasons. Virtual Machines The Short Answer: You need to use VMWare Player (free software) You need to use VirtualBox (free software) and follow the instructions HERE. p.s. You cannot connect locally to 127.0.0.1 as your virtual machine has its own virtual loopback for that address referring to itself. On your actual machine do start>run>ipconfig and use your router address in the virtual machine. Ex: 192.168.0.102 22003 ... alternatively if this does not work you can try your ISP IP. Goto whatismyip and use that address in the virtual machine. Ex: 73.114.81.112 22003 p.p.s. People with nVidia cards using 260.xx drivers: Do not enable 2D and 3D acceleration at the same time or you will run into THIS BUG ... for MTA you only need 3D acceleration. If you really want both, revert to 259.xx nVidia drivers. p.p.p.s. Make sure you turn the GFX settings to minimal, especially draw distance. Note very low frame rate can mess up shooting sync. The Long Answer: The two big virtual machine softwares are vmware (most popular and not free) and virtualbox (open source and free). VMWare (Tested on VMware Workstation 7.1.2 build-301548 / Host Machine: Win7 Ultimate / Virtual: WINXP SP3 / nvidia 9800 GTX / MTA 1.0.4)From my testing, vmware will flicker and freeze on 1 frame of the MTA menu and black screen ingame. It works with GTASA but not MTASA. From my VMWare research this problem is related to refresh rates and emulating vsync (a physical monitor property). If you do start>run>dxdiag, display tab, "Test Direct3D" the spinning DirectX cube will be going insanely fast. This should not happen. VirtualBox (Tested on 4.0.4 r70112 / Host Machine: Win7 Ultimate / Virtual: WINXP SP3 / nvidia 9800 GTX / MTA 1.0.4)I tested it in the same manner as above. The dxdiag "Test Direct3D" will show a DirectX cube spinning at normal speed. A drawback I have noticed is that VMWare was running GTASA at a better framerate than VirtualBox could. However, VMWare will not work for MTA as explained above. VirtualBox will work fine. Edited December 26, 2014 by Guest Link to comment
Castillo Posted March 5, 2011 Share Posted March 5, 2011 Ransom, actually there was another way, if i'm right you had to create another user at windows and open the MTA again (a friend did that) Link to comment
Ransom Posted March 5, 2011 Author Share Posted March 5, 2011 Ransom, actually there was another way, if i'm right you had to create another user at windows and open the MTA again (a friend did that) What do you mean? switching users? Link to comment
Castillo Posted March 5, 2011 Share Posted March 5, 2011 Exactly, he was logged in at least 3 MTA's with just one computer. Link to comment
proracer Posted March 5, 2011 Share Posted March 5, 2011 Thanks, Solidsnake14 for this idea! If I would need more people to test my script I would sure try your idea! Link to comment
Ransom Posted March 6, 2011 Author Share Posted March 6, 2011 Exactly, he was logged in at least 3 MTA's with just one computer. Wow I would have never thought of this (or tried it thinking it would work)... I tested and you are right. Thanks for mentioning, although, it is kind of a PITA to keep switching users. Switch user means much better frame rate but virtual machine means no switching users (and straying from Lua script program and debug errors). Seems odd you don't even have to double-install GTA or MTA. Anyways I'll edit that into my post. edit: it seems to run into network trouble as you switch back to your actual username, but still good for testing as 2nd person with full framerate. Link to comment
Wojak Posted April 4, 2011 Share Posted April 4, 2011 I think this should be added to proper editor plugins - it is uploaded for a week and no one reported any serious bug viewtopic.php?f=108&t=32529 also i tested the method with running multiple clients using multiple accounts on windows 7 (64) and it do not work on this OS Link to comment
Kenix Posted April 24, 2011 Share Posted April 24, 2011 (edited) Sandboxie is good solution. Edited July 22, 2012 by Guest Link to comment
Raimis_R Posted June 3, 2011 Share Posted June 3, 2011 Hello all i don't know where i need report this but Unofficial MTA Script Editor don't saving scripts only when you creating resource then saving script. Link to comment
proracer Posted June 3, 2011 Share Posted June 3, 2011 Use Notepad++: http://notepad-plus-plus.org/ Link to comment
Unknown76 Posted June 13, 2011 Share Posted June 13, 2011 Switching users is now disabled in 1.0.5 or I did something wrong to my windows? Link to comment
JR10 Posted June 13, 2011 Share Posted June 13, 2011 You didn't, in 1.0.5 you cant switch users you cant run multiple clients. :\ Link to comment
FabienWang Posted June 30, 2011 Share Posted June 30, 2011 Hey Ransom, can you add my LUA compiler please: viewtopic.php?f=108&t=33905 Link to comment
Ransom Posted July 3, 2011 Author Share Posted July 3, 2011 You didn't, in 1.0.5 you cant switch users you cant run multiple clients. :\ From what I asked it has not been blocked but something is preventing it working for 1.0.5, it works on 1.0.4 as I have helped a guy personally awhile ago and that did the trick. Hey Ransom, can you add my LUA compiler please:viewtopic.php?f=108&t=33905 Yes. Thanks for your contribution. I think this should be added to proper editor plugins - it is uploaded for a week and no one reported any serious bugviewtopic.php?f=108&t=32529 also i tested the method with running multiple clients using multiple accounts on windows 7 (64) and it do not work on this OS Okay, sorry for the delay. I missed this. Link to comment
CapY Posted July 15, 2011 Share Posted July 15, 2011 And with which program i can opet Offline Wiki ? Link to comment
AGENT_STEELMEAT Posted August 25, 2011 Share Posted August 25, 2011 I have mirrored the LUA compiler orginially at http://mta.dzek.eu/compiler/ at my downloads page: http://www.johnlillis.site40.net/downloads. Link to comment
megaman54 Posted October 18, 2011 Share Posted October 18, 2011 Add this if possible: https://forum.multitheftauto.com/viewtopic.php?f=108&t=36514 Link to comment
12p Posted October 19, 2011 Share Posted October 19, 2011 Looks like MTA Unofficial Sscript Editor won't work MTA 1.1... What to do? Receive source code and upgrade it or delete it? Link to comment
50p Posted October 19, 2011 Share Posted October 19, 2011 Looks like MTA Unofficial Sscript Editor won't work MTA 1.1...What to do? Receive source code and upgrade it or delete it? By saying won't work with MTA 1.1 you're not helping at all. It works fine for me so how am I supposed to know what to fix if it works? Also, by saying "Receive source code and upgrade it or delete it", you'll never get the source code. Link to comment
12p Posted October 19, 2011 Share Posted October 19, 2011 I thought that it doesn't work for me, it wouldn't work for anybody. I got the error message of "MTA Server resources folder was not found". I got the server files, resources folder and all that stuff. Also, I didn't say I wanted the code. Link to comment
50p Posted October 20, 2011 Share Posted October 20, 2011 I thought that it doesn't work for me, it wouldn't work for anybody. I got the error message of "MTA Server resources folder was not found". I got the server files, resources folder and all that stuff.Also, I didn't say I wanted the code. Ok, is it bug window with that message or is it a small window asking you to make sure that you installed MTA correctly? Can you make sure the path stored in settings.conf to the server is correct (MTAServerPath)? If it isn't, try to change it manually and see if it works. Link to comment
12p Posted October 20, 2011 Share Posted October 20, 2011 It asks me if I installed MTA correctly. Also I didn't find "MTAServerPath". Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now