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
MisaAmane

Ошибки RPT клиента

Очень сильно спамит этой ошибкой
 
if(_typeOfCursorTarget in DZE_Garage && (pl>
  Error position: <_typeOfCursorTarget in DZE_Garage && (pl>
  Error Undefined variable in expression: _typeofcursortarget
File mpmissions\__CUR_MP.Chernarus_winter\DAYZ_CODE\COMPILE\fn_selfActions.sqf, line 1129
loading SelfBlood addon...
Error in expression <;
s_player_removeEmerald = -1;
}; 
 
 


А вот что на этих строках в fn_self:

 

//delete interior
isEmerald = ["MAP_kasna_new","MAP_Misc_Boogieman","MAP_ChickenCoop","MAP_Misc_Greenhouse","MAP_Misc_Hutch","MAP_Misc_Well","MAP_Misc_WellPump","MAP_PowerGenerator","MAP_psi_bouda","MAP_pumpa","MAP_stanek_3","MAP_stanek_3_d","MAP_stanek_3B","MAP_AirCond_big","MAP_AirCond_small","MAP_antenna_big_roof","MAP_antenna_small_roof","MAP_antenna_small_roof_1","MAP_drapes","MAP_drapes_long","MAP_GasMeterExt","MAP_Ladder","MAP_P_Ladder","MAP_LadderHalf","MAP_P_LadderLong","MAP_leseni2x","MAP_leseni4x","MAP_Misc_loudspeakers","MAP_parabola_big","MAP_P_Stavebni_kozy","MAP_Heli_H_civil","MAP_Heli_H_army","MAP_Heli_H_cross","MAP_Heli_H_rescue","MAP_Sr_border","MAP_drevo_hromada","MAP_garbage_misc","MAP_garbage_paleta","MAP_Ind_BoardsPack1","MAP_Ind_BoardsPack2","MAP_Ind_Timbers","MAP_Kontejner","MAP_Misc_GContainer_Big","MAP_Misc_HayStack","MAP_Misc_TyreHeap","MAP_Misc_WoodPile","MAP_pneu","MAP_popelnice","MAP_sekyraspalek","MAP_seno_balik","MAP_concrete_block","MAP_Concrete_Ramp","MAP_ramp_concrete","MAP_woodenRamp","MAP_brana","MAP_Houpacka","MAP_nastenkaX","MAP_Piskoviste","MAP_snowman","MAP_Barel1","MAP_Barel3","MAP_Barel4","MAP_Barel5","MAP_Barel6","MAP_Barel7","MAP_Barel8","MAP_Barels","MAP_Barels2","MAP_Barels3","MAP_barrel_empty","MAP_barrel_sand","MAP_barrel_water","MAP_P_bedna","MAP_box_c","MAP_P_cihly1","MAP_P_cihly2","MAP_P_cihly3","MAP_P_cihly4","MAP_metalcrate","MAP_metalcrate_02","Misc_concrete","MAP_Misc_G_Pipes","MAP_Misc_palletsfoiled","MAP_Misc_palletsfoiled_heap","MAP_obstacle_get_over","MAP_obstacle_prone","MAP_obstacle_run_duck","MAP_paletaA","MAP_paletyC","MAP_paletyD","MAP_Pallets_Column","MAP_P_pipe_big","MAP_P_pipe_small","MAP_P_ytong","MAP_picture_a","MAP_picture_a_02","MAP_picture_a_03","MAP_picture_a_04","MAP_picture_a_05","MAP_picture_b","MAP_picture_b_02","MAP_picture_c","MAP_picture_c_02","MAP_picture_d","MAP_picture_e","MAP_picture_f","MAP_picture_f_02","MAP_picture_g","MAP_wall_board","MAP_wall_board_02","MAP_wall_board_03","MAP_F_ch_mod_c","MAP_ch_mod_h","MAP_armchair","MAP_ch_mod_h","MAP_ch_office_B","MAP_chair","MAP_Church_chair","MAP_hospital_bench","MAP_kitchen_chair_a","MAP_lavicka_1","MAP_lavicka_2","MAP_lavicka_3","MAP_lavicka_4","MAP_lobby_chair","MAP_office_chair","MAP_F_postel_manz_kov","MAP_F_postel_panelak1","MAP_F_postel_panelak2","MAP_F_Vojenska_palanda","MAP_postel_manz_kov","MAP_postel_panelak1","MAP_vojenska_palanda","MAP_fridge","MAP_Kitchenstove_Elec","MAP_washing_machine","MAP_P_Basin_A","MAP_P_bath","MAP_F_bath","MAP_lekarnicka","MAP_P_sink","MAP_toilet_b","MAP_P_toilet_b_02","MAP_almara","MAP_case_a","MAP_case_bedroom_a","MAP_case_bedroom_b","MAP_case_cans_b","MAP_case_d","MAP_case_wall_unit_part_c","MAP_case_wall_unit_part_d","MAP_case_wooden_b","MAP_Dhangar_borwnskrin","MAP_Dhangar_brownskrin","MAP_Dhangar_knihovna","MAP_library_a","MAP_shelf","MAP_Skrin_bar","MAP_Skrin_opalena","MAP_Truhla_stara","MAP_briefcase","MAP_Dkamna_bila","MAP_Dkamna_uhli","MAP_F_Dkamna_uhli","MAP_icebox","MAP_mutt_vysilacka","MAP_notebook","MAP_pc","MAP_phonebox","MAP_radio","MAP_radio_b","MAP_satelitePhone","MAP_smallTV","MAP_tv_a","MAP_vending_machine","MAP_lantern","MAP_bucket","MAP_MetalBucket","MAP_FuelCan","MAP_SmallObj_money","MAP_conference_table_a","MAP_desk","MAP_Dhangar_psacistul","MAP_F_conference_table_a","MAP_kitchen_table_a","MAP_lobby_table","MAP_office_table_a","MAP_pultskasou","MAP_SmallTable","MAP_stul_hospoda","MAP_stul_kuch1","MAP_Table","MAP_table_drawer"];
_isEmeraldItem = (typeOf cursorTarget) in isEmerald;
_emeraldTarget = typeOf cursorTarget;
 
if((_isEmeraldItem and (player distance cursorTarget <= 2)) and _canDo) then {
if (s_player_removeEmerald < 0) then {
s_player_removeEmerald = player addaction [format[("<t color=""#ff0000"">" + ("Удалить %1") +"</t>"),_emeraldTarget],"interior\remove.sqf",_emeraldTarget];
};
} else {
player removeAction s_player_removeEmerald;
s_player_removeEmerald = -1;
}; 

// Garage
       if(_typeOfCursorTarget in DZE_Garage && (player distance _cursorTarget < 5)) then {
        if (s_garage_dialog2 < 0) then {
            s_garage_dialog2 = player addAction ["Склад", "EPOCHMODS\garage\vehicle_dialog.sqf",_cursorTarget, 3, true, true, "", ""];
        };
    } else {
        player removeAction s_garage_dialog2;
        s_garage_dialog2 = -1;
    };

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

это скрипт виртуального гаража
в скрипте не объявляеться переменная 

_typeofcursortarget 
можете либо объявить _typeofcursortarget
_typeofcursortarget = typeOf cursorTarget;

это писать в районе 15-19 строк

либо переменную там поменять на typeOf cursorTarget
тогда будет
typeOf cursorTarget in DZE_Garage

 

Share this post


Link to post
Share on other sites





  • 0

 

это скрипт виртуального гаража

в скрипте не объявляеться переменная 

_typeofcursortarget 
можете либо объявить _typeofcursortarget
_typeofcursortarget = typeOf cursorTarget;

это писать в районе 15-19 строк

либо переменную там поменять на typeOf cursorTarget
тогда будет
typeOf cursorTarget in DZE_Garage

 

Спасибо. Теперь вот это.

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

  • Similar Content

    • By DIasTer
      кто нибудь встречался с этим? как исправить?
       
      19:54:45 File z\addons\dayz_server\WAI\compile\mission_winorfail.sqf, line 321
      19:54:46 Error in expression < ({[_x,_name] call fnc_inString;} count wai_clean_when_clear) != 0) then {

      _mi>
      19:54:46   Error position: <wai_clean_when_clear) != 0) then {

      _mi>
      19:54:46   Error Undefined variable in expression: wai_clean_when_clear
    • By Jdinovich
      Добрый день. Игрок стал жаловаться,что у него на сервере со временем стал падать фпс. Тоесть при заходе после рестарта у не 120фпс,но к рестарту у него всего лишь 50. Присутствуют иногда фризы(зависает игра на секунду или две потом отвисает) серверный фпс скажем так постоянно 50.
      Хостинг:
      Процессор:
      4 ядра Core i7 7700
      Оперативная память:
      8 Гб
      Жесткий диск:
      100 Гб
      Есть ошибки в рпт,ссылка на рпт ниже. Кто может не указать,а подсказать как именно устранить эти ошибки. Рассматриваются платные варианты.Писать сюда в лс или в вк
      https://vk.com/feed
       
      https://pastebin.com/CjinyPeW
    • By Jdinovich
      кто может помочь исправить ошибки в рпт? Иногда сервер просто вырубается типо краш. грешу на ошибки.Если что,то какова цена помощи
       
      https://pastebin.com/index.php?e=1
    • 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
      может кто знает как это исправить.
  • 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.