Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: Storm on July 25, 2014, 06:59:17 AM

Title: ULIB and TTT karma ban
Post by: Storm on July 25, 2014, 06:59:17 AM
There have been a lot of updates recently. The karma ban on my TTT servers now kicks the player but he isnt banned at all and can return immediately.

Here is the console log:
ServerLog: Subway autokicked/banned for low karma.
L 07/22/2014 - 14:15:41: Subway autokicked/banned for low karma.
Banning using  method.
L 07/22/2014 - 14:15:41: "Subway<133><STEAM_0:1:5xx8528><>" disconnected (reason "Karma too low")
Dropped Subway from server (Karma too low)
banid:  couldn't find userid 133

So my question is - could this be due to one of the recent ULX/ULIB updates or does TTT by default use whatever ban system you have installed OR do you have to specify for it to use ULIB to ban? Before I posted here, I did look at the ttt karma.lua and search the ZombieMaster site for an answer.
Title: Re: ULIB and TTT karma ban
Post by: JamminR on July 25, 2014, 08:02:59 AM
"Banid" is a Source server command, ULib has nothing to do with it.
Seems the karma ban system tries to banid after player's already left server without grabbing/storing their information in a variable.
(or Gmod broke the banid...I never did fully research what was broken with ban in the last Gmod updates other than order of caller/target.)
Title: Re: ULIB and TTT karma ban
Post by: Storm on July 25, 2014, 11:04:04 AM
I can't see anything in the karma.lua that directs the server to use ulib when banning, so I don't know if the problem is that the lua doesn't recognized the latest ulib code.
Title: Re: ULIB and TTT karma ban
Post by: Decicus on July 25, 2014, 12:50:16 PM
There's a server convar for "ban type", which can be found here: http://ttt.badking.net/config-and-commands/convars#TOC-Admin-related (http://ttt.badking.net/config-and-commands/convars#TOC-Admin-related)

Normally it should autodetect, but it's probably good to do:
Code: [Select]
ttt_ban_type "ulx"in the server.cfg
Title: Re: ULIB and TTT karma ban
Post by: Storm on July 25, 2014, 04:19:53 PM
I'm embarrassed to admit, I had re-read that whole page and missed that! Thanks so much and I have no idea how it turned off in the first place!