Kenix Posted May 8, 2012 Share Posted May 8, 2012 (edited) 1) Compiler How to install? Download "lua5_1_4_(YOUR OS)_bin.(zip_OR_tar.gz)" hence http://luabinaries.sourceforge.net/download.htmlExtract this file in folder C:\Program Files\Lua (this path will be used)Next hit F5 and in window enter this command "C:\Program Files\Lua\luac5.1.exe" -s -o "$(FULL_CURRENT_PATH)c" -- "$(FULL_CURRENT_PATH)"If you want use combination keys for compile. Click on button "Save". 2) Syntax checker (by Talidan) One thing LuaEdit has that Notepad++ lacks is an Lua syntax checker. This lets you look for general LUA mistakes that are NOT RELATED to MTA scripting before running your script and debugging it inside MTASA. For example it will make sure the end statements balance out and your if comparison operators are valid. So why use this? It saves you time by detecting silly mistakes before switching windows and going ingame, where you will get the same error messages. The general Lua syntax must be correct before your Lua script works. You can download the files here: myfileupload MediaFire OPEN THE README FOR INSTALLATION INSTRUCTIONS! Notepad++ syntax check hax======================== 1) Extract the contents of this archive to an appropriate directory. These files need to stay somewhere for notepad++ to call upon. 2) In Notepad++, press F5, and browse to the location of syntaxcheck.bat 3) At the end of the path, add the following parameter: "$(FULL_CURRENT_PATH)" So, for example: "C:\Program Files\Notepad++\syntaxcheck\syntaxcheck.bat" "$(FULL_CURRENT_PATH)" 4) Try a test run. It'll only report something if there's an error. If it works, press F5 and go ahead and press the Save button, and give it a name and optionally a shortcut key Original topic 3) Highlighting by Fro How to install? Copy files to directory: plugins\MTALua.dll and plugins\FunctionList.dll in folder PROGRAM_FOLDER\plugins\plugins\config in folder PROGRAM_FOLDER\Notepad++\plugins\config\ How do I run it? Select Language -> MTALua Download 4) Auto-Completion by Buffalo (Updated by JR10) How to install? Save file lua.xml in PROGRAM_FOLDER\plugins\APIs How do I run it? Select Language -> Lua. Please Don't forget restart notepad++ ! Download 5) Highlighting by Fro with auto-completion by Buffalo. How to install? plugins\MTALua.dll and plugins\FunctionList.dll in folder PROGRAM_FOLDER\plugins\ plugins\config\ in folder PROGRAM_FOLDER\Notepad++\plugins\config\plugins\APIs\ in folder PROGRAM_FOLDER\Notepad++\plugins\APIs\ How do I run it? Select Language -> MTA Lua. Please Don't forget restart notepad++ ! Download Edited June 10, 2012 by Guest Link to comment
Jaysds1 Posted May 8, 2012 Share Posted May 8, 2012 (edited) I have an error: FORGET ABOUT THIS My Notepad++ version is: 6.1.2 (UNICODE) Edited June 22, 2012 by Guest Link to comment
iFoReX Posted May 8, 2012 Share Posted May 8, 2012 I cant download please upload in other mirror D: Link to comment
Jaysds1 Posted May 8, 2012 Share Posted May 8, 2012 What download are you looking for? Link to comment
Jaysds1 Posted June 9, 2012 Share Posted June 9, 2012 Anyways, Here's a pic of the Syntax Highlight for anyone who can't see it: http://i.imgur.com/RmM0I.png Link to comment
Guest Guest4401 Posted June 9, 2012 Share Posted June 9, 2012 The 3rd & 4th together didn't work for me. Any idea where I've done wrong? I can use only one at a time. Is that for everyone or only for me? Link to comment
Jaysds1 Posted June 9, 2012 Share Posted June 9, 2012 I don't think they're compatible with each other. Link to comment
Guest Guest4401 Posted June 9, 2012 Share Posted June 9, 2012 Ok, thanks for the info. Link to comment
JR10 Posted June 9, 2012 Share Posted June 9, 2012 Highlighting by Fro is very nice, only one problem though, the function auto completion and parameter isn't working with it. Well it was helping me when I forget an argument. So does anyone know any solution? Or an alternative? Thanks. Link to comment
Jaysds1 Posted June 9, 2012 Share Posted June 9, 2012 sorry, but I don't have a solution, I just wanted to ask you, Where you got the MTALua.xml from? My Notepad++ says that it can't find the MTALua.xml, and right now I'm using the Highlight From Buffalo Lua.xml Any solutions? Link to comment
Jaysds1 Posted June 9, 2012 Share Posted June 9, 2012 RunSelect Syntax -> MTALua I don't see this in my Notepad++ List Link to comment
Kenix Posted June 9, 2012 Author Share Posted June 9, 2012 (edited) Jaysds1, You wrong installed. Okay. Who want use Buffalo auto completion and Fro highlighting. Install plugins\MTALua.dll and plugins\FunctionList.dll in folder PROGRAM_FOLDER\plugins\ plugins\config\ in folder PROGRAM_FOLDER\Notepad++\plugins\config\ plugins\APIs\ in folder PROGRAM_FOLDER\Notepad++\plugins\APIs\ Run Select Language -> MTA Lua. Don't forget restart notepad++ ! Download Updated. Edited June 9, 2012 by Guest Link to comment
Guest Guest4401 Posted June 9, 2012 Share Posted June 9, 2012 Thanks kenix, it's working perfectly now. Link to comment
JR10 Posted June 9, 2012 Share Posted June 9, 2012 This is not working for me. I copied plugins\MTALua.dll and plugins\FunctionList.dll in folder С:\Program Files\Notepad++\plugins\ Copied plugins\config\ in folder %APPDATA%\Notepad++\plugins\config\ And copied Buffalo's lua.xml in folder %APPDATA%\Notepad++\plugins\APIs\ And I choose MTA Lua as the language, but it didn't work. Link to comment
Kenix Posted June 9, 2012 Author Share Posted June 9, 2012 You should copy mta lua.xml but not lua.xml. ( If you want use with Fro's highlighting ) Don't forget select language MTA Lua. Link to comment
JR10 Posted June 9, 2012 Share Posted June 9, 2012 I downloaded Fro's highlighting but didn't find plugins\APIs\. And Buffallo's has one file lua.xml. What should I exactly do? Sorry but I don't really understand what you've described. Link to comment
Kenix Posted June 9, 2012 Author Share Posted June 9, 2012 (edited) Okay i explain more more better. Copy all files from folder plugins\APIs\ to folder Notepad_FOLDER\plugins\APIs\ Copy all files from folder plugins\config\ to folder Notepad_FOLDER\plugins\config\ Copy all files from folder plugins\ to folder Notepad_FOLDER\plugins\ Edited June 9, 2012 by Guest Link to comment
Jaysds1 Posted June 9, 2012 Share Posted June 9, 2012 JR10, go into your Notepad++ Folder, here: C:\Program Files\Notepad++\plugins\APIs Place your mtalua.xml in there. Link to comment
JR10 Posted June 9, 2012 Share Posted June 9, 2012 Didn't work for me until I placed it in C:\Program Files\Notepad++\plugins\APIs, not %APPDATA%. Thanks Jaysds1. Link to comment
Kenix Posted June 9, 2012 Author Share Posted June 9, 2012 (edited) My mistake. Don't' saw this. Update now. Edited June 9, 2012 by Guest Link to comment
JR10 Posted June 9, 2012 Share Posted June 9, 2012 For me, it actually opened a different file. 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