Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe
  • 0
Sign in to follow this  
super.55885

флуд от дебага в rpt

Привет всем.
У меня на сервере dyayz epoch 1.0.5.1 стоит дебаг такого содержания:

 

fnc_debug = {
    debugMonitor = true;
    while {debugMonitor} do
    {
        _Survivors = playersNumber west;
		_kills =        player getVariable["zombieKills",0];
        _killsH =        player getVariable["humanKills",0];
        _killsB =        player getVariable["banditKills",0];
        _humanity =        player getVariable["humanity",0];
        _headShots =    player getVariable["headShots",0];
        _zombies =              count entities "zZombie_Base";
        _zombiesA =    {alive _x} count entities "zZombie_Base";
        _banditCount = {(isPlayer _x) && ((_x getVariable ["humanity",0]) < 0)} count playableUnits;
        _heroCount  = {(isPlayer _x) && ((_x getVariable ["humanity",0]) >= 5000)} count playableUnits;
        _pic = (gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'picture'));
	        if (player == vehicle player) then
            {
                _pic = (gettext (configFile >> 'cfgWeapons' >> (currentWeapon player) >> 'picture'));
            }
                else
            {
                _pic = (gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'picture'));
            };
					_stime = 0;
					if(serverTime > 36000)then{_stime = time;}else{_stime = serverTime;};
					_hours = (_stime/60/60);
					_hours = toArray (str _hours);
					_hours resize 1;
					_hours = toString _hours;
					_hours = compile _hours;
					_hours = call  _hours;
					_minutes = floor(_stime/60);
					_minutes2 = ((_minutes - (_hours*60)) min 60) max 0;if (_minutes2 < 10) then {_minutes2 = format ['0%1',_minutes2];};
					
        hintSilent parseText format ["
		<img size='4.25' image='debugImage\hostimage.paa'/><br/>
		<t size='1.15' font='Bitstream'align='center' color='#5882FA'>Survived %1 Days</t><br/>
		<t size='0.95' font='Bitstream' align='left' color='#FFA500' >Online Players: </t><t size='0.95' font='Bitstream' align='right' color='#FFFFFF' >%2</t><br/>
		<t size='0.95' font='Bitstream' align='left' color='#FFA500' >FPS: </t><t size='0.95' font='Bitstream' align='right' color='#FFFFFF' >%3</t><br/>
		<t size='0.95' font='Bitstream' align='left' color='#FFBF00'>UPTIME: </t><t size='1' font='Bitstream' align='right'>%4h %5min</t><br/>
		<t size='0.95'font='Bitstream'align='left' color='#FFA500' >Blood:</t><t size='0.95' font='Bitstream'align='right' color='#FFFFFF' >%6</t><br/>
        <t size='0.95'font='Bitstream'align='left' color='#FFA500' >Humanity:</t><t size='0.95'font='Bitstream'align='right' color='#FFFFFF' >%7</t><br/>
        <t size='0.95'font='Bitstream'align='left' color='#FF6600' >Humans Killed:</t><t size='0.95'font='Bitstream'align='right' color='#FFFFFF' >%8</t><br/>
        <t size='0.95'font='Bitstream'align='left' color='#FF6600' >Bandits Killed:</t><t size='0.95'font='Bitstream'align='right' color='#FFFFFF' >%9</t><br/>
        <t size='0.95'font='Bitstream'align='left' color='#FF6600' >Zombies Killed:</t><t size='0.95'font='Bitstream'align='right' color='#FFFFFF' >%10</t><br/>
        <t size='0.95'font='Bitstream'align='left' color='#FF6600' >Headshots:</t><t size='0.95'font='Bitstream'align='right' color='#FFFFFF' >%11</t><br/>
		<img size='5' image='%12'/><br/>
		<t size='0.95'font='Bitstream'align='left' color='#5882FA' >Press F10 to toggle debug menu! </t><br/>",
		dayz_Survived,                               //%1 Survived DayZ
		_Survivors,                                  //%2 Online Player
		round diag_fps,                              //%3 FPS
		_hours,                                      //%4 Uptime Hours
		_minutes2,                                   //%5 Uptime Minutes 
		(r_player_blood),                            //%6 Blood
		round _humanity,                             //%7 Humanity
		_killsH,                                     //%8 Humans Killed
		_killsB,                                     //%9 Bandits Killed
		_kills,                                      //%10 Zombies Killed
		_headShots,                                  //%11 Headshots
		_pic                                         //%12 Picture weapon																	   
		];
    sleep 1;
    };
};
 
[] spawn fnc_debug;

 

и при запущенном сервере идёт флуд в rpt лог сервера такой:

 

1:01:18   Error position: <dayz_Survived,                          >
 1:01:18   Error Undefined variable in expression: dayz_survived
 1:01:18 File mpmissions\DayZ_Epoch_24.Napf\custom_monitor.sqf, line 49
 1:01:19 Wrong text element 'null'
 1:01:19 Wrong text element 'null'
 1:01:19 Wrong text element 'null'
 1:01:19 Wrong text element 'null'
 1:01:19 Error in expression <s F10 to toggle debug menu! </t><br/>",
dayz_Survived,                          >
 1:01:19   Error position: <dayz_Survived,                          >
 1:01:19   Error Undefined variable in expression: dayz_survived
 1:01:19 File mpmissions\DayZ_Epoch_24.Napf\custom_monitor.sqf, line 49
 1:01:19 "TIME SYNC: Local Time set to [2013,8,3,1,1]"
 1:01:20 Wrong text element 'null'
 1:01:20 Wrong text element 'null'
 1:01:20 Wrong text element 'null'
 1:01:20 Wrong text element 'null'
 1:01:20 Error in expression <s F10 to toggle debug menu! </t><br/>",
dayz_Survived,                          >

 

 

Помогите исправить, заколебал этот флуд.

Ошибку не смог сам найти.

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

попробуй заменить dayz_survived на dayz_skilllevel

Share this post


Link to post
Share on other sites







  • 0

Тогда получаю такой флуд:





13:52:22 Error in expression <s F10 to toggle debug menu! </t><br/>",
dayz_skilllevel,                        >
13:52:22   Error position: <dayz_skilllevel,                        >
13:52:22   Error Undefined variable in expression: dayz_skilllevel
13:52:22 File mpmissions\DayZ_Epoch_24.Napf\custom_monitor.sqf, line 49
13:52:23 Wrong text element 'null'
13:52:23 Wrong text element 'null'
13:52:23 Wrong text element 'null'
13:52:23 Wrong text element 'null'
13:52:23 Error in expression <s F10 to toggle debug menu! </t><br/>",
dayz_skilllevel,                        >
13:52:23   Error position: <dayz_skilllevel,                        >
13:52:23   Error Undefined variable in expression: dayz_skilllevel
13:52:23 File mpmissions\DayZ_Epoch_24.Napf\custom_monitor.sqf, line 49

И если я делаю такую замену, то вместо цифры (19 у меня) ставится это: any)

Edited by super.55885 (see edit history)

Share this post


Link to post
Share on other sites
  • 0

Тогда получаю такой флуд:





13:52:22 Error in expression <s F10 to toggle debug menu! </t><br/>",
dayz_skilllevel,                        >
13:52:22   Error position: <dayz_skilllevel,                        >
13:52:22   Error Undefined variable in expression: dayz_skilllevel
13:52:22 File mpmissions\DayZ_Epoch_24.Napf\custom_monitor.sqf, line 49
13:52:23 Wrong text element 'null'
13:52:23 Wrong text element 'null'
13:52:23 Wrong text element 'null'
13:52:23 Wrong text element 'null'
13:52:23 Error in expression <s F10 to toggle debug menu! </t><br/>",
dayz_skilllevel,                        >
13:52:23   Error position: <dayz_skilllevel,                        >
13:52:23   Error Undefined variable in expression: dayz_skilllevel
13:52:23 File mpmissions\DayZ_Epoch_24.Napf\custom_monitor.sqf, line 49

И если я делаю такую замену, то вместо цифры (19 у меня) ставится это: any)

Вам вообще обязательно знать сколько дней вы выжили? Вообще бесполезная вещь. Если она вам точно не нужна, то можете удалить ее просто из конфига.

Share this post


Link to post
Share on other sites
  • 0

жаль, прийдётся удалить её тогда, хотя хотелось бы её оставить для игроков, им нравится)

 

Нашёл временное решение для проблемы. Хотя ... наверно это больше тупо отключение вывода её в лог.

 

Решение:
Добавить строку

[] execVM "custom_monitor.sqf";

 

после строки

if (!isDedicated) then {
Edited by super.55885 (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Similar Content

    • By Anton81
      Всем привет, может кто помочь??
      1. Ошибка в серверном RPT
      13:36:47 Error in expression <haracter,_magazines select 0,_magazines select 1];
      _character setVariable["Serve>
      13:36:47   Error position: <select 1];
      _character setVariable["Serve>
      13:36:47   Error Zero divisor
      13:36:47 File z\addons\dayz_server\compile\server_playerSync.sqf, line 62
      2. А ошибка в клиентском RPT
      Warning Message: No entry 'bin\config.bin/CfgMagazines.45Rnd_545x39_RPK'.
      Warning Message: No entry '.picture'.
      Warning Message: '/' is not a value
      Warning Message: No entry '.scope'.
      Warning Message: '/' is not a value
      Warning Message: Error: creating magazine 45Rnd_545x39_RPK with scope=private
      Warning Message: No entry '.displayName'.
      Warning Message: '/' is not a value
      Warning Message: No entry '.displayNameShort'.
      Warning Message: '/' is not a value
      Warning Message: No entry '.nameSound'.
      Warning Message: '/' is not a value
      Warning Message: No entry '.Library'.
      Warning Message: No entry '.libTextDesc'.
      Warning Message: '/' is not a value
      Warning Message: No entry '.type'.
      Warning Message: '/' is not a value
      Warning Message: No entry '.count'.
      Warning Message: '/' is not a value
      Warning Message: No entry '.maxLeadSpeed'.
      Warning Message: '/' is not a value
      Warning Message: No entry '.initSpeed'.
      Warning Message: '/' is not a value
      Warning Message: No entry '.reloadAction'.
      Warning Message: '/' is not a value
      Warning Message: No entry '.modelSpecial'.
      Warning Message: '/' is not a value
      Warning Message: No entry '.ammo'.
      Warning Message: '/' is not a value
    • By Anton81
      Всем привет, скрипт работает отлично , но в клиентском рпт вот такая ошибка
      Error in expression < }; sleep 0.1; }; _chopper removeAction BTC_liftHudId; if (BTC_lift == 0) then {> Error position: <BTC_liftHudId; if (BTC_lift == 0) then {> Error Undefined variable in expression: btc_lifthudid File mpmissions__CUR_MP.Chernarus\custom=BTC=_Logistic=BTC=_Lift=BTC=_LiftInit.sqf, line 178
      может кто знает как это исправить.
    • By Gromillla
      WARNING: Function "name" - 25e0b040# 1060095: bm21.p3d has no unit - network id 2:4830 Вопрос к знатокам, что это такое и является ли нормой если это сообщение много раз дублируется?
      WARNING: Function "name" - Ник игрока is dead Это сообщение тоже много спамит одно и тоже, для одного игрока, я тоже полагаю что оно тем самым может напрягать сервер, есть ли решение по данному вопросу? или это норма?
    • By Валерий
      Всем доброго! Заметил у себя ошибку и не успел сообразить когда появилась пробовал отключать скрипты по одному по два,  чтобы выявить откуда ноги растут но безрезультатно искал что то похожее в файлах но попытка снова увенчалась неудачей!
      Вот та самая ошибка! 
      Error in expression <ns = _survival select 3; _days = floor (_totalMins / 1440); _totalMins = (_total>   Error position: <_totalMins / 1440); _totalMins = (_total>   Error Undefined variable in expression: _totalmins Может кто буквы знакомые увидит?)
    • By davidx
      Добрый вечер, большое количество сообщение о данной ошибке у клиента, что может быть?
       
      Error position: <!= '0'))then { _vehcolor = [0.7,0,0,1]; > Error Generic error in expression Error in expression <','0']; if((MOD_EPOCH) && (_characterID != '0'))then { _vehcolor = [0.7,0,0,1]; > Error position: <!= '0'))then { _vehcolor = [0.7,0,0,1]; > Error Generic error in expression Error in expression <','0']; if((MOD_EPOCH) && (_characterID != '0'))then { _vehcolor = [0.7,0,0,1]; > Error position: <!= '0'))then { _vehcolor = [0.7,0,0,1]; > Error Generic error in expression Error in expression <','0']; if((MOD_EPOCH) && (_characterID != '0'))then { _vehcolor = [0.7,0,0,1]; > Error position: <!= '0'))then { _vehcolor = [0.7,0,0,1]; > Error Generic error in expression Error in expression <','0']; if((MOD_EPOCH) && (_characterID != '0'))then { _vehcolor = [0.7,0,0,1]; > Error position: <!= '0'))then { _vehcolor = [0.7,0,0,1]; > Error Generic error in expression Error in expression <','0']; if((MOD_EPOCH) && (_characterID != '0'))then { _vehcolor = [0.7,0,0,1]; > Error position: <!= '0'))then { _vehcolor = [0.7,0,0,1]; > Error Generic error in expression  
  • Our picks

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.