Author Topic: XGUI - Fully featured modular GUI for ULX! (Included with ULX v3.51 and SVN)  (Read 554746 times)

0 Members and 4 Guests are viewing this topic.

Offline atomicspark

  • Full Member
  • ***
  • Posts: 196
  • Karma: 12
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #45 on: August 14, 2009, 07:13:10 PM »
I'll keep this idea in mind as this becomes more polished  :)

No you won't. :)

Also, explaining how to comment out in Lua would of been helpful. I just replaced the line. Since in the next update, I'll be overwriting the files anyways. :P
« Last Edit: August 14, 2009, 07:15:49 PM by atomicspark »

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #46 on: August 18, 2009, 12:21:32 AM »
Huge update!

Well, not so much exciting for you guys, mostly a lot of background changes and stuff! Lemme list what I can remember:

-Now in addon format! (Until released with ULX..) So you don't have to go putting files in the ulx folder
-Tons of code cleanup!
-Recoded initialization, now opens faster!
-Made numerous changes due to UCL updates
-Textboxes now lose focus when you click away from them!
-Other random slider/textbox updates
-Players tab has an RCON box so admins can quickly run console commands!
-Removed the admins tab completely, replaced with the groups tab!
-Thanks to UCL changes, you can add/remove/rename/edit groups quickly and easily! (more stuff on the groups tab to come later)
-Categories on the settings page now default to collapsed
-Positions of scrollbars, categories, opened tab, etc. are saved on menu open/close
-Moved mapvote settings to the settings page
-Preparing to make XGUI more modular
-And many other changes..

The players tab is still boring because I'm waiting for a few very important changes to ULib  ;)

Oh, and I also changed the way modules are added-- instead of an addons page, you can add a tab (or add settings elsewhere.. coming soon).  Check module_examples.lua for a commented, step-by-step example :P

Screenshots? Well.. not much really has changed layout-wise, mostly functionality. Try it out!
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Limezstudios

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #47 on: August 27, 2009, 10:34:25 AM »
This is awesome!

Offline EggNoggin

  • Jr. Member
  • **
  • Posts: 50
  • Karma: -6
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #48 on: September 06, 2009, 01:57:35 PM »
I get a "Unknown command <command>" for all +xgui, xgui_show/hide, and xgui_toggle. Totally installed inside addons, running latest SVN of ULX/ULib.

Don't know if it helps, but this is my error log on startup of the initializing of Ulib/ULX:

Code: [Select]
You are running ULib version 2.40.
[ULIB] Loading SHARED module: commands.lua
[ULIB] Loading SHARED module: ulx_init.lua
ulx/modules/cl/xgui_helpers.lua:197: attempt to index global 'DMultiChoice' (a nil value)
Warning: vgui.Create failed to create the VGUI component (DPropertySheet)
ulx/modules/cl/xgui_client.lua:17: attempt to index global 'xgui_base' (a nil value)
ulx/modules/cl/xgui_helpers.lua:197: attempt to index global 'DMultiChoice' (a nil value)
ULib/client/cl_util.lua:120: Received bad RPC, invalid function (xgui_RecieveData)!
Help plox!!  ;D



« Last Edit: September 06, 2009, 02:12:41 PM by EggNoggin »

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #49 on: September 06, 2009, 03:14:56 PM »
This is awesome!

Thanks  ;D

Sorry about the errors, since school started been a bit occupied, but I should hopefully be making more progress soon..

As for the errors, Megiddo changed the way ULX is initialized-- so everything gets loaded before even derma does. I fixed it a while back, but I'm still in the middle of implementing something, so.. I'm going to update XGUI now, you may get a few errors on the 'players' tab, or it might not even show up, so just a warning-- something else is probably broken  :P

Also, one thing I changed earlier but apparently haven't mentioned is that I'm changing the commands to use XGUI.. this is how it works now:

use 'xgui' or 'xgui toggle' to toggle XGUI
'xgui open' and 'xgui close' will open/close it.

I removed +xgui and -xgui, if anyone still wants it, just give me a hollar  ;)

Anyways, let me know how that works for ya!
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline EggNoggin

  • Jr. Member
  • **
  • Posts: 50
  • Karma: -6
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #50 on: September 06, 2009, 06:43:21 PM »
Nothing happens when I type any of those in. But it doesn't say "unknown command" anymore, so I guess it recognizes it.  :-\

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #51 on: September 06, 2009, 08:48:03 PM »
Okay, I had to make a *slight* change to ULib a while ago-- so Megiddo will be pushing an SVN update (with that among other things) within the hour.. That should fix the problem  :D
Let me know if you run into any other problems!

EDIT: Okay, I also had to make a slight change to XGUI too, be sure and update!
« Last Edit: September 06, 2009, 08:58:12 PM by Stickly Man! »
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline bennie900

  • Jr. Member
  • **
  • Posts: 75
  • Karma: 5
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #52 on: September 07, 2009, 02:09:19 AM »
When i try to open the menu a little window opens saying "XGUI reciving data! Please wait a moment..."

Errors in console (none obvious - I don't think this has anything to do with it)
Code: [Select]
Warning: vgui.Create failed to create the VGUI component (DFrame)
includes/extensions/vgui_sciptedpanels.lua:134: attempt to index local 'panel' (a nil value)

Running latest ULIB and ULX

EDIT: By the way do you have to do anything with the info file? I just moved the LUA folder into my main ULX folder.

EDIT2: I get this in console:
Code: [Select]
ULib queue error: ulx/modules/cl/xgui_client.lua:46: attempt to index global 'BaseArg' (a nil value)
« Last Edit: September 07, 2009, 02:36:14 AM by bennie900 »

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #53 on: September 07, 2009, 02:51:11 PM »
XGUI is in an addon format now, so you should make a folder called XGUI in your addons folder, and put the lua folder and info.txt in there (then remove anything XGUI-related from the ULX folder).

As for the second error, megiddo just changed something on his last SVN update that I need to modify in XGUI, but it doesn't prevent it from working properly.

As for the first error-- well, try what I mentioned above and put XGUI in the right place, then try again and see if it works
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline bennie900

  • Jr. Member
  • **
  • Posts: 75
  • Karma: 5
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #54 on: September 07, 2009, 03:11:20 PM »
Still getting the same problem, it wont load up.  Changed it to addon format.

XGUI related stuff in the console:
Code: [Select]
///////////////////////////////////////
//  ULX GUI -- Made by Stickly Man!  //
///////////////////////////////////////
//  Loading/Initializing modules...  //
//   1players.lua                    //
//   2groups.lua                     //
//   3maps.lua                       //
//   4settings.lua                   //
//   module_examples.lua             //
//  Modules Loaded!                  //
///////////////////////////////////////

ULib queue error: ulx/modules/cl/xgui_client.lua:46: attempt to index global 'BaseArg' (a nil value)

Also you may want to edit your first post saying its in addon format.

Thanks,

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #55 on: September 07, 2009, 04:07:13 PM »
Good point, updated first post a bit

As for that BaseArg error, that doesn't have anything to do with your problem-- I get that error and it still works fine for me. Are you sure you removed all traces of XGUI from the ulx folder? Are you running it on a listen or a dedicated server? Do you see any other errors in the console?

EDIT: Whoops, yeah, it works on dedicated servers but not listen servers, gimme a bit and I'll have it fixed  (Its funny, I used to test everything on listen servers, the minute I start using a dedicated server, I get problems with listen servers :P )
« Last Edit: September 07, 2009, 04:24:12 PM by Stickly Man! »
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #56 on: September 07, 2009, 10:12:11 PM »
*A long bit later*

YAY! I finally found the problem and fixed it-- update XGUI and it should be working ;D
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #57 on: September 08, 2009, 05:38:50 AM »
*A long bit later*

YAY! I finally found the problem and fixed it-- update XGUI and it should be working ;D

what was the problem?
Experiencing God's grace one day at a time.

Offline bennie900

  • Jr. Member
  • **
  • Posts: 75
  • Karma: 5
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #58 on: September 08, 2009, 06:11:14 AM »
Cool fixed it thanks!! Looks nice btw

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #59 on: September 08, 2009, 10:48:57 AM »
lol thanks! And as it turns out, it wasn't my fault at all, it was wiremods-- I reverted the code back to how it was before in hopes that they'll fix the issue ASAP.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6