Mam problem z AmxBans, otóż crashuje on serwer przy zmianie mapy. Kiedy wyłączam dwa pluginy od amxbansa i włączę podstawowy admin.amxx
amxbans_core.amxx amxbans_main.amxxserwer śmiga aż miło, kiedy zaś wyłączę admin.amxx i włączę z powrotem amxbansa znów zaczynają się problemy. Próbowałem już kilku metod od wyłączania wszystkich pluginów po usuwanie wszystkich z pliku users.ini
Wersja AmxBans: GM 1.5.1
Wersja AMXMODX: 1.8.1
Wersja serwera: Steam/NS
error_log:
Spoiler
L 07/03/2012 - 09:46:38: Start of error session. L 07/03/2012 - 09:46:38: Info (map "de_clear") (file "addons/amxmodx/logs/error_20120703.log") L 07/03/2012 - 09:46:38: [MySQL] Thread worker was unable to start. L 07/03/2012 - 09:46:38: [AMXX] Displaying debug trace (plugin "amxbans_main.amxx") L 07/03/2012 - 09:46:38: [AMXX] Run time error 10: native error (native "SQL_ThreadQuery") L 07/03/2012 - 09:46:38: [AMXX] [0] check_flag.inl::check_flagged (line 36) L 07/03/2012 - 09:46:38: [AMXX] [1] check_player.inl::check_player_ (line 100) L 07/03/2012 - 10:34:09: Start of error session. L 07/03/2012 - 10:34:09: Info (map "de_inferno") (file "addons/amxmodx/logs/error_20120703.log") L 07/03/2012 - 10:34:09: [AMXX] Run time error 4 (plugin "xredirect.amxx") - debug not enabled! L 07/03/2012 - 10:34:09: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes). L 07/03/2012 - 10:53:03: [MySQL] Thread worker was unable to start. L 07/03/2012 - 10:53:03: [AMXX] Displaying debug trace (plugin "amxbans_main.amxx") L 07/03/2012 - 10:53:03: [AMXX] Run time error 10: native error (native "SQL_ThreadQuery") L 07/03/2012 - 10:53:03: [AMXX] [0] check_flag.inl::check_flagged (line 36) L 07/03/2012 - 10:53:03: [AMXX] [1] check_player.inl::check_player_ (line 100) L 07/03/2012 - 11:13:51: Start of error session. L 07/03/2012 - 11:13:51: Info (map "de_kabul_32") (file "addons/amxmodx/logs/error_20120703.log") L 07/03/2012 - 11:13:51: [MySQL] Thread worker was unable to start. L 07/03/2012 - 11:13:51: [AMXX] Displaying debug trace (plugin "amxbans_main.amxx") L 07/03/2012 - 11:13:51: [AMXX] Run time error 10: native error (native "SQL_ThreadQuery") L 07/03/2012 - 11:13:51: [AMXX] [0] check_flag.inl::check_flagged (line 36) L 07/03/2012 - 11:13:51: [AMXX] [1] check_player.inl::check_player_ (line 100) L 07/03/2012 - 12:17:51: Start of error session. L 07/03/2012 - 12:17:51: Info (map "de_dust2_b") (file "addons/amxmodx/logs/error_20120703.log") L 07/03/2012 - 12:17:51: [AMXX] Run time error 4 (plugin "xredirect.amxx") - debug not enabled! L 07/03/2012 - 12:17:51: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes). L 07/03/2012 - 13:14:06: Start of error session. L 07/03/2012 - 13:14:06: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20120703.log") L 07/03/2012 - 13:14:06: [AMXX] Run time error 4 (plugin "xredirect.amxx") - debug not enabled! L 07/03/2012 - 13:14:06: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes). L 07/03/2012 - 13:19:31: [AMXX] Run time error 4 (plugin "xredirect.amxx") - debug not enabled! L 07/03/2012 - 13:19:31: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes). L 07/03/2012 - 13:19:34: [AMXX] Run time error 4 (plugin "xredirect.amxx") - debug not enabled! L 07/03/2012 - 13:19:34: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes). L 07/03/2012 - 14:05:07: Start of error session. L 07/03/2012 - 14:05:07: Info (map "de_nuke") (file "addons/amxmodx/logs/error_20120703.log") L 07/03/2012 - 14:05:07: [MySQL] Thread worker was unable to start. L 07/03/2012 - 14:05:07: [AMXX] Displaying debug trace (plugin "amxbans_main.amxx") L 07/03/2012 - 14:05:07: [AMXX] Run time error 10: native error (native "SQL_ThreadQuery") L 07/03/2012 - 14:05:07: [AMXX] [0] check_flag.inl::check_flagged (line 36) L 07/03/2012 - 14:05:07: [AMXX] [1] check_player.inl::check_player_ (line 100) L 07/03/2012 - 14:05:07: [MySQL] Thread worker was unable to start. L 07/03/2012 - 14:05:07: [AMXX] Displaying debug trace (plugin "amxbans_main.amxx") L 07/03/2012 - 14:05:07: [AMXX] Run time error 10: native error (native "SQL_ThreadQuery") L 07/03/2012 - 14:05:07: [AMXX] [0] check_flag.inl::check_flagged (line 36) L 07/03/2012 - 14:05:07: [AMXX] [1] check_player.inl::check_player_ (line 100) L 07/03/2012 - 14:05:07: [MySQL] Thread worker was unable to start. L 07/03/2012 - 14:05:07: [AMXX] Displaying debug trace (plugin "amxbans_main.amxx") L 07/03/2012 - 14:05:07: [AMXX] Run time error 10: native error (native "SQL_ThreadQuery") L 07/03/2012 - 14:05:07: [AMXX] [0] check_flag.inl::check_flagged (line 36) L 07/03/2012 - 14:05:07: [AMXX] [1] check_player.inl::check_player_ (line 100)
logi:(proszę zwrócić uwagę kiedy zmieniłem pierwszy raz mapę nie było amxbansa tylko admin.amxx, przy drugiej zmianie na aztec_mini już włączyłem amxbansa i jak widać następuje crash i po restarcie serwera mapa zmienia się na de_inferno)
Spoiler
L 07/03/2012 - 16:35:20: [mapsmenu.amxx] Cmd: "Seerq.<54><STEAM_0:1:40842902><>" changelevel "de_aztec_mini" L 07/03/2012 - 16:35:22: -------- Mapchange to de_aztec_mini -------- L 07/03/2012 - 16:35:22: [alt_end_round_sounds.amxx] --- L 07/03/2012 - 16:35:22: [alt_end_round_sounds.amxx] Wczytywanie pliku: "addons/amxmodx/configs/roundsound.ini" L 07/03/2012 - 16:35:22: [alt_end_round_sounds.amxx] --- L 07/03/2012 - 16:35:22: [alt_end_round_sounds.amxx] [ Loading 4 CTs Sounds ] L 07/03/2012 - 16:35:22: [alt_end_round_sounds.amxx] - sound/misc/uftt/103.mp3 L 07/03/2012 - 16:35:22: [alt_end_round_sounds.amxx] - sound/misc/uftt/104.mp3 L 07/03/2012 - 16:35:22: [alt_end_round_sounds.amxx] - sound/misc/uftt/108.mp3 L 07/03/2012 - 16:35:22: [alt_end_round_sounds.amxx] - sound/misc/uftt/109.mp3 L 07/03/2012 - 16:35:22: [alt_end_round_sounds.amxx] --- L 07/03/2012 - 16:35:22: [alt_end_round_sounds.amxx] [ Loading 3 Ts Sounds ] L 07/03/2012 - 16:35:22: [alt_end_round_sounds.amxx] - sound/misc/ufct/112.mp3 L 07/03/2012 - 16:35:22: [alt_end_round_sounds.amxx] - sound/misc/ufct/113.mp3 L 07/03/2012 - 16:35:22: [alt_end_round_sounds.amxx] - sound/misc/ufct/118.mp3 L 07/03/2012 - 16:35:22: [alt_end_round_sounds.amxx] --- L 07/03/2012 - 16:35:22: [xredirect.amxx] Zaladowano serwer DeathRun (78.46.47.198:27022) L 07/03/2012 - 16:35:22: [xredirect.amxx] ERROR: potrzebujesz conajmniej 2 serwerow w liscie L 07/03/2012 - 16:35:22: [xredirect.amxx] BLAD: Wlasny serwer nie zsotal poprawnie rozpoznany, plugin nie bedzie dzialal prawidlowo L 07/03/2012 - 16:35:22: [amxbans_core.amxx] Login: "Seerq.<54><STEAM_0:1:40842902><>" became an admin (account "STEAM_0:1:40842902") (access "bcdefghijklmnopqrstu") (address "83.21.200.83") (nick "//Seerek") (static 0) L 07/03/2012 - 16:35:27: [amxbans_main.amxx] [AMXBans] AMXBans Gm 1.5.1 jest wlaczony L 07/03/2012 - 16:35:32: [amxbans_main.amxx] [AMXBans] Nie znaleziono powodow banow w bazie danych. Zaladowano standardowe. L 07/03/2012 - 16:35:44: [spree.amxx] 8->9 L 07/03/2012 - 16:35:44: [spree.amxx] (2)8->9 L 07/03/2012 - 16:35:45: [spree.amxx] 14->7 L 07/03/2012 - 16:35:45: [spree.amxx] (2)14->7 L 07/03/2012 - 16:35:45: [spree.amxx] 13->10 L 07/03/2012 - 16:35:45: [spree.amxx] (2)13->10 L 07/03/2012 - 16:35:45: [spree.amxx] 10->6 L 07/03/2012 - 16:35:45: [spree.amxx] (2)10->6 L 07/03/2012 - 16:35:49: [adminchat.amxx] Chat: "Seerq.<54><STEAM_0:1:40842902><>" tsay "Uwaga teraz moze byc crash !" L 07/03/2012 - 16:35:50: [spree.amxx] 8->4 L 07/03/2012 - 16:35:50: [spree.amxx] (2)8->4 L 07/03/2012 - 16:35:55: [spree.amxx] 13->14 L 07/03/2012 - 16:35:55: [spree.amxx] (2)13->14 L 07/03/2012 - 16:35:59: [spree.amxx] 13->1 L 07/03/2012 - 16:35:59: [spree.amxx] (2)13->1 L 07/03/2012 - 16:35:59: [mapsmenu.amxx] Cmd: "Seerq.<54><STEAM_0:1:40842902><>" changelevel "de_aztec_mini" L 07/03/2012 - 16:37:05: -------- Mapchange to de_inferno --------
amxbans.cfg:
Spoiler
// Plik Konfiguracyjny AMXBans echo [AMXBans] laduje plik amxbans.cfg // Prefix bazy // Nota: Prefiks wpisany w sql.cfg nie jest juz uzywany przez AMXBans amx_sql_prefix "amx" //Uzywanie oznaczen 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 laduje adminów amxbans_use_admins_file 1 // AMXBans próbuje pobierac Ip automatycznie (Tak, widac ;/) // Mozesz ustawic inne iP -np. "<ip>:<port>" amxbans_server_address "" // Wybierz styl banowanie // 1 (nowy): amx_ban <SteamID lub nick lub #authid lub IP> <Czas w minutach> <Powód> // 0 (stary): amx_ban <czas w minutach> <SteamID albo Nick albo #authid albo IP> <Powód> amxbans_use_newbancmd 1 // Maksymalna liczba graczy w Menu Rozlaczen amxbans_discon_players_saved 10 // Tak naprawdę ten cvar jest niezle pomylony niby chodzi o czas a ustawia wlasny powód bana // -1 aby wylaczyc, 0 aby wlaczyc wlasny powód bana amxbans_custom_statictime 0 // Wpisz jaka ma byc wyswietlana nazwa serwera na stronie gdy gracz dostanie bana . // np. amxbans_servernick "Mój za***isty serwer" // Pozostaw puste aby czytalo domyslna nazwe hosta z server.cfg amxbans_servernick "" // Ustaw 1 / 2 / 3 aby wlaczyc 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 "***" // Ustaw na 1 aby mapa byla pokazywana w nazwie serwera amxbans_add_mapname_in_servername 1 // Ustaw na 1 aby w czacie HLSW byl 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 najwyzszy czas bana jaki moze ustawic admina. amxbans_higher_ban_time_admin "d" // Ustawia jaka flaga odpowiada za to aby nie byl pokazywany nick admina który zbanowal gracza amxbans_admin_mole_access "r" // Jesli admin ma ustawiony admin_mole_access, ma pokazywac jego nick przy zbanowanym graczu? amxbans_show_name_evenif_mole 1 // Pokazuje adminowi w chacie czy gracz byl wczesniej zbanowany, 0 aby wylaczyc amxbans_show_prebanned 1 // Ile razy powiadamia admina o wczesniejszym banie gracza amxbans_show_prebanned_num 2 // Obecnie nie wiadomo // Tak napisali w oryginale <img src='https://amxx.pl/public/style_emoticons/<#EMO_DIR#>/biggrin.png' class='bbc_emoticon' alt=':D' /> amxbans_default_ban_reason unknown // Czy mozna banowac w przypadku gdy gracz sie rozlaczy . 1 aby wlaczyc 0 aby wylaczyc // Jest to na koncu menu admina, Menu Rozlaczen 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" // Dlugosci banów dla adminów z flaga -d, ustaw najwieksze jakie maja byc przy komendzie "amxbans_consolebanmax" // UWAGA: ustawiaj wartosci od NAJMNIEJSZEJ do NAJWIEKSZEJ . Mozesz wybrac 14 wartosci // "0 m" = PERM // Wartosci jakich mozesz uzyc : // 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 // Przyklady: // "5 m" to 5 minut // "1 h" to 1 godzina // "1 d" to 1 dzien // "1 w" to 1 tydzien amx_setlowbantimes "5 m" "30 m" "1 h" "3 h" "10 h" "1 d" // Dlugosci banów dla adminów z flaga -n i -d // UWAGA:ustawiaj wartosci od NAJMNIEJSZEJ do NAJWIEKSZEJ . Mozesz wybrac 14 wartosci // "0 m" = PERM // Wartosci jakich mozesz uzyc : // 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 // Przyklady: // "5 m" to 5 minut // "1 h" to 1 godzina // "1 d" to 1 dzien // "1 w" to 1 tydzien amx_sethighbantimes "5 m" "30 m" "1 h" "3 h" "1 d" "1 w" "0 m" /************* Opcjonalne pluginy AMXBans Start Configu ******************************/ // Opcjonalne pluginy AMXBans // Wymagany plugin amxbans_freeze // // "a" = zamrozenie // "b" = wyrzucenie broni // "c" = blokowanie rozmow // "d" = gracz swieci na czerwono amxbans_freeze_mode "abcd" /************* Opcjonalne pluginy AMXBans: Koniec Configu ******************************/ // Plik konfiguracyjny - ECHO echo [AMXBans] amxbans.cfg zostal zaladowany | AMXX.PL | Wersja PL - Szyfrant i MisieQ
plugins.ini:
Spoiler
; AMX Mod X plugins ; Admin Base - Always one has to be activated admin.amxx ; admin base (required for any admin-related) ;admin_sql.amxx ; admin base - SQL version (comment admin.amxx) ;amxbans_core.amxx ;amxbans_main.amxx ; Basic admincmd.amxx ; basic admin console commands adminhelp.amxx ; help command for admin console commands adminslots.amxx ; slot reservation multilingual.amxx ; Multi-Lingual management ; Menus menufront.amxx ; front-end for admin menus cmdmenu.amxx ; command menu (speech, settings) reasonkicker.amxx // POWODY KICKOW// plmenu.amxx ; players menu (kick, ban, client cmds.) ;telemenu.amxx ; teleport menu (Fun Module required!) mapsmenu.amxx ; maps menu (vote, changelevel) pluginmenu.amxx ; Menus for commands/cvars organized by plugin ; Chat / Messages adminchat.amxx ; console chat commands antiflood.amxx ; prevent clients from chat-flooding the server scrollmsg.amxx ; displays a scrolling message imessage.amxx ; displays information messages adminvote.amxx ; vote commands chat_logger.amxx // Zapisuje chat z serwera ; Map related ;nextmap.amxx ; displays next map in mapcycle ;mapchooser.amxx ; allows to vote for next map timeleft.amxx ; displays time left on map ; Configuration pausecfg.amxx ; allows to pause and unpause some plugins statscfg.amxx ; allows to manage stats plugins via menu and commands ; Counter-Strike ;restmenu.amxx ; restrict weapons menu statsx.amxx ; stats on death or round end (CSX Module required!) ;miscstats.amxx ; bunch of events announcement for Counter-Strike ;stats_logging.amxx ; weapons stats logging (CSX Module required!) ; Enable to use AMX Mod plugins ;amxmod_compat.amxx ; AMX Mod backwards compatibility layer luciaHallucination.amxx ; Custom - Add 3rd party plugins here Inne pluginy...
modules.ini:
Spoiler
;;; ; To enable a module, remove the semi-colon (<img src='https://amxx.pl/public/style_emoticons/<#EMO_DIR#>/wink.png' class='bbc_emoticon' alt=';)' /> in front of its name. ; If it's not here, simply add it its name, one per line. ; You don't need to write the _amxx part or the file extension. ;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; SQL Modules usually need to be enabled manually ;; ;; You can have any number on at a time. Use ;; ;; amx_sql_type in sql.cfg to specify the default ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; mysql ;sqlite vdf ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Put third party modules below here. ;; ;; You can just list their names, without the _amxx ;; ;; or file extension. ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; These modules will be auto-detected and loaded ;; ;; as needed. You do not need to enable them here ;; ;; unless you have problems. ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; fun engine fakemeta geoip sockets regex nvault cstrike csx hamsandwich orpheu
sql.cfg:
Spoiler
// 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 "127.0.0.1" amx_sql_user "root" amx_sql_pass "" amx_sql_db "amx" amx_sql_table "admins" amx_sql_type "mysql" amx_sql_host "k1.unixstorm.org" amx_sql_user "***" amx_sql_pass "***" amx_sql_db "***" amx_sql_table "amx" amx_sql_type "mysql"
Dodam jeszcze, że połączenie pomiędzy bazą a serwerem jest, ale jeżeli kogoś zbanuję na serwerze ta osoba bana dostanie dopiero po pewnej chwili czasem 1min, a czasem w granicach 5.
Pozdrawiam i liczę na pomoc

Użytkownik SEERQ666 edytował ten post 03.07.2012 16:06