This is an old release! The code can be messy or not as effective as it could be!
This is an in-game scripting environment with dynamically updating syntax highlighting for Lua. It basically means that if the server has WireMod installed, it also highlights the WireMod functions for you. Same goes with every mod you have installed (or the server). Please note, that if the server doesn’t have Luapad, you’ll only have cached server-side syntax highlighting, with only some basic serverside functions. However, this doesn’t affect the syntax highlighting of client-side functions.
This ‘script’ can be used to code in-game, save the code, load it later, and most importantly: run it client-, and serverside. You can upload code in order to run it on the server, but only if the server has Luapad, and you’re an admin. It currently only supports text-files inside the data-folder, because of your security. Maybe I’ll add the support of direct Lua-files later, with rawio (Optional feature in v1.10).
It probably has some bugs, so tell me about them and I’ll try to fix them. And yes, you can code an aimbot, or a wallhack in-game.
Type luapad to console in order to open it.
Credits go to the following persons:
Andreas “Syranide” Svensson for Wire Expression 2 Editor, which I heavily modified to work with Lua-syntax.
Narkaleptic for the VTF silk-icons used in this pack.
DarKSunrise (me) for scripting.
Levybreak for updating it (from v.1.11), as I didn’t have time for this project.
No syntax-highlighting for multi-line comments (I’ll see if I can do these)
Lua-folder has files that are not really there, but instead in addons/AddonName/lua, and therefore making them unable to load (I’m open for suggestions here)
Sidebar remembering it’s position
Autocomplete for functions
Using GZip or something to compress cache-files for syntax highlighting
Customizable colors on syntax highlighting
SVN: http://lua-pad.googlecode.com/svn/trunk/ (thanks Levybreak)
YOU NEED GM_RAWIO MODULE IF YOU WANT TO EDIT LUA-FILES, IT’S NOT INCLUDED FOR SECURITY REASONS