Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: Willdy on March 30, 2012, 01:06:00 PM

Title: Ban time limits not working?
Post by: Willdy on March 30, 2012, 01:06:00 PM
Im looking to only allow a certain usergroup to ban people for up to 24 hours, I know this question has been asked and answered before, but it doesn't wish to work for me. I have tried the following and had no succcess.

ulx groupallow half-mod "ulx ban" "* 1~1440"
ulx groupallow half-mod "ulx ban" "* 1-1440"
ulx groupallow half-mod "ulx ban" "* 1:1440"
ulx groupallow half-mod "ulx ban" "<* 1:1440>"

ulx ban Willdy 1440 test
Command "ulx ban", argument #2: invalid string

When being used as a half mod.
Title: Re: Ban time limits not working?
Post by: Aaron113 on April 02, 2012, 01:43:26 PM
ulx groupallow "half-mod" "ulx ban" "* 1:1440"

Try that.  I believe the "-" splits the string into two arguments.
Title: Re: Ban time limits not working?
Post by: JamminR on April 02, 2012, 02:24:26 PM
Indeed, try quotes around the groupname.
Also, Aaron, though its QUITE possible Megiddo/Stickly man changed limiting since I last looked at our codebase, Stickly and Megiddo state to use a ~ not a :.
http://forums.ulyssesmod.net/index.php/topic,4872.msg20767.html#msg20767
(Then again, typing a ~ in a game console is difficult considering that the console will open.
Perhaps they caught this challenge and changed it before release last year)

(And if we didn't, we should catch and change it!)
Title: Re: Ban time limits not working?
Post by: Aaron113 on April 03, 2012, 06:00:29 AM
I'm pretty sure it was changed to ":".   :P
Title: Re: Ban time limits not working?
Post by: Willdy on April 03, 2012, 01:09:02 PM
ulx groupallow "half-mod" "ulx ban" "* 1~1440"
ulx groupallow "half-mod" "ulx ban" "* 1:1440"

Neither of them worked, it just gives the same error as I had before (invalid string)

It would appear as if there is a problem with ban, I can set limits on ulx voteban using 1:1440, but not for ulx ban :/
Title: Re: Ban time limits not working?
Post by: Mathew75 on April 06, 2012, 03:21:28 PM
I would like to say this command also breaks our ban.

We did:
ulx groupallow "admin" "ulx ban" "* 1~10080"
Title: Re: Ban time limits not working?
Post by: Mathew75 on April 09, 2012, 07:52:06 AM
Sorry for the bump, but I was hoping maybe there is a fix for this.

I'm an admin on SN1PE BuildRP and we have a rule about banning over a week. So we thought this would reduce our admins abilty to not lose admin. We make mistakes sometimes with going over the week limit.
Title: Re: Ban time limits not working?
Post by: JamminR on April 12, 2012, 04:49:34 PM
Bumping won't help. Stickly or Megiddo are going to have to chime in on this one.
Both are extremely busy students.
Give them time.