View Single Post
rebbie23
Junior Member
Join Date: May 2009
Old 05-22-2009 , 08:46   Re: [L4D] Player Stats (Co-op) v1.1.1
Reply With Quote #467

when a user types rank in the server this is the error I am getting in console and nothing shows up on the players screen.
can any one tell me what this means?

Quote:
: [SM] Native "SQL_TQuery" reported: Invalid database Handle 0 (error: 4)
: [SM] Displaying call stack trace for plugin "l4d_stats.smx":
: [SM] [0] Line 1549, /home/groups/alliedmodders/forums/files/3/7/5/2/1/41102.attach::cmd_ShowRank()
: [SM] [1] Line 1520, /home/groups/alliedmodders/forums/files/3/7/5/2/1/41102.attach::cmd_Say()
and this is what my databases.cfg looks like (pretty positive this is right)

Quote:
"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" "64.111.119.19"
"database" "robertdcbrown_l4dstats"
"user" "xxxxxx"
"pass" "xxxxx"

}
rebbie23 is offline