AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SourceBans / SourceBans++ (https://forums.alliedmods.net/forumdisplay.php?f=152)
-   -   Release Legacy SourceBans 1.4.11 (Updated 2014/02/17) (https://forums.alliedmods.net/showthread.php?t=61000)

zerak 03-25-2008 12:25

Re: SourceBans (1.0.0 RC1d)
 
Recheck that you entered the right ip and right port, if there is no host with that ip it will take a lot longer to start (noticed that when i tried a second ago).

Davethegreat 03-25-2008 13:01

Re: SourceBans (1.0.0 RC1d)
 
Ok, i changed it to http://thedefectorspro.com (which didnt crash the server strangely) but it still says
Database failure: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 03/24/2008 - 12:48:43: [sourcebans.smx] Database failure: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock'
Database failure: [2005]: Unknown MySQL server host 'http://www.thedefectorspro.com' (3)
L 03/25/2008 - 12:37:51: [sourcebans.smx] Database failure: [2005]: Unknown MySQL server host 'http://www.thedefectorspro.com' (3)

zerak 03-25-2008 13:11

Re: SourceBans (1.0.0 RC1d)
 
Sorry don't know about that (points at Olly).
But are you sure it crashed with your ip? Did you wait 5 min to be sure?
Code:

nslookup thedefectorspro.com -> 203.22.204.84
I tried this and I didn't get a crash.

Davethegreat 03-25-2008 14:45

Re: SourceBans (1.0.0 RC1d)
 
took 8 minutes 39 seconds to load up and then crashed on the first map change.

Quick1 03-25-2008 15:21

Re: SourceBans (1.0.0 RC1d)
 
Will the newest version of SB be compatible with PHP 4.4.3?

If not are there any tweaks that can be made to allow the web interface to run? It is mission critical for us to use PHP 4.

zerak 03-25-2008 18:38

Re: SourceBans (1.0.0 RC1d)
 
What i have read it will be PHP 5 only and no support for 4.3 but this is what i belive (Olly should be able to give correct answere).

DavetheGreate: at least you got some error logs when it crashed.

Did you make your database.cfg as stated in:
http://bans.thedefectorspro.com/inde...vers&o=dbsetup
If link fail then when you add a server there is a small text:
Quote:

To view the database config file you need to upload to your game server, click here.

Olly 03-25-2008 18:49

Re: SourceBans (1.0.0 RC1d)
 
Quote:

Originally Posted by Davethegreat (Post 601784)
What happens I go to the database.cfg and edit LOCALHOST to the correct ip address. I then proceed with a reboot of the server. The server shuts down and never starts again. I change it from the ip address to localhost (where the database isnt at), it then fires back up when I hit the restart button. I am using sockets 2.3.0, the latest build of sourcemod and the latest build of sourcebans. You requested it you got it, there are no logs of the event as the server doesnt start to create a log.

This is because the database server is blocking the connection to your sql server. SourceMod tries to connect to it, but it lags until the timeout comes, and it will give up. Ask your host to unblock the database port for the IP of your gameserver

Quote:

Originally Posted by Quick1 (Post 601861)
Will the newest version of SB be compatible with PHP 4.4.3?

If not are there any tweaks that can be made to allow the web interface to run? It is mission critical for us to use PHP 4.

No.

Davethegreat 03-25-2008 22:40

Re: SourceBans (1.0.0 RC1d)
 
Code:

Client does not support authentication protocol requested by server; consider upgrading MySQL client

SQL Query type: CONNECT
Script: '/index.php'
SQL Query: 66.55.132.4
SQL Params: c451437_thedefectorsban


I changed where the database is held edited the config and now i get this error.
phpMyAdmin - 2.11.4
  • MySQL client version: 4.1.22

Gweedo 03-26-2008 17:26

Re: SourceBans (1.0.0 RC1d)
 
The native to allow external plugins to ban via SB should be modified to allow for bans made by the server, such as for integrating with a voteban plugin.

zerak 03-27-2008 05:53

Re: SourceBans (1.0.0 RC1d)
 
Yes, why do you replace basebans and not just hook on bans: OnBanClient(...) and OnRemoveBan(...)?
I am sure you have a good explaination for this that I can learn from :)


All times are GMT -4. The time now is 17:38.

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