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
Grot
Member
Join Date: May 2012
Old 08-30-2012 , 21:40   Re: SourceBans 1.4.9 (Updated 2011/11/18)
#3081

:'( I am Poor and Irish though!

Last edited by Grot; 08-30-2012 at 21:42.
Grot is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 08-30-2012 , 22:30   Re: SourceBans 1.4.9 (Updated 2011/11/18)
#3082

Quote:
Originally Posted by Grot View Post
:'( I am Poor and Irish though!
well for unlimited everything and only $4.95/month that's damn cheap - imagin two gallons of gasoline - boom paid for.
Horsedick is offline
wtfaatp
Senior Member
Join Date: Jul 2010
Old 09-03-2012 , 20:20   Re: SourceBans 1.4.9 (Updated 2011/11/18)
#3083

I cant seem to find it an I know I've read it here before. ANyways...


I'm looking for a way to change Console to KAC (at leaste that is what the post said in a nut shell)
I obviously want to change it to SMAC.
__________________
SourceMod : 1.10.0 (Official) | MetaMod : 1.10.7 (Official)
Server : NFOservers - Windows
wtfaatp is offline
He Hate Me
SourceMod Donor
Join Date: Oct 2006
Old 09-03-2012 , 20:39   Re: SourceBans 1.4.9 (Updated 2011/11/18)
#3084

Just wanted to say thank you for this plugin. It truely is an All-in-one and is amazing! Easily my most favorite plugin.

Thanks to everyone who made this!
He Hate Me is offline
Electric Warrior
Senior Member
Join Date: Jan 2005
Location: Portslade, East Sussex,
Old 09-04-2012 , 02:27   Re: SourceBans 1.4.9 (Updated 2011/11/18)
#3085

Quote:
Originally Posted by He Hate Me View Post
Just wanted to say thank you for this plugin. It truely is an All-in-one and is amazing! Easily my most favorite plugin.

Thanks to everyone who made this!
Have to agree with that, a brilliant plugin and one of my favourites too! Thanks to all the people who work on it.
Electric Warrior is offline
Send a message via ICQ to Electric Warrior Send a message via AIM to Electric Warrior Send a message via MSN to Electric Warrior Send a message via Yahoo to Electric Warrior Send a message via Skype™ to Electric Warrior
eric0279
AlliedModders Donor
Join Date: May 2007
Old 09-08-2012 , 13:24   Re: SourceBans 1.4.9 (Updated 2011/11/18)
#3086

Hello,

I have already installed the previous version of SourceBans these and I've never had a problem there but I confess that I mess ....

The Web server and games are on the same machine.

The following directories are chmod 777:

demos
themes_c,
images / games,
images / maps
config.php

I created the database >> sourcebans.

My databases.cfg:
Code:
"Databases"
{
    "driver_default"        "mysql"
    
    // When specifying "host", you may use an IP address, a hostname, or a socket file path
    "sourcebans"
    {
        "driver"            "default"
        "host"                "localhost"
        "database"            "sourcebans"
        "user"                "my_user_full_access"
        "pass"                "my_pass"
        //"timeout"            "0"
        "port"            "3306"
    }
    "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"
    }
}
sourcebans.cfg:

Code:
/**
* sourcebans.cfg
*
* This file contains settings for the SourceBans Source Server Plugin
* @author SteamFriends Development Team
* @version 0.0.0.$Rev: 74 $
* @copyright SteamFriends (www.steamfriends.com)
* @package SourceBans
*/

"SourceBans"
{
    "Config"
    {
        // Website address to tell where the player to go for unban, etc
        "Website"            "http://192.168.1.32/ban/"

        // Allow or disallow admins access to addban command
        "Addban"            "1"

        // Allow or disallow admins access to unban command
        "Unban"                "1"
        
        // The Tableprefix you set while installing the webpanel. (default: "sb")
        "DatabasePrefix"    "sb"

        // How many seconds to wait before retrying when a players ban fails to be checked. Min = 15.0 Max = 60.0
        "RetryTime"            "45.0"
        
        // How often should we process the failed ban queue in minutes
        "ProcessQueueTime"    "5"

        // Should the plugin automaticaly add the server to sourcebans 
        // (servers without -ip being set on startup need this set to 0)
        "AutoAddServer"        "0"

        // Enable backing up config files after getting admins from database (1 = enabled, 0 = disabled)
        "BackupConfigs"    "1"

        // Enable admin part of the plugin (1 = enabled, 0 = disabled)
        "EnableAdmins"    "1"
        
        // Require the admin to login once into website
        "RequireSiteLogin"    "0"

        // This is the ID of this server (Check in the admin panel -> servers to find the ID of this server)
        "ServerID"        "-1"
    }

    /*
     * Generic menu options for if a reason isn't supplied in a ban
     * Without a supplied reason the ban will never be written to the database
     */
    "BanReasons"
    {
        "Hacking"    "Hack"
        "Exploit"    "Exploit map/serveur"
        "TK"    "TK"
        "TF"    "Flash Team"
        "CommSpam"    "Spam Mic/Chat"
        "BadSpray"    "Spray interdit"
        "BadLang"    "Language interdit"
        "BadName"    "Pseudo interdit"
        "IgnoreAdmin"    "Ignore conseils admin"
        "Stacking"    "empilement joueurs"
        "Own Reason"    "Autre raison"
    }
    
    /*
     * Submenu options for when "Hacking" is selected
     * If "Hacking" is removed from the menu above this will not be accessable
     */
    "HackingReasons"
    {
        "Aimbot"    "Aimbot"
        "Antirecoil"    "Anti Recul"
        "Wallhack"    "Wallhack"
        "Spinhack"    "Spinhack"
        "Speedhack"    "Speedhack"
        "Multi-Hack"    "Multi-Hack"
        "No Smoke"    "travers fumi"
        "No Flash"    "Anti-flash"
    }
}
I added the server groups for Web Admin Staff and Admins permissions for Server Admin permissions (Root Access and immunity 100)


config.php

PHP Code:
<?php
/**
 * config.php
 * 
 * This file contains all of the configuration for the db
 * that will 
 * @author SteamFriends Development Team
 * @version 1.0.0
 * @copyright SteamFriends (www.SteamFriends.com)
 * @package SourceBans
 */
if(!defined('IN_SB')){echo 'You should not be here. Only follow links!';die();}

define('DB_HOST''localhost');               // The host/ip to your SQL server
define('DB_USER''my_user_full_access');                    // The username to connect with
define('DB_PASS''my_pass');                        // The password
define('DB_NAME''sourcebans');                          // Database name    
define('DB_PREFIX''sb');                    // The table prefix for SourceBans
define('DB_PORT','3306');                            // The SQL port (Default: 3306)

//define('DEVELOPER_MODE', true);            // Use if you want to show debugmessages
//define('SB_MEM', '128M');                 // Override php memory limit, if isn't enough (Banlist is just a blank page)
?>
All data are in the database and when I add a group, I have no error ...

I have no error in the logs folder of SourceMod.

SourceMod: 1.4.6 :

sm plugins list

Quote:
01 "Basic Info Triggers" (1.4.6) by AlliedModders LLC
02 "Fun Commands" (1.4.6) by AlliedModders LLC
03 "Sound Commands" (1.4.6) by AlliedModders LLC
04 "Basic Votes" (1.4.6) by AlliedModders LLC
05 "Player Commands" (1.4.6) by AlliedModders LLC
06 "Basic Commands" (1.4.6) by AlliedModders LLC
07 "Reserved Slots" (1.4.6) by AlliedModders LLC
08 "Client Preferences" (1.4.6) by AlliedModders LLC
09 "SourceBans" (1.4.9) by SourceBans Development Team
10 "Basic Comm Control" (1.4.6) by AlliedModders LLC
11 "Admin Menu" (1.4.6) by AlliedModders LLC
12 "Anti-Flood" (1.4.6) by AlliedModders LLC
13 "Admin Help" (1.4.6) by AlliedModders LLC
14 "Admin File Reader" (1.4.6) by AlliedModders LLC
15 "Fun Votes" (1.4.6) by AlliedModders LLC
16 "Basic Chat" (1.4.6) by AlliedModders LLC
17 Disabled: "Nextmap" (1.4.6) by AlliedModders LLC
plugin_print :

Quote:
Metamod:Source 1.9.1-dev
Apache2 (via apt-get):
Quote:
apache2 -v
Server version: Apache/2.2.16 (Debian)
Server built: Apr 1 2012 07:148
php 5.3.3.7 :
Quote:
php -v
PHP 5.3.3-7+squeeze14 with Suhosin-Patch (cli) (built: Aug 6 2012 14:18:06)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH
Debian Squeeze X64

Line command to launch server :
Code:
./srcds_run -game left4dead2 +maxplayers 8 +ip 192.168.1.32
admin_groups.cfg and admins.cfg is empty....


The game server has been restarted


Thanks for help

Last edited by eric0279; 09-08-2012 at 14:03.
eric0279 is offline
Groger
Veteran Member
Join Date: Oct 2009
Location: Belgium
Old 09-08-2012 , 15:41   Re: SourceBans 1.4.9 (Updated 2011/11/18)
#3087

Is your gameserver on the same machine, if not try replacing localhost with the IP of your site in database.cfg
Groger is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 09-08-2012 , 16:05   Re: SourceBans 1.4.9 (Updated 2011/11/18)
#3088

localhost does not use a virtual machine.

I have to put the IP address, but the server is visible on the internet.


I activate debug :
Quote:
User Manager Data

CUserManager Object ( [aid] => 1 [admins] => Array ( [1] => Array ( [aid] => 1 [user] => blablabla [authid] => STEAM_0:1:12157180 [password] => 0dd86b73bd1427b2c6aee2de85d45ec85ed9f45c [gid] => 1 [email] => [email protected] [validate] => [extraflags] => -513 [srv_immunity] => 100 [srv_password] => [srv_groups] => Admin [srv_flags] => zz [group_name] => Staff [lastvisit] => 1347134620 ) ) ) Post Data

Array ( ) Session Data

Array ( [p] => admin [q] => p=admin&c=servers&o=admincheck&id=2 [getInfo.192.168.1.32.27015] => Array ( [hostname] => [L4D2 FR] Server Not MODDED ! All GameMode ! jsigames.net [map] => c1m1_hotel [gamename] => left4dead2 [gamedesc] => Left 4 Dead 2 [numplayers] => 0 [maxplayers] => 8 [botcount] => 0 [dedicated] => d [os] => l [password] => 0 [secure] => 1 ) [c] => servers [getInfo.192.168.1.32.27025] => Array ( [hostname] => [FR] JSI Games [map] => de_inferno [gamename] => cstrike [gamedesc] => Counter-Strike: Source [numplayers] => 0 [maxplayers] => 6 [botcount] => 0 [dedicated] => d [os] => l [password] => 1 [secure] => 1 ) ) Cookie Data

Array ( [aid] => 1 [password] => 0dd86b73bd1427b2c6aee2de85d45ec85ed9f45c [PHPSESSID] => 7fmbfhk3ka6cve03lc93ftkqv4 )
If I modify a group, the command is executed sm_rehash on the server:
Quote:
2:09:25 L 09/08/2012 - 22:09:27: rcon from "192.168.1.32:40120": command "sm_rehash"
For CSSource, I do not encounter problems ... yes for L4D2 ...

Last edited by eric0279; 09-08-2012 at 16:48.
eric0279 is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 09-08-2012 , 20:11   Re: SourceBans 1.4.9 (Updated 2011/11/18)
#3089

I just tested and L4D2, there is a problem ...

I just do a fresh install with no problem and CSSource server, files are admins.cfg admin_groups.cfg and edited by SourceBans.

Thank you for the next correction.
eric0279 is offline
He Hate Me
SourceMod Donor
Join Date: Oct 2006
Old 09-09-2012 , 01:07   Re: SourceBans 1.4.9 (Updated 2011/11/18)
#3090

Look at this line in your Sourcebans.cfg

Quote:
// This is the ID of this server (Check in the admin panel -> servers to find the ID of this server)
"ServerID" "-1"
My guess is your server id is probably 1 , not -1

Last edited by He Hate Me; 09-09-2012 at 01:07.
He Hate Me 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 16:57.


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