Raised This Month: $32 Target: $400
 8% 

SourceBans 1.4.10 ban not working


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Arkadietz
Senior Member
Join Date: Jul 2011
Old 12-28-2013 , 06:32   SourceBans 1.4.10 ban not working
Reply With Quote #1

Okay. I've download and install the latest stable version 1.4.10. All is set and configured properly. The problem is bans just kick the user. Still the ban missing. The ban i've tries is set on steam id without ip.

That's the log. The guy is friend to me and he's not a cheater just for the test.
Code:
13:24:40 L 12/28/2013 - 13:24:45: "dennis????™<968><STEAM_1:1:76791462><TERRORIST>" disconnected (reason "Kicked by Console :  "You have been banned by this server, check http://cs.shakeit.bg/bans/ for more info."")
13:24:40 L 12/28/2013 - 13:24:45: "dennis????™<968><STEAM_1:1:76791462>" switched from team <TERRORIST> to <Unassigned>
13:24:40 L 12/28/2013 - 13:24:45: rcon from "79.98.104.130:58683": command "kickid STEAM_1:1:76791462 "You have been banned by this server, check http://cs.shakeit.bg/bans/ for more info.""

13:25:25 L 12/28/2013 - 13:25:30: "dennis????™<972><STEAM_1:1:76791462><>" connected, address "46.47.86.11:27005"
13:25:25 L 12/28/2013 - 13:25:30: "dennis????™<972><STEAM_1:1:76791462><>" STEAM USERID validated
__________________
Arkadietz is offline
StoerFaktoR
Junior Member
Join Date: Jun 2012
Location: Düsseldorf (Germany)
Old 12-29-2013 , 09:35   Re: SourceBans 1.4.10 ban not working
Reply With Quote #2

jab , the same on our server...

We can "ban" players via the CP and they will kicked from the server
but they still can join...

With "sm plugin list" we will get this message

"<Error> "SourceBans" (1.4.10) by SourceBans Development Team"
"Load Errors: SourceBans: Error detected in plugin startup (see error logs)"

But no logs are written to our log folder...

Maybe someone can help us ???


Regards
StoerFaktoR
StoerFaktoR is offline
Walliski
Senior Member
Join Date: May 2013
Old 12-29-2013 , 18:00   Re: SourceBans 1.4.10 ban not working
Reply With Quote #3

You say that there are no errors in the /addons/sourcemod/logs folder?

And have both of you checked MySQL username, password, allowed host etc. Does admins get loaded from Sourcebans?
Walliski is offline
StoerFaktoR
Junior Member
Join Date: Jun 2012
Location: Düsseldorf (Germany)
Old 12-30-2013 , 01:00   Re: SourceBans 1.4.10 ban not working
Reply With Quote #4

Yes of course , we don´t install sourcebans the first time


EDIT***

ok i got it.

1.Make sure all game folders and files have the permissions from the user (NOT root) , who start the gameserver
2.Open the Database.cfg and enter the path to mysql.sock in the "host" value

EXAMPLE:

"sourcebans"
{
"driver" "mysql"
"host" "/var/run/mysqld/mysqld.sock" //<<< to find the path to mysqld.sock open the /etc/mysql/my.cnf or ask your gameserver hoster
"user" "YourBDUsername"
"pass" "YourDBPw"
//"timeout" "0"
"port" "3306"
}

3.restart your gameserver...
4.Done

Last edited by StoerFaktoR; 12-30-2013 at 04:09.
StoerFaktoR is offline
Rytis
Veteran Member
Join Date: Feb 2012
Location: Germany
Old 12-30-2013 , 09:24   Re: SourceBans 1.4.10 ban not working
Reply With Quote #5

Quote:
Originally Posted by StoerFaktoR View Post
"host" "/var/run/mysqld/mysqld.sock" //<<< to find the path to mysqld.sock open the /etc/mysql/my.cnf or ask your gameserver hoster
If the IP from the MySQL Server doesn't work, use this solution. But sometimes this solution will not work, because the gameserver is running in a chroot jail.^^
Rytis is offline
Reply


Thread Tools
Display Modes

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 05:04.


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