AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   I have a problem with banned ip/user Please help (https://forums.alliedmods.net/showthread.php?t=147631)

sinblaster 01-11-2011 19:16

I have a problem with banned ip/user Please help
 
It seems when I wake in the morning and check my server, for the past 3 days my banned_user.cfg & banned_ip.cfg are wiped blank. Every entry in them has been erased.
I have no idea why this is happening, up until the past 3 days this hasn't happened in the 12 months these servers have been setup.

I would really appreciate some help please. Thanks

Sillium 01-12-2011 01:14

Re: I have a HUGE problem with banned ip/user Please help
 
It has been quite a while but I think you should do a "writeid" and a "writeip" in your server config right after executing the banned_ip.cfg/banned_id.cfg.

Hope this prevents further problems.

sinblaster 01-12-2011 01:19

Re: I have a HUGE problem with banned ip/user Please help
 
Thanks Sillium Yeah it's

execute ban files
exec banned_user.cfg
exec banned_ip.cfg
writeid
writeip

at the very end of server.cfg. I have tried that in the past but it doesn't explain why 200 user id's keep getting wiped from the banned_user.cfg file. Its only just started happening.

Sillium 01-12-2011 07:03

Re: I have a problem with banned ip/user Please help
 
Hm... than I'm currently out of ideas.. sorry

Bacardi 01-12-2011 08:58

Re: I have a problem with banned ip/user Please help
 
Try add
exec banned_user.cfg
exec banned_ip.cfg

in autoexec.cfg
- Make sure there is not writeid and writeip there.

Add
writeid
writeip

bottom of server.cfg

This way server execute "permanent bans" once in server memory (rcon listid) when server launched.
Why need execute bans every map change ?

When there come more bans or have removed...
Every map change, server save current "permanent bans" (rcon listid) in cfg file.

Execute commands wrong order, wipe cfg files empty.
example:
writeid
exec banned_user.cfg



Sourcemod "sm_ban" will automatically save permanent ban in cfg file after banning player, not need wait map change.

Again if use SourceBans, I don't know where it save bans ? In that cfg or own database ?

sinblaster 01-12-2011 09:50

Re: I have a problem with banned ip/user Please help
 
Yeah, so it should run in this order?

execute ban files
exec banned_user.cfg
exec banned_ip.cfg
writeid
writeip

But I am absolutely without a doubt lost in understanding why all of a sudden without any obvious reason I can find that I have to start using these at all, I never have. I tried them once and I cant even remember why. After 12 months without issues all of a sudden those files get wiped everyday?

I know I've said this above but I am the kind of guy that likes to figure out why (as well as stop it)

Thanks bacardi

Groger 01-12-2011 10:19

Re: I have a problem with banned ip/user Please help
 
Just to prevent this from happening again --> sourcebans it seriously makes your life easier as an admin :)

sinblaster 01-12-2011 10:25

Re: I have a problem with banned ip/user Please help
 
Quote:

Originally Posted by Groger (Post 1391996)
Just to prevent this from happening again --> sourcebans it seriously makes your life easier as an admin :)


Yeah you're probably right groger but I am gutless sometimes, I don't understand sourcebans really and I often come across threads that mention conflicts.

having said that I am considering using it.

Groger 01-13-2011 06:44

Re: I have a problem with banned ip/user Please help
 
well take my word, it works like a charm :)

thetwistedpanda 01-13-2011 09:39

Re: I have a problem with banned ip/user Please help
 
sin you can always shoot me an e-mail/pm if you have issues lol.


All times are GMT -4. The time now is 22:59.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.