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

Bans not showing on sourceban page


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
IcEWoLF
Senior Member
Join Date: Jul 2007
Old 11-05-2012 , 02:08   Bans not showing on sourceban page
Reply With Quote #1

When players are being banned from the actual server ( in game) the bans do not show on the sourcebans page.

However when I ban them from the sourceban page they do show, not sure what's going on. :/

http://www.47r-squad.com/sourcebans/
__________________
The 47 Ronin Gaming - http://www.47r-squad.com


IcEWoLF is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 11-06-2012 , 09:34   Re: Bans not showing on sourceban page
Reply With Quote #2

Check the sourcebans.log on your gameserver and read the FAQ linked in that error message. Your gameserver can't connect to your database.
__________________
Peace-Maker is offline
IcEWoLF
Senior Member
Join Date: Jul 2007
Old 11-10-2012 , 01:07   Re: Bans not showing on sourceban page
Reply With Quote #3

Quote:
Originally Posted by Peace-Maker View Post
Check the sourcebans.log on your gameserver and read the FAQ linked in that error message. Your gameserver can't connect to your database.
Hi there here is the file, I am not sure what I did wrong here:

Code:
"Databases"
{
	"driver_default"		"mysql"
	
	// When specifying "host", you may use an IP address, a hostname, or a socket file path
	
	"default"
	{
		"driver"			"default"
		"host"				"localhost"
		"database"			"sourcemod"
		"user"				"root"
		"pass"				""
		//"timeout"			"0"
		//"port"			"0"
	}
	
	"storage-local"
	{
		"driver"			"sqlite"
		"database"			"sourcemod-local"
	}

	"clientprefs"
	{
		"driver"			"sqlite"
		"host"				"localhost"
		"database"			"clientprefs-sqlite"
		"user"				"root"
		"pass"				""
		//"timeout"			"0"
		//"port"			"0"
	}
"Databases"
{
	"driver_default"		"mysql"
	
	"sourcebans"
	{
		"driver"			"mysql"
		"host"				"localhost"
		"database"			"****_sourcebans"
		"user"				"****************"
		"pass"				"*************"
		//"timeout"			"0"
		"port"			"3306"
	}
	
	"storage-local"
	{
		"driver"			"sqlite"
		"database"			"sourcemod-local"
	}
}
__________________
The 47 Ronin Gaming - http://www.47r-squad.com



Last edited by IcEWoLF; 11-10-2012 at 01:08.
IcEWoLF is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 11-10-2012 , 08:52   Re: Bans not showing on sourceban page
Reply With Quote #4

may wish to include the database on storage-local below that to the database for your sourcebans db too, are you 100% sure the game server and host are communicating as in test that with the connection test?
Horsedick is offline
jsterling
SourceMod Donor
Join Date: Mar 2004
Location: Denver, CO, USA
Old 11-10-2012 , 08:53   Re: Bans not showing on sourceban page
Reply With Quote #5

Remove everything above the red code. You're using duplicate code.
jsterling is offline
Send a message via AIM to jsterling
IcEWoLF
Senior Member
Join Date: Jul 2007
Old 11-10-2012 , 14:42   Re: Bans not showing on sourceban page
Reply With Quote #6

For hosts since I host it on my main website do I put the website IP or the link?
__________________
The 47 Ronin Gaming - http://www.47r-squad.com


IcEWoLF is offline
jsterling
SourceMod Donor
Join Date: Mar 2004
Location: Denver, CO, USA
Old 11-10-2012 , 15:02   Re: Bans not showing on sourceban page
Reply With Quote #7

Are you hosting the website on a dedicated server or do you have a shared web hosting plan?

I would use the IP to be on the safe side.
jsterling is offline
Send a message via AIM to jsterling
IcEWoLF
Senior Member
Join Date: Jul 2007
Old 11-10-2012 , 15:03   Re: Bans not showing on sourceban page
Reply With Quote #8

I am hosting the site on a VPS server but I can't still connect :/
L 11/10/2012 - 12:008: [sourcebans.smx] Database failure: [2003]: Can't connect to MySQL server on '173.254.194.142' (10061). See FAQ: http://www.sourcebans.net/node/20

Code:
"Databases"
{
	"driver_default"		"mysql"
	
	"sourcebans"
	{
		"driver"			"mysql"
		"host"				"173.254.194.142"
		"database"			"xxxxx"
		"user"				"xxxxx"
		"pass"				"xxxxx"
		//"timeout"			"0"
		"port"			"3306"
	}
	
	"storage-local"
	{
		"driver"			"sqlite"
		"database"			"sourcemod-local"
	}
}
__________________
The 47 Ronin Gaming - http://www.47r-squad.com



Last edited by IcEWoLF; 11-10-2012 at 15:04.
IcEWoLF is offline
jsterling
SourceMod Donor
Join Date: Mar 2004
Location: Denver, CO, USA
Old 11-10-2012 , 15:04   Re: Bans not showing on sourceban page
Reply With Quote #9

Who's your host?
jsterling is offline
Send a message via AIM to jsterling
IcEWoLF
Senior Member
Join Date: Jul 2007
Old 11-10-2012 , 15:07   Re: Bans not showing on sourceban page
Reply With Quote #10

hostavps.com

I should be able to make any changes since I control the entire vps.

I double checked the cPanel forums and I did add my game server IP's to be able to connect with my database.
__________________
The 47 Ronin Gaming - http://www.47r-squad.com


IcEWoLF 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 13:47.


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