Opening the menu to Lua - Your contribution needed
363 replies, posted
Well that sucks.
[code]
copy ".\lua\includes\modules\*" ".\..\..\lua\includes\modules\*"
copy ".\lua\vgui\lua_menu.lua" ".\..\..\lua\vgui\*"
pause
[/code]
Guess what the .bat is for... Just execute it (keep the thing in addons as before) and you'r happy.
I already ran it...
installed.
ran the bat.
didn't work
[QUOTE=LyokoJames;22459734]installed.
ran the bat.
didn't work[/QUOTE]
It would help if you mentioned what the .bat returned, but I figured that /lua/vgui/ wasn't existing yet, so I fixed the .bat up to create the folder if it does not exist. If you update the svn and run the bat again it should work :)
Lua: lua\vgui\luaconsole\plugin_irc.lua:33: attempt to call global 'OOSock' (a nil value)
So I installed from the SVN; copied everything over to my garrysmod/lua directory restart gmod and do lua_menu and attempt to type into the IRC. I guess it isn't loading correctly. Tried moving/copying it around to different spots without success. Also where do you get the iTunes/RCon/LuaPad Plugins? Can anyone help?
Edit: Also the regular Chat window has nothing in it. And those are the only two tabs I have.
I have no tabs at all.
the stone, can you release some plugins? preferebly a working irc and luapad.
[QUOTE=VonSpot;22571563]Lua: lua\vgui\luaconsole\plugin_irc.lua:33: attempt to call global 'OOSock' (a nil value)
So I installed from the SVN; copied everything over to my garrysmod/lua directory restart gmod and do lua_menu and attempt to type into the IRC. I guess it isn't loading correctly. Tried moving/copying it around to different spots without success. Also where do you get the iTunes/RCon/LuaPad Plugins? Can anyone help?
Edit: Also the regular Chat window has nothing in it. And those are the only two tabs I have.[/QUOTE]
This is mainly for developers, you need OOSocks for it to work
[QUOTE=VonSpot;22571563]Lua: lua\vgui\luaconsole\plugin_irc.lua:33: attempt to call global 'OOSock' (a nil value)
So I installed from the SVN; copied everything over to my garrysmod/lua directory restart gmod and do lua_menu and attempt to type into the IRC. I guess it isn't loading correctly. Tried moving/copying it around to different spots without success. Also where do you get the iTunes/RCon/LuaPad Plugins? Can anyone help?
Edit: Also the regular Chat window has nothing in it. And those are the only two tabs I have.[/QUOTE]
I have no idea what you guys are doing but you are doing it wrong.
1. Create a new folder in garrysmod/addons/*
2. SVN Check that out
3. Run copy_modules.bat
4. DO NOT COPY RANDOM FILES ANYWHERE, YOU ARE DOING IT WRONG.
[editline]10:42AM[/editline]
[QUOTE=Tobba;22574846]This is mainly for developers, you need OOSocks for it to work[/QUOTE]
I've included oosocks (since irc requires it) but I forgot to add require("oosocks"), sorry for that.
Huge update:
- Added LuaConsole (finally, rewrote the module to fetch it)
- Added iTunes control (not finished yet, see screenshots in OP)
- Lets wait for garry to reenable loading in the menu (or use chrisasters fix)
where is that "chrisasters fix" ?
[QUOTE=warrior08;23262297]where is that "chrisasters fix" ?[/QUOTE]
[url]http://www.facepunch.com/showpost.php?p=23166919&postcount=3[/url]
Can you post the source for the IDE tab or a download for it? Luapad is kindof clunky interface-wise.
I'm just waiting for the next GMod update - you'll get some nice stuff then :)
I almost forgot I'm listed as a committer on the SVN for this. I'll probably do something once my laptop's back from getting repaired (Dell fails)
[QUOTE=The-Stone;23229689]- Added iTunes control (not finished yet, see screenshots in OP)[/QUOTE]
Great, now can we get support for other media players? Preferably foobar2000? Winamp would work too.
The easiest way to do that would be interfacing with AMIP. I'd link you to it but the site's domain is parked.
Am I doing something wrong?
I have no tabs or any content, I type lua_menu and I get this window with the size of the window and the time.
Update broke it i think
[QUOTE=Tobba;23297815]Update broke it i think[/QUOTE]
It was like this before the update.
I saw in the video that he had a "taskbar", I don't have that.
[QUOTE=vexx21322;23297827]It was like this before the update.
I saw in the video that he had a "taskbar", I don't have that.[/QUOTE]
You'll get that after the next update (that acutally allows to load stuff in the menu properly again....)
You should think about making an installer for this. The bat seems too hard for people to comprehend.
[QUOTE=Gbps;23301753]You should think about making an installer for this. The bat seems too hard for people to comprehend.[/QUOTE]
I know, everything will come after the next gmod update...
Why? What is going to happen in the next update?
[QUOTE=bobthe2lol;23302758]Why? What is going to happen in the next update?[/QUOTE]
Garry is re-enabling custom Lua in menu.
[QUOTE=raBBish;23302811]Garry is re-enabling custom Lua in menu.[/QUOTE]
Which means I don't have to ensure that my clients know what they are doing (bypassing & loading lua in the menu.. etc)
Update tonight (from what gbps said)
[QUOTE=The-Stone;23303518]Update tonight (from what gbps said)[/QUOTE]
And if someone wants the source:
[QUOTE=garry;23300588]They can't join because they're not running the beta. It should work tonight when the update goes out.[/QUOTE]
:3:
[QUOTE=The-Stone;23298259]You'll get that after the next update (that acutally allows to load stuff in the menu properly again....)[/QUOTE]
But the point is that it never worked for me, and I have the bypass.
Garrysmod was updated today, with menu_plugins. Will this be updated by tomorrow? I'm really eager to check it out
Sorry, you need to Log In to post a reply to this thread.