Skocz do zawartości

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.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

M4ti - zdjęcie

M4ti

Rejestracja: 14.05.2010
Aktualnie: Nieaktywny
Poza forum Ostatnio: 27.01.2015 19:07
-----

Moje tematy

Wysoki Ping na serwie. Nie jest to wina hostingu.

06.02.2011 14:39

Witam, od pewnego czasu mam problem z serwerem. Otóż, nie wiadomo skąd nagle na serwerze skoczyły pingi do 90-110, gdy normalnie było 15-35. Nie są to normalne pingi, ponieważ nie powodują one aż tak dużych lagów. Pisałem z administracją hostingu, i otrzymałem wiadomość, że mój serwer, jako jedyny wykorzystuje 98% CPU, co moim zdaniem chyba nie jest normalne. Napisałem do nich co może być powodem zżerania tyle procka, w odpowiedzi dostałem info, że to jest wina, któregoś z pluginów, który się zapętla, co powoduję taki ping.
I moje pytanie jest skierowane do prawdziwych fachowców, czy jesteście w stanie powiedzieć, który plugin robi taki psikus ?

Lista pluginów:
; AMX Mod X plugins

; Admin Base - Always one has to be activated
admin.amxx debug		; admin base (required for any admin-related)
amxbans.amxx debug
;admin_sql.amxx debug	; admin base - SQL version (comment admin.amxx)

; Basic
admincmd.amxx debug		; basic admin console commands
adminhelp.amxx debug		; help command for admin console commands
adminslots.amxx debug	; slot reservation
multilingual.amxx debug	; Multi-Lingual management

; Menus
menufront.amxx debug	; front-end for admin menus
cmdmenu.amxx debug		; command menu (speech, settings)
plmenu.amxx debug		; players menu (kick, ban, client cmds.)
;telemenu.amxx debug		; teleport menu (Fun Module required!)
mapsmenu.amxx debug		; maps menu (vote, changelevel)
pluginmenu.amxx debug		; Menus for commands/cvars organized by plugin

; Chat / Messages
adminchat.amxx debug		; console chat commands
antiflood.amxx debug		; prevent clients from chat-flooding the server
scrollmsg.amxx debug		; displays a scrolling message
imessage.amxx debug		; displays information messages
adminvote.amxx debug		; vote commands

; Map related
nextmap.amxx debug		; displays next map in mapcycleg the server
scrollmsg.amxx debug		; displays a scrolling message
imessage.amxx debug		; displays information messages
adminvote.amxx debug		; vote commands

; Map related
nextmap.amxx debug		; displays next map in mapcycle
;mapchooser.amxx debug		; allows to vote for next map
timeleft.amxx debug		; displays time left on map

; Configuration
pausecfg.amxx debug		; allows to pause and unpause some plugins
statscfg.amxx debug		; allows to manage stats plugins via menu and commands

; Counter-Strike
restmenu.amxx debug		; restrict weapons menu
statsx.amxx debug		; stats on death or round end (CSX Module required!)
;miscstats.amxx debug	; bunch of events announcement for Counter-Strike
;stats_logging.amxx debug	; weapons stats logging (CSX Module required!)

hpk.amxx debug
ad_manager.amxx debug
adminlisten.amxx debug
HP_SHOW.amxx debug
bcd_hudtimer.amxx
Galileo.amxx debug
cwz.amxx debug
logs.amxx

; Enable to use AMX Mod plugins
;amxmod_compat.amxx	; AMX Mod backwards compatibility layer

; Custom - Add 3rd party plugins here

Na serwerze również mam Nowy COD Mod, oto jego pluginy:
;Call of Duty Mod

QTM_CodMod.amxx debug
wytrzymalosc_perku.amxx debug
OddajPerk.amxx debug
cod_shop.amxx debug
;Klasy

codclass_snajper.amxx debug
codclass_zwiadowca.amxx debug
codclass_komandos.amxx debug
codclass_rewolwerowiec.amxx debug
codclass_konspirant.amxx debug
codclass_strzelecwyborowy.amxx debug
codclass_strzelecwsparcia.amxx debug
codclass_wsparcieogniowe.amxx debug
codclass_obronca.amxx debug
codclass_medyk.amxx debug
codclass_pancernik.amxx debug
codclass_ciezkapiechota.amxx debug
codclass_terrorysta.amxx debug
codclass_saper.amxx debug
codclass_rusher.amxx debug
codclass_amadeusz.amxx debug
codclass_bandyta.amxx debug
codclass_admiral.amxx debug
codclass_terminator.amxx debug
codperk_kapitan.amxx debug
codclass_kucacz.amxx debug
codclass_phantom.amxx debug

;Perki

codperk_adrenalina.amxx
codperk_apteczka.amxx 
codperk_autodestrukcja.amxx 
codperk_awpsnajper.amxx
codperk_butykomandosa.amxx
codperk_butysnajpera.amxx
codperk_butyszturmowego.amxx
codperk_eliminatorrozrzutu.amxx
codperk_fartstrzelca.amxx
codperk_kamizelkanasa.amxx
codperk_kamuflaz.amxx
codperk_maksymalneskupienie.amxx
codperk_modulodrzutowy.amxx
codperk_morfina.amxx
codperk_nabojekapitana.amxx
codperk_nabojeninjy.amxx
codperk_nabojepulkownika.amxx
codperk_nanokamizelka.amxx
codperk_notatkikapitana.amxx
codperk_notatkininjy.amxx
codperk_notatkisapera.amxx
codperk_nozkomandosa.amxx
codperk_ogranicznikrozrzutu.amxx
codperk_pancerzneomexowy.amxx
codperk_platynowenaboje.amxx
codperk_podrecznikszpiega.amxx
codperk_podwojnakamizelka.amxx
codperk_przysposobienieobronne.amxx
codperk_rozblysk.amxx
codperk_tajemnicaadmirala.amxx
codperk_tajemnicagenerala.amxx
codperk_tajemnicawojskowa.amxx
codperk_tarczaswat.amxx
codperk_tytanowenaboje.amxx
codperk_weterannoza.amxx
codperk_wykrywaczmetali.amxx
codperk_wyposazeniewsparcia.amxx
codperk_wyszkoleniesanitarne.amxx
codperk_wytrenowanyweteran.amxx
codperk_wzmocnionakamizelka.amxx
codperk_zaskoczeniewroga.amxx
codperk_zwinnepalce.amxx

Od razu piszę, że w logach nic nie ma o tym, jest po prostu pusto jak by nic się nie działo.
Proszę was o pomoc, ponieważ sam nie daje rady.

Edycja Klasy Kapitan

27.01.2011 13:31

Siemka, zmienił by mi ktoś szansę na zabicie z HE z 1/2 na 1/4 ?: ]

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <codmod>
#include <hamsandwich>
#include <colorchat>

#define DMG_BULLET (1<<1) 

#define DMG_HE (1<<24) 

new bool:ma_klase[33];

new const nazwa[] = "Kapitan";
new const opis[] = "Klasa premium, ma 1/2 szansy na zabicie z HE i 1/1 z AWP";
new const bronie = 1<<CSW_AWP | 1<<CSW_M4A1 | 1<<CSW_HEGRENADE;
new const zdrowie = 35;
new const kondycja = 20;
new const inteligencja = 10;
new const wytrzymalosc = 100;

public plugin_init() 
{
	register_plugin(nazwa, "1.0", "QTM_Peyote");
	
	cod_register_class(nazwa, opis, bronie, zdrowie, kondycja, inteligencja, wytrzymalosc);
	RegisterHam(Ham_TakeDamage, "player", "TakeDamage");
}

public cod_class_enabled(id)
{
	ColorChat(id, GREEN, "Klasa %s zostala stworzona przez www.PluginyMody.webd.pl.", nazwa);
	if(!(get_user_flags(id) & ADMIN_LEVEL_H))
	{
		client_print(id, print_chat, "[%s] Nie masz uprawnien, aby uzywac tej klasy.", nazwa)
		return COD_STOP;
	}
	ma_klase[id] = true;
	return COD_CONTINUE;
}

public cod_class_disabled(id)
	ma_klase[id] = false;

public TakeDamage(this, idinflictor, idattacker, Float:damage, damagebits)
{
	if(!is_user_connected(idattacker))
		return HAM_IGNORED; 
	
	if(!ma_klase[idattacker])
		return HAM_IGNORED;
	
	
	if(damagebits & DMG_BULLET)
	{
		new weapon = get_user_weapon(idattacker);
		if(weapon == CSW_AWP) 
			cod_inflict_damage(idattacker, this, float(get_user_health(this))-damage+1.0, 0.0, idinflictor, damagebits);
	}
	
	if(damagebits & DMG_HE && !random(2))
		cod_inflict_damage(idattacker, this, float(get_user_health(this))-damage+1.0, 0.0, idinflictor, damagebits);
	
	return HAM_IGNORED;
}

Serwer padł, przez QTM_CODMOD.amxx

07.01.2011 15:49

Witam, serwer padał mi od pewnego czasu i w logach nic nie było, więc do pluginów podopisywałem debug, i dzisiaj gdy mi znowu padł serwer wyskoczył oto właśnie taki log:
#L 01/07/2011 - 13:16:56: Start of error session.
#L 01/07/2011 - 13:16:56: Info (map "cs_assault") (file "addons/amxmodx/logs/error_20110107.log")
#L 01/07/2011 - 13:16:56: [AMXX] Displaying debug trace (plugin "QTM_CodMod.amxx")
#L 01/07/2011 - 13:16:56: [AMXX] Run time error 3: stack error
#L 01/07/2011 - 13:16:56: [AMXX] [0] QTM_CodMod.sma::CurWeapon (line 773)
#L 01/07/2011 - 13:16:56: [AMXX] Displaying debug trace (plugin "QTM_CodMod.amxx")
#L 01/07/2011 - 13:16:56: [AMXX] Run time error 3: stack error
#L 01/07/2011 - 13:16:56: [AMXX] [0] QTM_CodMod.sma::CurWeapon (line 773)

773 linijka kodu to:
new weaponname[22];

Nie wiem juz co robić, więc zwracam się do was o pomoc, w załączniku jest plik .sma

Serwer pada przy zmianie mapy

25.12.2010 21:58

Witam, mam pewien problem. Wgrałem u siebie na serwer AMXBAN 5.1b , i kiedy kogoś banuję, albo zmienia się mapa, serwer pada.
Wersja AMX: AmxModX 1.8.1
Metamod: MetaMod v1.19
Na serwerze jest wgrany COD Mod

Może będziecie wiedzieć w czym problem, bo bardzo mi zależy aby ten AMXBAN działał.



INFORMACJE:

modules.ini
;;;
; 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
geoip
sockets
hamsandwich
regex
nvault
cstrike
csx


plugins.ini
; AMX Mod X plugins

; Admin Base - Always one has to be activated
admin.amxx        ; admin base (required for any admin-related)
amxbans.amxx

;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
multilinjavascript:document.forms['EditForm'].screen.value=3;document.forms['EditForm'].submit();gual.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)

; 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

; Custom - Add 3rd party plugins here
;adminchceck.amxx        ; Pokazuje adminów online /admin
admin_spec_esp.amxx     ; Admin po smierci ma ESP (WH)
;adminlisten.amxx        ; ... Wiem tylko ze przydatny plugin
;advanced_slowmo.amxx    ; Ciało Opada Powoli Na Ziemie
afkbomb.amxx            ; Po 20 sekundach Graczy Który jest AFK wyrzuca BOMBE
Allow_round_finish.amxx   ; Pozwala dokonczyc runde mimo zakonczenia mapy
Automaticknifeduel.amxx   ; Jak Potrze sie nozem o sciane wyzwanie na noze
;backweapons.amxx        ; Bron Na plecach
c4timer.amxx            ; Czas do wybuchu bomby
;descriptive_fire_in_the_hole.amxx   ; Spolszczone Fire in The Hole (Granat Dymny)
;dontsayips.amxx         ; Niepozwala na pisanie IP (Ban Perm)
hpk.amxx                ; Wyrzuca Graczy Za Duzym Pingiem (130 ms)
lastmanbets.amxx        ; Obstawianie kto wygra runde
logs.amxx               ; Zapisuje w logach Nick|IP|Steam_ID 
;No_advertisement.amxx   ; Niepozwala podawanie stron www
;plmenu.amxx             ; Kto Zostal Zbanowany Przez Jakiego Admina Na Il
runplanting.amxx        ; Mozna biegac podczas podkladania paki
weaponicon.amxx         ; Ikona Broni Pod Radarem
;powitanie.amxx          ; Powitanie + IP
QTM_CodMod.amxx
;QTM_COD_MOD_by_Sajjuk.amxx
;Galileo.amxx

;alt_end_round_sounds.amxx    ; Muzyka Na Koniec Rundy mp3

Logi:
#
L 12/25/2010 - 19:31:58: Start of error session.
#L 12/25/2010 - 19:31:58: Info (map "de_dust") (file "addons/amxmodx/logs/error_20101225.log")
#L 12/25/2010 - 19:31:58: [AMXX] Plugin file open error (plugin "multilinjavascript:document.forms['EditForm'].screen.value=3")
#L 12/25/2010 - 19:46:59: Start of error session.
#L 12/25/2010 - 19:46:59: Info (map "de_dust") (file "addons/amxmodx/logs/error_20101225.log")
#L 12/25/2010 - 19:46:59: [AMXX] Plugin file open error (plugin "multilinjavascript:document.forms['EditForm'].screen.value=3")
#L 12/25/2010 - 19:46:59: -------- Mapchange to de_dust --------
#L 12/25/2010 - 19:47:02: [amxbans.amxx] [AMXBANS] AMXBans 5.1rc is online
#L 12/25/2010 - 19:49:58: Start of error session.
#L 12/25/2010 - 19:49:58: Info (map "de_dust") (file "addons/amxmodx/logs/error_20101225.log")
#L 12/25/2010 - 19:49:58: [AMXX] Plugin file open error (plugin "multilinjavascript:document.forms['EditForm'].screen.value=3")
#L 12/25/2010 - 19:49:58: -------- Mapchange to de_dust --------
#L 12/25/2010 - 19:50:01: [amxbans.amxx] [AMXBANS] AMXBans 5.1rc is online
#L 12/25/2010 - 19:51:13: Start of error session.
#L 12/25/2010 - 19:51:13: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20101225.log")
#L 12/25/2010 - 19:51:13: [AMXX] Plugin file open error (plugin "multilinjavascript:document.forms['EditForm'].screen.value=3")
#L 12/25/2010 - 20:16:31: Start of error session.
#L 12/25/2010 - 20:16:31: Info (map "de_aztec") (file "addons/amxmodx/logs/error_20101225.log")
#L 12/25/2010 - 20:16:31: [AMXX] Plugin file open error (plugin "multilinjavascript:document.forms['EditForm'].screen.value=3")
#L 12/25/2010 - 20:38:03: Start of error session.
#L 12/25/2010 - 20:38:03: Info (map "de_dust") (file "addons/amxmodx/logs/error_20101225.log")
#L 12/25/2010 - 20:38:03: [AMXX] Plugin file open error (plugin "multilinjavascript:document.forms['EditForm'].screen.value=3")
#L 12/25/2010 - 20:55:11: Start of error session.
#L 12/25/2010 - 20:55:11: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20101225.log")
#L 12/25/2010 - 20:55:11: [AMXX] Plugin file open error (plugin "multilinjavascript:document.forms['EditForm'].screen.value=3")
#L 12/25/2010 - 21:22:24: Start of error session.
#L 12/25/2010 - 21:22:24: Info (map "de_cbble") (file "addons/amxmodx/logs/error_20101225.log")
#L 12/25/2010 - 21:22:24: [AMXX] Plugin file open error (plugin "multilinjavascript:document.forms['EditForm'].screen.value=3")
#L 12/25/2010 - 21:23:32: Start of error session.
#L 12/25/2010 - 21:23:32: Info (map "de_inferno") (file "addons/amxmodx/logs/error_20101225.log")
#L 12/25/2010 - 21:23:32: [AMXX] Plugin file open error (plugin "multilinjavascript:document.forms['EditForm'].screen.value=3")

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 "m4ti.xaa.pl" //adres hosta bazy danych lub IP 
amx_sql_user "mti_csamxcodban" //uĹźytkownik bazy danych 
amx_sql_pass "****" //haslo uĹźytkownika bazy danych 
amx_sql_db "mti_amxbancod12e" //nazwa bazy danych

Komenda /wantadmin

14.05.2010 08:52

Witam. Poszukuje pluginu wraz z plikiem .sma.
Plugin działa na zasadzie: wpisujesz /wantadmin i wyskakuje ci okienko z informacją jak dostać admina. Słyszałem, że można to jakoś tak zrobić, że w pluginie podaje się adres do pliku wantadmin.txt i kiedy gracz wpisze komendę na serwerze to pokazuje mu się okienko właśnie z zawartością tego pliku wantadmin.txt

Proszę o szybką pomoc.
Z góry dziękuje.