is there a program out there that i can use to debug my lua without starting up gmod and crap? it takes too long! gmod is great but i think we need a new way for debugging our code.
Load small maps and unmount all addons that are unneeded, there is no way to test your code with the GMod functions without GMod.
[QUOTE=Kialtia;21268838]Load small maps and unmount all addons that are unneeded, there is no way to test your code with the GMod functions without GMod.[/QUOTE]
ok then maby someone should make something like a plugin for notepad ++ for the debugging. thanks though :D
You can't make such a plugin due to functions being missing, for example if you'd use a function from wire the plugin would say the test failed because the function is invalid.
[QUOTE=Kialtia;21269453]You can't make such a plugin due to functions being missing, for example if you'd use a function from wire the plugin would say the test failed because the function is invalid.[/QUOTE]
ok thanks anyway
make your own dedi on your local pc, it loads the whin 3 seconds, whitout the need to start hole Gmod.
[QUOTE=Kialtia;21269453]You can't make such a plugin due to functions being missing, for example if you'd use a function from wire the plugin would say the test failed because the function is invalid.[/QUOTE]
I used to have a plugin that checked for lua errors (worked with gmod lua as well) I can't remember who made it but I think it was ja_cop.
All I had to do was press a button and it would compile it in a command prompt window and say any errors. Was very useful.
:O found it! Want me to upload?
[URL=http://filesmelt.com/dl/LuaSyntax.zip]LuaSyntax.zip[/URL]
I have no idea how to use it. Hopefully someone can figure it out. I can't remember how I set it up.
ja_cop did make this sorry if you didn't want it uploaded I will take it down if you want, it is a very useful tool.
[QUOTE=conman420;21271430]I used to have a plugin that checked for lua errors (worked with gmod lua as well) I can't remember who made it but I think it was ja_cop.
All I had to do was press a button and it would compile it in a command prompt window and say any errors. Was very useful.
:O found it! Want me to upload?
[URL=http://filesmelt.com/dl/LuaSyntax.zip]LuaSyntax.zip[/URL]
I have no idea how to use it. Hopefully someone can figure it out. I can't remember how I set it up.
ja_cop did make this sorry if you didn't want it uploaded I will take it down if you want, it is a very useful tool.[/QUOTE]
Ah, just checking the syntax works yea, but you never know if it completely works until you test it in GMod (Missing functions, using bools in strings or w/e).
[QUOTE=Chad Mobile;21271917]Bookmarked.[/QUOTE]
I did the same a while ago. :smile:
[QUOTE=conman420;21271430]I used to have a plugin that checked for lua errors (worked with gmod lua as well) I can't remember who made it but I think it was ja_cop.
All I had to do was press a button and it would compile it in a command prompt window and say any errors. Was very useful.
:O found it! Want me to upload?
[URL="http://filesmelt.com/dl/LuaSyntax.zip"]LuaSyntax.zip[/URL]
I have no idea how to use it. Hopefully someone can figure it out. I can't remember how I set it up.
ja_cop did make this sorry if you didn't want it uploaded I will take it down if you want, it is a very useful tool.[/QUOTE]
put it in your C drive,
open CMD
type: luasyntax.exe FILENAME.lua -version gmod
However, include doenst work in it sadly :(
wow thank you all this has been so helpful :)
Sorry, you need to Log In to post a reply to this thread.