Lets assume this is happening on a very very fast (dual processor) server comp with 2gb+ of RAM, (because it is), having a lot of bans in memory isn't a problem. However, this is for a GSP, which has a lot of bans that cannot be revoked because those people that are permanently banned will return (seen it happen before).
Your advice may be good for a small server, but when you're collecting ban data from all half-life mod servers in a database then writing them out to all the servers to stop people from getting banned in one game for cheating then just moving onto the next, you need to be able to have a large number of bans in place on a server.
Though, what I don't really get is why none of the bans get written to the server when typing "exec banned.cfg" (the bans are imported to that file, not banned_users.cfg). Cfg files get executed one line at a time from top to bottom, right? So shouldn't all the bans get slowly added until it runs out of memory or whatever limitations are in place? Just odd that it worked for ~100 entries but not for 600 or 1200 :/
HLDS supports this many, was just curious as to why SRCDS does not. Doesn't really help for scaleability if it is indeed limited, though the error may not be linked to that.
- Bruce "Bahamut" Andrews
sebastian nielsen wrote:
Bans is data too. They take space like other files. Ram memory on the computer is requiring to have the game running , not banning people.
HL-servers aren't for banning people all the time. They are used to have an central connection point for gamers to play to each other. Do an ban clean each month and then your files will kept in a good size... This is my trick.... I have a software that runs on thje last day in a month , this deletes the ban file and reloads the CFG:s.
You know , to store steam IDs and names of people you dont want in your server , this must be stored as 1:s and 0:s like other gaming data , and they take space too. All text images and whatever takes space. Save the resources , dont ban like an automated process that bans 1000 people per second.... Be nice to players.... Theres a limited number of players. If you ban all players your server will be empty.
_________________________________________________________________ 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

