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

Bug Report bans but doesnt block


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
killjoy64
AlliedModders Donor
Join Date: Apr 2012
Location: 81.773644,-46.933594
Old 02-05-2014 , 19:05   bans but doesnt block
Reply With Quote #1

So i look in my logs and it says it cannot connect to the database, the plugin bans the player (kicks them out of the server with the message saying they are banned) but they can just reconnect and they dont get blocked, any ideas on how to fix this?

I have
__________________
killjoy64 is offline
extremeg
Senior Member
Join Date: Dec 2012
Old 02-07-2014 , 13:00   Re: bans but doesnt block
Reply With Quote #2

the same problem since today
extremeg is offline
killjoy64
AlliedModders Donor
Join Date: Apr 2012
Location: 81.773644,-46.933594
Old 02-08-2014 , 02:15   Re: bans but doesnt block
Reply With Quote #3

Is there a way to fix it?
__________________
killjoy64 is offline
extremeg
Senior Member
Join Date: Dec 2012
Old 02-08-2014 , 14:16   Re: bans but doesnt block
Reply With Quote #4

by me is the problem this player http://steamcommunity.com/profiles/76561198068945665 became an ban but he reconnect again in 2 minutes.
extremeg is offline
Brian_Zombait
Junior Member
Join Date: Jan 2014
Old 02-10-2014 , 10:16   Re: bans but doesnt block
Reply With Quote #5

What have you tried to make the bans work?

The following is supposed to work, but doesn't seem to be - it's supposed to be in your server.cfg The three people I had in my ban list were removed on server reset.

/////////////////////////
//Bans
// execute banned.cfgs at server start. Optimally at launch commandline.
// Put writeip/wrtieid commands in the bottom of server.cfg AFTER banned.cfgs have loaded.
////////////
exec banned_user.cfg //loads banned users' ids
exec banned_ip.cfg //loads banned users' ips
writeip //Save the ban list to banned_ip.cfg.
writeid //Wrties a list of permanently-banned user IDs to banned_user.cfg.
__________________
Brian_Zombait is offline
mjmfighter
Member
Join Date: Jun 2010
Old 02-10-2014 , 17:30   Re: bans but doesnt block
Reply With Quote #6

Quote:
Originally Posted by Brian_Zombait View Post
What have you tried to make the bans work?

The following is supposed to work, but doesn't seem to be - it's supposed to be in your server.cfg The three people I had in my ban list were removed on server reset.

/////////////////////////
//Bans
// execute banned.cfgs at server start. Optimally at launch commandline.
// Put writeip/wrtieid commands in the bottom of server.cfg AFTER banned.cfgs have loaded.
////////////
exec banned_user.cfg //loads banned users' ids
exec banned_ip.cfg //loads banned users' ips
writeip //Save the ban list to banned_ip.cfg.
writeid //Wrties a list of permanently-banned user IDs to banned_user.cfg.
These have nothing to do with sourcebans. Those are just for the regular banning that source has.

As for the other problems, have you checked to make sure your database info is correct? And that your server provider is configured to allow external connections on mysql? Like your game server can connect to your webserver's mysql server?
mjmfighter is offline
killjoy64
AlliedModders Donor
Join Date: Apr 2012
Location: 81.773644,-46.933594
Old 02-11-2014 , 00:47   Re: bans but doesnt block
Reply With Quote #7

Quote:
Originally Posted by mjmfighter View Post
These have nothing to do with sourcebans. Those are just for the regular banning that source has.

As for the other problems, have you checked to make sure your database info is correct? And that your server provider is configured to allow external connections on mysql? Like your game server can connect to your webserver's mysql server?
Ok, so it works now, i needed my provider to allow connection to the mysql, but ran into another bug.

When someone is banned, for an example mjmfighter your banned for 2 days, and after those two days you want to come back into on of my servers, you have to join the server you were banned from, because if you join another server thats connected to my sourcebans, it will reban you. not sure if this bug has been discussed before, but i will try to bring it to someones attention

Here is your
__________________

Last edited by killjoy64; 02-11-2014 at 00:48.
killjoy64 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 02:55.


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