Ban.cfg Keeps Resetting Daily

LockNLoadedLockNLoaded 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!

Comments

  • RoobubbaRoobubba Who you gonna call? Join Date: 2003-01-06 Member: 11930Members, Reinforced - Shadow, WC 2013 - Shadow
    when you ban someone you also have to writeip or writeid in console after the ban, or it will not be added to the banned.cfg

    Roo
  • CaucasianCaucasian Join Date: 2002-11-26 Member: 9993Members
    Actually it sounds like what you need to have your server guru do is put exec banned.cfg in the server.cfg file. Then every time the server starts up (dedicated) those players will be banned.
  • LockNLoadedLockNLoaded Join Date: 2002-09-05 Member: 1282Members
    edited March 2003
    thanks for replying. yes, each time i do a "banip 0 wonid' its followed by a 'writeid' but im baffled why just recently all the wonids -which ive writeid- are all gone. im wondering what could have caused that. <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif'><!--endemo-->
  • Eternal_BlissEternal_Bliss Join Date: 2002-11-07 Member: 7633Members, NS1 Playtester, Contributor
    if the banlist is empty and you write writeid it will clear the banned.cfg
    just add to your server.cfg the line:
    exec banned.cfg

    and it will be fine.
  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
    actually, a better idea is to add these two to lines to autoexec.cfg
    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
  • LethyLethy Join Date: 2002-11-07 Member: 7666Members, Constellation
    My understanding is that the HL server itself (nothing to do with NS) holds bans terribly and will regularly loose all bans. In same cases, every time the whole server process crashes/resets all bans will be lost.

    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.
Sign In or Register to comment.