Missing Server Bans
-
- A semi-regular
- Posts: 18
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Sat Jun 09, 2012 9:25 am
Missing Server Bans
Hello, on occasion I have now noticed that a permaban I gave out not too long ago was missing from both the banned_user.cfg, and the banned_ip.cfg. I'm not sure what rolled back these bans, but upon testing it out with a moderator, the same issue happened again after a day. I'm not sure why my bans are being rolled back, but any advice would be appreciated! Thank you!
Re: Missing Server Bans
Do you have a very large banlist? If not, it may just be that some commands are missing from your server.cfg file that causes bans to be saved to file after each map change.
TimeX
-
- A semi-regular
- Posts: 18
- Joined: Sat Jun 09, 2012 9:25 am
Re: Missing Server Bans
No, my banlist is pretty short, could you state which commands you believe may be missing exactly? Thank you for the help!TimeX wrote:Do you have a very large banlist? If not, it may just be that some commands are missing from your server.cfg file that causes bans to be saved to file after each map change.
Re: Missing Server Bans
In your server.cfg file, you will want to make sure the writeid and writeip commands are in there, usually near the bottom of the file works best. One is specifically for saving Bans by Steam ID to file, while the other command is for saving IP bans to a different file.
TimeX
-
- A semi-regular
- Posts: 18
- Joined: Sat Jun 09, 2012 9:25 am
Re: Missing Server Bans
I may have found the source of the problem. Paying close attention, I got this message at a map change.TimeX wrote:In your server.cfg file, you will want to make sure the writeid and writeip commands are in there, usually near the bottom of the file works best. One is specifically for saving Bans by Steam ID to file, while the other command is for saving IP bans to a different file.
exec banned_ip.cfg: file size larger than 1 MB!
Writing cfg/banned_user.cfg.
Writing cfg/banned_ip.cfg.
Any Ideas? I know it isn't over 1 MB, but it continues to say it is.
Re: Missing Server Bans
does the file exist? What does the OS say the file size is?
Not a NFO employee
-
- A semi-regular
- Posts: 18
- Joined: Sat Jun 09, 2012 9:25 am
Re: Missing Server Bans
The OS says the file is 0 KB's when there is nothing in it, 1 KB when there is 1 ban listed inside of it. The file does exist.soja wrote:does the file exist? What does the OS say the file size is?
-
- A semi-regular
- Posts: 18
- Joined: Sat Jun 09, 2012 9:25 am
Re: Missing Server Bans
So far, two steam user bans and one IP ban.TimeX wrote:How many IP bans do you normally have in that file?
-
- A semi-regular
- Posts: 18
- Joined: Sat Jun 09, 2012 9:25 am
Re: Missing Server Bans
Finally managed to fix the issue, thank you so much for the assistance!