I may be entirely ignorant of that way that this thing is coded...but,
my guess is that in one of their header files they have a

#define MAXBANS 1024;

or something like that.  This type of thing cannot be set in a cvar,
(what if someone hacked your server and set it to a kajillion?)

I'm sure they could easily up it to a few thousand without any
noticeable effect on performance.

I like the idea of storing bans in an SQL database that someone had
mentioned.  AFAIK, that has already been done with a metamod plugin (an
amx plugin maybe?).

That's the kind of thing that we'll only see in plugins, though.

The size of that banlist makes me wonder...How many of those do you
think have gotten VAC banned by now?

Dave



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bruce "Bahamut"
Andrews
Sent: Monday, October 18, 2004 3:01 AM
To: [EMAIL PROTECTED]
Subject: [hlds] Number of allowed bans too small?

Hey there,

We're in the process of creating a ban setup for Counter-Strike:Source
and were copying all the bans from CS1.6 over (since it works by account
rather then key, we can keep people banned if they abuse in one game)
and I came across a rather odd error:
Cbuf_AddText: buffer overflow
This seems to be linked with the number of bans allowed, as it doesn't
happen if there's only a couple of ID's being execed in the ban config,
but when there's ~600 or ~1200 it seems to have a rather large cry and
refuse to ban the people.

Is there some cvar that is restricting the number of bans, or is this a
coded-in limitation?  The same ban list works in CS 1.6 and there have
been no changes (as far as I've noticed) in ban format other then the
file which srcds writes to with writeid.

Can anyone enlighten me?  Having such a small limitation on ban numbers
doesn't seem to make a whole lot of sense :\

--

- Bruce "Bahamut" Andrews


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds

Reply via email to