Raised This Month: $51 Target: $400
 12% 

I have a problem with banned ip/user Please help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sinblaster
Grim Reaper
Join Date: Feb 2010
Location: Australia
Old 01-11-2011 , 19:16   I have a problem with banned ip/user Please help
Reply With Quote #1

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
__________________
Happy Happy Joy Joy


Last edited by sinblaster; 01-12-2011 at 04:21.
sinblaster is offline
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 01-12-2011 , 01:14   Re: I have a HUGE problem with banned ip/user Please help
Reply With Quote #2

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.
__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de
Sillium is offline
sinblaster
Grim Reaper
Join Date: Feb 2010
Location: Australia
Old 01-12-2011 , 01:19   Re: I have a HUGE problem with banned ip/user Please help
Reply With Quote #3

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.
__________________
Happy Happy Joy Joy

sinblaster is offline
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 01-12-2011 , 07:03   Re: I have a problem with banned ip/user Please help
Reply With Quote #4

Hm... than I'm currently out of ideas.. sorry
__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de
Sillium is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-12-2011 , 08:58   Re: I have a problem with banned ip/user Please help
Reply With Quote #5

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 ?
Bacardi is offline
sinblaster
Grim Reaper
Join Date: Feb 2010
Location: Australia
Old 01-12-2011 , 09:50   Re: I have a problem with banned ip/user Please help
Reply With Quote #6

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
__________________
Happy Happy Joy Joy

sinblaster is offline
Groger
Veteran Member
Join Date: Oct 2009
Location: Belgium
Old 01-12-2011 , 10:19   Re: I have a problem with banned ip/user Please help
Reply With Quote #7

Just to prevent this from happening again --> sourcebans it seriously makes your life easier as an admin
Groger is offline
sinblaster
Grim Reaper
Join Date: Feb 2010
Location: Australia
Old 01-12-2011 , 10:25   Re: I have a problem with banned ip/user Please help
Reply With Quote #8

Quote:
Originally Posted by Groger View Post
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.
__________________
Happy Happy Joy Joy

sinblaster is offline
Groger
Veteran Member
Join Date: Oct 2009
Location: Belgium
Old 01-13-2011 , 06:44   Re: I have a problem with banned ip/user Please help
Reply With Quote #9

well take my word, it works like a charm
Groger is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 01-13-2011 , 09:39   Re: I have a problem with banned ip/user Please help
Reply With Quote #10

sin you can always shoot me an e-mail/pm if you have issues lol.
__________________
thetwistedpanda is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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