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

Release Legacy SourceBans 1.4.11 (Updated 2014/02/17)


Post New Thread Closed Thread   
 
Thread Tools Display Modes
LBC562
Junior Member
Join Date: Jul 2008
Old 05-01-2009 , 18:37   Re: SourceBans (1.4.2) (UPDATE)
#1511

I have SB installed on webserver and the plugin on the game server. I edited the sourcebans.cfg to show where to see the Ban and the ID number. On the site, SB can connect to the server. But when I ban someone in the server they told me that they did not get a message to go to where I installed SB on the webserver.

Anyone know why? Did I forget something/do something wrong?
LBC562 is offline
MasterSVK
Junior Member
Join Date: Feb 2009
Old 05-02-2009 , 06:32   Re: SourceBans (1.4.2) (UPDATE)
#1512

Have you done this step?

Database setup:
Edit addons/sourcemod/configs/databases.cfg and add an entry for SourceBans.
It should have the following general format:
"Databases"
{
"driver_default" "mysql"

"sourcebans"
{
"driver" "mysql"
"host" "localhost" // The host where your mysql server is located
"database" "sourcebans_db" // The name of the database
"user" "sb" // The name of the user that the plugin should use to connect
"pass" "sbpass" // The password for this user
}
}
__________________
MasterSVK is offline
Wildfire
Junior Member
Join Date: Dec 2008
Old 05-02-2009 , 14:33   Re: SourceBans (1.4.2) (UPDATE)
#1513

Hey All.

Having some problems here and im hoping someone might have some helpful answers or suggestions.

Sourcebans and SourceMod are installed both of which are the latest.
Now, for some odd reason when adding admins via the sourcebans web-interface I am unable to use sm_admin from in-game, all I get is "[SM] You do not have access to this command".

I have checked both admins.cfg and found that despite giving myself access to the server and full root access via sourcebans the file remains unmodified. Is this right?

Our sourcebans installion is correctly installed as found here http://www.legionofdamned.com/source_bans/ and even the banning function works 100% which brings me to my next point...

Why when I ban myself from in-game that it doe's not show on sourcebans?
__________________
Wildfire is offline
LBC562
Junior Member
Join Date: Jul 2008
Old 05-02-2009 , 16:24   Re: SourceBans (1.4.2) (UPDATE)
#1514

Quote:
Originally Posted by MasterSVK View Post
Have you done this step?

Database setup:
Edit addons/sourcemod/configs/databases.cfg and add an entry for SourceBans.
It should have the following general format:
"Databases"
{
"driver_default" "mysql"

"sourcebans"
{
"driver" "mysql"
"host" "localhost" // The host where your mysql server is located
"database" "sourcebans_db" // The name of the database
"user" "sb" // The name of the user that the plugin should use to connect
"pass" "sbpass" // The password for this user
}
}
If this was for me, yes. I can kick and ban players from the site. Does this mean its fully working? How come when someone gets banned in server it does not tell them where to see the ban? Is there a way for my members to register so I can give them admin access or do I have to do it manually? I do not see a register button/link anywhere..
LBC562 is offline
santaclaus
Senior Member
Join Date: Dec 2008
Old 05-02-2009 , 17:32   Re: SourceBans (1.4.2) (UPDATE)
#1515

Quote:
Originally Posted by Wildfire View Post
Hey All.

Having some problems here and im hoping someone might have some helpful answers or suggestions.
--------------
--------------
Ok i'm working with wildfire. We have solved our error.
It was in database.cfg , our "host" was set to localhost by mistake.
Therefore we had the error :

Database failure: [1045]: Access denied for user 'User'@'localhost' (using password: YES)

We have replaced it with the host IP then everything was working fine.
__________________

santaclaus is offline
your mom
Senior Member
Join Date: Jul 2008
Old 05-02-2009 , 18:44   Re: SourceBans (1.4.2) (UPDATE)
#1516

Anyone know why I would be getting a error connecting when my spourcebans page attempts to connect with my servers? Sourcebans communicates fine with the bans, admins, etc...

http://critfest.com/sourcebans
your mom is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 05-03-2009 , 08:59   Re: SourceBans (1.4.2) (UPDATE)
#1517

Quote:
Originally Posted by LBC562 View Post
I can kick and ban players from the site. Does this mean its fully working?
No, the webpanel's functionality doesn't have anything to do with the game server plugin. Check your sourcebans.log for any errors.
Quote:
Originally Posted by LBC562 View Post
How come when someone gets banned in server it does not tell them where to see the ban?
It does tell them, but currently NOT when banning through the admin menu, as it shows the reason instead. When the player tries to join 5min later, when the local ban is expired, it will show him the weblink.
Quote:
Originally Posted by LBC562 View Post
Is there a way for my members to register so I can give them admin access or do I have to do it manually?
You have to add them manually.

Quote:
Originally Posted by your_mom View Post
Anyone know why I would be getting a error connecting when my spourcebans page attempts to connect with my servers? Sourcebans communicates fine with the bans, admins, etc...
Why is the webpanel showing "Error Connecting (ip:port)" for my server, when it's actually online?
The communication of the gameplugin with the database doesn't have anything to do with the webpanel features, as sayed above.
__________________
Peace-Maker is offline
Thermopyle
Member
Join Date: Jun 2008
Old 05-04-2009 , 10:14   Re: SourceBans (1.4.2) (UPDATE)
#1518

I run multiple servers from one TF2 install directory. The problem with this and sourcebans is that there's only one sourcebans.cfg file making it impossible to set the server ID for each server.

Is there a cvar I can set for the server ID?

What features won't work without setting unique server ID's?
Thermopyle is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 05-04-2009 , 15:07   Re: SourceBans (1.4.2) (UPDATE)
#1519

There is no cvar you could add to the startup line.
The ServerID fixes a "sid can not be null' problem with the gameserver's ip isn't recognized as the one you've added to sourcebans, but as a different one your root server.
You can test if it works with ServerID "-1".
__________________
Peace-Maker is offline
LBC562
Junior Member
Join Date: Jul 2008
Old 05-04-2009 , 19:33   Re: SourceBans (1.4.2) (UPDATE)
#1520

Quote:
Originally Posted by Peace-Maker View Post
No, the webpanel's functionality doesn't have anything to do with the game server plugin. Check your sourcebans.log for any errors.

It does tell them, but currently NOT when banning through the admin menu, as it shows the reason instead. When the player tries to join 5min later, when the local ban is expired, it will show him the weblink.

You have to add them manually.


Why is the webpanel showing "Error Connecting (ip:port)" for my server, when it's actually online?
The communication of the gameplugin with the database doesn't have anything to do with the webpanel features, as sayed above.
Sorry if this has been asked/answered already. When I ban someone from webpanel, they are able to rejoin ? When I said I banned them in the other post. I banned them while I was in the server. I'll check log. I'm looking on my server and I don't see a sourcebans.log? Or am I looking in the wrong location?

Last edited by LBC562; 05-04-2009 at 19:49.
LBC562 is offline
Closed Thread



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


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