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

Czemu mi te pluginy nie dzialaja?


  • Zamknięty Temat jest zamknięty
1 odpowiedź w tym temacie

#1 JaYo^

    Życzliwy

  • Użytkownik

Reputacja: 0
Nowy

  • Postów:22
  • GG:
Offline

Napisano 15.10.2008 20:57

Oto wyskakuja mi takie bledy ... Mam AMX 1.8.0 i cos te pluginy nie dzialaja mi wie ktos moze czemu ? :(

L 10/15/2008 - 21:51:19: Info (map "de_aztec") (file "addons/amxmodx/logs/error_20081015.log")
L 10/15/2008 - 21:51:19: [AMXX] Plugin file open error (plugin "M_Antirusher_2.4.amxx")
L 10/15/2008 - 21:51:19: [AMXX] Plugin file open error (plugin "swear_filter.amxx")
L 10/15/2008 - 21:51:19: Function is not present (function "unban") (plugin "unban_steam.amxx")
L 10/15/2008 - 21:51:19: [AMXX] Run time error 10 (plugin "unban_steam.amxx") (native "set_task") - debug not enabled!
L 10/15/2008 - 21:51:19: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/15/2008 - 21:51:20: [AMXX] Run time error 4 (plugin "no_reconnect.amxx") - debug not enabled!
L 10/15/2008 - 21:51:20: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/15/2008 - 21:51:20: [AMXX] Run time error 4 (plugin "no_reconnect.amxx") - debug not enabled!
L 10/15/2008 - 21:51:20: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/15/2008 - 21:51:20: [AMXX] Run time error 4 (plugin "no_reconnect.amxx") - debug not enabled!
L 10/15/2008 - 21:51:20: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/15/2008 - 21:51:20: [AMXX] Run time error 4 (plugin "no_reconnect.amxx") - debug not enabled!
L 10/15/2008 - 21:51:20: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/15/2008 - 21:51:20: [AMXX] Run time error 4 (plugin "no_reconnect.amxx") - debug not enabled!
L 10/15/2008 - 21:51:20: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/15/2008 - 21:51:20: [AMXX] Run time error 4 (plugin "no_reconnect.amxx") - debug not enabled!
L 10/15/2008 - 21:51:20: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/15/2008 - 21:51:20: [AMXX] Run time error 4 (plugin "no_reconnect.amxx") - debug not enabled!
L 10/15/2008 - 21:51:20: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/15/2008 - 21:51:20: [AMXX] Run time error 4 (plugin "no_reconnect.amxx") - debug not enabled!
L 10/15/2008 - 21:51:20: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/15/2008 - 21:51:20: [AMXX] Run time error 4 (plugin "no_reconnect.amxx") - debug not enabled!
L 10/15/2008 - 21:51:20: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/15/2008 - 21:51:20: [AMXX] Run time error 4 (plugin "no_reconnect.amxx") - debug not enabled!
L 10/15/2008 - 21:51:20: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/15/2008 - 21:51:20: [AMXX] Run time error 4 (plugin "no_reconnect.amxx") - debug not enabled!
L 10/15/2008 - 21:51:20: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/15/2008 - 21:51:59: [AMXX] Run time error 4 (plugin "no_reconnect.amxx") - debug not enabled!
L 10/15/2008 - 21:52:00: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/15/2008 - 21:52:33: [AMXX] Run time error 4 (plugin "no_reconnect.amxx") - debug not enabled!
L 10/15/2008 - 21:52:33: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/15/2008 - 21:53:01: [AMXX] Run time error 4 (plugin "no_reconnect.amxx") - debug not enabled!
L 10/15/2008 - 21:53:01: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/15/2008 - 21:53:32: [AMXX] Run time error 4 (plugin "no_reconnect.amxx") - debug not enabled!
L 10/15/2008 - 21:53:32: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/15/2008 - 21:53:51: [AMXX] Run time error 4 (plugin "no_reconnect.amxx") - debug not enabled!
L 10/15/2008 - 21:53:51: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).

  • +
  • -
  • 0

#2 MafiaDL

    Naj-Najstarszy Moderator

  • Przyjaciel

Reputacja: 561
Wszechwiedzący

  • Postów:3 492
  • GG:
  • Imię:Łukasz
  • Lokalizacja:Warsaw
Offline

Napisano 15.10.2008 21:07

wywal ten plugin i scompiluj ten

/* AMX Mod X script.
*
* No reconnect
* (c) Copyright 2002, SYZo
* This file is provided as is (no warranties).
*
* amx_minreconnecttime 20 (in seconds)
*
*  *******************************************************************************
*   
*    Ported By KingPin( [email protected] ). I take no responsibility
*    for this file in any way. Use at your own risk. No warranties of any kind.
*
*  *******************************************************************************
*   Updated Feb 14 2006
*
*/

#include <amxmodx>
#include <engine>
//#define MAX_PLAYERS 32

#define PLUGIN "No reconnect"
#define VERSION "2.11"
#define AUTHOR "SYZo"

new pip[33][22]
new Float:minreconnecttime

public clean_blackip(ind[])
{
    pip[ind[0]][0] = 0
}

public client_putinserver(id)
{
    if (!is_user_bot(id)) {
        minreconnecttime = get_cvar_float("amx_minreconnecttime")
        new userip[21+1]
        new uname[33+1]
        get_user_ip(id, userip, 21, 0)
        get_user_name(id, uname, 33)
        for(new i = 1; i <= get_maxplayers(); i++) {
            if (equal(userip, pip[i], 21)) {
                new authid[32]
                get_user_authid(id,authid,32)
                log_amx("^"%s<%s><%d><%s><>^"", uname, userip, get_user_userid(id), authid)
                if (!(get_user_flags(id)&ADMIN_RESERVATION)) {
                    new text[128]
                    format(text, 128, "Player %s kicked after usage reconnect command", uname)
                    set_hudmessage(255, 0, 0, 0.05, 0.70, 0, 5.0, 6.0, 6.0, 0.15, 3)
                    show_hudmessage(0,"%s",text)
                    new reason[128]
                    format(reason,127,"You used command RECONNECT within %.0f sec, please reconnect after %.0f sec", minreconnecttime, minreconnecttime)
                    server_cmd("kick #%d ^"%s^"", get_user_userid(id) , reason)
                }
                return PLUGIN_CONTINUE
            }
        }
    }
    return PLUGIN_CONTINUE
}

public client_disconnect(id) {
    if (!is_user_bot(id)) {
        for(new i = 1; i <= get_maxplayers(); i++) {
            if(pip[i][0] == 0) {
                new userip[21+1]
                get_user_ip(id, userip, 21, 0)
                copy(pip[i], 21, userip)
                new userid[1]
                userid[0] = i
                set_task(minreconnecttime, "clean_blackip", 0, userid[0], 1)
                return PLUGIN_CONTINUE
            }
        }
    }
    return PLUGIN_CONTINUE
}

public plugin_init()
{
    register_plugin(PLUGIN, VERSION, AUTHOR)
    register_cvar("amx_minreconnecttime","30")
    return PLUGIN_CONTINUE
}

  • +
  • -
  • 0




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

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