Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: EdyTheCow on November 11, 2016, 01:10:12 PM

Title: Question regarding ULib group / user handling
Post by: EdyTheCow on November 11, 2016, 01:10:12 PM
Asking this a bit different way and not involving the addon this time, because I think you misunderstood my question. Sorry for confusion.

What would happen if a player was a part of group called "rank1" and I force deleted that group from groups.txt. The player would still be part of "rank1" according to users.txt. What would ulib / ulx do then? Does it move user to default rank if group is not found?
Title: Re: Question regarding ULib group / user handling
Post by: Megiddo on November 12, 2016, 04:15:35 AM
In this specific situation, ULib creates the group "rank1" which inherits from "user" when that player next joins the server.
Title: Re: Question regarding ULib group / user handling
Post by: EdyTheCow on November 13, 2016, 01:02:42 PM
Thanks! That's pretty interesting.
Title: Re: Question regarding ULib group / user handling
Post by: Megiddo on November 13, 2016, 02:10:49 PM
If you're curious, the reasoning behind that is that any addon can theoretically set a user's group, and the default GMod configuration allows arbitrary groups. These are ways to set groups outside of ULib's control (rightly so), so ULib does the best it can in that circumstance and registers it as a new group, inheriting from "user".