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
 

Zdjęcie

Crashe przez pluginy.


  • Zamknięty Temat jest zamknięty
3 odpowiedzi w tym temacie

#1 Pro3Trafi

    Nowy

  • Zbanowany

Reputacja: 0
Nowy

  • Postów:7
  • Imię:Michał
  • Lokalizacja:Płock
Offline

Napisano 27.06.2011 20:29

Witam. Proszę o naprawienie pluginów za 1 naprawiony = +

Errory

L 06/27/2011 - 16:22:17: Start of error session.
L 06/27/2011 - 16:22:17: Info (map "cs_havana") (file "addons/amxmodx/logs/error_20110627.log")
L 06/27/2011 - 16:22:17: [AMXX] Plugin file open error (plugin "hpk.amxx")
L 06/27/2011 - 16:22:27: Start of error session.
L 06/27/2011 - 16:22:27: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20110627.log")
L 06/27/2011 - 16:22:27: [AMXX] Plugin file open error (plugin "hpk.amxx")
L 06/27/2011 - 16:22:38: Start of error session.
L 06/27/2011 - 16:22:38: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20110627.log")
L 06/27/2011 - 16:22:38: [AMXX] Plugin file open error (plugin "hpk.amxx")
L 06/27/2011 - 16:22:48: Start of error session.
L 06/27/2011 - 16:22:48: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20110627.log")
L 06/27/2011 - 16:22:48: [AMXX] Plugin file open error (plugin "hpk.amxx")
L 06/27/2011 - 16:22:58: Start of error session.
L 06/27/2011 - 16:22:58: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20110627.log")
L 06/27/2011 - 16:22:58: [AMXX] Plugin file open error (plugin "hpk.amxx")
L 06/27/2011 - 16:31:01: Start of error session.
L 06/27/2011 - 16:31:01: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20110627.log")
L 06/27/2011 - 16:31:01: [AMXX] Plugin file open error (plugin "hpk.amxx")
L 06/27/2011 - 17:07:18: Start of error session.
L 06/27/2011 - 17:07:18: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20110627.log")
L 06/27/2011 - 17:07:18: [CSTRIKE] Invalid player 1
L 06/27/2011 - 17:07:18: [AMXX] Run time error 10 (plugin "ultimate_ss.amxx") (native "cs_set_user_team") - debug not enabled!
L 06/27/2011 - 17:07:18: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).


Sma Ultimate_ss

#include <amxmodx>
#include <amxmisc>
#include <cstrike>

new player
new ip[32]
new finish;

new maxscreens  //max nr of ss to a player
new screeninterval  //interval between 2 ss
new design  //visual stuff
new site  //the site/forum where a user can post ther pics to be unbanned

public plugin_init() 
{ 
        register_plugin("Ultimate SS", "1.2", "Hack")
        
        register_concmd("amx_ss", "concmd_screen", ADMIN_LEVEL_A, "<authid, nick or #userid> <screens>")
        register_clcmd("say /ip", "show_ip")
        
        maxscreens = register_cvar("amx_ss_max", "5")
        screeninterval = register_cvar("amx_ss_interval", "1.0")
        design = register_cvar("amx_ss_design", "3")
        site = register_cvar("amx_ss_site","www.google.ro")
}

public concmd_screen(id, level, cid)
{
        if(!cmd_access(id, level, cid, 3))   //if the one who requests an ss isnt admin exit
        {
                return PLUGIN_HANDLED
        }
        
        new arg1[24], arg2[4]
        read_argv(1, arg1, 23)
        read_argv(2, arg2, 3)
        
        new screens = str_to_num(arg2)
        new maxss = get_pcvar_num(maxscreens)
        
        if(screens > maxss)   //too many ss?
        {
                console_print(id, "[SS]Prea multe poze!")
                
                return PLUGIN_HANDLED
        }
        
        player = cmd_target(id, arg1, 1) 
        if (!is_user_connected(player))   //the player has exited the sv or he didnt existed
        {
                return PLUGIN_HANDLED
        }
        finish = screens
        
        new Float:interval = get_pcvar_float(screeninterval)    //a set_task for each "amx_ss nickname nr_of_ss"
        new array[2]
        array[0] = id //save usefull data in a vector so it can be reused
        array[1] = player
        set_task(interval, "ss_propriuzis", 0, array,2, "a", screens)
        
        return PLUGIN_HANDLED
}
 
public ss_propriuzis(array[2])
{
        //take data and set them accordingly
        new player = array[1]
        new id = array[0]
        
        //save time,adminname,playername so that the player cant give us other ss's and because it LOOKS COOOL!
        new timestamp[32], timestampmsg[128], name[32], adminname[32]
        get_time("%m/%d/%Y - %H:%M:%S", timestamp, 31)
        get_user_name(player, name, 31)
        get_user_name(id, adminname, 31)
        get_user_ip(player, ip, 31)
                
        //Clasic Design
        if(get_pcvar_num(design) == 0)
        {
                client_print(player, print_chat, "** Screenshot taken on player ^"%s^" by adminl ^"%s^" **", name, adminname)
                client_cmd(player, "snapshot") //ss
        }
        //Doar Playerului
        else if(get_pcvar_num(design) == 1)
        {
                client_print(player, print_chat, "** Screenshot taken on player ^"%s^" by admin ^"%s^" (%s) **", name, adminname, timestamp)
                client_cmd(player, "snapshot") //ss
        }
        //HUD Message doar Playerului
        else if(get_pcvar_num(design) == 2)
        {
                set_hudmessage(player, 255, 0, -1.0, 0.3, 0, 0.25, 1.0, 0.0, 0.0, 4)
                format(timestampmsg, 127, "** TIME: - %s **", timestamp)
                show_hudmessage(player, timestampmsg)
                
                client_cmd(player, "snapshot")  //ss
        }
        //Full
        else if(get_pcvar_num(design) == 3)
        {
                //HUD Timestamp Message
                set_hudmessage(player, 255, 0, -1.0, 0.3, 0, 0.25, 1.0, 0.0, 0.0, 4)
                format(timestampmsg, 127, "** PLAYER %s TIME: - %s **",name,timestamp)
                show_hudmessage(player, timestampmsg)
            
                client_print(0, print_chat, "** Screenshot taken on player ^"%s^" by admin ^"%s^" (%s) **", name, adminname, timestamp)
                
                client_cmd(player, "snapshot") //ss
        }
        console_print(id, "[SS]%s 's ip is %s!",name,ip)
        console_print(id, "[SS]%s 's ip is %s!",name,ip)
        console_print(id, "[SS]%s 's ip is %s!",name,ip)
        finish = finish - 1;
        
        if(finish == 0)
        {
                client_cmd(player, "kill")
                cs_set_user_team(player,CS_TEAM_SPECTATOR);
                new forum[51];
                get_pcvar_string(site,forum,50)
                client_print(player, print_chat, "Post your screenshots on %s for unban", forum)
        }
        
        return PLUGIN_CONTINUE;
}

public show_ip(id)
{
        console_print(id, "[SS]Last Stored IP: %s!",ip)
}

Sma HPK


#include <amxmodx>
#include <colorchat>

new HIGHPING_MAX = 95 // set maximal acceptable ping
new HIGHPING_TIME = 6  // set in seconds frequency of ping checking
new HIGHPING_TESTS = 3  // minimal number of checks before doing anything

new iNumTests[33]

public plugin_init() {
	register_plugin("High Ping Kicker","1.2.0","DynAstY")
	if (HIGHPING_TIME < 10) HIGHPING_TIME = 6
	if (HIGHPING_TESTS < 4) HIGHPING_TESTS = 3
	return PLUGIN_CONTINUE
}

public client_disconnect(id) {
	remove_task(id)
	return PLUGIN_CONTINUE
}
	
public client_putinserver(id) {
	iNumTests[id] = 0
	if (!is_user_bot(id)) {
		new param[1]
		param[0] = id
		set_task(30.0, "showWarn", id, param, 1)
	}
	return PLUGIN_CONTINUE
}

kickPlayer(id) {
	new name[32]
	get_user_name(id, name, 31)
	new uID = get_user_userid(id)
	server_cmd("banid 1 #%d", uID)
	client_cmd(id, "echo ^"[HPK] Twoj ping jest za duzy!^"; disconnect")
	ColorChat(0, GREEN, "[HPK]^x01 Gracz^x04 %s^x01 zostal rozlaczony z powodu duzego ping'u!", name)
	return PLUGIN_CONTINUE
} 

public checkPing(param[]) {
	new id = param[0]
	if ((get_user_flags(id) & ADMIN_IMMUNITY)) {
		remove_task(id)
		ColorChat(0, GREEN, "[HPK]^x01 Ping nie obowiazuje graczy z immunitetem...")
		return PLUGIN_CONTINUE
	}
	new p, l
	get_user_ping(id, p, l)
	if (p > HIGHPING_MAX)
		++iNumTests[id]
	else
		if (iNumTests[id] > 0) --iNumTests[id]
	if (iNumTests[id] > HIGHPING_TESTS)
		kickPlayer(id)
	return PLUGIN_CONTINUE
}

public showWarn(param[]) {
	ColorChat(param[0], GREEN, "[HPK]^x01 Gracze z pingiem wiekszym niz^x04 %d^x01 beda wyrzucani!", HIGHPING_MAX)
	set_task(float(HIGHPING_TIME), "checkPing", param[0], param, 1, "b")
	return PLUGIN_CONTINUE
}

Użytkownik Pro3Trafi edytował ten post 27.06.2011 20:30


#2 Andy19

    Profesjonalista

  • Użytkownik

Reputacja: 4
Nowy

  • Postów:156
  • GG:
  • Imię:Karol
  • Lokalizacja:Białystok
Offline

Napisano 28.06.2011 14:08

Cvary dopisałeś do amxx.cfg?
HPK

new HIGHPING_MAX = 95  Max ping
new HIGHPING_TIME = 6 Czas po którym gracz z duzym pingiem do saje kicka
new HIGHPING_TESTS = 3  Ilość sprawdzeń.
Ultimate
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      //wyświetlanie wiadomości (opcjonalnie 3)
amx_ss_site "www.twoja-strona.pl - Dzial SnapShot" //Podaj swoją stronę gdzie można wyjaśnić zrobione SS.

  • +
  • -
  • 0
Dołączona grafika- IP:[79.133.194.91:27245] Zapraszam serdecznie.
Dołączona grafika - IP:[80.72.37.11:27055] Zapraszam serdecznie.

#3 Pro3Trafi

    Nowy

  • Autor tematu
  • Zbanowany

Reputacja: 0
Nowy

  • Postów:7
  • Imię:Michał
  • Lokalizacja:Płock
Offline

Napisano 28.06.2011 15:04

ta

#4 Abes Mapper

    Repulsion Gel

  • Przyjaciel

Reputacja: 2 017
Godlike

  • Postów:7 356
  • Steam:steam
  • Imię:Sebastian
  • Lokalizacja:Sulejówek
Offline

Napisano 28.06.2011 21:44

[AMXX] Plugin file open error (plugin "hpk.amxx")

AMXX nie może znaleźć takiego pluginu o takiej nazwie. Sprawdź wielkość liter i czy na pewno ten plugin znajduje się w folderze plugins
  • +
  • -
  • 0




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych