If the list were sorted and a binary search was performed, the amount of time in connecting a client that is used in validating a ban would increase by an order of log(N)...which is not bad at all.
In other words, you are incorrect in saying that "the connect time rises a little millisec for every ban." The more bans there are, the less of a difference each additional ban makes. The time to exec the banned.cfg file, however, will increase in the manner you described. Dave -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of sebastian nielsen Sent: Monday, October 18, 2004 2:30 PM To: [EMAIL PROTECTED] Subject: RE: [hlds] Number of allowed bans too small? Install AMX-mod. Its better..... why not then take "SLAY TARGET PLAYER" when you notice that him cheats.... Slay dosent take data after player is respawned. It only takes data from he is slayed until he is respawned.Slay does a 100 HP damage to that player. A very effective function , it works on most Invicible hacks too.... I think the hacks is bad coded or anything.... Cheaters leave when they always get killed by SLAY. It works for me. You must be nice to the server. Loading a 5 MB big banfile is not good for any server's performace. The connect time rises a little millisec for every ban. Then the server must search 5 MB of data. It much. Its 5.000.000 characters * with 8 is 40.000.000 BITS , also 1:s and 0:s. THis is much of searcing for EVERY PLAYER THAT CONNECT! If you manange to bigger up the buffer , every users will TIMEOUT because a banlist that is getting TOOOO large. You know the client waits max N seconds for a accept of connection. If searching the banlist and initalizing the socket takes MORE time than N seconds , it will refuse connection and client will drop. My tip is , SPARE on bans..... use other functions like BURY (adminmod) , SLAY (AMXMODX). And lets take a good example to get rid of a cheater. player: !^abc^! cheats!!! player(2): Yes! Bomberman: Ban him! He is using wallhack! admin: I can see what i can do.... <CONSOLE DOWN> >admin_execclient !^abc^! "connect <A SERVER IP>" [ENTER] > <CONSOLE UP> !^abc^! left the game. Yeah , its called REDIRECT and is a very good function to get rid of a cheater.... Seach up a cheater-only server and note its IP and then HAPPY REDIRECTING.... _________________________________________________________________ Hitta r�tt p� n�tet med MSN S�k http://search.msn.se/ _______________________________________________ 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

