Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: Mp6 on December 23, 2007, 05:26:39 PM

Title: Bans dissapear every time a crash or reset occurs.
Post by: Mp6 on December 23, 2007, 05:26:39 PM
Last I had checked I had about 20 perma bans from people that have tried to crash my server by spamming or other means.  I reset the server to get some new mods on and I look at the ban menu and they were all gone.  Why is this happening?
Title: Re: Bans dissapear every time a crash or reset occurs.
Post by: Megiddo on December 23, 2007, 06:41:30 PM
If you use rcon banid, they're removed on server reset, it's how the source engine works.
Title: Re: Bans dissapear every time a crash or reset occurs.
Post by: Mp6 on December 23, 2007, 08:28:05 PM
I do not use ban id, I use !ban player time reason.  Arn't they supposed to go to the defaul config files?  I go there and they dissapear from there too.
Title: Re: Bans dissapear every time a crash or reset occurs.
Post by: JamminR on December 23, 2007, 09:20:08 PM
They get written there every ban. However, if you don't have 'exec banned_users.cfg' in your server.cfg file... your ban list gets cleared every server restart, because the writeid that ULX performs writes empty data if you haven't.

This isn't a ULX problem.. this is how Source works. You're supposed to load your banned users on server/map startup before you write to it again or its cleared because nothing was in it to writeid
Title: Re: Bans dissapear every time a crash or reset occurs.
Post by: Mp6 on December 24, 2007, 12:28:42 AM
I have banned_user.cfg in my server folder, and if I understand what you are saying, which I am sure I am not, I have to copy the bans every time into the folder myself?
Title: Re: Bans dissapear every time a crash or reset occurs.
Post by: MrPresident on December 24, 2007, 03:59:44 AM
NO.. what he is saying is by default.. your server is not loading the banned_users.cfg file when your server loads... therefore when you start your server again and ban someone.. it will write the new ban to the file.. WITHOUT the old bans..


Open up your Garrysmod/CFG/server.cfg and add exec 'exec banned_users.cfg' to it and it'll load the ban list file every load.

Problem solved.
Title: Re: Bans dissapear every time a crash or reset occurs.
Post by: Mp6 on December 24, 2007, 12:40:22 PM
Ok, I have done that and I hope that my bans will stop dissapearing from the banned_user.cfg file.  Thank you for the help.