Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Zawartość użytkownika nupek
Odnotowano 60 pozycji dodanych przez nupek (Rezultat wyszukiwania ograniczony do daty: 11.06.2023 )
#236935 Problem z GM AMXBANS
Napisano przez nupek w 14.04.2011 22:09 w Problemy
Logi są czyste, jedyne co się pojawia to to co podałem Ci w poście wyżej, wczytuje się tylko 1 z pluginów.
Dwa: tak (.amxx)
Trzy: Na moje serwer wczytuje za szybko amxbans main zanim jeszcze amxbans core zostanie wczytane do końca dlatego taka 2 pluginowa przerwa jest "zdrowsza"
#233878 Wczytuje się tylko 1 z pluginów
Napisano przez nupek w 06.04.2011 14:17 w Problemy
amxbans_core.amxx
amxbans_main.amxx
wywala błąd - [GmAMXBans] failed to load: Module/Library "AMXBansCore" requi - AMXX.pl: Support AMX Mod X
#233858 Wczytuje się tylko 1 z pluginów
Napisano przez nupek w 06.04.2011 13:31 w Problemy
Wygląda to następująco:
serwer steam only,
logi:
L 04/06/2011 - 13:52:32: Log file started (file "logs/L0406066.log") (game "cstrike") (version "48/1.1.2.6/Stdio/4883") L 04/06/2011 - 13:52:59: [META] Metamod v1.19p32 2007/08/12 L 04/06/2011 - 13:52:59: [META] by Will Day L 04/06/2011 - 13:52:59: [META] http://www.metamod.org/ L 04/06/2011 - 13:52:59: [META] Patch: Metamod-P (mm-p) v32 L 04/06/2011 - 13:52:59: [META] by Jussi Kivilinna L 04/06/2011 - 13:52:59: [META] http://metamod-p.sourceforge.net/ L 04/06/2011 - 13:52:59: [META] compiled: Aug 12 2007, 18:57:40 EET (optimized) L 04/06/2011 - 13:52:59: [META] Recognized game 'cstrike'; using dllfile 'cs_i386.so' L 04/06/2011 - 13:52:59: [META] Game DLL for 'Counter-Strike' loaded successfully L 04/06/2011 - 13:52:59: [META] ini: Begin reading plugins list: /progamers/services/2512/cstrike/addons/metamod/plugins.ini L 04/06/2011 - 13:52:59: [META] ini: Read plugin config for: <amxmodx_mm_i386.so> L 04/06/2011 - 13:52:59: [META] ini: Finished reading plugins list: /progamers/services/2512/cstrike/addons/metamod/plugins.ini; Found 1 plugins to load L 04/06/2011 - 13:52:59: [META] dll: Loading plugins... L 04/06/2011 - 13:52:59: [META] dll: Loaded plugin 'MySQL': MySQL v1.8.2-dev Dec 12 2010, AMX Mod X Dev Team L 04/06/2011 - 13:52:59: [META] dll: Loaded plugin 'Fun': Fun v1.8.2-dev Dec 12 2010, AMX Mod X Dev Team L 04/06/2011 - 13:52:59: [META] dll: Loaded plugin 'FakeMeta': FakeMeta v1.8.2-dev Dec 12 2010, AMX Mod X Dev Team L 04/06/2011 - 13:52:59: [META] WARNING: Failed to find memloc for regcmd 'ham' L 04/06/2011 - 13:52:59: [META] dll: Loaded plugin 'Ham Sandwich': Ham Sandwich v1.8.2-dev Dec 12 2010, AMX Mod X Dev Team L 04/06/2011 - 13:52:59: [META] dll: Loaded plugin 'CStrike': CStrike v1.8.2-dev Dec 12 2010, AMX Mod X Dev Team L 04/06/2011 - 13:52:59: [META] dll: Loaded plugin 'CSX': CSX v1.8.2-dev Dec 12 2010, AMX Mod X Dev Team L 04/06/2011 - 13:52:59: [META] dll: Loaded plugin 'AMX Mod X': AMX Mod X v1.8.2-dev Dec 12 2010, AMX Mod X Dev Team L 04/06/2011 - 13:52:59: [META] WARNING: dll: Not loading plugin 'MySQL'; already loaded (status=running) L 04/06/2011 - 13:52:59: [META] WARNING: dll: Failed to load plugin 'mysql_amxx_i386.so' L 04/06/2011 - 13:52:59: [META] WARNING: dll: Not loading plugin 'Fun'; already loaded (status=running) L 04/06/2011 - 13:52:59: [META] WARNING: dll: Failed to load plugin 'fun_amxx_i386.so' L 04/06/2011 - 13:52:59: [META] WARNING: dll: Not loading plugin 'FakeMeta'; already loaded (status=running) L 04/06/2011 - 13:52:59: [META] WARNING: dll: Failed to load plugin 'fakemeta_amxx_i386.so' L 04/06/2011 - 13:52:59: [META] WARNING: dll: Not loading plugin 'Ham Sandwich'; already loaded (status=running) L 04/06/2011 - 13:52:59: [META] WARNING: dll: Failed to load plugin 'hamsandwich_amxx_i386.so' L 04/06/2011 - 13:52:59: [META] WARNING: dll: Not loading plugin 'CStrike'; already loaded (status=running) L 04/06/2011 - 13:52:59: [META] WARNING: dll: Failed to load plugin 'cstrike_amxx_i386.so' L 04/06/2011 - 13:52:59: [META] WARNING: dll: Not loading plugin 'CSX'; already loaded (status=running) L 04/06/2011 - 13:52:59: [META] WARNING: dll: Failed to load plugin 'csx_amxx_i386.so' L 04/06/2011 - 13:52:59: [META] dll: Finished loading 1 plugins L 04/06/2011 - 13:53:00: Log file closed
amx 1.8.2
sql.cfg
amx_sql_host "85.195.xx.xxx" amx_sql_pass "xxxxxxxx" amx_sql_user "xxx_bans" amx_sql_db "xxx_bans" amx_sql_type "mysql"
amxbans.cfg:
// 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 1 // 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 "www.gunsaredrawn.com" // 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 "n" // 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='http://img.amxx.pl/public/style_emoticons/default/biggrin.gif' 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
modules.ini:
;;; ; To enable a module, remove the semi-colon (<img src='http://img.amxx.pl/public/style_emoticons/default/wink.gif' 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 hamsandwich ;geoip sockets ;regex ;nvault cstrike csx ;csdm ;orpheu
[ 1] AMXBans Core Gm 1.5.1 GmStaff & xPaw amxbans_core.am debug [ 2] Admin Commands 1.8.2 AMXX Dev Team admincmd.amxx running [ 3] Admin Help 1.8.2 AMXX Dev Team adminhelp.amxx running [ 4] Multi-Lingual System 1.8.2 AMXX Dev Team multilingual.am running [ 5] Menus Front-End 1.8.2 AMXX Dev Team menufront.amxx running [ 6] Commands Menu 1.8.2 AMXX Dev Team cmdmenu.amxx running [ 7] Players Menu 1.8.2 AMXX Dev Team plmenu.amxx running [ 8] Maps Menu 1.8.2 AMXX Dev Team mapsmenu.amxx running [ 9] Admin Chat 1.8.2 AMXX Dev Team adminchat.amxx running [ 10] Anti Flood 1.8.2 AMXX Dev Team antiflood.amxx running [ 11] Scrolling Message 1.8.2 AMXX Dev Team scrollmsg.amxx running [ 12] Info. Messages 1.8.2 AMXX Dev Team imessage.amxx running [ 13] Admin Votes 1.8.2 AMXX Dev Team adminvote.amxx running [ 14] NextMap 1.8.2 AMXX Dev Team nextmap.amxx running 14:28:50 [ 15] TimeLeft 1.8.2 AMXX Dev Team timeleft.amxx running [ 16] Pause Plugins 1.8.2 AMXX Dev Team pausecfg.amxx running [ 17] Stats Configuration 1.8.2 AMXX Dev Team statscfg.amxx running [ 18] StatsX 1.8.2 AMXX Dev Team statsx.amxx running [ 19] CS Misc. Stats 1.8.2 AMXX Dev Team miscstats.amxx running [ 20] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running [ 21] Concert of wishes 2.0.5 rain amx_concert.amx running [ 22] Headshot DeluXe X.16.1.0 DanRaZor headshot_deluxe running [ 23] Spray Blocker 1.0 xPaw spray_blok.amxx running [ 24] Damage Control 1.10 Fxfighter damage_control. running [ 25] Achievement 0.2 One2Tribe achievement.amx running [ 26] xREDIRECT 1.0.3.2 x0R xredirect.amxx running [ 27] Restrict Names 1.2a Brad Jones restrictnames.a running [ 28] Fx Welcome 1.0 SoLiD fxi.amxx running [ 29] Game Namer 1.1 NeuroToxin gamenamechanger running 14:28:50 [ 30] Infinite Round 1.0.1 Arkshine infinite_round. running [ 31] Map Spawns Editor 1.0.16 iG_os Map_Spawns_Edit running [ 32] GAD Stats 0.6.3 GunsAreDrawn gadstats.amxx running [ 33] Swear Replacement 1.5 kaboomkazoom swear_replaceme running [ 34] Files Check 1.0 ConnorMcLeod filescheck.amxx running [ 35] CSDM Normalizer 2.1.1.5 Simon Logic csdm_normalizer running [ 36] Wymuszanie interpu 1.0 StreaM* wymuszanie_inte running [ 37] Nick Gad 1.0 SoLiD nickgad.amxx running [ 38] AMXBans: Screens 0.4 GmStaff amxbans_ssban.a running [ 39] CSDM Main 2.1.1 CSDM Team csdm_main.amxx running [ 40] CSDM Equip 2.1.1 CSDM Team csdm_equip.amxx running [ 41] CSDM Mod 2.1.1 CSDM Team csdm_spawn_pres running [ 42] CSDM Spawn Editor 2.1.1 CSDM Team spawn_editor.am running [ 43] CSDM Misc 2.1.1 CSDM Team csdm_misc.amxx running [ 44] CSDM Main 2.1.1 CSDM Team csdm_ffa.amxx running 44 plugins, 44 running
a w plugins.ini:
amxbans_main.amxx debug amxbans_core.amxx debug // 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)
#233783 failed to load: Module/Library "AMXBansCore" requi
Napisano przez nupek w 06.04.2011 08:17 w Problemy
name version author file status [ 1] unknown unknown unknown amxbans_main.am bad load [ 2] Admin Commands 1.8.2 AMXX Dev Team admincmd.amxx running [ 3] Admin Help 1.8.2 AMXX Dev Team adminhelp.amxx running [ 4] Multi-Lingual System 1.8.2 AMXX Dev Team multilingual.am running [ 5] Menus Front-End 1.8.2 AMXX Dev Team menufront.amxx running [ 6] Commands Menu 1.8.2 AMXX Dev Team cmdmenu.amxx running [ 7] Players Menu 1.8.2 AMXX Dev Team plmenu.amxx running [ 8] Maps Menu 1.8.2 AMXX Dev Team mapsmenu.amxx running [ 9] Admin Chat 1.8.2 AMXX Dev Team adminchat.amxx running [ 10] Anti Flood 1.8.2 AMXX Dev Team antiflood.amxx running [ 11] Scrolling Message 1.8.2 AMXX Dev Team scrollmsg.amxx running [ 12] Info. Messages 1.8.2 AMXX Dev Team imessage.amxx running [ 13] Admin Votes 1.8.2 AMXX Dev Team adminvote.amxx running [ 14] NextMap 1.8.2 AMXX Dev Team nextmap.amxx running 09:15:18 [ 15] TimeLeft 1.8.2 AMXX Dev Team timeleft.amxx running [ 16] Pause Plugins 1.8.2 AMXX Dev Team pausecfg.amxx running [ 17] Stats Configuration 1.8.2 AMXX Dev Team statscfg.amxx running [ 18] StatsX 1.8.2 AMXX Dev Team statsx.amxx running [ 19] CS Misc. Stats 1.8.2 AMXX Dev Team miscstats.amxx running [ 20] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running [ 21] Concert of wishes 2.0.5 rain amx_concert.amx running [ 22] Headshot DeluXe X.16.1.0 DanRaZor headshot_deluxe running [ 23] Spray Blocker 1.0 xPaw spray_blok.amxx running [ 24] Achievement 0.2 One2Tribe achievement.amx running [ 25] xREDIRECT 1.0.3.3 x0R xredirect.amxx running [ 26] Restrict Names 1.2a Brad Jones restrictnames.a running [ 27] Fx Welcome 1.0 SoLiD fxi.amxx running [ 28] Game Namer 1.1 NeuroToxin gamenamechanger running [ 29] Infinite Round 1.0.1 Arkshine infinite_round. running 09:15:18 [ 30] Map Spawns Editor 1.0.16 iG_os Map_Spawns_Edit running [ 31] GAD Stats 0.6.3 GunsAreDrawn gadstats.amxx running [ 32] Swear Replacement 1.5 kaboomkazoom swear_replaceme running [ 33] Files Check 1.0 ConnorMcLeod filescheck.amxx running [ 34] CSDM Normalizer 2.1.1.5 Simon Logic csdm_normalizer running [ 35] Wymuszanie interpu 1.0 StreaM* wymuszanie_inte running [ 36] Nick Gad 1.0 SoLiD nickgad.amxx running [ 37] AMXBans: Screens 0.4 GmStaff amxbans_ssban.a running [ 38] CSDM Main 2.1.1 CSDM Team csdm_main.amxx running [ 39] CSDM Equip 2.1.1 CSDM Team csdm_equip.amxx running [ 40] CSDM Mod 2.1.1 CSDM Team csdm_spawn_pres running [ 41] CSDM Misc 2.1.1 CSDM Team csdm_misc.amxx running [ 42] CSDM Protection 2.1.1 BAILOPAN csdm_protection running [ 43] CSDM Main 2.1.1 CSDM Team csdm_ffa.amxx running
#233780 failed to load: Module/Library "AMXBansCore" requi
Napisano przez nupek w 06.04.2011 07:55 w Problemy
plugins.ini:
amxbans_core.amxx amxbans_main.amxx // 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)
modules.ini:
;;; ; To enable a module, remove the semi-colon (<img src='http://img.amxx.pl/public/style_emoticons/default/wink.gif' 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 hamsandwich ;geoip sockets ;regex ;nvault cstrike csx csdm
#230548 Muzyka na koniec rundy różna dla obu drużyn
Napisano przez nupek w 27.03.2011 12:00 w Szukam pluginu
#230505 Muzyka na koniec rundy różna dla obu drużyn
Napisano przez nupek w 27.03.2011 10:08 w Szukam pluginu
#226633 Plugin - podświetlenie ekranu
Napisano przez nupek w 18.03.2011 16:31 w Szukam pluginu
g = 66;
b = 255;
dzięki
#226473 Blokada trzymania noża przez dłużej niż kilka sek.
Napisano przez nupek w 17.03.2011 22:16 w Szukam pluginu
Dodano 18 marzec 2011 - 22:53:
f5
#224760 Problem ze skróceniem wyświetlanego tekstu
Napisano przez nupek w 12.03.2011 23:19 w Problemy
Jednak przy zmianie przestaje mi się zapisywać to do logów mimo dobrego wyświetlania się na serwerze.
/* AMX Mod X Plugin * * (c) Copyright 2008, ConnorMcLeod * This file is provided as is (no warranties). * */ #include <amxmodx> new g_pcvarExactModel, g_pcvarSeparateLogFile public plugin_init() { static const VERSION[] = "1.0" register_plugin("Files Check", VERSION, "ConnorMcLeod") register_cvar("fc_version", VERSION, FCVAR_SERVER|FCVAR_EXTDLL|FCVAR_SPONLY) g_pcvarSeparateLogFile = register_cvar("fc_separatelog", "0") } public plugin_precache() { g_pcvarExactModel = register_cvar("fc_exactweapons", "0") static szConfigFile[64] get_localinfo("amxx_configsdir", szConfigFile, 63) format(szConfigFile, 63, "%s/filescheck.ini", szConfigFile) new File = fopen(szConfigFile, "rt") if(!File) return static szFile[64] while(!feof(File)) { fgets(File, szFile, 63) trim( szFile ) if(!szFile[0] || szFile[0] == ';' || (szFile[0] == '/' && szFile[1] == '/')) continue if(equali(szFile[strlen(szFile)-4], ".mdl")) { force_unmodified(get_pcvar_float(g_pcvarExactModel) ? force_exactfile : force_model_samebounds, {0,0,0}, {0,0,0}, szFile) } else { force_unmodified(force_exactfile, {0,0,0}, {0,0,0}, szFile) } } fclose(File) } public inconsistent_file(id, const filename[], reason[64]) { static szMessage[192], szName[32], szAuthid[32] get_user_name(id, szName, 31) get_user_authid(id, szAuthid, 31) formatex(szMessage, 191, "^"%s<%s>^" has inconsistent file ^"%s^"", szName, szAuthid, filename) switch( get_pcvar_num(g_pcvarSeparateLogFile) ) { case 1: { log_amx(szMessage) } case 2: { static const szLogFile[] = "filecheck.log" log_to_file(szLogFile, szMessage) } default: { log_message(szMessage) } } server_cmd("say ^"%s^"", szMessage) }
#219577 Filescheck z wiadomościa w czacie
Napisano przez nupek w 26.02.2011 17:33 w Pluginy
/* AMX Mod X Plugin * * (c) Copyright 2008, ConnorMcLeod * This file is provided as is (no warranties). * */ #include <amxmodx> new g_pcvarExactModel, g_pcvarSeparateLogFile public plugin_init() { static const VERSION[] = "1.0" register_plugin("Files Check", VERSION, "ConnorMcLeod") register_cvar("fc_version", VERSION, FCVAR_SERVER|FCVAR_EXTDLL|FCVAR_SPONLY) g_pcvarSeparateLogFile = register_cvar("fc_separatelog", "2") } public plugin_precache() { g_pcvarExactModel = register_cvar("fc_exactweapons", "0") static szConfigFile[64] get_localinfo("amxx_configsdir", szConfigFile, 63) format(szConfigFile, 63, "%s/filescheck.ini", szConfigFile) new File = fopen(szConfigFile, "rt") if(!File) return static szFile[64] while(!feof(File)) { fgets(File, szFile, 63) trim( szFile ) if(!szFile[0] || szFile[0] == ';' || (szFile[0] == '/' && szFile[1] == '/')) continue if(equali(szFile[strlen(szFile)-4], ".mdl")) { force_unmodified(get_pcvar_float(g_pcvarExactModel) ? force_exactfile : force_model_samebounds, {0,0,0}, {0,0,0}, szFile) } else { force_unmodified(force_exactfile, {0,0,0}, {0,0,0}, szFile) } } fclose(File) } public inconsistent_file(id, const filename[], reason[64]) { static szMessage[192], szName[32], szAuthid[32] get_user_name(id, szName, 31) get_user_authid(id, szAuthid, 31) formatex(szMessage, 191, "^"%s<%s>^" has inconsistent file ^"%s^"", szName, szAuthid, filename) switch( get_pcvar_num(g_pcvarSeparateLogFile) ) { case 1: { log_amx(szMessage) } case 2: { static const szLogFile[] = "/file/filecheck.log" log_to_file(szLogFile, szMessage) } default: { log_message(szMessage) } } server_cmd("say ^"%s^"", szMessage) }
Daję plusa, zależy mi na tym pluginie, ponieważ dzięki temu będzie można dodawać kolesi na BL
#218393 Spec Mode
Napisano przez nupek w 22.02.2011 23:25 w Szukam pluginu
#204126 Logi pełne błędów
Napisano przez nupek w 08.01.2011 16:42 w Problemy
Amx 1.8.2
sql:
amx_sql_host "70.86.xx.xx" amx_sql_pass "xxxxxxxxx" amx_sql_user "fragplay_bany" amx_sql_db "fragplay_bany" amx_sql_type "mysql"
modules:
;;; ; To enable a module, remove the semi-colon (<img src='http://images.amxx.pl/public/style_emoticons/default/wink.gif' 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 hamsandwich ;geoip sockets ;regex ;nvault cstrike csx ;csdm ;orpheu
plugins:
amxbans_core.amxx amxbans_main.amxx chat_logger_sql.amxx // 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) // 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) plmenu.amxx ; players menu (kick, ban, client cmds.) ;telemenu.amxx ; teleport menu (Fun Module required!) mapsmenu.amxx ; maps menu (vote, changelevel) // chatlogger 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 // Custom - Add 3rd party plugins here // Menadżer reklam ad_manager.amxx // Ustawia cfg gracza na poprawne settings.amxx // Koncert życzeń na mapkę amx_concert.amxx // Ranking HSów headshot_deluxe.amxx // Blokuje Spraye spray_blok.amxx // Mniejsze obrażenia z HE damage_control.amxx // o2t Achivements achievement.amxx xredirect.amxx restrictnames.amxx // statystyki do loga ;logstats.amxx // info o wchodzeniu FXów fxi.amxx // ustawia nazwę gry na wybraną. gamenamechanger.amxx infinite_round.amxx ;clientchecker.amxx
#204070 Logi pełne błędów
Napisano przez nupek w 08.01.2011 14:47 w Problemy
L 01/08/2011 - 14:12:53: Info (map "de_inferno") (file "addons/amxmodx/logs/error_20110108.log")
L 01/08/2011 - 14:12:53: [MySQL] Thread worker was unable to start.
L 01/08/2011 - 14:12:53: [AMXX] Displaying debug trace (plugin "amxbans_main.amxx")
L 01/08/2011 - 14:12:53: [AMXX] Run time error 10: native error (native "SQL_ThreadQuery")
L 01/08/2011 - 14:12:53: [AMXX] [0] check_flag.inl::check_flagged (line 36)
L 01/08/2011 - 14:12:53: [AMXX] [1] check_player.inl::check_player_ (line 100)
#203830 [ROZWIĄZANE] Sporo bugów 1.5
Napisano przez nupek w 07.01.2011 22:49 w Bugi
Zacznijmy od złego pokazywania graczy: http://frag-executor...t/bany/view.php wystarczy rozwinąć tabelkę z serwerem a wszyscy gracze będą na serwerze zapewne od około 17 minut. Jest tak zawsze siedząc nawet kilka sekund wyświetla się 17 minut.
Idźmy dalej bany nie zostały zaimportowane z serwera gry po zainstalowaniu amxbans (może trzeba zrobić to samemu?)
Kolejny problem to brak możliwości banowania na serwerze! Wchodzę na serwer mam wyłączony plugin admin.amxx wchodzę w menu admina banuję ale działa to jak zwykłe banowanie bez amxBans.
Na razie wszystko.
#202201 Nie można dołączyć do teamu CSDM de_nuke
Napisano przez nupek w 02.01.2011 11:04 w Problemy
Dodano 02 styczeń 2011 - 18:52:
F5
Dodano 04 styczeń 2011 - 16:09:
odświeżam ciągle nie działa.
- AMXX.pl: Support AMX Mod X i SourceMod
- → Zawartość użytkownika nupek
- Regulamin