Problem with XP statistics :/
Posted: Fri May 30, 2008 11:06 am
amxx 1.8.1-3711
metamod 1.19.32
wc3 2.3.2
XP statistics 1.1
warcraft3FT.cfg
config.php
My XP statistics WebSite:
http://onyxadv.home.pl/war3stats/index.php
Help me pls!
metamod 1.19.32
wc3 2.3.2
XP statistics 1.1
warcraft3FT.cfg
Code: Select all
// Warcraft 3 Frozen Throne Configuration File
mp_savexp 1 // Enables saving of experience (uses a vault, default is 0)
sv_sql 1 // Save using a SQL module (a module needs to be turned on, note: to use this mp_savexp must also be 1, default is 0)
FT_saveby 0 // What should I save this as? steam id = 0, IP = 1, name = 2 (default is 0)
FT_admin_flag "m" // Admin flag required to give/take XP (default is m)
// SQL configuration
FT_sql_host "89.161.240.214" // Host Name
FT_sql_user "onyxadv2" // User Name
FT_sql_pass "top secret :P" // Password
FT_sql_db "onyxadv2" // Database Name
FT_auto_pruning 0 // Automatically prunes the database of old users at a mapchange (default is 0)
sv_daysbeforedelete 666 // However many days before deleting XP or pruning from the database (default is 31)
sv_sqltablename "war3users" // Table Name, no need to change (default is war3users)
sv_save_end_round 1 // Save xp at the end of each round (may cause lag, default is 1)
Code: Select all
<?
/*************************************************
* This is the configuration file, please
* enter the mysql information below
*
* Details at http://war3ft.com
*
* Credits: Design set up by b4p
*************************************************/
$host = "89.161.240.214";
$username = "onyxadv2";
$pass = "top secret :P";
$dbname = "onyxadv2";
$tbname = "war3users";
// Set this to true to show the user's steam ID
$show_steam_id = false;
// The amount to display per page
$limit = 100;
/*** DO NOT EDIT BELOW THIS LINE ***/
require("functions.inc.php");
// Open the mysql connection
$mysql = mysql_connect($host, $username, $pass) or die("Could not connect : " . mysql_error());
// Select the database
mysql_select_db($dbname) or die("Could not select " . $dbname . " database");
?>
My XP statistics WebSite:
http://onyxadv.home.pl/war3stats/index.php
Code: Select all
Query failed : Table 'onyxadv2.war3users' doesn't exist
Help me pls!