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

0 Members and 1 Guest are viewing this topic.

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #195 on: June 01, 2010, 07:05:52 AM »
I vote for a video lol, I don't have a machine to test this on at the moment. But looks great. Nice work.
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

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 #196 on: June 01, 2010, 09:25:55 AM »
Me too!  ;D

Actually, I have to finish it before I start making videos... But that's a good thing!

OH, and BTW Jay, we're probably not going to end up combining XGUI on the SVN release of ULX.. so, we're waiting till we can get both ULX/ULib (which is practically finished  :o)  and XGUI completed and then push them altogether in a release. So if that causes any issues with what you're doing with URestrict, just lemme know!
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #197 on: June 01, 2010, 02:10:29 PM »
URestrict hasn't made any progress yet lol, so we're all good haha.
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline Colonel_Black

  • Newbie
  • *
  • Posts: 9
  • Karma: 1
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #198 on: June 02, 2010, 02:34:20 AM »
Code: [Select]
lua_temp\ulx\modules\cl\xgui_client.lua:276: attempt to call method 'Progress' (a nil value)

Any idea guys? I have the datastream patch in place, and it worked for a while after that, but a day later, it got stuck with updating.
Our Coder claims he didn't touch a thing.



Code: [Select]

//////////////////////////////////////
//  ULX GUI -- Made by Stickly Man!  //
///////////////////////////////////////
// Loading GUI Modules...            //
//   1players.lua                    //
//   2groups.lua                     //
//   3maps.lua                       //
//   4settings.lua                   //
//   5bans.lua                       //
// Loading Setting Modules...        //
//   1server.lua                     //
//   2xgui.lua                       //
//   sv_ulx.lua                      //
// Loading Gamemode Module(s)...     //
//   No module found!                //
// Modules Loaded!                   //
///////////////////////////////////////

Player [1][|SLA| Colonel_Black] authed
TTT Client post-init...
Redownloading all lightmaps
lua_temp\ulx\modules\cl\xgui_helpers.lua:354: attempt to call method 'LabelAsPecentage' (a nil value)
lua_temp\ulx\modules\cl\xgui_client.lua:276: attempt to call method 'Progress' (a nil value)
lua_temp\ulx\modules\cl\xgui_client.lua:276: attempt to call method 'Progress' (a nil value)
lua_temp\ulx\modules\cl\xgui_client.lua:276: attempt to call method 'Progress' (a nil value)
lua_temp\ulx\modules\cl\xgui_client.lua:276: attempt to call method 'Progress' (a nil value)
lua_temp\ulx\modules\cl\xgui_client.lua:276: attempt to call method 'Progress' (a nil value)
lua_temp\ulx\modules\cl\xgui_client.lua:276: attempt to call method 'Progress' (a nil value)
lua_temp\ulx\modules\cl\xgui_client.lua:276: attempt to call method 'Progress' (a nil value)
lua_temp\ulx\modules\cl\xgui_client.lua:276: attempt to call method 'Progress' (a nil value)

« Last Edit: June 02, 2010, 02:46:13 AM by Colonel_Black »

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 #199 on: June 02, 2010, 09:30:35 AM »
That's.. very strange-- The problem is being caused by this line here:

Code: [Select]
lua_temp\ulx\modules\cl\xgui_helpers.lua:354: attempt to call method 'LabelAsPecentage' (a nil value)
My first thought is that Garry spelled "Percentage" wrong, so he might have fixed it, but I just tried updating my ded server and everything, and it still works fine. Can you go to your server and open garrysmod/lua/menu/progressbar.lua, then look at lines 32-35? They should look like this:
Code: [Select]
function PANEL:LabelAsPecentage()
self.m_bLabelAsPercentage = true
self:UpdateText()
end

If the code is different, then that file has probably been modified and should be reverted back to it's old state (unless there was a good reason for it to be changed). If the file looks fine, then possibly another mod is conflicting with the progress bar? Can you think of any mods you have installed that use this progressbar?
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Colonel_Black

  • Newbie
  • *
  • Posts: 9
  • Karma: 1
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #200 on: June 02, 2010, 09:52:44 AM »
Code: [Select]
function PANEL:LabelAsPecentage()
self.m_bLabelAsPercentage = true
self:UpdateText()
end

Hmm. Looks the same to me.

There shouldn't be any mods conflicting with it. We have SM, ULX, ULIB (All worked previously before the Garry Update). Nothing else we got added should break it. We got "Warn2" (from here)

Wonder if it could be due to the datastream patch. (Which should be removed with the working version when Valve pushes the update through)
« Last Edit: June 02, 2010, 10:16:04 AM by Colonel_Black »

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 #201 on: June 02, 2010, 10:39:37 AM »
Here, try this quick fix-- Replace this file with your existing xgui/lua/ulx/modules/cl/xgui_helpers.lua file.

If it still doesn't work, then something definitely has to be conflicting with Garry's progressbar... or something  :-\
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Colonel_Black

  • Newbie
  • *
  • Posts: 9
  • Karma: 1
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #202 on: June 02, 2010, 11:37:35 AM »
Thanks. I will test it later when we're quiet. It isn't nice to kick 25 people out of the server, just to have the possibility for something to still be broken :).
(One of the first gamemodes we've setup that attracted many people)

Offline Colonel_Black

  • Newbie
  • *
  • Posts: 9
  • Karma: 1
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #203 on: June 02, 2010, 05:49:58 PM »
Okay, I've tried it and it works! Thanks a lot mate!

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 #204 on: June 02, 2010, 06:09:47 PM »
Coolio!  ;D The only thing I changed was that I removed the function call altogether-- I just replaced it with the two lines of code that were in the function itself.. So I really have no idea what was causing that problem in the first place X|
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Colonel_Black

  • Newbie
  • *
  • Posts: 9
  • Karma: 1
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #205 on: June 02, 2010, 06:12:28 PM »
Odd, but very nice to see the developer still working on his creations that's a year old!


Do you not see any future updates coming for XGUI?
It'd be great if someone was ever able to export the ULX bans and intergrate them into the SourceBans list.

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 #206 on: June 02, 2010, 06:39:23 PM »
I just updated it yesterday, you should see the last post on the previous page :P (I just keep the first post up-to-date)

And, as for exporting ULX bans to the sourcebans list.. That's something I haven't thought of. ULX already uses both lists, XGUI can view the sourcebans list seperately and convert sourcebans to ULX bans, but not vice versa. It would probably only take me a few lines of code to do anyways :P
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #207 on: June 02, 2010, 06:46:47 PM »
Colonel_Black, XGUI is under active development along with ULib/ULX, and we intend it to be part of ULX in the near future as a replacement to ULX's current GUI.
(Stick is a member of Team Ulysses!)
As for Source ban list, ULX already uses them. We only add the ability to store temporary bans between server sessions (Source doesn't do this by default)
Though Stick uses some fancy separation and ULX has had to have some revisions to prevent lockups on large lists, they coincide.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Colonel_Black

  • Newbie
  • *
  • Posts: 9
  • Karma: 1
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #208 on: June 02, 2010, 06:48:23 PM »
What I was meaning with Sourcebans was a way to Export the banlist and import it into the Sourcebans php interface.

I just updated it yesterday, you should see the last post on the previous page :P (I just keep the first post up-to-date)

And, as for exporting ULX bans to the sourcebans list.. That's something I haven't thought of. ULX already uses both lists, XGUI can view the sourcebans list seperately and convert sourcebans to ULX bans, but not vice versa. It would probably only take me a few lines of code to do anyways :P

I did notice the update. It just seems the forums is quite dead at points. Not many scripting going on. Very calm on here.
And a few lines of code to do? I'm looking into how to do it as it'd be quite useful. ^^

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 #209 on: June 02, 2010, 06:57:39 PM »
What I was meaning with Sourcebans was a way to Export the banlist and import it into the Sourcebans php interface.

Well, okay, it'd be a few lines of code to remove a ULX ban then reban them as a sourceban ONLY-- But I've never used the sourcebans php interface, so I wouldn't know how to get that to work. ULX already stores sourceban AND it's own bans in the banned_users.cfg file, which I presume would be how it gets the ban information?
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6