News:

Come Chat with us live! Learn how HERE!

Main Menu

Ban Problem

Started by Shafe, April 08, 2006, 09:18:16 AM

Shafe

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

Silverius

For what it's worth the source has this comment:

Quote from: game/g_svcmds.cTTimo 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

Shafe

So does g_banIps2/3 exsist in the current build?

Silverius


Echon

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/