Hello everyone.
Yesterday I had a little problem with my CS:GO server.
On the store plugin by zephyrus, I had set it up to have to "N" tag as being store admin but wasn't able to give my admin with "N" tag on groups the access to it.
Went to search online and I read to add the store to the databases.cfg.
Well I did, and this started to happen. Even after undoing the changes, it still gives this errors on server console, and both the weapons and the gloves plugin are not working.
Code:
27/2020 - 12:19:11: [weapons.smx] Database failure: Could not find database conf "storage-local"
L 03/27/2020 - 12:19:11: [chat-processor.smx] Message formats generated for game 'csgo'.
L 03/27/2020 - 12:19:11: [chat-processor.smx] Successfully hooked a SayText2 chat hook.
L 03/27/2020 - 12:19:11: [gloves.smx] Database failure: Could not find database conf "storage-local"
L 03/27/2020 - 12:19:11: [SM] Exception reported: Failed to connect to SQL database. Error: Could not find database conf "storage-local"
L 03/27/2020 - 12:19:11: [SM] Blaming: store.smx
L 03/27/2020 - 12:19:11: [SM] Call stack trace:
L 03/27/2020 - 12:19:11: [SM] [0] SetFailState
L 03/27/2020 - 12:19:11: [SM] [1] Line 2110, store.sp::SQLCallback_Connect
L 03/27/2020 - 12:19:11: [SM] [3] SQL_TConnect
L 03/27/2020 - 12:19:11: [SM] [4] Line 670, store.sp::OnConfigsExecuted
This is my databases.cfg
Code:
"Datebases"
{
"driver_default" "default"
// When specifying "host", you may use an IP address, a hostname, or a socket file path
"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"
}
}
Can anyone help me out?
Thanks!