ULX

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

0 Members and 3 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 #330 on: August 20, 2010, 07:04:27 PM »
wow that's so cool but do i need ulx/ulib to work it? and commands are the same?

XGUI is an extension of ULX/ULib, they go hand in hand :P
You DO need to make sure you have the latest SVN versions of both though.

-------------------------------------------

And now I present to everyone: The new (almost complete) groups module!



The new groups module supports creating, removing, renaming, and setting inheritance of groups. It also supports managing of the players within each group, and you can move them back and forth between groups.


(Also check out that infobar on the bottom!)

Unlike the old groups module, the new one now fully supports ULX's integrated UTeam! You can change a group's team, a team's color/name, the order/priority of teams, and any teams modifiers live, IN GAME! :D Currently supports setting the following UTeam fields:
Code: [Select]
armor
color
crouchedWalkSpeed
deaths
duckSpeed
frags
gravity
health
jumpPower
maxHealth
maxSpeed
model
name
runSpeed
stepSize
unDuckSpeed
walkSpeed

Also in this update, XGUI no longer redownloads data from the client that it already has (when the modules are refreshed, due to a player's permissions changing or some other things). I also fixed a bug relating to how XGUI handles gamemode server settings modules, so that it will load properly on gamemodes that contain spaces in their names ("Trouble in Terrorist Town"). Atomicspark is working on a TTT module that we hope to be able to include with XGUI by default!

In the next couple of days, I will be implementing setting a group's can_target immunity setting, allowing/removing access to commands and other access strings (in a grouped fashion), as well as handling per-argument restrictions for commands. So sit tight!

In similar news, we are preparing to release XGUI packaged with the release version of ULX/ULib, so if you know of any bugs or things you think should be fixed first (I'm not going to be able to finish all of the features I have planned by release), then let me know!


Here's the changelog:
Code: [Select]
08/20/2010
-----------------
+Added: New groups module! Supports adding/removing of groups, managing players within groups, and UTeam settings. (Accesses and Restrictions coming soon!)
*Changed: Updated XGUI refresh code to better optimize data sending between client/server. (No longer downloads info it already has)
*Changed: Minor optimization and code cleanup
=Fixed: Incorrect method of checking gamemode name preventing loading of gamemode modules with spaces in the gamemode name (TTT). -Thanks atomicspark!
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 #331 on: August 22, 2010, 09:28:58 AM »
XGUI is making ULX 10 times better.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #332 on: August 22, 2010, 01:32:53 PM »
Several problems.  First, I cannot refresh XGUI info, I have to rejoin.  This makes editing groups/teams awfully difficult.  When I click to add a team or a rank it doesn't show because the XGUI information refresh doesn't work.  Second, permissions do not work for me, if you have that even set up yet.  Third, there is no order in the manage teams.  That is all I have noticed so far.


EDIT: I see you did basically mention that some of these things didn't work yet.


EDIT: I forgot to mention the cfg files are still messed up.  If I try to set things like chatime and motdfile for some reason after a restart all of it is undone.
« Last Edit: August 22, 2010, 01:50:03 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 #333 on: August 22, 2010, 02:18:17 PM »
Yeah, the permissions aren't complete in this version-- I got them finished, but I need to add the restrictions. Might do a release in a bit beforehand.

Unless someone complains, XGUI will set the team's order by default based on the order loaded in the original table. You can then use the up/down arrow buttons on the teamlist to change the order of the teams.

As for your cfg and refresh data issues.. mind if I hop onto your server real quick and take a peek?
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 #334 on: August 22, 2010, 02:34:37 PM »
IP is 69.197.189.179:27015   (chaos going on atm due to URestrict breaking and the cfg)


I edited the cfg to my liking, restarted the map.  Unless it requires a full restart, nothing happened.

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 #335 on: August 22, 2010, 04:12:53 PM »
Thanks Aaron--

As it turns out, Megiddo has a modified UTeam.lua file he has yet to push onto the latest SVN. So for those of you wanting to refresh the team data manually, please use the console command "xgui getdata teams", at least until Megiddo can push the latest version.
(Please not that teams may also not save properly due to this)
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 #336 on: August 22, 2010, 06:45:31 PM »
Quick update! Lots of changes and bugfixes, and most importantly: You can now manage groups accesses! (Still no command restrictions yet)



The text showing the access (eg. ulx who), is either white or gray depending on if the selected group has access or not. On top of that, the checkbox on the right shows 3 states:
Checked - Has Access
Unchecked - No Access
Disabled&Checked - Has access inherited from another group.


And due to the imminent release of XGUI/ULX/ULib, to replace ULX's old menus, XGUI now overwrites and hooks into the !menu chat command. You can still use !adminmenu, !banmenu, etc. to access the old menus, and you can also still use the "ulx menu" command for now.


Update via git or SVN link!


Code: [Select]
08/22/2010
-----------------
+Added: Groups module can now modify a groups' accesses! Access are sorted by category. (No cmd restrictions yet)
+Added: You can now save clientside XGUI settings.
+Added: Option to suppress clientside XGUI startup messages.
*Changed: XGUI now replaces ULX's !menu chat command. You can still open the old menu via "ulx menu".
*Changed: Split Reprocess Modules and Redownload server data into two different buttons.
*Changed: Code dealing with processing data from server has been updated to remove 100-200+ms stutters.
*Changed: XGUI progress bar waits until all of the clientside data processing is complete before closing.
=Fixed: Commands module argument list now properly displays normal/opposite command buttons based on if the user has access to one but not the other.
=Fixed: Bug where users who were just given access to xgui_gmsettings wouldn't be able to see the sandbox limits.
=Fixed: XGUI now checks if a team exists before creating a new one.
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 #337 on: August 22, 2010, 07:08:27 PM »
And Megiddo has just informed me that the UTeam changes are pushed to SVN! :D
Be sure to update your ULib/ULX with your XGUI!
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 #338 on: August 22, 2010, 08:39:03 PM »
Disabled&Checked - Has access inherited from another group.

May want to verify the following (with Megiddo), and if true, find a redesign.
If I remember correctly, though confusing and shouldn't be done but I see less experienced admins do it often, I believe the UCL would allow a group to inherit permissions, but then be denied a command. Deny takes precedence.
If you disable the command/checkbox because it's inherited, I take it the admin wouldn't be able to deny a group from using it?
Yes, in an ideal world, the admin would just create a new group, but not inherit and not copy the original permission, but that's why I remember the lengthy discussion Megiddo and I had one evening about two years ago (or more? wow how time flies) during UCL redesign from the flag system of ULX 1.

Also, that brings me to another idea for XGUI group management.
"Copy to new" feature. Copies, not inherits, a groups permissions to a new group name, then allows editing to remove/add any additional access wanted.
Not a priority for release, but just a darn cool helpful for later feature.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #339 on: August 22, 2010, 09:44:10 PM »
Groups no longer accept denies... this forces admins to implement a "cleaner" group system.
Experiencing God's grace one day at a time.

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 #340 on: August 23, 2010, 02:58:16 PM »
Groups no longer accept denies... this forces admins to implement a "cleaner" group system.
Good. I wasn't sure with the new SVN.

So, that makes the Copy To New feature idea even better. :D
"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 #341 on: August 23, 2010, 05:55:31 PM »
Just a heads up.  After I updated with the recent commits to the SVN my config problems seems to have been fixed.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #342 on: August 23, 2010, 06:29:50 PM »
Just a heads up.  After I updated with the recent commits to the SVN my config problems seems to have been fixed.

Nothing about the config system has changed recently. :-\
Experiencing God's grace one day at a time.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #343 on: August 23, 2010, 09:29:13 PM »
I am not sure what happened but it is back to the way it was.  Maybe I set the convars in game.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #344 on: August 24, 2010, 09:39:02 AM »
Code: [Select]
addons\ulx\lua\ulx\modules\uteam.lua:64: attempt to index field '?' (a nil value)
I get that error when trying to remove/add a team or edit any part on a team.  I also have to refresh afterward to be able to see the team changes.  I am also not able to set a team to a group.  It also seems the teams do not stay permanently.  I do not see any changes in the groups.txt or where ever these teams are suppose to be saved to.  I know I am using the SVN of XGUI, ULX, and ULib.


P.S. I am not using the uteam.lua you gave me I am using the one from the SVN.



EDIT:  I just realized that it may be because I didn't completely remove XGUI before updating.

EDIT:  That was defiantly the reason.  Never mind about the above.
« Last Edit: August 24, 2010, 11:14:16 AM by Aaron113 »