Witam. Na serwerze mam zainstalowane amxbans z paczki AMXBANS Stable. Niestety po zbanowaniu gracza, po zrobieniu screenów + ban nigdzie się nie wyświetla informacja o banie, ani w HUD ani w czacie. Ustawione mam w pliku amxbans.cfg żeby pokazywało, ale nie działa. Moduły mam odblokowane
Error logi jakie znalazłem to tylko takie:
L 12/12/2014 - 20:59:32: [MySQL] Invalid info tuple handle: 0 L 12/12/2014 - 20:59:32: [AMXX] Run time error 10 (plugin "amxbans_core.amxx") (native "SQL_Connect") - debug not enabled! L 12/12/2014 - 20:59:32: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
amxbans.cfg
// Plik Konfiguracyjny AMXBans echo [AMXBans] laduje plik amxbans.cfg // Prefix bazy // Nota: Prefiks wpisany w sql.cfg nie jest już używany przez AMXBans amx_sql_prefix "amx" //Używanie oznaczeń gracza na tym serwerze czy na wszystkich? amxbans_flagged_all_server 1 // Wczytywanie adminów // 0 z bazy SQL, 1 = z pliku users.ini, 2 = nie ładuje adminów amxbans_use_admins_file 0 // AMXBans próbuje pobierać Ip automatycznie (Tak, widać ;/) // Możesz ustawić inne iP -np. "<ip>:<port>" amxbans_server_address "91.185.185.122:27042" // Tak naprawdę ten cvar jest niezle pomylony niby chodzi o czas a ustawia własny powód bana // -1 aby wyłaczyć, 0 aby właczyć własny powód bana amxbans_custom_statictime 0 // Wpisz jaka ma byc wyświetlana nazwa serwera na stronie gdy gracz dostanie bana . // np. amxbans_servernick "Mój za***isty serwer" // Pozostaw puste aby czytało domyślna nazwe hosta z server.cfg amxbans_servernick "" // Ustaw 1 / 2 / 3 aby włączyć powiadomienia o debugach w logach. // nie ustawiaj na 3 bo Ci konsole zaspamuje, ustaw 2 bedzie normal amxbans_debug 0 // Nie wpisuj "http://". Plugin sam sobie to wpisze amxbans_complain_url "cs.piotrkowianie.com" // Ustaw na 1 aby mapa była pokazywana w nazwie serwera amxbans_add_mapname_in_servername 1 // Ustaw na 1 aby w czacie HLSW był pokazywany komunikat o banie amxbans_show_in_hlsw 1 // Pokazuje zielony napis w hud, w lewym górnym rogu, w przypadku bana amxbans_show_hud_messages 1 // Ustawia jaka flaga odpowiada za najwyższy czas bana jaki może ustawić admina. amxbans_higher_ban_time_admin "n" // Ustawia jaka flaga odpowiada za to aby nie był pokazywany nick admina który zbanował gracza amxbans_admin_mole_access "r" // Jeśli admin ma ustawiony admin_mole_access, ma pokazywać jego nick przy zbanowanym graczu? amxbans_show_name_evenif_mole 1 // Pokazuje adminowi w chacie czy gracz był wczesniej zbanowany, 0 aby wyłączyć amxbans_show_prebanned 1 // Ile razy powiadamia admina o wcześniejszym banie gracza amxbans_show_prebanned_num 2 // Obecnie nie wiadomo // Tak napisali w oryginale :D amxbans_default_ban_reason unknown // Czy można banować w przypadku gdy gracz się rozłaczy . 1 aby właczyć 0 aby wyłaczyc // Jest to na koncu menu admina, Menu Rozłączeń amxbans_ban_evenif_disconnected 1 // Czasy oznakowan w menu amx_setflagtimes "1 h" "4 h" "10 h" "1 d" "1 w" "4 w" "12 w" "0" // Długości banów dla adminów z flagą -d, ustaw najwieksze jakie mają byc przy komendzie "amxbans_consolebanmax" // UWAGA: ustawiaj wartosci od NAJMNIEJSZEJ do NAJWIĘKSZEJ . Mozesz wybrac 14 wartości // "0 m" = PERM // Wartosci jakich mozesz użyć : // 1 - 59 dla flagi m to minuty // 1 - 23 dla flagi h to godziny // 1 - 6 dla flagi d to dni // dla flagi w sa tygodnie // Przykłady: // "5 m" to 5 minut // "1 h" to 1 godzina // "1 d" to 1 dzień // "1 w" to 1 tydzień amx_setlowbantimes "5 m" "30 m" "1 h" "3 h" "10 h" "1 d" // Długości banów dla adminów z flagą -n i -d // UWAGA:ustawiaj wartosci od NAJMNIEJSZEJ do NAJWIĘKSZEJ . Mozesz wybrac 14 wartości // "0 m" = PERM // Wartosci jakich mozesz użyć : // 1 - 59 dla flagi m to minuty // 1 - 23 dla flagi h to godziny // 1 - 6 dla flagi d to dni // dla flagi w sa tygodnie // Przykłady: // "5 m" to 5 minut // "1 h" to 1 godzina // "1 d" to 1 dzień // "1 w" to 1 tydzień amx_sethighbantimes "5 m" "30 m" "1 h" "3 h" "1 d" "1 w" "0 m" /********************AMXBans: Freeze ****************************************/ // plugin amxbans_freeze (tzw. Zamrażający) // "a" = zamraża (nie możesz się ruszyć) // "b" = nie mozesz uzyc broni // "c" = blokuje czat // "d" = gracz swieci na czerwono amxbans_freeze_mode "abcd" // Czas pomiedzy serwerem gry a baza danych // Moze byc ujemny // Jezeli 0 ustawia automatycznie amxbans_time_offset "0" // [En] Automatycznie robi screena przy banie amxbans_snapshot "1" // Typ Bana // "0" - wybiera automatycznie // "1" - na IP // "2" - na SteamID amxbans_bantype "0" // Definiuje czy sprawdzać graczy po flagach // Włącza - "1" / Wyłącza - "0" amxbans_check_flag "1" // Włącza - 1 / wyłącza - 0 historie banow amxbans_history "1" // Plik konfiguracyjny - ECHO echo [AMXBans] amxbans.cfg zostal zaladowany | AMXX.PL | Wersja PL - Szyfrant i MisieQ
amxx.cfg
// AMX Mod X Configuration File echo Executing AMX Mod X Configuration File // Default access for all non admin players (see users.ini for access details) // // Default value: "z" amx_default_access "z" // Name of setinfo which should store a password on a client (you should change this) // Note: Always prefix the field with an underscore (aka: "_") // (Example: setinfo _pw "password") // // Default value: "_pw" amx_password_field "_pw" // Mode of logging to a server // 0 - disable logging, players won't be checked (and access won't be set) // 1 - normal mode which obey flags set in accounts // 2 - kick all players not on list // // Default value: 1 amx_mode 1 // Show admins activity // 0 - disabled // 1 - show without admin name // 2 - show with name // // Default value: 2 amx_show_activity 0 // Frequency in seconds and text of scrolling message // // Default value: "Welcome to %hostname% -- This server is using AMX Mod X" 600 amx_scrollmsg "Welcome to %hostname% -- This server is using AMX Mod X" 600 // Center typed colored messages (last parameter is a color in RRRGGGBBB format) // // Default values: "Welcome to %hostname%" "000255100" // "This server is using AMX ModX\nVisit http://www.amxmodx.org" "000100255" amx_imessage "Welcome to %hostname%" "000255100" amx_imessage "This server is using AMX Mod X\nVisit http://www.amxmodx.org" "000100255" // Frequency in seconds of colored messages // // Default value: 180 amx_freq_imessage 180 // Ban times for the main ban menu (amx_banmenu) // Use 0 for permanent ban // Default values: 0 5 10 15 30 45 60 amx_plmenu_bantimes 0 5 10 15 30 45 60 // Slap damage amounts for the main slap menu (amx_slapmenu) // Slay is automaticall inserted as the first option // Default values: 0 1 5 amx_plmenu_slapdmg 0 1 5 // Set in seconds how fast players can chat (chat-flood protection) // // Default value: 0.75 amx_flood_time 0.75 // Amount of slots to reserve. // // Default value: 0 amx_reservation 0 // If you set this to 1, you can hide slots on your server. // If server "full" of public slots and slots hidden, you must manually connect with connect console command // // Default value: 0 amx_hideslots 0 // Displaying of time remaining // a - display white text on bottom // b - use voice // c - don't add "remaining" (only in voice) // d - don't add "hours/minutes/seconds" (only in voice) // e - show/speak if current time is less than this set in parameter // // Default value: "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11" amx_time_display "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11" // Announce "say thetime" and "say timeleft" with voice, set to 0 to disable. // // Default value: 1 amx_time_voice 1 // Minimum delay in seconds between two voting sessions // // Default value: 10 amx_vote_delay 10 // How long voting session goes on // // Default value: 10 amx_vote_time 10 // Display who votes for what option, set to 0 to disable, 1 to enable. // // Default value: 1 amx_vote_answers 1 // Some ratios for voting success // Default value: 0.40 amx_votekick_ratio 0.40 // Default value: 0.40 amx_voteban_ratio 0.40 // Default value: 0.40 amx_votemap_ratio 0.40 // Default value: 0.02 amx_vote_ratio 0.02 // Max. time to which map can be extended // // Default value: 90 amx_extendmap_max 90 // Step for each extending // // Default value: 15 amx_extendmap_step 15 // If you set this to 0, clients cannot chose their language, instead they use // whatever language the server is configured to use. // // Default value: 1 amx_client_languages 1 // Plugin Debug mode // 0 - No debugging (garbage line numbers) // 1 - Plugins with "debug" option in plugins.ini are put into debug mode // 2 - All plugins are put in debug mode // Note - debug mode will affect JIT performance // // Default value: 1 amx_debug 1 // Plugin MultiLingual Debug // To debug a language put its 2 letter code between quotes ("en", "de", etc) // "" means disabled // // Default value: "" amx_mldebug "" // // Beginning of Counter-Strike package specific configurations. // // Rank mode // 0 - by nick // 1 - by authid // 2 - by ip // // Default value: 1 csstats_rank 0 // Max size of the stats file // // Default value: 3500 csstats_maxsize 15000 // Whether or not to rank bots with csstats - set to 1 to rank bots, 0 otherwise. // // Default value: 0 csstats_rankbots 0 // Duration of HUD-statistics // // Default value: 12.0 amx_statsx_duration 12.0 // HUD-statistics display limit relative round freeze end // Negative time will clear the HUD-statstics before the round freeze time has ended // // Default value: -2.0 amx_statsx_freeze -2.0