Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: sparky2002b on July 28, 2009, 06:38:56 PM

Title: Allowing other groups to use reserved slots
Post by: sparky2002b on July 28, 2009, 06:38:56 PM
Hi, guys!

On my server, we have several usergroups - admins, donors, clan members and standard players - and we'd like to add a few reserved slots to the server. However, we want to extend this to donors and clan members, as well as administrators.

How do I configure ULX and/or ULib to allow this?

Thanks!
Title: Re: Allowing other groups to use reserved slots
Post by: JamminR on July 28, 2009, 06:54:33 PM
See groupallow from "ulx usermanagementhelp"
The command needed is "ulx rslots"
Code: [Select]
ulx groupallow "<group name>" "ulx rslots"
Title: Re: Allowing other groups to use reserved slots
Post by: sparky2002b on July 28, 2009, 06:55:18 PM
Can I just grant the groups this permission in my ULib groups.txt?
Title: Re: Allowing other groups to use reserved slots
Post by: JamminR on July 28, 2009, 06:56:55 PM
That's what that command does, but, sure.
I don't like editing manually myself, too easy to make mistakes with lua syntax. Open/close quotes, brackets, etc.
Title: Re: Allowing other groups to use reserved slots
Post by: Megiddo on July 28, 2009, 06:57:28 PM
Put this into your console:
Code: [Select]
ulx groupallow mygroup "ulx reservedslots"
Where 'mygroup' is the group you want to allow access. The quotes are important, don't forget 'em.

Wow, three replies while I was writing this. JamminR, I'm pretty sure it's what I have above and not rslots.
Title: Re: Allowing other groups to use reserved slots
Post by: JamminR on July 28, 2009, 07:00:35 PM
Megiddo, possibly yes.
I notice there is a rslots and rslotsmode... I presume those are instead being able to change the modes, not actually reserve
them.

Sorry for the misguidance sparky
Title: Re: Allowing other groups to use reserved slots
Post by: JamminR on July 28, 2009, 07:03:21 PM
Oh, one more advantage to using actual ULX commands sparky; it takes effect immediately... you don't have to restart your server like you would editing the text.
Title: Re: Allowing other groups to use reserved slots
Post by: sparky2002b on July 28, 2009, 07:04:20 PM
Yeah. Okay, well, thanks for all the assistance, guys. As always, ULX support is phenomenal.
Title: Re: Allowing other groups to use reserved slots
Post by: JamminR on July 28, 2009, 07:06:19 PM
Welcome. Faster tonight than normal, but glad we could help.
And thank you for supporting us. :)
Title: Re: Allowing other groups to use reserved slots
Post by: sparky2002b on July 28, 2009, 07:33:04 PM
Well, I added it to the file, and did ulx groupallow mygroup "ulx reservedslots", but they're still being kicked like normal members. :\
Title: Re: Allowing other groups to use reserved slots
Post by: sparky2002b on July 28, 2009, 07:35:37 PM
Granting "ulx rslots" doens't work either.
Title: Re: Allowing other groups to use reserved slots
Post by: MrPresident on July 29, 2009, 11:07:10 AM
Do us a favor... run this in your console.

ulx debuginfo

This will print a text file to garrysmod/data/ulx/debugdump.txt

Copy the contents of this file to this thread please.
Title: Re: Allowing other groups to use reserved slots
Post by: sparky2002b on July 29, 2009, 11:38:45 AM
Sorry, forgot to update this.

Megiddo, JamminR and I got this worked out over a Steam chat last night.
Turns out the problem was with whitespace in my users.txt file. (???)
Apparently Garry doesn't know how to use scanf() properly.

Anyway, I edited a few files to use the ULib scanner and everything is honky-dory now.
Title: Re: Allowing other groups to use reserved slots
Post by: Megiddo on July 29, 2009, 12:32:03 PM
ULib saves the day again! :)
Title: Re: Allowing other groups to use reserved slots
Post by: MrPresident on July 29, 2009, 01:34:10 PM
yep. White space will do that. I just fixed an issue with one of my servers where one little error in the users.txt file was causing every player to have correct groups but no accesses. It was weird.

Glad you got it fixed though.