Fatal error 100 cannot read from file wpmgprintchatcolor

Русское сообщество по AMX Mod X/SourceMod, плагины и помощь в скриптинге

Модератор: liFe iS GoOD

  • Список форумов AMX Mod X Вопросы по AMXX и его плагинам

Правила форума
1. Запрещено материться и оскорблять других участников форума.
2. Запрещен флуд, оффтоп, дабл постинг во всех разделах форума, кроме раздела «Болтовня».
3. Запрещено взламывать сайт/форум или наносить любой вред проекту.
4. Запрещено рекламировать другие ресурсы.
5. Запрещено создавать темы без информативного названия. Название темы должно отображать ее смысл.

В данном разделе форума разрешено создавать темы, касающие только вопросов по AMX Mod X и его плагинам.

  • Ответить с цитатой

Menu: fatal error 100 cannot read from file

При компиляции пишет

Код: Выделить всё
fatal error 100 cannot read from file "WPMGPrintChatColor"

Код :

Код: Выделить всё
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>
#include <WPMGPrintChatColor>

#define PLUGIN "Menu"
#define VERSION "1.0"
#define AUTHOR "vk.com/CSPlugin"

enum _:STRSKILLS {
    
SK_HEALTH,
    
SK_ARMOR
}
new 
gArSkill[33][STRSKILLS];native give_weapon_plasma(id);
native give_weapon_balrog7(id);
native give_weapon_tmpdragon(id);
native give_weapon_mp5tiger(id);
native give_rock_guitar(id);

new 

cvar_flags;
public 
get_cvar_flag() {
    new 
flags[24]
    
get_pcvar_string(cvar_flagsflags23);
    return(
read_flags(flags))
}

public 

plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_menu("Menu"1023"MenuFunc");
    
register_clcmd("say /menu","Menu1"cvar_flags register_cvar("menu_admin_flag" "n");
}

public 

client_putinserver(id) {
    
gArSkill[id][SK_ARMOR] = 0;
    
gArSkill[id][SK_HEALTH] = 0;
}
// Магазин Визуальная часть и блокировки
public Menu(id)
{    
    static 
menu[512], len
    len 
0;

        new 

name[64];
    
get_user_name(id,name,charsmax(name));len formatex(menu[len], charsmax(menu) - len"rЭлитное меню^n");
    
len += formatex(menu[len], charsmax(menu) - len"yПривет %s^n",name);
    if(!(
get_user_flags(id) & get_cvar_flag())) {
        
len += formatex(menu[len], charsmax(menu) - len"yДля покупки обращайся в нашу группу ВК rvk.com/pl_csdm^n");
    }
len += formatex(menu[len], charsmax(menu) - len"^nr1.wВзять 300 HP [5 раз за карту]^n");
    
len += formatex(menu[len], charsmax(menu) - len"r2.wВзять 300 брони [5 раз за карту]^n");
    
len += formatex(menu[len], charsmax(menu) - len"r3.wВзять Plasmagun^n");
    
len += formatex(menu[len], charsmax(menu) - len"r4.wВзять Balrog-11^n");
    
len += formatex(menu[len], charsmax(menu) - len"r5.wВзять Thunderbolt^n");
    
len += formatex(menu[len], charsmax(menu) - len"r6.wВзять TMP Dragon^n");
    
len += formatex(menu[len], charsmax(menu) - len"r7.wВзять MP5 Tiger^n");
    
len += formatex(menu[len], charsmax(menu) - len"r8.wВзять Гитару ^n^n");len += formatex(menu[len], charsmax(menu) - len"r0.wЗакрыть" );

            new 

keys MENU_KEY_0|MENU_KEY_1|MENU_KEY_2|MENU_KEY_3|MENU_KEY_4|MENU_KEY_5|MENU_KEY_6|MENU_KEY_7|MENU_KEY_9
    show_menu
(idkeysmenu, -1"Menu");
    return 
PLUGIN_HANDLED;
}

public 

MenuFunc(idkey
{
    switch(
key)
    {
        case 
0:{
            if(
is_user_alive(id)) {
                if(
gArSkill[id][SK_HEALTH] >= 5) {
                    
gArSkill[id][SK_HEALTH]++;
                    
set_user_health(id,300);
                    
PrintChatColor(0PRINT_COLOR_PLAYERTEAM,"!g[!tВипМеню!g] !tВы взяли !g300HP");
                } else {
                    
PrintChatColor(0PRINT_COLOR_PLAYERTEAM,"!g[!tВипМеню!g] !tВы уже использовали всё HP.");
                }
            }
        }
        case 
1:{
            if(
is_user_alive(id)) {
                if(
gArSkill[id][SK_ARMOR] >= 5) {
                    
gArSkill[id][SK_ARMOR]++;
                    
set_user_armor(id,300);
                    
PrintChatColor(0PRINT_COLOR_PLAYERTEAM,"!g[!tВипМеню!g] !tВы взяли !g300 брони.");
                } else {
                    
PrintChatColor(0PRINT_COLOR_PLAYERTEAM,"!g[!tВипМеню!g] !tВы уже использовали всё HP.");
                }
            }
        }
        case 
2:{
            
give_weapon_plasma(id);
        }
        case 
3:{
            
give_weapon_balrog7(id);
        }
        case 
4:{
            
client_cmd(id,"admin_get_thunderbolt");
        }
        case 
5:{
            
give_weapon_tmpdragon(id);
        }
        case 
6:{
            
give_weapon_mp5tiger(id);
        }
        case 
7:{
            
give_rock_guitar(id);
        }

            }
    return 

PLUGIN_HANDLED;

Неинформативное название темы (исправлено) // Subb98

Последний раз редактировалось Subb98 28 окт 2017, 12:19, всего редактировалось 1 раз.

Причина: Исходный код нужно вставлять при помощи кнопки «Код / Исходник»

Аватара пользователя

KaSkaD

 
Сообщения: 7
Зарегистрирован: 24 окт 2017, 20:00
Благодарил (а): 1 раз.
Поблагодарили: 0 раз.
Языки программирования: Pawn
SourcePawn
C++
Php
Ruby
Python
C#

  • Ответить с цитатой

Re: Menu: fatal error 100 cannot read from file

Сообщение артист666 » 28 окт 2017, 13:52

Если вы хотите чему-то научиться, пробуйте, задавайте вопросы.
Иначе компенсируйте потраченное время на ваши «проблемы».

Аватара пользователя

артист666

 
Сообщения: 2706
Зарегистрирован: 09 апр 2013, 17:46
Благодарил (а): 284 раз.
Поблагодарили: 639 раз.
Опыт программирования: Больше трех лет
Языки программирования: С, C++
Delphi
HTML, CSS, Java Script
Pawn


Вернуться в Вопросы по AMXX и его плагинам

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 1

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <hamsandwich>
#include <xs>
#include <engine>
#include <WPMGPrintChatColor>

#define PLUGIN «Dominations»
#define VERSION «0.6»
#define AUTHOR «Psycrow»

#define sound_domination    «next21_dominations/tf_domination.wav»
#define sound_revenge         «next21_dominations/tf_revenge.wav»
#define sound_freeze_cam     «next21_dominations/freeze_cam.wav»

new dm_frags[33][33]            // Кол-во убийств для доминирования [игрок][жертва]
new dm_dominations_now[33]         // Кол-во доминирований на данный момент у игрока
new bool:dm_domination[33][33]         // Флаг доминирования [игрок][жертва]

public plugin_init()
{
    register_plugin(PLUGIN, VERSION, AUTHOR)

        RegisterHam(Ham_Killed,»player»,»Dominations»)
    register_cvar(«cv_dominations_frags»,»3″)
    register_cvar(«cv_dominations_sounds»,»1″)
    register_cvar(«cv_dominations_total»,»1″)

        if(get_timeleft() < 99999999 && get_cvar_num(«cv_dominations_total»))
        set_task(180.0, «check_timeleft»)
}

public plugin_precache()
{        
    precache_sound(sound_domination)
    precache_sound(sound_revenge)
    precache_sound(sound_freeze_cam)
}

public client_connect(id)
{    
    for(new i=0; i < 33; i++)
    {
        dm_frags[id][i] = 0
        dm_frags[i][id] = 0
        dm_domination[id][i] = false
        dm_domination[i][id] = false
    }

        dm_dominations_now[id] = 0
}

public client_disconnect(id)
{
    new playersnames[33][32], count
    for(new i=0; i < 33; i++)
        if(dm_frags[i][id] >= get_cvar_num(«cv_dominations_frags»))
            get_user_name(i, playersnames[count++], 31)

        if(count == 0)
        return PLUGIN_CONTINUE

        new victimname[32], message[256], len
    get_user_name(id, victimname, 31)

        if(count == 1)
        PrintChatColor(0,PRINT_COLOR_RED,»!g[%s] !tР?РіСЂРѕРє !g%s !tпокадает сервер, РЅРµ отомстив своему палачу !g%s», PLUGIN, victimname, playersnames[0])
    else
    {
        PrintChatColor(0,PRINT_COLOR_RED,»!g[%s] !tР?РіСЂРѕРє !g%s !tпокадает сервер, РЅРµ отомстив СЃРІРѕРёРј палачам:», PLUGIN, victimname)
        for(new x = 0; x < count; x++)
        {
            len += format(message[len], 255-len, «!g%s!t%s «, playersnames[x], x < (count-1) ? «, «:»»)
            if(len > 96 )
                break
        }
        PrintChatColor(0,PRINT_COLOR_RED,»%s», message)
    }

        return PLUGIN_CONTINUE
}

public Dominations(victim, attacker)
{
    if(!is_user_connected(attacker) || !is_user_connected(victim))
        return HAM_IGNORED

        if(cs_get_user_team(attacker) == cs_get_user_team(victim))
        return HAM_IGNORED

        dm_frags[attacker][victim] += 1
    dm_frags[victim][attacker] = 0

        if(dm_frags[attacker][victim] == get_cvar_num(«cv_dominations_frags»))
    {
        dm_domination[attacker][victim] = true
        dm_dominations_now[attacker]++
        new player_name_v[33], player_name_a[33]
        get_user_name(victim, player_name_v, 31)
        get_user_name(attacker, player_name_a, 31)
        PrintChatColor(0,PRINT_COLOR_RED,»!g[%s] !tР?РіСЂРѕРє !g%s !tтеперь доминирует над РёРіСЂРѕРєРѕРј !g%s», PLUGIN ,player_name_a, player_name_v) // Объявляем всем, что началось доминирование между игроками
        if(get_cvar_num(«cv_dominations_sounds»))
            emit_sound(attacker,CHAN_AUTO,sound_domination,1.0, 1.0, 0, 100 )
    }

        if(dm_frags[attacker][victim] > get_cvar_num(«cv_dominations_frags»))
    {
        new player_name_v[33], player_name_a[33]
        get_user_name(victim, player_name_v, 31)
        get_user_name(attacker, player_name_a, 31)
        PrintChatColor(attacker,PRINT_COLOR_RED,»!g[%s] !tР’С‹ СЃРЅРѕРІР° убили СЃРІРѕСЋ жертву !g%s», PLUGIN ,player_name_v) // Объявляем убийце, что жертва являеться его жертвой доминирования
        PrintChatColor(victim,PRINT_COLOR_RED,»!g[%s] !tВас СЃРЅРѕРІР° СѓР±РёР» ваш палач !g%s», PLUGIN ,player_name_a)  // Объявляем жертве доминирования, что убийца являеться его палачом
        if(get_cvar_num(«cv_dominations_sounds»))
            client_cmd(victim, «spk %s», sound_freeze_cam)
    }

        if(dm_frags[victim][attacker] == 0 && dm_domination[victim][attacker])
    {
        dm_domination[victim][attacker] = false
        if(dm_dominations_now[victim] != 0)
            dm_dominations_now[victim]—
        new player_name_v[33], player_name_a[33]
        get_user_name(victim, player_name_v, 31)
        get_user_name(attacker, player_name_a, 31)
        PrintChatColor(0,PRINT_COLOR_RED,»!g[%s] !tР?РіСЂРѕРє !g%s !tотомстил своему обидчику !g%s», PLUGIN, player_name_a, player_name_v)  // Объявляем, что жертва смогла отомстить
        if(get_cvar_num(«cv_dominations_sounds»))
            emit_sound(attacker,CHAN_AUTO,sound_revenge,1.0, 1.0, 0, 100 )
    }

        return HAM_IGNORED
}

public check_timeleft()
{
    new time_string[12]
    format(time_string, 11, «%d.0»,get_timeleft())
    set_task(str_to_float(time_string), «Dominations_total»)
}

public Dominations_total(id)
{
    new dm_max, player_name[33]
    for (new i = 0; i < 33; i++ )
    {
        if(dm_dominations_now[i] > dm_max)
        {
            dm_max = dm_dominations_now[i]
            get_user_name(i, player_name, 31)
        }
    }

        if(dm_max > 2)
        PrintChatColor(id,PRINT_COLOR_RED,»!g[%s] !tР?РіСЂРѕРє !g%s !tсохранил !g%d !tдоминирований», PLUGIN, player_name, dm_max)
}

error 001: expected token: "%s", but found "%s" - ожидался символ: "%s", но был найден "%s";
error 002: only a single statement (or expression) can follow each "case" - только одно заявление (или выражение) могут следовать за "case";
error 003: declaration of a local variable must appear in a compound block - объявленная локальная переменная должна использоваться в этом же блоке;
error 004: function "%s" is not implemented - функция %s не реализована;
error 005: function may not have arguments - функция не имеет аргументов;
error 006: must be assigned to an array - должен быть присвоен массив;
error 007: operator cannot be redefined - оператор не может быть установлен еще раз;
error 008: must be a constant expression; assumed zero - должно быть постоянным выражением; равным нулю;
error 009: invalid array size (negative or zero) - неверный размер массива (отрицательный или 0);
error 010: invalid function or declaration - неизвестная функция или декларация;
error 011: invalid outside functions - неверно вне функции;
error 012: invalid function call, not a valid address - неверный вызов функции, неверный адрес;
error 013: no entry point (no public functions) - нет точки входа (не public функция);
error 014: invalid statement; not in switch - неверный оператор; не в switch;
error 015: "default" case must be the last case in switch statement - "default" должен быть последним условием в switch;
error 016: multiple defaults in "switch" - несколько "default" в switch;
error 017: undefined symbol "%s" - неизвестный символ "%s";
error 018: initialization data exceeds declared size - данные массива превышают его размер;
error 019: not a label: %s" - не метка "%s";
error 020: invalid symbol name "%s" - неверное имя символа "%s";
error 021: symbol already defined: %s" - символ уже объявлен: "%s";
error 022: must be lvalue (non-constant) - должно быть левосторонним (нет постоянной);
error 023: array assignment must be simple assignment - назначение массива должно быть простым;
error 024: "break" or "continue" is out of context - "break" или "continue" вне контекста;
error 025: function heading differs from prototype - функция заголовка отличается от прототипа;
error 026: no matching "#if..." - не найдено "#if...";
error 027: invalid character constant - недопустимый символ в постоянной;
error 028: invalid subscript (not an array or too many subscripts): "%s" - неверный индекс (это не массив или слишком много индексов): "%s";
error 029: invalid expression, assumed zero - неверное выражение, нет результата;
error 030: compound statement not closed at the end of file - составной оператор не закрыт в конце файла;
error 031: unknown directive - неизвестная директива;
error 032: array index out of bounds (variable "%s") - индекс массива превышен;
error 033: array must be indexed (variable "%s") - массив должен быть проиндексирован;
error 034: argument does not have a default value (argument %d) - аргумент не имеет начального значения (аргумент %d);
error 035: argument type mismatch (argument %d) - несоответствие типа аргумента (аргумент %d);
error 036: empty statement - пустой оператор;
error 037: invalid string (possibly non-terminated string) - неправильная строка;
error 038: extra characters on line - лишние символы в строке;
error 039: constant symbol has no size - символьная константа не имеет размера;
error 040: duplicate "case" label (value %d) - несколько раз объявлен "case" с одним тем же параметром;
error 041: invalid ellipsis, array size is not known - размер массива неизвестен;
error 042: invalid combination of class specifiers - недопустимое сочетание класса;
error 043: character constant exceeds range for packed string - символьная константа превышает размер строки;
error 044: positional parameters must precede all named parameters - позиционные параметры должны предшествовать всем именованным параметрам;
error 045: too many function arguments - слишком много аргументов у функции;
error 046: unknown array size (variable "%s") - неизвестный размер массива;
error 047: array sizes do not match, or destination array is too small - размеры массива конфликтуют, либо целевой массив слишком маленький;
error 048: array dimensions do not match - размеры массива не совпадают;
error 049: invalid line continuation - неправильное продолжение строки;
error 050: invalid range - неверный диапазон;
error 051: invalid subscript, use "[ ]" operators on major dimensions - неправильный индекс, используйте "[]";
error 052: multi-dimensional arrays must be fully initialized - много-размерные массивы должны быть полностью определены;
error 053: exceeding maximum number of dimensions - превышение максимального числа измерений;
error 054: unmatched closing brace - не найдена закрывающаяся скобка;
error 055: start of function body without function header - начало функции без заголовка;
error 056: arrays, local variables and function arguments cannot be public (variable "%s") - массивы, локальные переменные и аргументы функции не могут быть общедоступными;
error 057: unfinished expression before compiler directive - незавершенное выражение для компилятора;
error 058: duplicate argument; same argument is passed twice - дублирование аргумента; Аргумент передается несколько раз;
error 059: function argument may not have a default value (variable "%s") - аргумент не может иметь значение по-умолчанию;
error 060: multiple "#else" directives between "#if ... #endif" - Несколько "#else" между "#if ... #endif" - несколько "#else" между "#if и #endif";
error 061: "#elseif" directive follows an "#else" directive - "#else" перед "#elseif";
error 062: number of operands does not fit the operator - количество операндов не соответствует оператору;
error 063: function result tag of operator "%s" must be "%s" - Результат функции %s должен быть %s;
error 064: cannot change predefined operators - невозможно изменить уже определенные операторы;
error 065: function argument may only have a single tag (argument %d) - в этой функции может быть только один аргумент;
error 066: function argument may not be a reference argument or an array (argument "%s") - аргумент функции не может быть ссылкой или массивом;
error 067: variable cannot be both a reference and an array (variable "%s") - Переменная не может быть как массив или ссылка;
error 068: invalid rational number precision in #pragma - неверное число в #pragma;
error 069: rational number format already defined - формат рационального числа уже определен;
error 070: rational number support was not enabled - рациональное число не поддерживается;
error 071: user-defined operator must be declared before use (function "%s") - объявленный оператор должен быть перед использованием;
error 072: "sizeof" operator is invalid on "function" symbols - оператор "sizeof" не может быть использован для символов функции;
error 073: function argument must be an array (argument "%s") - аргумент %s должен быть массивом;
error 074: #define %s must start with an alphabetic character - #define должен начинаться с буквы;
error 075: input line too long (after substitutions - введенная строка слишком длинная;
error 076: syntax *error in the expression, or invalid function call - неправильный синтаксис или неправильный вызов функции;
error 077: malformed UTF-8 encoding, or corrupted file: %s - плохая кодировка UTF-8 или плохой файл: %s;
error 078: function uses both "return" and "return <value>" - функция использует "return" и "return <значение>";
error 079: inconsistent return types (array & non-array) - несовместимость типов возвращенных результатов;
error 080: unknown symbol, or not a constant symbol (symbol "%s") - неизвестный или непостоянный символ: %s;
error 081: cannot take a tag as a default value for an indexed array parameter (symbol "%s") - не может принимать тег в качестве значения по умолчанию для параметра индексированного массива;
error 082: user-defined operators and native functions may not have states - созданные функции или операторы не имеют состояния;
error 083: a function may only belong to a single automaton (symbol "%s") - функция может принадлежать только к одной автоматизации;
error 084: state conflict: one of the states is already assigned to another implementation (symbol "%s") - конфликт состояния: одно из состояний уже назначено на другую реализацию;
error 085: no states are defined for function "%s" - нет состояний, определенных для функции "%s";
error 086: unknown automaton "%s" - неизвестная автоматизация "%s";
error 087: unknown state "%s" for automaton "%s" - неизвестное состояние "%s" в автоматизации "%s";
error 088: number of arguments does not match definition - количество аргументов не совпадает с объявленными в функции;

Member

Old

10-30-2021

, 09:36

 

Re: Problem with client_print_color

Reply With Quote

#10


I was able to fix the script even when the compile has no errors, but when I log in to the server and type timeleft (before that I type the command mp_maxrounds 15) it only shows me «[KGB] preostalo rundi 33» and that display every round.
Can anybody help?
Here is the script:

Code:

#include<amxmodx>
#include<amxmisc>

new MaxRounds
new RoundCount

public plugin_init() {
	
	register_plugin("timeleft", "", "Muhammet Kaya")
	register_logevent("round_end", 2, "1=Round_End")
	register_event("TextMsg", "new_map_or_restart", "a", "2&#Game_C", "2&#Game_w")
	register_clcmd("say timeleft","ShowRoundsLeft")
	MaxRounds = get_cvar_pointer("mp_maxrounds")
}
public round_end() 
{ 
	RoundCount++ 
}

public new_map_or_restart() 
{ 
	RoundCount = 0
}
public ShowRoundsLeft(id)
{
	if(get_pcvar_num(MaxRounds) == 0)
	{
		client_print_color(id,print_chat,"!g[KGB] !nNema ogranicenja rundi!")
	}
	if(get_pcvar_num(MaxRounds) >0)
	{
		client_print_color(id,print_chat,"!g[KGB] !nPreostalo rundi: !t%d", get_pcvar_num(MaxRounds) - RoundCount)
	}
}

stock client_print_color(id, type, const text[], any:...)
{
 if(type == print_chat)
 {
  new g_iMsgidSayText;
  g_iMsgidSayText = get_user_msgid("SayText");

  new szMsg[191], iPlayers[32], iCount = 1;
  vformat(szMsg, charsmax(szMsg), text, 3);

  replace_all(szMsg, charsmax(szMsg), "!g","^x04");
  replace_all(szMsg, charsmax(szMsg), "!n","^x01");
  replace_all(szMsg, charsmax(szMsg), "!t","^x03");

  if(id)
   iPlayers[0] = id;
  else
   get_players(iPlayers, iCount, "ch");

  for(new i = 0 ; i < iCount ; i++)
  {
   if(!is_user_connected(iPlayers[i]))
    continue;
   
   message_begin(MSG_ONE_UNRELIABLE, g_iMsgidSayText, _, iPlayers[i]);
   write_byte(iPlayers[i]);
   write_string(szMsg);
   message_end();
  }
 }
}

Last edited by Grav3yardman; 10-30-2021 at 09:36.

Grav3yardman is offline

CrazzyMan


  • #1

Здорова всем, у меня ошибка при компилировании, знаю эту ошибку, но у меня есть этот инклуд и всё правильно якобы сделано, но всё же pawno пишет мне ошибку, не знаю что делать :(
И так не с одним инклудом.

А, и возможно у меня устаревшие инклуды, так что киньте новый я попробую их закинуть и заного скомпилировать мод. 

Код:

E:Nexsus RolePlaygamemodesnew.pwn(5) : fatal error 100: cannot read from file: "MxINI"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Error. 

Последнее редактирование модератором: 05.05.2016

  • #2

Поместите инклуд Mxini в pawnoinclude, и заново скомпилируйте мод.

Скачать

CrazzyMan


  • #3

@Dmitriy_Orell,
Спасибо,  но у меня там не с одним иклудом а ещё 

objects.inc

streamer.inc
mxdate.inc
morphinc.inc
utils.inc
foreach.inc
sscanf2.inc

Дополнение к сообщению:
@Dmitriy_Orell,
Не, не робит так же выдаёт ошибку ту же 

  • #4

Скачать, инклуд object ищите сами, это документ с маппингом.

Поместите инклуд. Если мод отрыт , то закрывайте, затем, снова открывайте(Мод). Компилируйте.

Последнее редактирование модератором: 05.05.2016

CrazzyMan


  • #5

@Dmitriy_Orell,
Опять же не работает :(

У меня все инклуды были с модом, не знаю из-за чего может опять же выдавать ошибку когда у меня эти инклуды есть. 

  • #6

Открывай павн в папке с этими инлюдами

Аватар

Lethality
Извън линия

VHE Mapper
VHE Mapper
Мнения: 207
Регистриран на: 06 Яну 2020, 15:41
Местоположение: Германия
Се отблагодари: 34 пъти
Получена благодарност: 48 пъти
Обратна връзка:

Gag System [API] v1.1

Стана, благодаря! :tnx:


Аватар

EKOLOGA
Извън линия

Потребител
Потребител
Мнения: 89
Регистриран на: 26 Дек 2016, 04:26
Местоположение: plovdiv
Получена благодарност: 5 пъти
Обратна връзка:

Gag System [API] v1.1

Мнение

от EKOLOGA » 20 Яну 2021, 18:46

.: Return to main page :.

«AMX Mod X 1.10» Compilation has failed!

Check errors below:

AMX Mod X Compiler 1.10.0.5390
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2013 AMX Mod X Team

gag_system.sma(6) : fatal error 100: cannot read from file: «WPMGPrintChatColor»

Compilation aborted.
1 Error.
Done.

ERROR: The plugin you tried to compile needs a 3rd party include file.
Please contact the administrator via email ([email protected]) to add the include.
Това е когато се опиташ да компилираш за 1.10 амх мод някой да вземе да фиксира освен сма то или да прегледа темата тъй като има грешки в кодирането!

Изображение
Изображение

IP: 93.123.16.44:27015

FPS: 10000 (TEN-THOUSAND!)
SITE: www.CS-PARADISE.EU

CS-PARADISE.EU е верига игрални сървъри ориентирана към зрялата аудитория на неостаряващата класика Counter-Strike 1.6

» Уникалена cheat system — НИКАКВИ ХАКЕРИ
» 10000 FPS (ДЕСЕТ ХИЛЯДИ!) — НИКАКЪВ ЛАГ
» Гигабитова свързаност — НАЙ-НИСКИЯТ ПИНГ
» Професионална поддръжка — НАЙ-ЯКИТЕ НАСТРОЙКИ
» Непрестанно обновяване — НАЙ-НОВИТЕ МОДОВЕ

С нас ще преоткриеш CS 1.6 в безкомпромисни сървъри, където честната игра е гарантирана от уникалната ни защита!

ВНИМАНИЕ:
ПРИ НАС СТРЕЛЯТ ДОСТА СИЛНИ ИГРАЧИ!
ДОРИ СРЕД МОМИЧЕТАТА ИМА БРУТАЛНИ
———————-
Изображение



Аватар

OciXCrom
Извън линия

Администратор
Администратор
Мнения: 7206
Регистриран на: 06 Окт 2016, 19:20
Местоположение: /resetscore
Се отблагодари: 117 пъти
Получена благодарност: 1284 пъти
Обратна връзка:

Gag System [API] v1.1

Мнение

от OciXCrom » 20 Яну 2021, 20:33

Не знам как прецени, че има «грешки в кодирането». Точно и ясно ти пише какво да направиш.
Така е като ползвате рандом онлайн компалйери и не четете.


Аватар

Lethality
Извън линия

VHE Mapper
VHE Mapper
Мнения: 207
Регистриран на: 06 Яну 2020, 15:41
Местоположение: Германия
Се отблагодари: 34 пъти
Получена благодарност: 48 пъти
Обратна връзка:

Gag System [API] v1.1

Мнение

от Lethality » 19 Фев 2021, 00:25

Плъгина е преместен над adminchat_ocixcrom.amxx, въпреки това играчите могат да пишат в (Player Chat) — (amx_asay) след като са гагнати. След като спра adminchat_ocixcrom.amxx работи нормално и не могат да пишат в Player Chat.. Как мога да запазя Ocixcrom’s AdminChat и плъгина да гагва нормално, включително и Player Chat-а…
Благодаря



Аватар

Lethality
Извън линия

VHE Mapper
VHE Mapper
Мнения: 207
Регистриран на: 06 Яну 2020, 15:41
Местоположение: Германия
Се отблагодари: 34 пъти
Получена благодарност: 48 пъти
Обратна връзка:

Gag System [API] v1.1

Мнение

от Lethality » 19 Фев 2021, 10:46

Най-отгоре е сложен в плъгин листа. Както споменах гага работи, с изключение на Player Chat. Очевидно вече не се разбират с crx adminchat-a , затова. Надявам се някой да има идея какво да се направи.. :rolle:


Аватар

ChrisBenoit
Извън линия

Потребител
Потребител
Мнения: 67
Регистриран на: 30 Яну 2021, 19:37
Се отблагодари: 19 пъти
Получена благодарност: 1 път
Обратна връзка:

Gag System [API] v1.1

Мнение

от ChrisBenoit » 19 Фев 2021, 12:38

menkisa написа: ↑19 Фев 2021, 10:46
Най-отгоре е сложен в плъгин листа. Както споменах гага работи, с изключение на Player Chat. Очевидно вече не се разбират с crx adminchat-a , затова. Надявам се някой да има идея какво да се направи.. :rolle:

Просто промени adminchat_ocixcrom.amxx на adminchat.amxx и премахни стария adminchat.amxx от папката plugins.При мен е така и всичко си работи както трябва. :)

Enjoy Highserv.eu Servers
Dust2Only IP: 93.123.18.21:27016
BaseBuilder IP: 93.123.18.21:27017
Forum: www.highserv.eu/forum/


Аватар

OciXCrom
Извън линия

Администратор
Администратор
Мнения: 7206
Регистриран на: 06 Окт 2016, 19:20
Местоположение: /resetscore
Се отблагодари: 117 пъти
Получена благодарност: 1284 пъти
Обратна връзка:

Gag System [API] v1.1

Мнение

от OciXCrom » 19 Фев 2021, 15:26

ChrisBenoit написа: ↑19 Фев 2021, 12:38

menkisa написа: ↑19 Фев 2021, 10:46
Най-отгоре е сложен в плъгин листа. Както споменах гага работи, с изключение на Player Chat. Очевидно вече не се разбират с crx adminchat-a , затова. Надявам се някой да има идея какво да се направи.. :rolle:

Просто промени adminchat_ocixcrom.amxx на adminchat.amxx и премахни стария adminchat.amxx от папката plugins.При мен е така и всичко си работи както трябва. :)

По-голяма глупост не съм чувал. :)


Аватар

ChrisBenoit
Извън линия

Потребител
Потребител
Мнения: 67
Регистриран на: 30 Яну 2021, 19:37
Се отблагодари: 19 пъти
Получена благодарност: 1 път
Обратна връзка:

Gag System [API] v1.1

Мнение

от ChrisBenoit » 20 Фев 2021, 01:59

OciXCrom написа: ↑19 Фев 2021, 15:26

ChrisBenoit написа: ↑19 Фев 2021, 12:38

menkisa написа: ↑19 Фев 2021, 10:46
Най-отгоре е сложен в плъгин листа. Както споменах гага работи, с изключение на Player Chat. Очевидно вече не се разбират с crx adminchat-a , затова. Надявам се някой да има идея какво да се направи.. :rolle:

Просто промени adminchat_ocixcrom.amxx на adminchat.amxx и премахни стария adminchat.amxx от папката plugins.При мен е така и всичко си работи както трябва. :)

По-голяма глупост не съм чувал. :)

МНЕНИЕТО Е СКРИТО ОТ СТРАНА НА МОДЕРАТОР! ЦЪКНИ ВЪРХУ ЛЕНТАТА ЗА ДА ГО ПРЕГЛЕДАШ.

Последно промяна от stambeto2006 на 20 Фев 2021, 12:48, променено общо 1 път.

Причина: Безсмислен коментар! Какво общо има името на плъгина като го промениш?

Enjoy Highserv.eu Servers
Dust2Only IP: 93.123.18.21:27016
BaseBuilder IP: 93.123.18.21:27017
Forum: www.highserv.eu/forum/


  • 4 Отговори
    4235 Преглеждания
     Последно мнение от Kvothe

    25 Яну 2019, 16:15

  • 5 Отговори
    2351 Преглеждания
     Последно мнение от OciXCrom

    01 Мар 2020, 13:54

  • 0 Отговори
    1714 Преглеждания
     Последно мнение от ~jeff

    25 Ное 2018, 13:19

  • 6 Отговори
    3251 Преглеждания
     Последно мнение от itzBogdaN69

    09 Авг 2018, 15:12

  • 4 Отговори
    2289 Преглеждания
     Последно мнение от 1Life1Dead

    03 Авг 2018, 20:19

  • 0 Отговори
    2195 Преглеждания
     Последно мнение от Scorpions95

    18 Апр 2018, 10:40

  • 9 Отговори
    1021 Преглеждания
     Последно мнение от LuXo

    27 Май 2022, 04:55

Кой е на линия

Потребители разглеждащи този форум: 0 регистрирани и 0 госта

Introduction:
I have seen MANY people that complain about a VERY SIMPLE mistake. ‘Cannot read from file’

Even though they have the file in the correct place, it will spit out that error because they tend to conflict if you have more than 1 pawno in your pc.

How to fix it?
Very simple, follow this steps below:

1. Open pawno.exe ( Make sure you open the same pawno that contains all your stuff )
2. Click: File > Open > YOURSCRIPT ( The one that is showing errors )
3. Compile.

Some topics that i seen having this errors:

Code:

C:DOCUME~1CHRIST~1DesktopDEV'SM~1FILTER~1GarHouse.pwn(28) : fatal error 100: cannot read from file: "streamer"

Code:

C:Documents and SettingsVladoDesktopsa-mpfilterscriptsMace.pwn(2) : fatal error 100: cannot read from file: "Dini"

Code:

I was trying to compile several scripts but I got the same error everytime ''Fatal error 100: cannot read from file  ''a_samp''. I even downloaded a whole new server from sa-mp.com and compiled a blanc script and I still got the same error, anyone knows what I should do?

Code:

Hi when i compile my gm it says : fatal error 100: cannot read from file: "Foreach" plz help i dont wanna ruin my 41k line

Code:

C:UsersWilliamDownloadsTITropical Island ServerfilterscriptsAdminscript.pwn(2) : fatal error 100: cannot read from file: "lethaldudb2"

Code:

C:Documents and SettingsVladoDesktopsa-mpgamemodesMace.pwn(2) : fatal error 100: cannot read from file: "Dini"

Code:

C:UsersBradDesktopVortexRoleplay.pwn(20) : fatal error 100: cannot read from file: "streamer"

Code:

C:UsersUserDesktop.3bGamemodesSATDM_v9.pwn( 46) : fatal error 100: cannot read from file: "Ldudb"

Code:

I have WIndow's XP ,

: fatal error 100: cannot read from file: "xadmin/Xtremeadmin.inc"

I dont know what to do!!!

Please help

I have all .inc files
And all the things are good ... but then in get this.....
My other filterscripts works verry goood
Please help me!

—————
Anyways, i don’t want to go through all the topics. And I think there is two of the same errors above ^ and that is because that same person made two topics about the same thing.
—————
Again, this is only for the people that have the correct files were they are supposed to be, but its giving this error!

And sorry for this small tut, but its too easy to fix, just teaching people what and how the problem is caused. And how to fix it

Posts: 92
Threads: 30
Joined: Sep 2008

Reputation:

0

Great, helped me thanks.

As you mentioned, this happens when people have more than one pawno on their computer and they click the pwn file to open it rather than opening pawno, then File>Open>Compile, which loads the correct dll’s etc.

Posts: 15
Threads: 0
Joined: Aug 2010

Reputation:

0

Very simple, but good lesson

Posts: 1,341
Threads: 17
Joined: Aug 2009

Reputation:

0

Nice Tutorial

Posts: 360
Threads: 32
Joined: Jul 2010

Reputation:

0

Posts: 3,793
Threads: 196
Joined: Jan 2010

Reputation:

0

Great info to those starters mate, should reduce some spam of bullshit around here :P

Posts: 1,170
Threads: 19
Joined: May 2010

Reputation:

0

Quote:

Originally Posted by Lorenc_
View Post

Great info to those starters mate, should reduce some spam of bullshit around here :P

no tutorial reduces spam, 50% of topics can be solved by searching, which some users do not do. They don’t read tutorials, because there are still threads on the EXACT topics tutorials are trying to teach. Then there is that small percentage that searches, and this will help them :P

KK


Little Clucker
**

Posts: 14
Threads: 1
Joined: Jul 2010

Reputation:

0

OK, some people may say this didn’t work too. You have to close pawno, then go to the «pawno» folder and open pawno manually, after doing so, choose «open», select your file, open it, then ONLY press «compile».

Posts: 127
Threads: 22
Joined: Aug 2010

Reputation:

0

Just to add Why this happens:

It is Usual by people with more than one Server Package. PAWNO is Programmed to Configure registry so that Every .pwn file is executed with RecentOpenedSAMPServerPackagepawnopawn.exe
So basically then you goto the other Package you are scripting for and open a .pwn file And That isnt the Pawno from the package you are working from then Another one. So we need to re-accosiate pawno….

Oh sorry Guys that was SUPER not Understandable here il simple it out

Basically:

Code:

You open Server2pawnopawn.exe. Server2pawnopawn.exe makes all pawn files open with it.
You open Server1filterscriptsgamemode.pwn. gamemode.pwn Opens with Server2pawnopawn.exe
Server2pawnopawn.exe Loads all Server2pawnoinclude Includes.
And we need the includes from Server1

So, we open Server1pawnopawn.exe pawn.exe of Server1 makes all .pwn files open with it.
All Needed includes are loaded.

You succeded.

Posts: 2,268
Threads: 89
Joined: Apr 2009

Reputation:

0

Yeah, KK and DeadAhead thanks for making things clearer.

Posts: 57
Threads: 21
Joined: Sep 2010

Reputation:

0

Posts: 98
Threads: 17
Joined: Feb 2011

Reputation:

0

23.02.2011, 19:34

(

Last edited by dahley5; 23/02/2011 at 08:05 PM.

)

i did what KK said but it still didn’t work 0,0

Code:

C:UsersGebruikerDesktopSAMP servert3gamemodesonzeserver.pwn(2) : fatal error 100: cannot read from file: "aHouse"

still appears :S
i just can’t get it done i’ve tried everything that appeared in my brainsz!

Posts: 1,152
Threads: 11
Joined: Feb 2010

Reputation:

0

Did you open the right pawno? If you click on the .pwn to open pawno it might have opened the wrong one, wich is not linked to «aHouse.inc»

Posts: 508
Threads: 34
Joined: Feb 2011

Reputation:

0

some more info.

1) Put your plugins properly
2) Update your .Net Framework

Posts: 213
Threads: 8
Joined: Jan 2011

Reputation:

0

Good And I Have my TuT Too
it’s Simple like this,, anyway!
Thank u!

Posts: 757
Threads: 94
Joined: Feb 2011

Reputation:

0

thank you very much thats helped me XD

Posts: 305
Threads: 28
Joined: Apr 2011

Reputation:

0

Very simple, but very good

Posts: 139
Threads: 29
Joined: Aug 2010

Reputation:

0

This does not work to me? It still keeps giving the error for some reason.

Posts: 1,564
Threads: 98
Joined: Apr 2011

Reputation:

0

Quote:

Originally Posted by Alphos
View Post

This does not work to me? It still keeps giving the error for some reason.

Open the pawno, where you’ve putted the includes in the include folder. Do NOT open your GM/FS with a double-click. Then open the game mode with ctrl+o, and try it again

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Fatal error 100 cannot read from file crashdetect
  • Fatal error 100 cannot read from file core
  • Fatal error 100 cannot read from file a samp
  • Fatal error 10 out of resources esxi
  • Fatal dx9 error что это

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии