ULX

Author Topic: Ban time limits not working?  (Read 3126 times)

0 Members and 1 Guest are viewing this topic.

Offline Willdy

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 1
Ban time limits not working?
« 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.
« Last Edit: March 31, 2012, 07:20:27 AM by Willdy »

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: Ban time limits not working?
« Reply #1 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.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Ban time limits not working?
« Reply #2 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!)
"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: Ban time limits not working?
« Reply #3 on: April 03, 2012, 06:00:29 AM »
I'm pretty sure it was changed to ":".   :P

Offline Willdy

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 1
Re: Ban time limits not working?
« Reply #4 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 :/
« Last Edit: April 03, 2012, 02:04:39 PM by Willdy »

Offline Mathew75

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Ban time limits not working?
« Reply #5 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"
« Last Edit: April 06, 2012, 03:32:19 PM by Mathew75 »

Offline Mathew75

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Ban time limits not working?
« Reply #6 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.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Ban time limits not working?
« Reply #7 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.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming