ULX

Author Topic: [SOLVED] Voteban just kicks, doesn't ban. Prints error.  (Read 1690 times)

0 Members and 1 Guest are viewing this topic.

Offline OptiDash

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
[SOLVED] Voteban just kicks, doesn't ban. Prints error.
« on: December 06, 2012, 10:17:13 AM »
I noticed people that got votebanned didn't actually get banned. I tried to test it by banning myself. I got the following error in my console:

Code: [Select]
Optizzers approved the voteban against Optizzers (5 minutes) (These are not the droids you're looking for)
ServerLog: [ULX] Optizzers approved the voteban against Optizzers (5 minutes) (These are not the droids you're looking for)
addons/ulib/lua/ulib/server/player.lua:182: bad argument #3 to 'format' (string expected, got nil)addons/ulib/lua/ulib/server/player.lua:182: bad argument #3 to 'format' (string expected, got nil)Dropped Optizzers from server (Vote ban successful. (These are not the droids you're looking for))

The voteban kicks me off the server, but does not ban me.

This is the bit that the error lists. Line 182 in addons/ulib/lua/ulib/server/player.lua

Code: [Select]
local showReason = string.format( "Banned %s: %s", strTime, reason )
I've tried looking around but could not find anyone else that had this problem. I have not edited any of the code myself.
Votekick doesn't work for me either, but that's a known issue.

Edit: Reinstalled ULX and it works now.
« Last Edit: December 07, 2012, 09:45:24 AM by OptiDash »