Ban.cfg Keeps Resetting Daily
LockNLoaded
Join Date: 2002-09-05 Member: 1282Members
it seems our banned.cfg filter list keeps resetting daily (i use HLSW to monitor server remotely). each day i have to "exec banned.cfg" in console to load the cfg file, because "updating" the banned list in HLSW yields nothing in the filter, and only by performing the above can it be updated.
just recently, performing exec banned.cfg resulted in an empty list!
any server admins can shed some light on this? if any server info is needed, please ask, and i will relay the request to the main server guru.
many thanks!
just recently, performing exec banned.cfg resulted in an empty list!
any server admins can shed some light on this? if any server info is needed, please ask, and i will relay the request to the main server guru.
many thanks!
Comments
Roo
just add to your server.cfg the line:
exec banned.cfg
and it will be fine.
exec banned.cfg
exec listip.cfg
and these two to server.cfg
writeid
writeip
then your server will automatically maintain any bans you make unless you make a ban and your server crashes before a mapchange. But it's still a big step up from manually having to do writeid all the time.
This system will also accomodate for temporary bans which really run out VERY slowly if u have exec banned.cfg in your server.cfg
If you had time and skill you could create yourself a seperate database which records 'marked' wonids and IPs that should be banned. Then you could have a bot which reads the wonids and IPs of people in a server, if one of these matches one from this database, that player is then banned/kicked appropriately.
My ISP did exactly such a thing for HL based games, works like a charm. I will say now, if you do such a thing and it is for an ISP with more then a few NS servers, more like 25 HL based servers. Don't expect just a few hundred entries. My ISP's database has about 99,000+ unique wonid entries, over a million total player database records, over 3000 permenant bans and over 4000 total bans.