Tremulous Forum

General => Feedback => Topic started by: Shafe on April 08, 2006, 09:18:16 am

Title: Ban Problem
Post by: Shafe on April 08, 2006, 09:18:16 am
I've been getting this.. Is this something I'm doing wrong or was the cvar strign reduced?

/rcon addIP XXX.XXX.XXX
g_banIPs overflowed at MAX_CVAR_VALUE_STRING
Title: Ban Problem
Post by: Silverius on April 08, 2006, 10:09:08 am
For what it's worth the source has this comment:

Quote from: "game/g_svcmds.c"
TTimo NOTE: for persistence, bans are stored in g_banIPs cvar MAX_CVAR_VALUE_STRING
The size of the cvar string buffer is limiting the banning to around 20 masks
this could be improved by putting some g_banIPs2 g_banIps3 etc. maybe
still, you should rely on PB for banning instead
Title: Ban Problem
Post by: Shafe on April 08, 2006, 11:01:42 am
So does g_banIps2/3 exsist in the current build?
Title: Ban Problem
Post by: Silverius on April 08, 2006, 12:02:20 pm
Not in 1.1.0.
Title: Ban Problem
Post by: Echon on April 08, 2006, 01:31:19 pm
The admin system me and R1CH (mostly R1CH thus far) are working on doesn't use cvars so you won't have this silly limitation.

http://svn.quakedev.net/viewcvs.cgi/trem/trunk/