mam problem. Z dnia na dzień przestała działać klasa i amxbans. Tak jak by nie mogło się połączyć z bazami danych. Oddzielna baza danych dla DIABLO, a oddzielna dla AMXBANS.
Wiecie może w czym leży problem? Rozumiem, żebym coś instalował, ale nic nie istalowałem, padło samo z siebie.
Dodam, że posiadam inne serwery i na nich AMXBANS działa normalnie.
Wersja AMXBANS: GMAMXBANS 1.4 DPROTO
Wersję AMXMODX: 1.8.2
Wersję serwera: DPROTO
Logi:
L 03/02/2011 - 16:11:04: -------- Mapchange to de_dust2 -------- L 03/02/2011 - 16:11:06: Invalid multi-lingual line (file "cstrike/addons/amxmodx/data/lang/warmuppro.txt" line 1) L 03/02/2011 - 16:11:06: Invalid multi-lingual line (file "cstrike/addons/amxmodx/data/lang/screen_message.txt" line 1) L 03/02/2011 - 16:11:06: [AMXX] Failed to open dictionary file: cstrike/addons/amxmodx/data/lang/amx_nmap.txt L 03/02/2011 - 16:17:26: [amxbans_main.amxx] [AMXBans] Polaczenie nie powiodlo sie! L 03/02/2011 - 16:17:26: [amxbans_main.amxx] [AMXBans] Blad zapytania , Miejsce: 1 L 03/02/2011 - 16:17:26: [amxbans_main.amxx] [AMXBans] Wiadomosc: Can't connect to MySQL server on '178.19.106.122' (110) (2003) L 03/02/2011 - 16:17:26: [amxbans_main.amxx] [AMXBans] Raport zapytania: SELECT `motd_delay` FROM `amx_serverinfo` WHERE address = 'IP SERWERA' L 03/02/2011 - 16:20:35: [amxbans_main.amxx] [AMXBans] Polaczenie nie powiodlo sie! L 03/02/2011 - 16:20:35: [amxbans_main.amxx] [AMXBans] Blad zapytania , Miejsce: 5 L 03/02/2011 - 16:20:35: [amxbans_main.amxx] [AMXBans] Wiadomosc: Can't connect to MySQL server on '178.19.106.122' (110) (2003) L 03/02/2011 - 16:20:35: [amxbans_main.amxx] [AMXBans] Raport zapytania: L 03/02/2011 - 16:20:35: [amxbans_main.amxx] [AMXBans] Nie znaleziono powodow banow w bazie danych. Zaladowano standardowe. L 03/02/2011 - 16:23:44: [amxbans_main.amxx] [AMXBans] Polaczenie nie powiodlo sie! L 03/02/2011 - 16:23:44: [amxbans_main.amxx] [AMXBans] Blad zapytania , Miejsce: 17 L 03/02/2011 - 16:23:44: [amxbans_main.amxx] [AMXBans] Wiadomosc: Can't connect to MySQL server on '178.19.106.122' (110) (2003) L 03/02/2011 - 16:23:44: [amxbans_main.amxx] [AMXBans] Raport zapytania: L 03/02/2011 - 16:26:54: [amxbans_main.amxx] [AMXBans] Polaczenie nie powiodlo sie! L 03/02/2011 - 16:26:54: [amxbans_main.amxx] [AMXBans] Blad zapytania , Miejsce: 16 L 03/02/2011 - 16:26:54: [amxbans_main.amxx] [AMXBans] Wiadomosc: Can't connect to MySQL server on '178.19.106.122' (110) (2003) L 03/02/2011 - 16:26:54: [amxbans_main.amxx] [AMXBans] Raport zapytania: L 03/02/2011 - 16:30:03: [amxbans_main.amxx] [AMXBans] Polaczenie nie powiodlo sie! L 03/02/2011 - 16:30:03: [amxbans_main.amxx] [AMXBans] Blad zapytania , Miejsce: 17 L 03/02/2011 - 16:30:03: [amxbans_main.amxx] [AMXBans] Wiadomosc: Can't connect to MySQL server on '178.19.106.122' (110) (2003) L 03/02/2011 - 16:30:03: [amxbans_main.amxx] [AMXBans] Raport zapytania: L 03/02/2011 - 16:33:12: [amxbans_main.amxx] [AMXBans] Polaczenie nie powiodlo sie! L 03/02/2011 - 16:33:12: [amxbans_main.amxx] [AMXBans] Blad zapytania , Miejsce: 17 L 03/02/2011 - 16:33:12: [amxbans_main.amxx] [AMXBans] Wiadomosc: Can't connect to MySQL server on '178.19.106.122' (110) (2003) L 03/02/2011 - 16:33:12: [amxbans_main.amxx] [AMXBans] Raport zapytania:
amxbans.cfg:
// // [En] File location: $moddir/addons/amxmodx/configs/amxbans.cfg echo [AMXBans] Запуск amxbans.cfg // [En] NOTE: The Prefix defined in your sql.cfg is NOT used for AMXBans anymore!!! amx_sql_prefix "amx" // [En] Use the flagging only for this Server, or for all servers? amxbans_flagged_all_server 1 // [En] How AMXBans should handle the admins // [En] 0=sql, 1=users.ini, 2=load no admins amxbans_use_admins_file 0 // [En] AMXBans trys to get the address from the server automatically. // [En] You can set a different one here - ex. "<ip>:<port>" amxbans_server_address "IP SERWERA" // [En] Number of players in the Disconnected Menu amxbans_discon_players_saved 10 // [En] Bantime to use for custom banreasons, if a user has static bantime <minutes> // [En] -1 to disable custom reasons amxbans_custom_statictime -1 // [En] Set this cvar to what the adminname should be on the webpages, if the server make the ban. // [En] Ie. amxbans_servernick "My Great server" // [En] Leave emty if you want to use the default hostname from server.cfg amxbans_servernick "" // [En] Set this to 1 / 2 / 3 to enable debug messages from amxbans to amxx logs. // [En] with debug 3 you get the most output, but a bug can flood your logs. 2 should be ok normally amxbans_debug 0 // [En] Don't use http:// in this cvar. The url will be shown to banned players in the console. amxbans_complain_url "www.cs.powerfm.pl" // [En] Set this to 1 if you want the map name to show in the DB. amxbans_add_mapname_in_servername 1 // [En] If you want to see ban announcments in the HLSW chat, set this to 1 amxbans_show_in_hlsw 1 // [En] Print green hudmessages on the top left when banning amxbans_show_hud_messages 1 // [En] What flag should admins have to get the high ban times. amxbans_higher_ban_time_admin "n" // [En] What flag should admins have to NOT get their Nick printed when banning/Unbanning amxbans_admin_mole_access "r" // [En] If an admin has the admin_mole_access, should his name be shown when he bans? amxbans_show_name_evenif_mole 1 // [En] Show if a player has been banned before as amx_chat to admins. 0 to disable amxbans_show_prebanned 1 // [En] How many previous offences does the player needs, to be notified in the amx_chat? amxbans_show_prebanned_num 2 // [En] Currently not known amxbans_default_ban_reason unknown // [En] To be able to ban players not in the server. 1 enabled and 0 disabled. amxbans_ban_evenif_disconnected 1 // [En] Flagtimes, like the bantimes below amx_setflagtimes "1 h" "4 h" "10 h" "1 d" "1 w" "4 w" "12 w" "0" // [En] Example: // [En] "5 m" is 5 minutes // [En] "1 h" is 1 hour // [En] "1 d" is 1 day // [En] "1 w" is 1 week amx_setlowbantimes "0m" "5 m" "15 m" "30 m" "1 h" "3 h" "10 h" "1 d" "3 d" "5 d" "1 w" "2 w" // [En] Example: // [En] "5 m" is 5 minutes // [En] "1 h" is 1 hour // [En] "1 d" is 1 day // [En] "1 w" is 1 week amx_sethighbantimes ""0m" "5 m" "15 m" "30 m" "1 h" "3 h" "10 h" "1 d" "3 d" "5 d" "1 w" "2 w" /*********************************************************************************/ // [En] 3rd party amxbans plugins // [En] needs the amxbans_freeze plugin // // "a" = freeze // "b" = strip weapons // "c" = block chat // "d" = player glow red (not testet) amxbans_freeze_mode "abc" /*********************************************************************************/ // [En] AMXBans configuration file echo echo [AMXBans] amxbans.cfg успешно выполнен!
modules.ini:
mysql sqlite fun engine fakemeta geoip sockets regex nvault cstrike csx hamsandwich netdb
sql.cfg:
// SQL configuration file // File location: $moddir/addons/amxmodx/configs/sql.cfg // *NOTE* Linux users may encounter problems if they specify "localhost" instead of "127.0.0.1" // We recommend using your server IP address instead of its name // *NOTE* amx_sql_type specifies the DEFAULT database type which admin.sma will use. amx_sql_host "178.19.106.122" amx_sql_user "powerfm_diablo2" amx_sql_pass "chciałbyś wiedzieć <img src='http://img.amxx.pl/public/style_emoticons/<#EMO_DIR#>/smile.gif' class='bbc_emoticon' alt=':)' />)" amx_sql_db "powerfm_diablo2" amx_sql_table "bany" amx_sql_type "mysql"