Wersja amx Bansa:
AMXBans # Gm 1.5.1 by GmStaff.
- Wersję AMXMODX (1.8.1 )
- Wersję serwera: Dproto 0.9.179
Logs -
-
Spoiler
L 09/29/2012 - 22:59:15: Start of error session.
L 09/29/2012 - 22:59:15: Info (map "de_dust2002") (file "addons/amxmodx/logs/error_20120929.log")
L 09/29/2012 - 22:59:15: [MySQL] Thread worker was unable to start.
L 09/29/2012 - 22:59:15: [AMXX] Displaying debug trace (plugin "amxbans_main.amxx")
L 09/29/2012 - 22:59:15: [AMXX] Run time error 10: native error (native "SQL_ThreadQuery")
L 09/29/2012 - 22:59:15: [AMXX] [0] check_flag.inl::check_flagged (line 36)
L 09/29/2012 - 22:59:15: [AMXX] [1] check_player.inl::check_player_ (line 100)]
L 09/29/2012 - 22:59:15: Info (map "de_dust2002") (file "addons/amxmodx/logs/error_20120929.log")
L 09/29/2012 - 22:59:15: [MySQL] Thread worker was unable to start.
L 09/29/2012 - 22:59:15: [AMXX] Displaying debug trace (plugin "amxbans_main.amxx")
L 09/29/2012 - 22:59:15: [AMXX] Run time error 10: native error (native "SQL_ThreadQuery")
L 09/29/2012 - 22:59:15: [AMXX] [0] check_flag.inl::check_flagged (line 36)
L 09/29/2012 - 22:59:15: [AMXX] [1] check_player.inl::check_player_ (line 100)]
od razu mowie ze nie da sie nic zrobic z plikiem amxbans_main .Pobieralem juz mnóstwo plikow pod 1.5.1 i na kazdym jest tak samo Chodzi o kompilacja nawet jak ten plik jest juz skompilowany i kopiujemy jego zawartosc to ponowna kopilacja tego jest nie mozliwa poniewaz wyskauje error tak to wyglada :
Spoiler
Welcome to the AMX Mod X 1.8.1-300 Compiler. Copyright © 1997-2006 ITB CompuPhase, AMX Mod X Team include/amxbans/init_functions.inl(37) : error 017: undefined symbol "SQL_Error" include/amxbans/init_functions.inl(52) : error 017: undefined symbol "AMXBANS_VERSION" include/amxbans/init_functions.inl(63) : error 017: undefined symbol "AMXBANS_VERSION" include/amxbans/init_functions.inl(63 -- 65) : error 088: number of arguments does not match definition include/amxbans/init_functions.inl(63 -- 65) : error 001: expected token: ",", but found ";" include/amxbans/init_functions.inl(63 -- 65) : fatal error 107: too many error messages on one line Compilation aborted. 6 Errors.
amx.cfg
Spoiler
// 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 2 // 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 [url="http://www.amxmodx.org"]http://www.amxmodx.org"[/url] "000100255" amx_imessage "Welcome to %hostname%" "000255100" amx_imessage "This server is using AMX Mod X\nVisit [url="http://www.amxmodx.org"]http://www.amxmodx.org"[/url] "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 1 // 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 999999 // 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 ///////////////////////////////////////////////////////////////////////////////////// /// // Poniżej tej tabelki możesz dodawać cvary/ustawienia pluginów dodatkowych /// ///////////////////////////////////////////////////////////////////////////////////// /////////////////////////////// // // Minibans - Powody banów: // amx_minibans_reason "Powod Bana 1" amx_minibans_reason "Powod Bana 2" amx_minibans_reason "Powod Bana 3" amx_minibans_reason "Powody banow" amx_minibans_reason "mozesz ustawic" amx_minibans_reason "w pliku amxx.cfg" amx_minibans_reason "Powod Bana 7" /////////////////////////////// // // Minibans - Konfiguracja // amx_minibans_bantimes 0 30 60 10080 amx_minibans_forum "http://csparafia.pl" amx_ss_max 5 //ile można maksymalnie zrobić sreenów graczowi amx_ss_interval 1.0 //czas jaki musi minąc aby wykonać następny sreen amx_ss_design 3 //display options amx_ss_site www.CsParafia.pl //strona/forum na jakim trzeba dodać sreena aby został zdjęty ban. 0 - ** Screenshot zrobiony graczowi: <nick gracza> przez: <nick adma> ** - wiad. do gracza robionemu mu ss 1 - ** Screenshot zrobiony graczowi: <nick gracza> przez: <nick adma> (<godzina i data>) ** - wiad. do gracza robionemu mu ss 2 - ** TIME: - <data i godz.> ** - pokazuje godzinę ss w hud 3 - ** Screenshot zrobiony graczowi: <nick gracza> przez: <nick adma> ** - wiad. do wszystkich 4 - ** Screenshot zrobiony graczowi: <nick gracza> przez: <nick adma> (<godzina i data>) ** - wiad. do wszystkich // Ustawienia Team_limiter tl_limit_graczy 0 // limit graczy (def: 0) tl_ktory_team_ograniczac 0 // ktora druzyne ograniczac 0 - T; 1 - CT (def: 0) ##############kill_a################# Kod: Cvary: amx_killassist_enable 1 <0/1/2 (default: 1) Aktywacja moda: 0 = Wylaczony / 1 = Wlaczony z wiadomosciami o smierci / 2 = Wlaczony z wiadomosciami na HUDzie. amx_killassist_mindamage 50 <1-9999 (standardowo: 50) Minimalna wartosc hp jaka musi zabrac kolega z teamu zeby zostal doliczony jako zabojca. amx_killassist_givefrags 1 <0/1 (default: 1) Czy dodawac fragi za asyste w zabojstwie amx_killassist_givemoney 300 <0-16000 (default: 300) Czy dawac asystentowi pieniadze ze killa, 0 wylaczone, 1 lub wiecej ustawia ile pieniedzy ma dostac asystent. amx_killassist_onlyalive 0 <0/1 (default: 0) Tylko zywi gracze beda doliczani jako asystenci 0 wylaczone 1 wlaczone vm_alives 0 vm_deads 2 //////////////////////// Battlefield 2: Rank Mod //////////////////////// bf2_active 1 //(1|0) - Wlacz/wyłącz Plugin (Standardowo 1 - Wlaczony) bf2_badges 1 //(1|0) - Wlacz/wyłącz system odznak (Standardowo 1 - Wlaczone) bf2_badgepowers 0 //(1|0) - Wlacz/wyłącz moce dla odznak (Standardowo 0 - Wylaczone) bf2_awp 0 //(1|0) - AWP/Scout. Co ma dostac gracz jesli posiada odznake za bron snajperska (Standradowo 0 - Scout) bf2_ffa 0 //(1|0) - Wlacz/wyłącz atakowanie druzyny dla zdobycia fragow i uzycia odznak (Standardowo 0 - Wylaczone) bf2_xpmultiplier 0.2 //(dziesietna) - Wielkosc jaka ma byc do nastepnej rangi. (z 0.1 to jest: 15 trzeba zabic aby miec range 1, 20 000 zabic aby byc w top randze) (Standradowo 0.1) bf2_xpminplayers 3 //(int) - Minimalna ilosc graczy, wymagana aby zdobywac pkt za wybuch/rozbrojenie bomby oraz za kradziez flag (jesli gramy w tryb CTF) (Standradowo 2) bf2_reset_days 31 //(int) - Liczba dni gdy gracz nie gra po ktorych kasuje sie jego XP (Uwaga: obecnie dziala tylko z zapisem nVault) (Standradowo 21) bf2_icon_time 0 //(dziesietna) - Czas w jakim maja sie wyswietlac ikony nad graczami (info o randze) jak na nich nacelujesz (Standradowo 1.5) bf2_help_url "CsParafia.pl" //(znaki) - strona na ktorej umieszczone sa pliki pomocy (opcjonalnie) nie dodawaj na koncu / bf2_statustext 1 //(int) - Enable/Disable the points, # of bagdges, and rank info that replaces player name info in hud (Standradowo 1 - Wlaczone) bf2_hud_options "d" //(flagi) - Ustawienia hud gracza, nie dziala jesli Opcja PlayerName jest wlaczona (Standradowo "abcde") //flag a - Wyswietl Zdrowie/Pancerz/Bron dla druzyny //flag b - Wyswietl Range dla druzyny //flag c - Wyswietl Range dla wrogow //flag d - Nie wyswietlaj informacji jesli wrog jest niewidzialny (dana odznaka umozliwia niewidzialnosc) //flag e - Wyswietl graficzna Range nad glowami graczy //Integracja z CS FLAGS bf2_flag_kills 2 //(int) - Ile punktow za przejecie flagi bf2_flag_round_kills 0 //(int) - Ile punktow za wy deagsmapmanager.amxx dmap_rtvwait 5 dmap_mapsnum 5 dmap_rtvpercent 60 dmap_banlastmaps 5 dmap_maxcustom 5 dmap_strict 1 ip_banviolators 0 // 1 - banowanie, 0 - sama podmiana tekstu ip_banminutes 10 // czas BAN'a w minutach, 0 = perm. amx_bancfg_delay 3.5//jeśli używasz wydruki w konsoli możesz zmienić opóźnienie wyrzucenia z serwa amx_bancfg_logs 1//0 lub 1, wartość różna od 0 oznacza prowadzenie logów z połączeń graczy amx_bancfg_show_hudmsg 1//0 lub 1, wartość różna od 0 oznacza ukazanie się wiadomści na HUD po zbanowaniu amx_bancfg_steam_support 0//0 lub 1, wartość różna od 0 oznacza banowanie graczy Steam pod SteamID, a pozostałych na config domyślna wartość to 0, bo wymaga testów plik configs/bancfg/ns.ini zawiera początki SteamID, które uznawać będzie za nie Steam amx_bancfg_auth 1//0 lub 1 => wyłącz lub włącz Pozwala wyłączyć dodatkową autoryzację (to ze skrótem i wieloma banami na 1 wpis), przez co nie posiada błędu w rozpoznaniu, lecz obniża poziom ochrony do znanego z wersji 1.0 // 1 - wlacza plugin, 0 wylacza (domyslnie: 1) sv_sp 1 // Od 1 do 10 - Czas przez jaki ma byc ochrona na poczatku rundy (domyslnie: 5) sv_sptime 3 // 1 - Wlaczona wiadomosc o ochronie na poczatku rundy, 0 - wylaczona (domyslnie: 1) sv_spmessage 0 // Od 1 do 100 - Grubosc powloki ochronnej (domyslnie: 25) sv_spshellthick 25 amx_bulletdamage_recieved 1 // 1 - włącza, 0 - wyłącza pokazywanie otrzymanych obrażeń. amx_bulletdamage 1 // 0 - plugin wyłączony, 1 - pokazuje zadane obrażenia, 2 - pokazuje zadane obrażenia, ale nie przez ścianę. // XRedirect redirect_active 1 //1/0 włšcza/wyłšcza plugin - jeli jest to ustawione na 0 wszystkie inne CVARy, sš ignorowane, domylnie 1 redirect_auto 0 redirect_manual 3 redirect_follow 1 redirect_external_address redirect_check_method 2 redirect_announce 30 redirect_announce_mode 3 redirect_announce_alivepos_x 1,0 redirect_announce_alivepos_y 0,01 redirect_announce_deadpos_y 0,35 redirect_show 1 redirect_adminslots 0 redirect_maxadmins 0 redirect_retry 1 redirect_hidedown 0 redirect_localslots redirect_countbots 1 amx_bancfg_delay 3.5 amx_bancfg_logs 1 amx_bancfg_steam_support 0 amx_bancfg_auth 1 sv_minclrate 20000 sv_minclupdaterate 60 sv_maxclniterp 0.04 sv_informcl 1 amx_imessage "Nowe Ip Serwera!!! 31.186.83.163:27366 " "000255100"
plugins.ini
Spoiler
; AMX Mod X plugins amxbans_core.amxx ; amxbans amxbans_main.amxx debug ; amxbans ; 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) ; Basic admincmd.amxx ; basic admin console commands adminhelp.amxx ; help command for admin console commands adminslots.amxx ; rezerwacja slotow z komunikatem multilingual.amxx ; Multi-Lingual management ; Menus ReasonKicker.amxx menufront.amxx ; front-end for admin menus cmdmenu.amxx ; command menu (speech, settings) 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 ; 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 ; TUTAJ dopisuj samodzielnie zainstalowane pluginy: ; +---------------------------------------------------------------------------+ ; | W Panelu Administracyjnym mozesz zainstalowac dodatkowe pluginy. -==- | ; | Prosimy aby zainstalowane "recznie" pluginy dopisywac powyzej tej tabeli! | ; +---------------------------------------------------------------------------+ ; Pluginy zainstalowane z poziomu panelu: unbanmenu.amxx admin_freelook.amxx admin_spec_esp.amxx autobuyfix.amxx ad_manager.amxx c4timer.amxx fireinthehole.amxx IPlog.amxx polski_cs.amxx ptb.amxx wymuszanie_interpu.amxx abd.amxx rds.amxx parachute.amxx kill_assist.amxx Voices_Management.amxx bf2rank.amxx hpk_pl.amxx spawn_protection_pl.amxx show_ip.amxx Map_Spawns_Editor.amxx adminchat.amxx extreme_bancfg2.amxx deagsmapmanager.amxx invisible_spectator.amxx ;luciaHallucination.amxx
Moduels.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 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; 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
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 "carlo790.unixstorm.org" amx_sql_user "carlo790_ban" amx_sql_pass "UKRYWAJ HASŁO !!!" amx_sql_db "carlo790_amxban" amx_sql_table "admins" amx_sql_type "mysql"
Użytkownik Kawon edytował ten post 05.10.2012 18:29