SRCDS Steam group


notd_store database ? help
#1
"Databases"
{
"driver_default" "mysql"

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

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


"Databases"
{
"driver_default" "mysql"

"store"
{
"driver" "default"
"host" "localhost"
"database" "store"
"user" "notd"
"pass" "notd"
//"timeout" "0"
//"port" "0"
}
}


thats mine atm it says

L 04/02/2012 - 15:56:50: [notd_store.smx] Database failure: Could not find database conf "store"
Reply
#2
You've got two Databases in that, euh.. Like, you only need to add the "store" section to the already existing one, like this:

Code:
"Databases"
{
"driver_default"     "mysql"

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

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

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

"store"
{
"driver"     "default"
"host"     "localhost"
"database"     "store"
"user"     "notd"
"pass"     "notd"
//"timeout"     "0"
//"port"     "0"
}

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

Reply
#3
thanks but this plugin is buggy.
anybody have a store plugin for counter strike source ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)