If you want to have writeid in your server.cfg you need to put it AFTER exec
banned_user.cfg so that bans are first read into memory:

exec banned_user.cfg
writeid

Cheers,
Newbie


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Jones
Sent: Saturday, March 26, 2005 03:36 PM
To: hlds_linux@list.valvesoftware.com
Subject: Re: [hlds_linux] Ban list getting wiped

Original message from aXeR:

> How do you mean?
> WriteID in server.cfg and banned_usr.cfg in autoexec?

I'm not sure why you would want writeid at all.  If you are using a mod, it
should execute this after adding a ban to memory.

If you put "exec banned_user.cfg" in cstrike/cfg/autoexec.cfg, it will load
the banlist when the server starts and those bans will stay in memory until
the server quits, hence no need to put it in server.cfg (which is executed
after each mapchange).

If you ever execute "writeid" when there are no bans in memory, it will
overwrite the banned_user.cfg file with an empty one, which sounds like what
you are experiencing.



>
> ----- Original Message -----
> From: "Chris Jones" <[EMAIL PROTECTED]>
> To: <hlds_linux@list.valvesoftware.com>
> Sent: Saturday, March 26, 2005 11:25 AM
> Subject: Re: [hlds_linux] Ban list getting wiped
>
>
> >Just put it once in autoexec.cfg, that is all you need..  It does not
> >need to be loaded on every mapchange.
> >
> >
> >Original message from aXeR:
> >
> >>Hmm thats starnge, it used to work fine, obviously it doesnt anymore
> >>though :P would you mind sharing the script that you've made?
> >>
> >>Kind Regards, Jon
> >>
> >>----- Original Message -----
> >>From: "kama" <[EMAIL PROTECTED]>
> >>To: <hlds_linux@list.valvesoftware.com>
> >>Sent: Saturday, March 26, 2005 10:35 AM
> >>Subject: Re: [hlds_linux] Ban list getting wiped
> >>
> >>
> >>>
> >>>you cant have writeid and then exec banned_user.cfg... because you
> >>>just write down the memory banlist (which is empty at mapchange) to
> >>>banned_user.cfg and then load it.
> >>>
> >>>I made a script that gathers all bans and save them to a seperate file.
> >>>This file is then exec'ed on all my servers to get a "global" ban.
> >>>So I dont care anymore about the banned_user.cfg getting empty. The
> >>>only problem is when I want to unban a user...
> >>>
> >>>/Bjorn
> >>>
> >>>On Sat, 26 Mar 2005, aXeR wrote:
> >>>
> >>>>This is a multi-part message in MIME format.
> >>>>--
> >>>>[ Picked text/plain from multipart/alternative ] Hi guys,
> >>>>
> >>>>Im not sure how long this is been going on but on ever map change
> >>>>my ban list is getting wiped :( In my server.cfg I have the
> >>>>following entries:
> >>>>
> >>>>writeid
> >>>>exec banned_user.cfg
> >>>>
> >>>>When I checked banned_user.cfg after a map change its once again
empty!
> >>>>I had this problem before and managed to fix it, but I cant
> >>>>remember what I did!
> >>>>
> >>>>Kind Regards
> >>>>-----
> >>>>AdreneLAN Networks Staff
> >>>>http://www.adrenelan.com
> >>>>#adrenelan on QuakeNET
> >>>>====================
> >>>>--
> >>>>
> >>>>
> >>>>_______________________________________________
> >>>>To unsubscribe, edit your list preferences, or view the list
> >>>>archives, please visit:
> >>>>http://list.valvesoftware.com/mailman/listinfo/hlds_linux
> >>>>
> >>>
> >>>--
> >>>
> >>>It makes it all the more worthwhile when you see people giving you
> >>>the look. You know, the stupid face that says, "I don't get it."
> >>>
> >>>
> >>>_______________________________________________
> >>>To unsubscribe, edit your list preferences, or view the list
> >>>archives, please visit:
> >>>http://list.valvesoftware.com/mailman/listinfo/hlds_linux
> >>
> >>
> >>_______________________________________________
> >>To unsubscribe, edit your list preferences, or view the list
> >>archives, please visit:
> >>http://list.valvesoftware.com/mailman/listinfo/hlds_linux
> >
> >--
> >Chris
> >
> >_______________________________________________
> >To unsubscribe, edit your list preferences, or view the list
> >archives, please visit:
> >http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux

--
Chris

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to