ULX

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

0 Members and 1 Guest are viewing this topic.

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 #255 on: June 20, 2010, 08:21:17 AM »
And I assume that lua_run PrintTable( ULib.ucl.users ) output a table of users?

What server are you currently running? I would like to go and take a look myself, if possible.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Tommo1590

  • Newbie
  • *
  • Posts: 37
  • Karma: 1
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #256 on: June 20, 2010, 08:48:40 AM »
And I assume that lua_run PrintTable( ULib.ucl.users ) output a table of users?

Yes it did.

What server are you currently running? I would like to go and take a look myself, if possible.

Have PM'd you the details.

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 #257 on: June 21, 2010, 03:01:54 PM »
For those who are curious, We fixed RebornYew's problems with it saying XGUI wasn't installed.. Turns out he had some corrupt strings in his bans.txt file, which coincidentally caused the server portion of XGUI to load half-way. (I'll push a small fix later that will allow XGUI to load all of the way before it processes bans)

As for Tommo1590's issues.. well, we're not quite sure. I think there are some major issues on his server which are causing some umsgs to send really slowly, or maybe even not at all. We may take a closer look later to see if there is anything at all we can do about it.

Prizim: If you're still having problems, I'd be happy to take a look at your server when we both have some free time.
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 #258 on: June 21, 2010, 07:34:29 PM »
Aaannd thanks to Megiddo, we found out some recent updates to datastream were causing all sorts of problems (Tommo was just unlucky enough to get affected by them).
« Last Edit: June 21, 2010, 07:51:24 PM by Stickly Man! »
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 #259 on: June 21, 2010, 08:18:08 PM »
(Tommo was just unlucky enough to get affected by them).
But lucky enough to come here to a community that cares.
*sniff* We care, man!
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Tommo1590

  • Newbie
  • *
  • Posts: 37
  • Karma: 1
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #260 on: June 21, 2010, 08:51:40 PM »
Thanks guys for all the help :)

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 #261 on: June 25, 2010, 07:11:15 PM »
You're welcome Tommo! And now-- UPDATE TIME! ;D

This is basically a bugfix/feature update, nothing MAJOR, but.. the main features include:
You can now edit the votemaps list LIVE! -- And you can choose to exclude or include new maps by default! It still uses ULX's votemap system-- just in a special way :P

(Also, I would like to advertise the service I used to take and upload this image in ~10 seconds! Check out http://puush.me/!)

Also, we added support for multiple choice options for commands like vote and votemap2 in the players tab! And you can click a button to add more options as you need them! (This feature brought about by a bug in the original method of handling vote args discovered by my friend Angelo! :P)

And, also requested from Angelo, You can now click on an advert in the adverts menu, change some information, then click 'Update' to update the advert (rather than deleting/remaking it!)

Changelog below, enjoy!

Code: [Select]
06/25/2010
-----------------
+Added: live votemap list editing/saving!
+Added: Support for multi-choice options (ulx vote, votemap2) in the players tab! (Thanks for the request, Angelo!)
+Added: "Update" button on the Adverts panel. (You can modify existing adverts, but can't change their group) (Thanks for the request, Angelo!)
=Fixed: Maps module should now behave properly-- Shows all maps if admin, only votemaps to regular players.
=Fixed: Bugs related to string handling in the players tab.
=Fixed: Invalid entry in a banlist will no longer prevent XGUI from fully initializing.
« Last Edit: June 26, 2010, 01:55:09 PM by Stickly Man! »
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 #262 on: June 25, 2010, 08:15:09 PM »
Schwing!
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline DeimosTK

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #263 on: June 26, 2010, 12:16:13 AM »
For some reason, on one of my servers I'm getting "XGUI is not installed on this server! XGUI will now run in offline mode.", and on my other server it's running just fine.

For those who are curious, We fixed RebornYew's problems with it saying XGUI wasn't installed.. Turns out he had some corrupt strings in his bans.txt file, which coincidentally caused the server portion of XGUI to load half-way. (I'll push a small fix later that will allow XGUI to load all of the way before it processes bans)

...
Haha oh wow, that's what was wrong with my server. I deleted my ban list and everything worked flawlessly.

198 permabans has a downside after all :[

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #264 on: June 26, 2010, 05:05:31 AM »
I am getting a couple of errors now...
Code: [Select]
ulx\modules\cl\xgui_client.lua:287: attempt to call field 'populateClVotemaps' (a nil value)
Happens when a player joins, changes groups, or refreshes XGUI data.  Also the maps do not load.
and
Code: [Select]
ulx\xgui\1players.lua:179: bad argument #1 to 'len' (string expected, got nil)
When I tried using a URestict command, and I was unable to select a group for it.[/code]
« Last Edit: June 26, 2010, 05:25:57 AM by Aaron113 »

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 #265 on: June 26, 2010, 08:45:43 AM »
Oh yeah-- Make sure your ULX and ULib SVNs are fully updated-- Megiddo added some things I needed for this last update.
And I'm not sure about your second error Arron, try updating first and see if it still happens.

Haha oh wow, that's what was wrong with my server. I deleted my ban list and everything worked flawlessly.

If you still have your old bans.txt, instead of deleting the whole thing, you can go through the file and look for any oddities-- For example, a ban reason could look like this:
Code: [Select]
"(\\\\\\\\\\\\\\\\\"Spammer\\\\\\\\\\\\\\\\\")"The backslashes don't cause any problems, but the multiple quotes "" do, so if you see something like this then replace it with:
Code: [Select]
"(Spammer)" (or however you want it to be.)

That generally will fix most of the strange issues caused by bans.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #266 on: June 26, 2010, 01:15:49 PM »
Ok and some of the adverts created with XGUI seem to turn into "1" I have no idea why.


EDIT:  I completely removed my ULib and ULX folders and I get these errors upon initial spawn...
Code: [Select]
ERROR: Hook 'xgui_RefreshPlayerCmds' Failed: ulib\shared\sh_ucl.lua:46: [ULIB] Unauthed player
Removing Hook 'xgui_RefreshPlayerCmds'
ulib\shared\sh_ucl.lua:46: [ULIB] Unauthed player




EDIT:  Nvm it was just a mistake in my groups.txt
« Last Edit: June 26, 2010, 01:49:22 PM by Aaron113 »

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 #267 on: June 26, 2010, 02:12:54 PM »
Ah, turns out that the URestrict command doesn't have a help string, so XGUI throws an error (shouldn't cause any problems though). That and I also found another bug that only occurs on a players FIRST join with the ulx_cl_votemapMapmode cvar.

I'll look into that adverts bug, I did throw in that update button as quick as I could and didn't have time to do as thorough testing as I would have liked. I should have an update out within the next hour or two

EDIT: Aaron, could you PM me your adverts.txt? Also, did you make any changes to your adverts since the new updates and what did you do? Trying to see if I can replicate the bug here.
« Last Edit: June 26, 2010, 02:19:53 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 #268 on: June 26, 2010, 02:25:43 PM »
Also, bugfix update pushed, here's the changelog:

Code: [Select]
06/26/2010
-----------------
=Fixed: Harmless error when a selected command had no help string.
=Fixed: Bug involving CVar initialization and ulx_cl_votemapMapmode on players first join.
=Fixed: Bug where changing an existing advert from a tsay to csay or vice versa would cause problems saving.
« Last Edit: June 28, 2010, 08:22:00 AM by Stickly Man! »
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #269 on: June 26, 2010, 02:27:15 PM »
I'm assuming you don't need my advert.txt anymore?