Has anyone else had the issue where the plugin would just not find the database config name in databases.cfg?
Code:
L 06/15/2024 - 09:28:21: [SM] Exception reported: Could not find database config "super-paypal-donation"
L 06/15/2024 - 09:28:21: [SM] Blaming: super-paypal-donation.smx
L 06/15/2024 - 09:28:21: [SM] Call stack trace:
L 06/15/2024 - 09:28:21: [SM] [0] SetFailState
L 06/15/2024 - 09:28:21: [SM] [1] Line 150, C:\Users\Arkarr\Documents\GitHub\SM-Super-Paypal-Donation\sourcemod\scripting\super-paypal-donation.sp::DBConnectionResult
My databases.cfg:
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"
}
"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}
}
"tf2stats_redux"
{
"driver" "mysql"
"host" "192.168.100.100"
"database" "tf2stats_redux"
"user" "x"
"pass" "x"
"port" "3306"
}
"super-paypal-donation"
{
"driver" "mysql"
"host" "192.168.100.100"
"database" "webstore_vip"
"user" "x"
"pass" "x"
"timeout" "0"
"port" "3306"
}