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  
Anton81

Ошибка в клиентском RPT dayz epoch 1.0.6.2

Всем привет, скрипт работает отлично , но в клиентском рпт вот такая ошибка

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

может кто знает как это исправить.

Share this post


Link to post
Share on other sites

15 answers to this question

Recommended Posts

  • 0

Anton81 В кастомном variables.sqf в dayz_resetSelfActions добавить:

BTC_liftActionId = -1;
BTC_liftHudId = -1;

 

Share this post


Link to post
Share on other sites







  • 0
11 минуту назад, guyfromgarlem сказал:

файл variables.sqf

в секцию dayz_resetSelfActions

добавить нужно

да нет у меня такой секции, если только добавить саму секцию??

Edited by Anton81 (see edit history)

Share this post


Link to post
Share on other sites
  • 0
20 минут назад, guyfromgarlem сказал:

неужели? https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_code/init/variables.sqf#L163

если прям нет нет 

то проблем нет ее туда добавить

dayz_resetSelfActions = {

бла бла

};

call dayz_resetSelfActions;

ок, спасибо друг)

Share this post


Link to post
Share on other sites
  • 0

Anton81 Вы variables из dayz_code вытащите. У вас несколько variables что ли? приложите init.sqf

 

Share this post


Link to post
Share on other sites
  • 0
1 час назад, TheFirstNoob сказал:

Anton81 нашёл как подключать этот файл, спасибо

 

 

 

 

Edited by Anton81 (see edit history)

Share this post


Link to post
Share on other sites
  • 0
57 минут назад, Anton81 сказал:

 

 

 

появилась другая ошибка в клинтском рпт

"DEBUG BTC LIFT: Paradrop height: 110.936"
Error in expression <adrop;


sleep 60;

PVDZE_veh_Update = [_vehicle, "all"];
publicVariableServer ">
  Error position: <_vehicle, "all"];
publicVariableServer ">
  Error Undefined variable in expression: _vehicle
File mpmissions\__CUR_MP.Chernarus\custom\=BTC=_Logistic\=BTC=_Lift\=BTC=_detachCargo.sqf, line 37

и стал цеплять закрытую технику

Share this post


Link to post
Share on other sites
  • 0

Anton81 Где вы нашли этот мод?

В файле явная ошибка.
Моя версия:

private ["_vel","_name_cargo","_chopper","_cargo","_cantsee"];
_chopper   = vehicle player;
_cargo = _chopper getVariable "BTC Lift Object";
_cantsee = lineIntersects [getposASL(_chopper), getposASL(_cargo), _chopper, _cargo];

if (!_cantsee) then {
	BTC_lifted = 0;
	_chopper removeAction BTC_SganciaActionId;
	detach _cargo;
	_vel =  velocity _chopper;
	_cargo setVelocity _vel;

	_name_cargo  = getText (configFile >> "cfgVehicles" >> typeof _cargo >> "displayName");
	vehicle player vehicleChat format ["%1 dropped", _name_cargo];
	[_chopper, _cargo, "ParachuteWest"] spawn BTC_paradrop;
};

 

Share this post


Link to post
Share on other sites
  • 0

Ford а можно сделать так чтоб нельзя было сесть на стрелка во время перелёта?

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 Trueтень733
      500 метров и начинается туман ,есть у кого настройки тумана ???Спасибо)))

      Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.

      Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.
    • By Trueтень733
      Ищем человека кто сможет сделать Автоивент,либо подскажите у кого есть какие автоивенты для DayZ,кто занимается именно созданием ивентов,Спасибо!
    • By MrMiBl
      Всем привет! С наступающим!  
      Проблема такая: безсознанка очень долгая (от двух минут и больше от рандомной пульки...)
      Собственно вопрос: как её отключить либо сократить время?  
      покопавшись в файлах нашел такую тему: fn_unconscious.sqf
      // (c) facoptere@gmail.com, licensed to DayZMod for the community private ["_count","_anim","_weapon","_sprint","_stance","_transmove","_start","_timeout","_short","_sandLevel","_speed"]; if (r_player_unconsciousInProgress) exitWith {}; r_player_unconsciousInProgress = true; r_player_unconsciousInputDisabled = true; //this is like this in order to release the current user input disableUserInput true; disableUserInput true; disableUserInput false; disableUserInput false; disableUserInput true; disableUserInput true; _start = diag_tickTime; _timeout = abs r_player_timeout; _short = _timeout < 4; if (!_short) then { 4 cutRsc ["playerStatusWaiting", "PLAIN",1]; playSound "heartbeat_1"; }; _count = 0; // can be set to false by medEPI.sqf, during the 'while' loop r_player_unconscious = true; player setVariable ["NORRN_unconscious", r_player_unconscious, true]; _sandLevel = ctrlPosition ((uiNamespace getVariable 'DAYZ_GUI_waiting') displayCtrl 1400); //diag_log [(diag_tickTime - _start) < _timeout , !r_player_unconscious , alive player ]; dayz_autoRun = false; if (player == vehicle player) then { player playAction "CanNotMove"; }; "dynamicBlur" ppEffectEnable true;"dynamicBlur" ppEffectAdjust [2]; "dynamicBlur" ppEffectCommit 0; "colorCorrections" ppEffectEnable true;"colorCorrections" ppEffectEnable true;"colorCorrections" ppEffectAdjust [1, 1, 0, [1, 1, 1, 0.0], [1, 1, 1, 0.1], [1, 1, 1, 0.0]];"colorCorrections" ppEffectCommit 0; if (dayz_soundMuted) then {call player_toggleSoundMute;}; // hide icon before fadeSound 0 fadeSound 0.05; while { (diag_tickTime - _start) < _timeout and r_player_unconscious and alive player } do { player setVariable ["unconsciousTime", _timeout - diag_tickTime + _start, (_count % 10) == 0]; if (!_short) then { _sandLevel set [ 3, 0.136829 * safezoneH * (diag_tickTime - _start) / _timeout ]; ((uiNamespace getVariable 'DAYZ_GUI_waiting') displayCtrl 1400) ctrlSetPosition _sandLevel; ((uiNamespace getVariable 'DAYZ_GUI_waiting') displayCtrl 1400) ctrlCommit 0.05; }; /*_veh = vehicle player; if ((player != _veh) and {(_veh iskindOf "LandVehicle")}) then { _speed = [0,0,0] distance velocity _veh; if (_speed > 10) then { _veh engineOn false; } else { player action ["eject", _veh]; player leaveVehicle _veh; [] spawn { uiSleep 0.1; player playMoveNow "amovppnemstpsnonwnondnon"; }; // instant prone }; }; if (player == _veh) then { player setVelocity [0,0,0]; }; */ uiSleep 0.1; _count = _count + 1; }; if (!_short) then{ 4 cutRsc ["default", "PLAIN",0]; }; r_player_unconscious = false; player setVariable ["NORRN_unconscious", r_player_unconscious, true]; r_player_timeout = 0; player setVariable ["unconsciousTime", r_player_timeout, true]; r_player_cardiac = false; player setVariable ["USEC_isCardiac",r_player_cardiac, true]; r_player_unconsciousInProgress = false; 4 cutRsc ["default", "PLAIN",1]; if (player == vehicle player) then { // "AinjPpneMstpSnonWnonDnon" rolls from back first (jarring transition if player was knocked out prone or fell to stomach) [nil, player, rSWITCHMOVE, "AmovPpneMstpSnonWnonDnon_healed"] call RE; player SWITCHMOVE "AmovPpneMstpSnonWnonDnon_healed"; PVDZ_plr_SwitchMove = [player,"AmovPpneMstpSnonWnonDnon_healed"]; publicVariableServer "PVDZ_plr_SwitchMove"; //Needed to execute switchMove on server machine. rSwitchMove only executes on other clients player playMoveNow "AmovPpneMstpSnonWnonDnon_healed"; }; 10 fadeSound 1; "dynamicBlur" ppEffectAdjust [0]; "dynamicBlur" ppEffectCommit 5; "colorCorrections" ppEffectAdjust [1, 1, 0, [1, 1, 1, 0.0], [1, 1, 1, 1], [1, 1, 1, 1]];"colorCorrections" ppEffectCommit 5; if ({getNumber (configFile >> "CfgWeapons" >> _x >> "type") in [1,2]} count (weapons player) > 0) then { //Prevent firing while weapon is still shown on back or holstered. AmovPpneMstpSnonWnonDnon_healed has disableWeapons=0 in config (should be 1) waitUntil {uiSleep 1; !(animationState player in ["ainjppnemstpsnonwnondnon_rolltofront","amovppnemstpsnonwnondnon_healed","amovppnemstpsnonwnondnon"])}; }; //once more to be safe disableUserInput false; disableUserInput false; disableUserInput true; disableUserInput true; disableUserInput false; disableUserInput false; r_player_unconsciousInputDisabled = false; //diag_log [ __FILE__, diag_tickTime, "done" ]; Копать тут или где-то в другом месте?
    • By TokZe
      Добрый вечер, знающие подскажите как реализовать продажу через сайт, без очереди и вип!
      также как вывести топ игроков на сайт
    • By CubeIn
      Приветствую друзья, возникла неприятная ошибка.
      Подписал все ключи через DS Utils, вставил ключ в северную часть, но все равно при заходе на сервер пишет данную ошибку.
      Client contains PBO which is not part of server data
       
  • 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.