View Single Post
mcsadler
Junior Member
Join Date: Jan 2015
Old 01-12-2015 , 17:02   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1694

Hi there,

I am hoping someone can help me I'm a bit stuck just now

The webserver side of things seems to be working fine and the website shows the correct pages with no errors. However the dedicated server game doesnt seem to update to the mySQL database. When I chedck the web page it still shows 0 players online and no stats appear to be recorded.

I have edited the databases.cfg file and it looks as follows

"Databases"
{
"driver_default" "mysql"

//when specifying "host", you may use an IP address, a hostname, or a socket file path

"default"
{
"driver" "mysql" (I have tried this as "default")
"host" "127.0.0.1" (I have tried this as localhost)
"database" "l4dstats"
"user" "root" (I did have "l4d")
"pass" "" (This was "l4d2"
//"timeout" "0" (I have tried this uncommented)
"port" "3306" (I have tried this as "0")

There used to be the sqlite database bit at the bottom but I have tried with that included and excluded as I am not using that so it should not be necessary.

I have added the smx plugin to the plugins folder as the instructions say and also added the txt file to the gamedata correct location but I get nothing at all when updating the webpage. Any ideas what is causing the glitch between the game server and the database?

Thanks for any help that you can give me on this

EDIT: The sm_rankinfo command also does not work

Last edited by mcsadler; 01-12-2015 at 17:25. Reason: additional info
mcsadler is offline