[QUOTE=Linda;43897003]Do you still need a module to save the files as .lua or have you got that covered? I could make a module for that. File creation, folder creation, etc.[/QUOTE]
Luabee would benefit from a module like that as well.
well, to be completely honest, this looks cool and all but what exactly is the bonus functionality? I mean without downloading it and just looking at the screenshots and stuff, it looks like np++ with an ingame model viewer and some lists to show hooks?
Call me ignorant/lazy but what are some significant bonuses to using this rather than just creating your gamemodes in np++?
[QUOTE=LauScript;43899743]Call me ignorant/lazy but what are some significant bonuses to using this rather than just creating your gamemodes in np++?[/QUOTE]
NP++ isn't inside of the actual game.
[QUOTE=Linda;43899929]NP++ isn't inside of the actual game.[/QUOTE]
WHAT??????? NO WAY I NEVER NOTICED
I don't consider the ability to use fullscreen while scripting a significant bonus.
[QUOTE=LauScript;43899977]WHAT??????? NO WAY I NEVER NOTICED
I don't consider the ability to use fullscreen while scripting a significant bonus.[/QUOTE]
Being able to save, run, and see the results of the script in one button is a lot faster than saving it, bringing up GMod, running the script, and then looking at the results. I don't know if that is a feature in this, but you could easily create it..
Well if you were trying to save micro-seconds i guess that'd be a valid feature but honestly it takes literally half a second to save your document and then click on the game.
[QUOTE=LauScript;43900189]Well if you were trying to save micro-seconds i guess that'd be a valid feature but honestly it takes literally half a second to save your document and then click on the game.[/QUOTE]
The best way to convince anyone of a product is to get them to just try it.
Little usefulness adds up. Try it yourself and see if you like it or not. There's a million little nuances about every IDE which make them stand out from the rest. If you decide that NP++ is better then so be it.
This is what i get, when i added this to my add-ons file and open it in game.
[CODE] addons/gcompute-master/lua/gcompute/ui/ide/views/code.lua:17: attempt to index global 'VFS' (a nil value)
1: (self = { table: 0x413f0a70 }, container = { Panel: GComputeViewContainer 0x3d9c0c90 }) [addons/gcompute-master/lua/gcompute/ui/ide/views/code.lua: 17]
2: __ctor (self = { table: 0x413f0a70 }, { Panel: GComputeViewContainer 0x3d9c0c90 }) [addons/glib-master/lua/glib/oop.lua: 174]
3: ({ Panel: GComputeViewContainer 0x3d9c0c90 }) [addons/glib-master/lua/glib/oop.lua: 192]
4: xpcall (fun
addons/gcompute-master/lua/gcompute/ui/ide/ideframe.lua:288: attempt to index local 'view' (a nil value)
1: CreateCodeView (self = { Panel: GComputeIDEFrame 0x3dae7738 }, title = "new 1") [addons/gcompute-master/lua/gcompute/ui/ide/ideframe.lua: 288]
2: CreateEmptyCodeView (self = { Panel: GComputeIDEFrame 0x3dae7738 }) [addons/gcompute-master/lua/gcompute/ui/ide/ideframe.lua: 305]
3: (_ = { Panel: GComputeDockContainer 0x3db0cb50 }, container = { Panel: GComputeDockContainer 0x416d8238 }, viewError in hook ViewRemoved: function: 0x3db12128!
GLib.Loader.Include : vfs/vfs.lua: File not found (Path was gcompute/, caller path was gcompute/).
1: include (path = "vfs/vfs.lua") [addons/glib-master/lua/glib/loader/loader.lua: 144]
2: () [gcompute/gcompute.lua: 6]
3: xpcall (function (message)) [[C]: -1]
4: include (path = "gcompute/gcompute.lua") [addons/glib-master/lua/glib/loader/loader.lua: 149]
5: () [autorun/gcompute.lua: 4]
6: xpcall (function (message)) [[C]: -1]
7: Include (path = "autorun/gcompute.lua") [addons/glib-GLib.DelayedCalls : function: 0x3fe7e748 took 2837.3760491905 ms.
GLib.Lua.NameCache : Queued Gooey for indexing.
GLib.Lua.NameCache : Queued GAuth for indexing.
GLib.Lua.NameCache : Queued GCompute for indexing.
Warning: vgui.Create failed to create the VGUI component (VFSFolderListView)
gcompute/ui/ide/views/filebrowser.lua:12: attempt to index field 'FolderListView' (a nil value)
1: (self = { table: 0x43075630 }, container = { Panel: GComputeViewContainer 0x43074840 }) [gcompute/ui/ide/views/filebrowser.lua: 12]
2: __ctor (self = { table: 0x43075630 }, { Panel: GComputeViewContainer 0x43074840 }) [addons/glib-master/lua/glib/oop.lua: 174]
3: ({ Panel: GComputeViewContainer 0x43074840 }) [addons/glib-master/lua/glib/oop.lua: 192]
4: xpcall (GLib.Error) [[C]: -1]
5: Creat
gcompute/ui/ide/views/code.lua:17: attempt to index global 'VFS' (a nil value)
1: (self = { table: 0x412c1840 }, container = { Panel: GComputeViewContainer 0x412c0a50 }) [gcompute/ui/ide/views/code.lua: 17]
2: __ctor (self = { table: 0x412c1840 }, { Panel: GComputeViewContainer 0x412c0a50 }) [addons/glib-master/lua/glib/oop.lua: 174]
3: ({ Panel: GComputeViewContainer 0x412c0a50 }) [addons/glib-master/lua/glib/oop.lua: 192]
4: xpcall (GLib.Error) [[C]: -1]
5: Create (self = { table: 0x3fd
[ERROR] gcompute/ui/ide/ideframe.lua:288: attempt to index local 'view' (a nil value)
1. CreateCodeView - gcompute/ui/ide/ideframe.lua:288
2. CreateEmptyCodeView - gcompute/ui/ide/ideframe.lua:305
3. LoadWorkspace - gcompute/ui/ide/ideframe.lua:394
4. GetFrame - gcompute/ui/ide/ide.lua:60
5. SetVisible - gcompute/ui/ide/ide.lua:78
6. unknown - gcompute/ui/ide/ide.lua:382
7. unknown - lua/includes/modules/concommand.lua:69
[/CODE]
[QUOTE=funnygamemake;43941782]This is what i get, when i added this to my add-ons file and open it in game.
[CODE]Tower of stack traces[/CODE][/QUOTE]
It looks like you might be missing VFS ([url]https://github.com/notcake/vfs.git[/url])
This addon drives the file open / save dialogs and allows you to view serverside lua files if you're an admin (useful if you're not hosting the server locally!)
If this isn't the case, add me on steam and I'll try to sort it.
[QUOTE=LauScript;43899743]well, to be completely honest, this looks cool and all but what exactly is the bonus functionality? I mean without downloading it and just looking at the screenshots and stuff, it looks like np++ with an ingame model viewer and some lists to show hooks?
Call me ignorant/lazy but what are some significant bonuses to using this rather than just creating your gamemodes in np++?[/QUOTE]
I use this alongside Np++.
It is incredibly useful to prototype smaller functions and to do a quick test, kind of like a much better lua_run.
The ability to run the code only on selected clients, server or shared is also very helpful, this is a lot more work if you do it in notepad++.
Very useful for running small amounts of lua code directly without having to make a concommand in a file. E.g. give all bots a specific weapon and make them switch to it, print the results of a function you created etc.
OMG, this is the best addon i've ever seen, THANK YOU A LOT(I'll try to spread this to everywhere)
Moved over to this from Luapad. Needed something that is visually the part, and also allows to test code to be ran and output viewed in an easy way.
Being a Starfall dev I usually need to run Lua code 'hacks' whilst on the server to patch things or see the results, and this allows me to work much quicker towards finding a solution. No tedious loading of external lua files, or reloading of the map. Straight working lua execution. Love it!
Also a personal vouch for !cake, great guy to talk to.
why error?
[code]
[ERROR] addons/gcompute/lua/weapons/gmod_tool/stools/gcompute_core.lua:37: attempt to index global 'GCompute' (a nil value)
1. Function - addons/gcompute/lua/weapons/gmod_tool/stools/gcompute_core.lua:37
2. unknown - lua/includes/modules/usermessage.lua:87
[/code]
[QUOTE=_or_75;45225250]why error?
[code]
[ERROR] addons/gcompute/lua/weapons/gmod_tool/stools/gcompute_core.lua:37: attempt to index global 'GCompute' (a nil value)
1. Function - addons/gcompute/lua/weapons/gmod_tool/stools/gcompute_core.lua:37
2. unknown - lua/includes/modules/usermessage.lua:87
[/code][/QUOTE]
It seems to me you've installed it incorrectly.
This looks absolutely crazy... Great job!! :D
Hey, when I tried using this, I had a few issues:
1. after function names and after ending a string, there were some extra spaces.
2. even though I'm admin on the server I'm using it on, everything but the 'run client' button in the run menu is grayed out...
screenshot: [url]http://i.imgur.com/kiILlVJ.png[/url]
I get this when I try and bring up the IDE. I'd like to hope I didn't miss something obvious :\
[CODE]
gcompute_show_ide
Warning: vgui.Create failed to create the VGUI component (DFrame)
Tried to create panel with invalid base 'DFrame'
[ERROR] lua/includes/extensions/client/panel/scriptedpanels.lua:147: attempt to index local 'panel' (a nil value)
1. Create - lua/includes/extensions/client/panel/scriptedpanels.lua:147
2. Create - lua/includes/extensions/client/panel/scriptedpanels.lua:142
3. GetFrame - gcompute/ui/ide/ide.lua:58
4. SetVisible - gcompute/ui/ide/ide.lua:78
5. unknown - gcompute/ui/ide/ide.lua:400
6. unknown - lua/includes/modules/concommand.lua:69
[/CODE]
[QUOTE=soccermitchy;45312298]Hey, when I tried using this, I had a few issues:
1. after function names and after ending a string, there were some extra spaces.
2. even though I'm admin on the server I'm using it on, everything but the 'run client' button in the run menu is grayed out...
screenshot: [url]http://i.imgur.com/kiILlVJ.png[/url][/QUOTE]
1. It looks like you're missing the Lucida Console font.
You can either try installing it or changing the font used by modifying the top of lua/gcompute/ui/codeeditor/codeeditor.lua. (There isn't a settings window for the IDE yet and there won't be for a while, sorry).
2. I updated GCompute to no longer require luadev for remote lua execution today. Updating your copy should fix this issue.
[editline]11th July 2014[/editline]
[QUOTE=Otaconmgs;45358598]I get this when I try and bring up the IDE. I'd like to hope I didn't miss something obvious :\
[/QUOTE]
Try verifying your game installation, it looks like you're missing some of the game's UI library. This error shouldn't ever happen.
If this doesn't fix it, run lua_log_cl 1 in console and start a single player game.
Then post the contents of garrysmod/lua_errors_client.txt here.
Verifying my game cached fixed it, Thanks! This tool should prove very useful in getting my feet wet with LUA
[QUOTE=!cake;45358627]1. It looks like you're missing the Lucida Console font.
You can either try installing it or changing the font used by modifying the top of lua/gcompute/ui/codeeditor/codeeditor.lua. (There isn't a settings window for the IDE yet and there won't be for a while, sorry).
2. I updated GCompute to no longer require luadev for remote lua execution today. Updating your copy should fix this issue.
[editline]11th July 2014[/editline]
Try verifying your game installation, it looks like you're missing some of the game's UI library. This error shouldn't ever happen.
If this doesn't fix it, run lua_log_cl 1 in console and start a single player game.
Then post the contents of garrysmod/lua_errors_client.txt here.[/QUOTE]
Sweet, you fixed that issue... :p
But now I have another: when I try to edit the files in the darkrpmodification addon, they all show up blank, but on the actual machine, they aren't blank.
Screenshots:
gcompute: [url]http://i.imgur.com/f6Nrzgr.png[/url]
ls -lh output: [url]http://i.imgur.com/8XVPoMQ.png[/url]
also, quick suggestion: instead of adding to the list of things to undo every time you type something, why not something like once every second or two? Because right now, ^z acts like backspace :p
[QUOTE=soccermitchy;45359325]Sweet, you fixed that issue... :p
But now I have another: when I try to edit the files in the darkrpmodification addon, they all show up blank, but on the actual machine, they aren't blank.
Screenshots:
gcompute: [url]http://i.imgur.com/f6Nrzgr.png[/url]
ls -lh output: [url]http://i.imgur.com/8XVPoMQ.png[/url]
also, quick suggestion: instead of adding to the list of things to undo every time you type something, why not something like once every second or two? Because right now, ^z acts like backspace :p[/QUOTE]
Try the luacl/darkrp_customthings or luasv/darkrp_customthings folders instead.
As for your suggestion... run another update :P
[QUOTE=!cake;45359856]Try the luacl/darkrp_customthings or luasv/darkrp_customthings folders instead.
As for your suggestion... run another update :P[/QUOTE]
Found something else (not sure if fixed in the update) but when I tried using the computation core in the wire menu, I just get what looks like some filler text (iirc something like #GCompute.Core0)... is it just unfinished?
[QUOTE=soccermitchy;45378421]Found something else (not sure if fixed in the update) but when I tried using the computation core in the wire menu, I just get what looks like some filler text (iirc something like #GCompute.Core0)... is it just unfinished?[/QUOTE]
That part's abandoned :p
[QUOTE=!cake;45380274]That part's abandoned :p[/QUOTE]
what was it supposed to do?
[QUOTE=soccermitchy;45380290]what was it supposed to do?[/QUOTE]
something similar to expression2, but with first class functions and compiled to lua (this is what all the code not directly related to the editor is hanging around for, never finished it)
[QUOTE=!cake;45380743]something similar to expression2, but with first class functions and compiled to lua (this is what all the code not directly related to the editor is hanging around for, never finished it)[/QUOTE]
ah, you should finish it :p
It does not work. It says unknown command: gcompute_show_ide even though it has loaded it.
[QUOTE=nicodon04;45851960]It does not work. It says unknown command: gcompute_show_ide even though it has loaded it.[/QUOTE]
Can you double check that you've downloaded all 4 addons and they're up to date?
[url]https://github.com/notcake/glib.git[/url]
[url]https://github.com/notcake/gooey.git[/url]
[url]https://github.com/notcake/vfs.git[/url]
[url]https://github.com/notcake/gcompute.git[/url]
If it's still not working after updating them, look for errors in your console and post them here if there are any.
First of all thank you !cake for this awesome addon, but I still have some problems.
Superadmin haven't got any rights/permissions to
- create groups
- manage permissions
- access to help/settings
How can I add such rights?
[QUOTE=Boxie;46050012]First of all thank you !cake for this awesome addon, but I still have some problems.
Superadmin haven't got any rights/permissions to
- create groups
- manage permissions
- access to help/settings
How can I add such rights?[/QUOTE]
You're welcome!
Sadly I haven't implemented the settings or help yet.
As for the groups and permissions, there's not much you can really do with them. You can only edit permissions on the folder with your name on it. It's the same with group creation.
Sorry, you need to Log In to post a reply to this thread.