What if you wanted to remove a ban from the banned.cfg, and only had rcon access to the server? You wouldn't be able to do this if writeid behaved the way you would like it to. Also, I see no benefit of extra blank lines at the end of any file.
Dave -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Elminst Sent: Tuesday, November 30, 2004 8:14 AM To: [EMAIL PROTECTED] Subject: RE: [hlds] disappearing bans? > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of David Fencik > > Correct. That is what I'm saying. Note that bans are not removed by > execing a banned.cfg whose contents are a subset of the current banned > list. To speak in mathematical jibberish...upon execution of "exec > banned.cfg", the set of all bans is equal to the union of the set of > currently banned users and the set of users contained in the banned.cfg. > The only way to remove bans from the banned.cfg file through rcon is to > remove bans from the current list of bans and then to writeid (or wait > until your server restarts and writeid). If your current list of bans > is empty, then your banned.cfg will be empty. > > If you change your firing order to the following, you'll be all set: > > > exec banned.cfg > exec listip.cfg > writeid > > Dave Okay... done this and we'll see what happens. I still think it's pretty lame though. A writeid should do just that; write the bans in memory to the file. If there are no bans, then nothing should be written to the file! At most it should do an append, not a complete overwrite, and you get a couple blank lines at the end of the file. Elminst -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.4.3 - Release Date: 11/26/2004 _______________________________________________ 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

