Raised This Month: $51 Target: $400
 12% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
muukis
Veteran Member
Join Date: Apr 2009
Old 03-19-2010 , 07:07   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #491

Quote:
Originally Posted by xmagicboyx View Post
i did these steps -
  1. [OPTIONAL] Download l4d_stats.txt to /addons/sourcemod/gamedata. If you don't download this, your Rank Vote will be disabled. i do it
  2. Edit your databases.cfg file at /addons/sourcemod/config. Insert "l4dstats" entry with a valid connection info to your Custom Player Stats database. and i not do it i dont know what need to do where write l4dstats? which info? i beginner at SourceMod and i dont know what is datebase help me please
  3. Download compiled plugin (l4d_stats.smx) to /addons/sourcemod/plugins. i do it
so only in step 2 i dont know what to do with the datebase file,
after i did steps 1 and 3 the plugin not work in game and i guess becuase i not edit the datebase file
HERE is an example of that file. You too must do something like that to your databases.cfg file.
__________________
Monster Hunter

Though certainly not superhuman, the man's prowess inspires an excess of whispered rumors. But those rumors remain in the realm of speculation.
muukis is offline
Nitrous
New Member
Join Date: Jan 2010
Old 03-19-2010 , 09:00   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #492

Hello all

I have been trying to set this up on my server, my server is hosted by gameservers and my web host is a free host, it supports everything needed, i have managed to setup the web side of the mod, database created with no errors, site is located at http://l4dstats.me12.co.cc but everytime i alter the database.cfg my server times out, as the host i have tried the above address and me12.co.cc and me12.megabyet.net to no avail, i think it is something to do with the server address i put in remote mysql via cpanel, as i could not put the port number for my server any suggestions?
Nitrous is offline
xmagicboyx
Junior Member
Join Date: Mar 2010
Old 03-19-2010 , 18:02   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #493

still not work...

i replace all my datebase.cfg with it -
Quote:
"Databases"
{
"driver_default" "mysql"

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

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

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

"l4dstats"
{
"driver" "mysql"
"host" "rizingspirit.clanservers.com"
"database" "c712674_l4dstats"
"user" "*****"
"pass" "*****"
}
}
xmagicboyx is offline
crazytina
Member
Join Date: Jan 2010
Old 03-19-2010 , 23:53   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #494

Quote:
Originally Posted by xmagicboyx View Post
still not work...

i replace all my datebase.cfg with it -

this is my informations .. wont work if you use this .. you need your owne


"l4dstats"
{
"driver" "mysql"
"host" "rizingspirit.clanservers.com"
"database" "c712674_l4dstats"
"user" "*****"
"pass" "*****"
}
__________________

crazytina is offline
xmagicboyx
Junior Member
Join Date: Mar 2010
Old 03-20-2010 , 07:08   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #495

i dont know what to write which information and where i can see my information.. i really dont know nohting about the datebase.cfg...

*and i dont have a dedicated server i open my server with command console
xmagicboyx is offline
MarshalZCC
Senior Member
Join Date: Feb 2010
Location: Alberta, Canada
Old 03-20-2010 , 13:54   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #496

What's the easiest way to remove a single player from the statistics, who is not online? This player is banned, so I won't be able to use the menu option that removes a player who is online.
MarshalZCC is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 03-20-2010 , 17:24   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #497

Quote:
Originally Posted by MarshalZCC View Post
What's the easiest way to remove a single player from the statistics, who is not online? This player is banned, so I won't be able to use the menu option that removes a player who is online.
Execute query: delete from players where steamid = 'INSERT PLAYER STEAMID HERE';
__________________
Monster Hunter

Though certainly not superhuman, the man's prowess inspires an excess of whispered rumors. But those rumors remain in the realm of speculation.
muukis is offline
tythefox
Junior Member
Join Date: Mar 2010
Old 03-20-2010 , 23:33   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #498

I'm having trouble getting this working. My database.cfg file is as follows:
Code:
"Databases"
{

    "driver_default"        "mysql"
    
    "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"
    }

    "l4dstats"
    {
        "driver"            "mysql"
        "host"                "tythefox.xfactorservers.com"
        "database"            "tythefox_l4dstats"
        "user"                "tythefox_dbstats"
        "pass"                "******"
        "port"                "3306"
    }
}
I followed the instructions to get the remote SQL access allowed via the cPanel, and everything looks right. However, when I fire up my server I get

Code:
L 03/20/2010 - 23:11:00: [l4d_stats.smx] Failed to connect to database: [2003]: Can't connect to MySQL server on 'tythefox.xfactorservers.com' (10060)
L 03/20/2010 - 23:11:00: [SM] Plugin encountered error 25: Call was aborted
L 03/20/2010 - 23:11:00: [SM] Native "SetFailState" reported: Connecting to database failed. Read error log for further details.
L 03/20/2010 - 23:11:00: [SM] Displaying call stack trace for plugin "l4d_stats.smx":
L 03/20/2010 - 23:11:00: [SM]   [0]  Line 566, /home/groups/alliedmodders/forums/files/5/2/0/8/2/59013.attach::OnPluginStart()
What gives? The RemoteSQL option wouldn't be there if it wasn't enabled, right? I placed the wildcard appropriately, so I don't see why it isn't working. I'm honestly starting to get pissed off, if you can tell me a free MySQL host that performs the required operations, I'd be grateful. '

Thanks.
tythefox is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 03-21-2010 , 04:26   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #499

Quote:
Originally Posted by tythefox View Post
I'm having trouble getting this working. My database.cfg file is as follows:
Code:
"Databases"
{

    "driver_default"        "mysql"
    
    "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"
    }

    "l4dstats"
    {
        "driver"            "mysql"
        "host"                "tythefox.xfactorservers.com"
        "database"            "tythefox_l4dstats"
        "user"                "tythefox_dbstats"
        "pass"                "******"
        "port"                "3306"
    }
}
I followed the instructions to get the remote SQL access allowed via the cPanel, and everything looks right. However, when I fire up my server I get

Code:
L 03/20/2010 - 23:11:00: [l4d_stats.smx] Failed to connect to database: [2003]: Can't connect to MySQL server on 'tythefox.xfactorservers.com' (10060)
L 03/20/2010 - 23:11:00: [SM] Plugin encountered error 25: Call was aborted
L 03/20/2010 - 23:11:00: [SM] Native "SetFailState" reported: Connecting to database failed. Read error log for further details.
L 03/20/2010 - 23:11:00: [SM] Displaying call stack trace for plugin "l4d_stats.smx":
L 03/20/2010 - 23:11:00: [SM]   [0]  Line 566, /home/groups/alliedmodders/forums/files/5/2/0/8/2/59013.attach::OnPluginStart()
What gives? The RemoteSQL option wouldn't be there if it wasn't enabled, right? I placed the wildcard appropriately, so I don't see why it isn't working. I'm honestly starting to get pissed off, if you can tell me a free MySQL host that performs the required operations, I'd be grateful. '

Thanks.
Do you have a console access to your server that hosts your game server? Telnet/shell (Linux) or remote desktop (Win)? You could test your connection from your game server to your db server using the console access, to make sure the username/password, the IP and the port are properly set. You cannot test this properly just by using your Remote SQL client... I think.
__________________
Monster Hunter

Though certainly not superhuman, the man's prowess inspires an excess of whispered rumors. But those rumors remain in the realm of speculation.
muukis is offline
tythefox
Junior Member
Join Date: Mar 2010
Old 03-21-2010 , 22:03   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #500

Quote:
Originally Posted by muukis View Post
Do you have a console access to your server that hosts your game server? Telnet/shell (Linux) or remote desktop (Win)? You could test your connection from your game server to your db server using the console access, to make sure the username/password, the IP and the port are properly set. You cannot test this properly just by using your Remote SQL client... I think.

I don't have access to this kind of feature. Is there any free host out there that can accommodate this addon?
tythefox is offline
Reply



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 20:32.


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