Raised This Month: $ Target: $400
 0% 

[L4D & L4D2] Custom Player Stats v1.4B121


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
LordTurbat
BANNED
Join Date: Apr 2010
Old 04-14-2010 , 05:20   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #10

You can install this over the original Player Stats.
  1. Prepare your MySQL database to accept connections from your web site and game server.
  2. Download web stats (l4d_stats_web.zip) and extract it to your website. PHP support required!
  3. Rename config_example.php to config.php and edit it.
  4. Execute one of the below (use a web browser)
    • createtable.php if you are creating completely new database
    • updatetable.php if you are updating a previous version of Player Stats database.
  5. Delete both createtable.php and updatetable.php files.
  6. Add full read and write access to everyone for the website file /templates/awards_cache.html.
  7. [OPTIONAL] Download l4d_stats.txt to /addons/sourcemod/gamedata. If you don't download this, your Rank Vote will be disabled.
  8. Edit your databases.cfg file at /addons/sourcemod/config. Insert "l4dstats" entry with a valid connection info to your Custom Player Stats database.
  9. Download compiled plugin (l4d_stats.smx) to /addons/sourcemod/plugins.

ok i have done this all but still not working my databese loke like this :

"Databases"
{
"driver_default" "mysql"

"default"
{
"driver" "default"
"host" "localhost"
"database" "sourcemod"
"user" "root"
"pass" ""
//"timeout" ""
//"port" ""
}

"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}

"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" "root"
"pass" ""
//"timeout" ""
//"port" ""
}


"l4dstats"
{
"driver" "sqlite"
"host" "localhost"
"database" "mysql"
"user" "root"
"pass" ""
//"port" ""
and i have this error



L 04/14/2010 - 12:134: [l4d_stats.smx] Failed to update encoding to UTF8: near "SET": syntax error
L 04/14/2010 - 12:134: [SM] Native "PrintToConsole" reported: Client index 18284786 is invalid
L 04/14/2010 - 12:134: [SM] Displaying call stack trace for plugin "l4d_stats.smx":



and now i have try like this :
"Databases"
{
"driver_default" "mysql"

"default"
{
"driver" "default"
"host" "localhost"
"database" "sourcemod"
"user" "root"
"pass" ""
//"timeout" ""
//"port" ""
}

"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}

"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" "root"
"pass" ""
//"timeout" ""
//"port" ""
}


"l4dstats"
{
"driver" "mysql"
"host" "localhost"
"database" "mysql"
"user" "root"
"pass" ""
//"port" ""

and have this error :

L 04/14/2010 - 13:57:59: [SM] Line 45: Section beginning without a matching ending
L 04/14/2010 - 13:57:59: -------- Mapchange to c4m1_milltown_a --------
L 04/14/2010 - 13:57:59: Error log file session closed.
L 04/14/2010 - 13:57:59: [SM] Unable to load plugin "l4d2scores.smx": Native "GameConfGetAddress" was not found
L 04/14/2010 - 13:57:59: [SM] Native "PrintToConsole" reported: Client index 18284786 is invalid
L 04/14/2010 - 13:57:59: [SM] Displaying call stack trace for plugin "l4d_stats.smx":


so now i dont hnow what else to do ! to make it work already !!

Last edited by LordTurbat; 04-14-2010 at 07:09.
LordTurbat is offline
 



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 14:28.


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