ULX

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

0 Members and 4 Guests 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 #180 on: May 14, 2010, 04:46:09 PM »
Yup! And it uses a backup file saved in the ulx/data folder in case Ulyssesmod is down for some reason!  ;D

Also, after much persuading from Megiddo, I decided to make some sort of category system work lol.. We'll see how it goes
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 #181 on: May 14, 2010, 06:34:00 PM »
Good for Megiddo! Sections/Categories are good.
I'm happy with wire since almost two years ago they started using a totally separate tab for all it's tools/chips/etc.
The default Tool tab gets awfully crowded enough on it's own for some servers, let alone when you add wire too it.

As for the live lists/backup ... nice feature.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

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 #182 on: May 16, 2010, 09:11:59 PM »
Alright, work is starting to snowball on this, here's an update from the past week or so of work, and I'll probably head to bed so I can get a good start early in the morning!

The major change you'll notice is the sandbox tab in the new settings module! (Unless you're using XGUI on a non-sandbox gamemode)

That covers all of the sandbox options I can think of, while using a categorized (JamminR :P) list of limits that can be updated whenever! (Because there is absolutely no possible way to find a list of sandbox limits otherwise.. I think..)

Also, me and Megiddo got lots of work done with replicated cvars, so, practically every slider and checkbox you see on that page (and even on the old settings tab) are updated in realtime. So if Megiddo starts changing a few limits, or disables noclip and godmode, I would see the changes IMMEDIATELY on my end ;D
And.. cvar saving works! Also thanks to Megiddo, changes made to the settings tab here should be carried on through mapchange and server restarts.

And last but not least, the number arguments for the commands on the players tab (the sliders, like the damage argument for ulx slap) now obey player and group restrictions, instead of just global. (More argument types instead of number coming soon!)

Code: [Select]
05/16/2010
+Added: Completed Sandbox tab on the new settings module.
+Added: System for retrieving a list of sandbox limits from an online source (in conjunction with the XGUI tab)
*Changed: All settings cvars (including limits) are now replicated cvars, with a rep_ prefix for the client vars (e.g. sv_gravity is replicated as rep_sv_gravity)
*Changed: Misc. obscure bugfixes and things I probably forgot to mention.
=Fixed: Sliders in the players tab for command now obey player and group restrictions (other controls besides sliders coming very soon)
=Fixed: CVar information in the settings tab now saves properly! (Because of ULX, I didn't change anything :P)
« Last Edit: May 16, 2010, 09:20:45 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 #183 on: May 16, 2010, 09:34:57 PM »
Yay.
And, difficult to tell just from the image
Categories = good.
Collapsible = even better!

Edit - NVM. Seems the scrollbar shows it as collapsible, or the scroll would have much more room to bottom out.

OH... besides having a 'backup' local limit file... have an override/always added one too.
I may want to add something to my server not in the list, but not necessarily want it in the public list either
(beta code, secret code, whatever)
« Last Edit: May 16, 2010, 09:38:04 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

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 #184 on: May 16, 2010, 09:45:18 PM »
Hmm, to challenge, I think if someone makes a cvar to limit something in sandbox, wouldn't they use other methods to keep it secret, such as a controlled lua variable? And if you have a cvar for something that's still beta, why not send off an email so it gets added before release? :D (In the meantime, or if they're really picky, they can just manipulate the cvar via console)
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Frrz

  • Jr. Member
  • **
  • Posts: 65
  • Karma: 0
    • Youtube ftw
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #185 on: May 17, 2010, 12:37:17 PM »
The major change you'll notice is the sandbox tab in the new settings module! (Unless you're using XGUI on a non-sandbox gamemode)

I just want to say that, from what I can tell while playing DarkRP the sandbox settings still apply. Like I can change the max ragdolls / props / ect and it still is effected. So if you show the "sandbox" tab only in "sandbox" game mode, people won't be able to use xgui to edit the settings thus resulting to using console.

I havn't downloaded the newest update yet, I'm only speculating on what your saying...





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 #186 on: May 17, 2010, 01:07:18 PM »
Is darkRP a sandbox-derived gamemode? Now that I think about it, I should be checking for sandbox-derived gamemodes, not just sandbox. I've never looked at DarkRP, but if they're using special limit cvars, then, someone will need to make their own XGUI module for DarkRP :P

EDIT: Okay, the sandbox settings tab should show up for all sandbox-derived gamemodes now!

Code: [Select]
05/16/2010
+Added: Server settings module now has a few things on it! (still incomplete)
=Fixed: Sandbox settings module now shows up on all sandbox-derived gamemodes.
« Last Edit: May 17, 2010, 02:00:56 PM by Stickly Man! »
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline DeimosTK

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #187 on: May 23, 2010, 12:53:59 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. I'm not getting any LUA errors or anything; I installed both the exact same way, the only difference between the two servers is that the one XGUI isn't working on has a FastDL and the other one doesn't.

Any ideas? On the server that it does work on, it's amazing so I'm anxious to get it working on the other one <3

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 #188 on: May 23, 2010, 02:19:56 AM »
Glad you like it! It's only getting better as the days go on ;D

As for the FastDL.. I would have no idea if something with that setup is keeping XGUI from working.. I never thoroughly used FastDL myself, so I can't help you there :(. Let me know if you do find any XGUI-related errors, though!
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 #189 on: May 23, 2010, 02:48:52 PM »
the only difference between the two servers is that the one XGUI isn't working on has a FastDL and the other one doesn't.
Any ideas?

This may be typical and you may think "of course I did, I'm used to fastdl", but, you'd be amazed how many times we see it missed.
After restarting your server after installing XGUI, did you re-upload your server's cache folder to your fastdl location?
(Make sure you're running the absolute latest ULib SVn too (and again, reupload cache after SVN update/server restart too) - As of late, ULib and XGUI have been getting changes made to work well within each other.)
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #190 on: May 26, 2010, 04:28:26 PM »
I think garrys update made XGUI not work.  I just get this message saying something about an authed player.


EDIT:  I also get this error when I try to type a command or open any menu
Code: [Select]
lua_temp\ulib\shared\sh_ucl.lua:46: [ULIB] Unauthed playerand I have not edited my users.txt or my groups.txt.
« Last Edit: May 26, 2010, 04:31:15 PM by Aaron113 »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #191 on: May 26, 2010, 04:59:19 PM »
I think garrys update made XGUI not work.  I just get this message saying something about an authed player.


EDIT:  I also get this error when I try to type a command or open any menu
Code: [Select]
lua_temp\ulib\shared\sh_ucl.lua:46: [ULIB] Unauthed playerand I have not edited my users.txt or my groups.txt.

You probably don't have sv_downloadurl setup properly
Experiencing God's grace one day at a time.

Offline DeimosTK

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #192 on: May 26, 2010, 07:34:43 PM »
This may be typical and you may think "of course I did, I'm used to fastdl", but, you'd be amazed how many times we see it missed.
After restarting your server after installing XGUI, did you re-upload your server's cache folder to your fastdl location?
(Make sure you're running the absolute latest ULib SVn too (and again, reupload cache after SVN update/server restart too) - As of late, ULib and XGUI have been getting changes made to work well within each other.)
Haha I knew I'd get asked this. Yes, I made absolutely sure the server and fastdl were sharing the same cache. But now that I think about it, the 2 servers MIGHT be running different versions of ULX/ULib so I'm updating now.

Edit: Updated ULX and ULib, XGUI still not working :[
« Last Edit: May 26, 2010, 10:05:59 PM by DeimosTK »

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 #193 on: May 26, 2010, 08:35:27 PM »
DeimosTK, not sure then, and right now after latest Gmod update, darn near impossible to troubleshoot. (Garry broke datastream/client side downloads)
We'll have to wait a few days I believe, if it doesn't fix itself after the update, perhaps Stickly man will have some more input
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

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 #194 on: May 31, 2010, 10:36:00 PM »
Update! Finally finished the new settings tab! The server module IS modular, and has some pretty slick animations you should check out! And with help from Megiddo, adverts and gimps now save to their own files! And there were lots of other changes too, but I'm to tired to explain them. Here's a few screenshots of the new design, you can find the download link on the main page. Dive into the changelog for full details!  ;D


New Sandbox settings tab-- not much new here from the last screenshot.


New Server settings tab! Now with integrated Adverts/Gimps, and much better categorized settings! (Also has some flippin sweet animations when selecting modules, too!)


Code: [Select]
05/31/2010
-----------------
+Added: Finished new settings module!
+Added: Server settings are now modular!
+Added: Gimps and Adverts now also save properly (Thanks Megiddo!)
+Added: x_makemultiChoice can now properly be an editable textbox (along with choice selection)
+Added: Now using ULib's ReplicatedCvarChagned hooks to handle convar updating, rather than Garry's think functions (Slight performance increase)
+Added: You can now name/rename/delete advert groups (Right click on an advert to open a menu)
+Added: Put a couple simple things on the XGUI settings panel
*Changed: Gimps and Adverts are now integrated into the settings module instead of in seperate windows.
*Changed: Simplified code for textbox focus control.
*Changed: Server advert-processing code simplified
*Changed: Lots of code cleanup in various places
=Fixed: Players module now updates properly when users join/disconnect or change group.
=Fixed: Various timer errors while editing adverts
=Fixed: Replicated CVAR issues on a players first join.
=Fixed: *Should* be linux-compatible
-Removed: Old settings Module
-Removed: Test Module
« Last Edit: May 31, 2010, 10:50:40 PM by Stickly Man! »
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6