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
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 01-27-2011 , 13:12   Re: SourceBans 1.4.7 (Updated 08/22/10)
#2291

, I'm a forum stalker. I'm not familiar with Sleek Servers, but you can probably just contact their tech/support.
__________________
thetwistedpanda is offline
J. Armin
Junior Member
Join Date: Jan 2011
Old 01-27-2011 , 14:37   Re: SourceBans 1.4.7 (Updated 08/22/10)
#2292

Is there a guide for installing SourceBans locally? I have a netbook that I'm not using which I can run it on, but I'm not sure how. I would love to use Angrygaming but their site is messed up ("Order now" page is blank).
J. Armin is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 01-27-2011 , 18:02   Re: SourceBans 1.4.7 (Updated 08/22/10)
#2293

Try http://support.angrygaming.org/order/index.php?step=1
__________________
thetwistedpanda is offline
J. Armin
Junior Member
Join Date: Jan 2011
Old 01-27-2011 , 18:07   Re: SourceBans 1.4.7 (Updated 08/22/10)
#2294

Thanks!
J. Armin is offline
NaRyan
Member
Join Date: Jan 2010
Location: United Kingdom
Old 02-04-2011 , 19:51   Re: SourceBans 1.4.7 (Updated 08/22/10)
#2295

Is there anyway of cleaning out bans over a certain age that were not perm bans?
As the GMOD gamemode I run on 2 servers (Trouble in Terrorist Town), sees a lot of bans per day (both Admin and Auto low Karma bans)

And since I have been using Sourcebans for about 9 or so months now, the ban list in Sourcebans has got quite large (4400 at time of writing this )

So is it possible to run any commands or something in the mysql database to clean out bans that are older than 6 months and not perm bans?

Thanks.
__________________

NaRyan is offline
manex
BANNED
Join Date: May 2010
Location: Lithuania
Old 02-05-2011 , 09:22   Re: SourceBans 1.4.7 (Updated 08/22/10)
#2296

Hi, I installed the SourceBans on my server, but does not shows bans the site.

my databases.cfg:
Quote:
"Databases"
{
"driver_default" "mysql"

"sourcebans"
{
"driver" "mysql"
"host" "localhost"
"database" "*****"
"user" "******"
"pass" "*********"
//"timeout" "0"
"port" "3306"
}
"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}

"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}
}
SourceBans logs:
Quote:
L 02/05/2011 - 01:40:59: [sourcebans.smx] Database failure: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 02/05/2011 - 01:40:59: [sourcebans.smx] plugins/basebans.smx was unloaded and moved to plugins/disabled/basebans.smx
L 02/05/2011 - 02:16:50: [sourcebans.smx] Database failure: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 02/05/2011 - 02:16:50: [sourcebans.smx] plugins/basebans.smx was unloaded and moved to plugins/disabled/basebans.smx
meta list:
[01] SourceMod (1.3.7-dev) by AlliedModders LLC
[02] CS:S Tools (1.3.7-dev) by AlliedModders LLC
[03] BinTools (1.3.7-dev) by AlliedModders LLC
[04] SDK Tools (1.3.7-dev) by AlliedModders LLC

sm plugins:
"Admin File Reader" (1.3.7-dev) by AlliedModders LLC
"Sound Commands" (1.3.7-dev) by AlliedModders LLC
"Anti-Flood" (1.3.7-dev) by AlliedModders LLC
"Basic Comm Control" (1.3.7-dev) by AlliedModders LLC
"AFK Manager" (2. by Liam
"Player Commands" (1.3.7-dev) by AlliedModders LLC
"Country Filter" (1.1.2) by Knagg0. Fixed by Lebson506th
"Rulez_Mod" (1.0.1) by {7~11} Troll
"Basic Votes" (1.3.7-dev) by AlliedModders LLC
"Admin Help" (1.3.7-dev) by AlliedModders LLC
"Fun Votes" (1.3.7-dev) by AlliedModders LLC
"Fun Commands" (1.3.7-dev) by AlliedModders LLC
"Basic Ban Commands" (1.3.7-dev) by AlliedModders LLC
"Very Basic High Ping Kicker" (1.4) by msleeper
"Client Preferences" (1.3.7-dev) by AlliedModders LLC
"Players Votes" (1.5.0) by The Resident, pZv!
"Weapon Restrict" (2.3.4) by Dr!fter
"Reserved Slots" (1.3.7-dev) by AlliedModders LLC
"SM No Block" (2.0) by SWAT_88
"Basic Info Triggers" (1.3.7-dev) by AlliedModders LLC
"Basic Commands" (1.3.7-dev) by AlliedModders LLC
"Admin Menu" (1.3.7-dev) by AlliedModders LLC
"Admin List" (1.2) by Fredd
"Nextmap" (1.3.7-dev) by AlliedModders LLC
"Basic Chat" (1.3.7-dev) by AlliedModders LLC
"SoDStats" (1.0.11) by ]SoD[ Frostbyte
"MapChooser" (1.3.7-dev) by AlliedModders LLC
"Team Bets" (2.6) by GrimReaper - Original by ferret

What did I do wrong?
manex is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 02-05-2011 , 20:23   Re: SourceBans 1.4.7 (Updated 08/22/10)
#2297

http://lmgtfy.com/?q=Can%27t+connect...sql.sock%27+(2)
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
sinblaster
Grim Reaper
Join Date: Feb 2010
Location: Australia
Old 02-06-2011 , 07:29   Re: SourceBans 1.4.7 (Updated 08/22/10)
#2298

Ive set this up on 3 servers so far, all bans are successfully sent to the sourcbans site. My problem is that the sourcbans webpanel wont show the gameservers as running. So it works from game to webserver but not from webserver to game, the error is simply .Error connecting

I'm using cPanel and in the mysql section I have added the game ip to the remote MYSQL access page

The game server IP I have added is 27.50.90.20

Can anyone with cpanel knowledge of an idea of why it wont connect help me out please?
__________________
Happy Happy Joy Joy

sinblaster is offline
Maxis010
Senior Member
Join Date: Jun 2009
Old 02-06-2011 , 09:01   Re: SourceBans 1.4.7 (Updated 08/22/10)
#2299

Quote:
Originally Posted by NaRyan View Post
Is there anyway of cleaning out bans over a certain age that were not perm bans?
As the GMOD gamemode I run on 2 servers (Trouble in Terrorist Town), sees a lot of bans per day (both Admin and Auto low Karma bans)

And since I have been using Sourcebans for about 9 or so months now, the ban list in Sourcebans has got quite large (4400 at time of writing this )

So is it possible to run any commands or something in the mysql database to clean out bans that are older than 6 months and not perm bans?

Thanks.
DELETE FROM sb_bans WHERE ends < time()-15552000 AND length != 0

Get this in php then cron task it say daily
Now any ban over 180 days old gets deleted
This isn't clean as it will leave entries in other parts of sourcebans, it's a quick fix, if you want something clean and complete then shout me and I'll write a full script


Quote:
Originally Posted by sinblaster View Post
Ive set this up on 3 servers so far, all bans are successfully sent to the sourcbans site. My problem is that the sourcbans webpanel wont show the gameservers as running. So it works from game to webserver but not from webserver to game, the error is simply .Error connecting

I'm using cPanel and in the mysql section I have added the game ip to the remote MYSQL access page

The game server IP I have added is 27.50.90.20

Can anyone with cpanel knowledge of an idea of why it wont connect help me out please?
Your webhost might be blocking the connection, SourceBans doesn't check the game servers via MySQL so SourceBans will connect and function as it should but the interface will show as Error Connecting for all servers
Maxis010 is offline
sinblaster
Grim Reaper
Join Date: Feb 2010
Location: Australia
Old 02-06-2011 , 09:09   Re: SourceBans 1.4.7 (Updated 08/22/10)
#2300

Quote:
Originally Posted by Maxis010 View Post
Your webhost might be blocking the connection, SourceBans doesn't check the game servers via MySQL so SourceBans will connect and function as it should but the interface will show as Error Connecting for all servers

Thanks max. As embarresing as this might seem I am the webhost. I have a WHM webhosting account that I use for my own purposes.

I did search sourcbans forum and I have found the following

Quote:
Which ports does the SourceBans webpanel require to be open?

If your web panel shows Error Connecting for your game server when it is actually online,
ask your web host to open UDP incoming from your game server port (usually 27015).

If either the RCON console, Admin Rehashing or Kick-It does not work on your web panel,
ask your web host to open TCP outgoing to your game server port (usually 27015).

I am unaware of how to allow UDP incomming or outgoing. I have sent in a support ticket to my WHM providers

EDIT:

After asking nicely they unblocked the needed ports but I am still having trouble, theres been no change. Ill look at it further
__________________
Happy Happy Joy Joy


Last edited by sinblaster; 02-06-2011 at 10:14.
sinblaster 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 18:39.


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