Nie wiem co robię źlę, ale nie wyświetla mi banów w SourceBans. Chodzi chyba o konfigurację bo nie łączy się z bazą danych.
Logi:
L 06/01/2013 - 10:20:20: [sourcebans.smx] Database failure: Could not find Database conf "sourcebans". See FAQ: http://sourcebans.net/node/19 L 06/01/2013 - 10:22:25: [sourcebans.smx] Database failure: Could not find Database conf "sourcebans". See FAQ: http://sourcebans.net/node/19 L 06/01/2013 - 10:33:10: [sourcebans.smx] Database failure: Could not find Database conf "sourcebans". See FAQ: http://sourcebans.net/node/19 L 06/01/2013 - 10:20:19: SourceMod error session started L 06/01/2013 - 10:20:19: Info (map "de_dust2") (file "errors_20130601.log") L 06/01/2013 - 10:20:19: [SM] Detected parse error(s) in file "/data/piootrek16/199820.csgo/csgo/addons/sourcemod/configs/databases.cfg" L 06/01/2013 - 10:20:19: [SM] Line 51: Section beginning without a matching ending L 06/01/2013 - 10:20:20: [SM] Plugin encountered error 25: Call was aborted L 06/01/2013 - 10:20:20: [SM] Native "SetFailState" reported: Database failure: Could not find Database conf "sourcebans" L 06/01/2013 - 10:20:20: [SM] Displaying call stack trace for plugin "sourcebans.smx": L 06/01/2013 - 10:20:20: [SM] [0] Line 206, D:\scripting\sourcebans.sp::OnPluginStart() L 06/01/2013 - 10:20:20: [SM] Plugin encountered error 4: Invalid parameter or parameter type L 06/01/2013 - 10:20:20: [SM] Native "SetMenuTitle" reported: Language phrase "Please select a map" not found L 06/01/2013 - 10:20:20: [SM] Displaying call stack trace for plugin "basecommands.smx": L 06/01/2013 - 10:20:20: [SM] [0] Line 85, /home/builds/sourcemod/linux-1.5/build/plugins/basecommands.sp::OnPluginStart() L 06/01/2013 - 10:20:20: [SM] Unable to load plugin "hlstatsx.smx": Native "BfWriteByte" was not found L 06/01/2013 - 10:20:20: [SM] Plugin encountered error 4: Invalid parameter or parameter type L 06/01/2013 - 10:20:20: [SM] Native "SetMenuTitle" reported: Language phrase "Please select a map" not found L 06/01/2013 - 10:20:20: [SM] Displaying call stack trace for plugin "basevotes.smx": L 06/01/2013 - 10:20:20: [SM] [0] Line 122, /home/builds/sourcemod/linux-1.5/build/plugins/basevotes.sp::OnPluginStart() L 06/01/2013 - 10:22:25: Error log file session closed. L 06/01/2013 - 10:22:25: SourceMod error session started L 06/01/2013 - 10:22:25: Info (map "de_dust2") (file "errors_20130601.log") L 06/01/2013 - 10:22:25: [SM] Detected parse error(s) in file "/data/piootrek16/199820.csgo/csgo/addons/sourcemod/configs/databases.cfg" L 06/01/2013 - 10:22:25: [SM] Line 51: Section beginning without a matching ending L 06/01/2013 - 10:22:25: [SM] Plugin encountered error 25: Call was aborted L 06/01/2013 - 10:22:25: [SM] Native "SetFailState" reported: Database failure: Could not find Database conf "sourcebans" L 06/01/2013 - 10:22:25: [SM] Displaying call stack trace for plugin "sourcebans.smx": L 06/01/2013 - 10:22:25: [SM] [0] Line 206, D:\scripting\sourcebans.sp::OnPluginStart() L 06/01/2013 - 10:22:25: [SM] Plugin encountered error 4: Invalid parameter or parameter type L 06/01/2013 - 10:22:25: [SM] Native "SetMenuTitle" reported: Language phrase "Please select a map" not found L 06/01/2013 - 10:22:25: [SM] Displaying call stack trace for plugin "basecommands.smx": L 06/01/2013 - 10:22:25: [SM] [0] Line 85, /home/builds/sourcemod/linux-1.5/build/plugins/basecommands.sp::OnPluginStart() L 06/01/2013 - 10:22:25: [SM] Unable to load plugin "hlstatsx.smx": Native "BfWriteByte" was not found L 06/01/2013 - 10:22:25: [SM] Plugin encountered error 4: Invalid parameter or parameter type L 06/01/2013 - 10:22:25: [SM] Native "SetMenuTitle" reported: Language phrase "Please select a map" not found L 06/01/2013 - 10:22:25: [SM] Displaying call stack trace for plugin "basevotes.smx": L 06/01/2013 - 10:22:25: [SM] [0] Line 122, /home/builds/sourcemod/linux-1.5/build/plugins/basevotes.sp::OnPluginStart() L 06/01/2013 - 10:22:25: [UPDATER] --- BEGIN ERRORS FROM AUTOMATIC UPDATER --- L 06/01/2013 - 10:22:25: [UPDATER] Could not download "http://update.sourcemod.net/update/" L 06/01/2013 - 10:22:25: [UPDATER] Error: The requested URL returned error: 417 L 06/01/2013 - 10:22:25: [UPDATER] --- END ERRORS FROM AUTOMATIC UPDATER --- L 06/01/2013 - 10:33:10: Error log file session closed. L 06/01/2013 - 10:33:10: SourceMod error session started L 06/01/2013 - 10:33:10: Info (map "de_train") (file "errors_20130601.log") L 06/01/2013 - 10:33:10: [SM] Detected parse error(s) in file "/data/piootrek16/199820.csgo/csgo/addons/sourcemod/configs/databases.cfg" L 06/01/2013 - 10:33:10: [SM] Line 51: Section beginning without a matching ending L 06/01/2013 - 10:33:10: [SM] Plugin encountered error 25: Call was aborted L 06/01/2013 - 10:33:10: [SM] Native "SetFailState" reported: Database failure: Could not find Database conf "sourcebans" L 06/01/2013 - 10:33:10: [SM] Displaying call stack trace for plugin "sourcebans.smx": L 06/01/2013 - 10:33:10: [SM] [0] Line 206, D:\scripting\sourcebans.sp::OnPluginStart() L 06/01/2013 - 10:33:10: [SM] Plugin encountered error 4: Invalid parameter or parameter type L 06/01/2013 - 10:33:10: [SM] Native "SetMenuTitle" reported: Language phrase "Please select a map" not found L 06/01/2013 - 10:33:10: [SM] Displaying call stack trace for plugin "basecommands.smx": L 06/01/2013 - 10:33:10: [SM] [0] Line 85, /home/builds/sourcemod/linux-1.5/build/plugins/basecommands.sp::OnPluginStart() L 06/01/2013 - 10:33:10: [SM] Unable to load plugin "hlstatsx.smx": Native "BfWriteByte" was not found L 06/01/2013 - 10:33:10: [SM] Plugin encountered error 4: Invalid parameter or parameter type L 06/01/2013 - 10:33:10: [SM] Native "SetMenuTitle" reported: Language phrase "Please select a map" not found L 06/01/2013 - 10:33:10: [SM] Displaying call stack trace for plugin "basevotes.smx": L 06/01/2013 - 10:33:10: [SM] [0] Line 122, /home/builds/sourcemod/linux-1.5/build/plugins/basevotes.sp::OnPluginStart()
Plik databases.cfg
"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" "sourcebans" { "driver" "mysql" "host" "91.239.67.175" "database" "virt101226_bany" "user" "virt101226_sb" "pass" "XXX" //"timeout" "0" "port" "3306" } }