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

N1G-CS:S-RANK - CS:S Ranking with optional Webinterface


Post New Thread Reply   
 
Thread Tools Display Modes
LumiStance
AlliedModders Donor
Join Date: Jan 2009
Location: Northern California
Old 12-15-2009 , 21:34   Re: N1G-CS:S-RANK - CS:S Ranking with optional Webinterface
Reply With Quote #111

Mod to delete players by steam_id

This tweak adds sm_stats_delete which allows you to remove a player's stats from the database.

[SM] Usage: sm_stats_delete "steam_id"

Don't forget the double quotes.
Attached Files
File Type: sp Get Plugin or Get Source (n1g-css-stats.sp - 433 views - 57.9 KB)
LumiStance is offline
roof
Member
Join Date: Feb 2010
Old 05-27-2010 , 09:31   Re: N1G-CS:S-RANK - CS:S Ranking with optional Webinterface
Reply With Quote #112

Hello,

I want to install the "CS:S Ranking with optional Webinterface"

Plugin.

But i can't load it. THE ERROR MESSAGE:

Code:
12:11:33 sm plugins reload n1g-css-stats
12:11:33 Failed to connect: [2002]: Can't connect to local MySQL server   through socket '/tmp/mysql.sock' (2)
12:11:33 L 05/27/2010 - 11:51:57: [SM] Native "SQL_TQuery" reported:   Invalid database Handle 0 (error: 4)
12:11:33 L 05/27/2010 - 11:51:57: [SM] Displaying call stack trace for   plugin "n1g-css-stats.smx":
It says this is not the server has access to my MySQL database.

But I have everything entered correctly. Only at the port: timeout and I'm not sure.


Code:
"cssstats"
    {
        "driver"            "mysql"
        "host"                "localhost"
        "database"            "usr_XXXX_1"
        "user"                "My USR Name"
        "pass"                "MY db PASS
        //"timeout"            "0"  ???? is   that right???
        "port"            "3306"    ???? is   that right???
    }  

Thank you for your
replys
roof is offline
psychonic

BAFFLED
Join Date: May 2008
Old 05-27-2010 , 09:34   Re: N1G-CS:S-RANK - CS:S Ranking with optional Webinterface
Reply With Quote #113

Quote:
Originally Posted by roof View Post
Code:
12:11:33 sm plugins reload n1g-css-stats
12:11:33 Failed to connect: [2002]: Can't connect to local MySQL server   through socket '/tmp/mysql.sock' (2)
12:11:33 L 05/27/2010 - 11:51:57: [SM] Native "SQL_TQuery" reported:   Invalid database Handle 0 (error: 4)
12:11:33 L 05/27/2010 - 11:51:57: [SM] Displaying call stack trace for   plugin "n1g-css-stats.smx":
It is possible that '/tmp/mysql.sock' is not the correct path to the mysql socket on your system. You can change "host" in databases.cfg from "localhost" to a correct socket file path.
psychonic is offline
roof
Member
Join Date: Feb 2010
Old 05-28-2010 , 05:20   Re: N1G-CS:S-RANK - CS:S Ranking with optional Webinterface
Reply With Quote #114

yeah... but I have used the same data I used for the webinterface. And at the webinterface you go.
roof is offline
khan0412
New Member
Join Date: Nov 2012
Old 11-21-2012 , 04:20   Re: N1G-CS:S-RANK - CS:S Ranking with optional Webinterface
Reply With Quote #115

can i output the ranks to a text file?
khan0412 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 11:43.


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