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