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
cast

Ошибка в РПТ

ребят подскажите пожалуйста , что за ошибка?

 

20:09:01 Error in expression <-----------------------------

_box17 = createVehicle ["BAF_VehicleBox",[13599>
20:09:01   Error position: <= createVehicle ["BAF_VehicleBox",[13599>
20:09:01   Error Missing ;
20:09:01 File z\addons\dayz_server\WAI\customSpawns.sqf, line 171
20:09:02 "WAI: AI Monitor Started"
20:09:02 "WAI: Mission Config File Loaded"
20:09:03 "WAI: Starting AI Missions Moniter"

Share this post


Link to post
Share on other sites

18 answers to this question

Recommended Posts

  • 0

cast Дословно ж написано. Утерян знак ; примерно на 171 линии. Приложите в код dons\dayz_server\WAI\customSpawns.sqf

Share this post


Link to post
Share on other sites



  • 0
3 часа назад, TheFirstNoob сказал:

cast Дословно ж написано. Утерян знак ; примерно на 171 линии. Приложите в код dons\dayz_server\WAI\customSpawns.sqf

/*Skalisty Island Weapon Crates FOR WAI 2.0 OR LOWER
copy the following to the StaticAmmoBoxes.sqf which is in the WAI\missons folder*/
_box17 = createVehicle ["BAF_VehicleBox",[13599.131, 3144.4458, -9.3460083e-005], [], 0, "CAN_COLLIDE"];
[_box17] call spawn_ammo_box;
_box18= createVehicle ["BAF_VehicleBox",[13405.722, 2780.4429, 5.6266785e-005], [], 0, "CAN_COLLIDE"];
[_box18] call spawn_ammo_box;
_box19 = createVehicle ["BAF_VehicleBox",[14111.692, 2811.4993, 2.0980835e-005], [], 0, "CAN_COLLIDE"];
[_box19] call spawn_ammo_box;
/*DONT USE WHAT IS BELOW IF YOU ARE USING WAI 2.0 OR LOWER*/


Да на месте все знаки вроде . Так то миссия работает только вот единственная ошибка .

Share this post


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

Полностью файл приложите.

 

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

Share this post


Link to post
Share on other sites
  • 0

ну сервер вроде эпоч а пушки грузятся из бд оверовские "vil_AK_74M_N"

 

думаю ваи миссии от оверпоча стоят у вас

Edited by lockdog (see edit history)

Share this post


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

 

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

customSpawns.sqf

 

Share this post


Link to post
Share on other sites
  • 0
5 часов назад, NoNameUltima сказал:

customSpawns.sqf

 

Вот.

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

Share this post


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

Вот.

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

попробуй дробную часть изменить -

-9.3460083e-005

на

-9.346

возможно нет преобразования.(везде где экспоненциальная запись)

Edited by NoNameUltima (see edit history)

Share this post


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

попробуй дробную часть изменить -

-9.3460083e-005

на

-9.346

возможно нет преобразования.(везде где экспоненциальная запись)

Хорошо, позже отпишу по результату.

Share this post


Link to post
Share on other sites
  • 0
7 часов назад, NoNameUltima сказал:

попробуй дробную часть изменить -

-9.3460083e-005

на

-9.346

возможно нет преобразования.(везде где экспоненциальная запись)

Нет , все тоже самое осталось.

Share this post


Link to post
Share on other sites
  • 0

cast А для чего ты подключаешь весь этот файл в WAI? Там же черным по белому написано скопировать и вставить в dayz_server\WAI\static\chernarus.sqf

Только копировать надо не всё содержимое файла, а нужные строки.

if(isServer) then {

/*Skalisty Island M2s*/
[[[13757, 2855.6951, 0.0001411438],[13581.159, 3095.7595, -0.00020980835],[13672.707, 2923.532, -1.5258789e-005],[13757.219, 2913.2258, 0.00010681152],[13803.734, 2948.77, 9.9182129e-005]],"M2StaticMG","extreme","Bandit2_DZ","Bandit","Random",2,"Random","Random"] call spawn_static;
[[[13307.787, 2742.4548, 5.7220459e-005],[13473.531, 3343.7896, -2.2888184e-005],[13308.451, 3241.7668, 2.6702881e-005],[13631.521, 3237.97, 0.00017929077],[14165.316, 2696.0239, 8.2969666e-005]],"M2StaticMG","extreme","Bandit2_DZ","Bandit","Random",2,"Random","Random"] call spawn_static;
[[[13720.18, 2841.2844, -4.196167e-005],[14085.578, 2942.03, 0.00035858154],[13598.758, 2932.2224, -0.0002784729],[12980.869, 3208.0649, 4.5776367e-005],[13526.065, 3475.8076, 1.0967255e-005]],"M2StaticMG","extreme","Bandit2_DZ","Bandit","Random",2,"Random","Random"] call spawn_static; 
[[[13771.2, 2969.66, 0.0014648], [13689.4, 2980.61, 0.00135422], [13731.9, 2897.92, 8.3882]],"M2StaticMG","extreme","Bandit2_DZ","Bandit","Random",2,"Random","Random"] call spawn_static;   
[[[13694.1, 2901.4, 7.9924]],"Igla_AA_pod_TK_EP1","hard","Bandit2_DZ","Bandit","Random",2,"Random","Random"] call spawn_static; /*GROUND TO AIR ROCKET*/

/*Skalisty Island AI Spawn Points for ground troops*/
[[13671.355, 2892.8167, -1.5258789e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13671.355, 2892.8167, -1.5258789e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13741.079, 2945.6494, -9.5367432e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13691.315, 2857.7407, -3.8146973e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13729.353, 2856.2568, 3.4332275e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13730.628, 2812.7852, -0.00022125244],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13642.995, 2837.9001, 0.0001411438],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13829.32, 2923.4414, 6.4849854e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13895.181, 2988.3088, 0.00019454956],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13955.636, 3029.5244, 0.00057220459],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[14070.653, 2891.0085, -0.00090026855],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[14142.604, 2789.1985, 0.00060462952],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[14155.192, 2691.3687, 0.0002155304],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13990.835, 2788.1887, 0.00024223328],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13870.401, 2810.1841, -1.9073486e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13563.453, 2869.0381, 3.0517578e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13510.406, 2995.7441, 0.0013637543],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13428.791, 2792.6438, 4.7683716e-006],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13343.02, 2788.208, 0.0003452301],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13279.515, 2737.9275, -4.4822693e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13353.722, 2719.4685, 0.00062465668],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13419.333, 2747.3875, 0.00021457672],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13382.635, 2774.623, 0.00018024445],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13571.933, 3323.9666, 0.00010681152],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13485.479, 3338.3132, 9.1552734e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13487.625, 3380.8669, 0.00036621094],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13408.095, 3336.6536, -0.00019073486],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13377.609, 3288.2527, -0.0002784729],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13245.426, 3362.8286, -0.00010251999],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13214.415, 3246.9207, -0.0001335144],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13140.325, 3271.8738, 0.00052642822],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13064.684, 3258.4734, -5.7220459e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13112.573, 3197.2249, -0.00059127808],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13033.765, 3154.4763, 0.00037384033],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13109.765, 3132.3279, 0.00085258484],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13372.726, 3103.7449, 0.00038146973],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13467.485, 3107.6912, 9.6321106e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13472.39, 3004.0212, -0.00060558319],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13476.838, 2875.9968, -7.8201294e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13409.714, 2819.4358, 0.00013065338],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13991.87, 2889.8601, 8.9645386e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13576.669, 3073.3196, -0.00047302246],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13490.565, 3235.3242, 0.00017547607],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13126.788, 3895.324, -1.5258789e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group;  /*this line is for the ai that are on the main road North across from the island, if you dont want them just delete this line*/

	diag_log "WAI: Static mission loaded";
};

А подключив файл customSpawns.sqf у тебя ошибка будет в 167 строке и в 182 строке

Share this post


Link to post
Share on other sites
  • 0
14 часа назад, Ник сказал:

cast А для чего ты подключаешь весь этот файл в WAI? Там же черным по белому написано скопировать и вставить в dayz_server\WAI\static\chernarus.sqf

Только копировать надо не всё содержимое файла, а нужные строки.


if(isServer) then {

/*Skalisty Island M2s*/
[[[13757, 2855.6951, 0.0001411438],[13581.159, 3095.7595, -0.00020980835],[13672.707, 2923.532, -1.5258789e-005],[13757.219, 2913.2258, 0.00010681152],[13803.734, 2948.77, 9.9182129e-005]],"M2StaticMG","extreme","Bandit2_DZ","Bandit","Random",2,"Random","Random"] call spawn_static;
[[[13307.787, 2742.4548, 5.7220459e-005],[13473.531, 3343.7896, -2.2888184e-005],[13308.451, 3241.7668, 2.6702881e-005],[13631.521, 3237.97, 0.00017929077],[14165.316, 2696.0239, 8.2969666e-005]],"M2StaticMG","extreme","Bandit2_DZ","Bandit","Random",2,"Random","Random"] call spawn_static;
[[[13720.18, 2841.2844, -4.196167e-005],[14085.578, 2942.03, 0.00035858154],[13598.758, 2932.2224, -0.0002784729],[12980.869, 3208.0649, 4.5776367e-005],[13526.065, 3475.8076, 1.0967255e-005]],"M2StaticMG","extreme","Bandit2_DZ","Bandit","Random",2,"Random","Random"] call spawn_static; 
[[[13771.2, 2969.66, 0.0014648], [13689.4, 2980.61, 0.00135422], [13731.9, 2897.92, 8.3882]],"M2StaticMG","extreme","Bandit2_DZ","Bandit","Random",2,"Random","Random"] call spawn_static;   
[[[13694.1, 2901.4, 7.9924]],"Igla_AA_pod_TK_EP1","hard","Bandit2_DZ","Bandit","Random",2,"Random","Random"] call spawn_static; /*GROUND TO AIR ROCKET*/

/*Skalisty Island AI Spawn Points for ground troops*/
[[13671.355, 2892.8167, -1.5258789e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13671.355, 2892.8167, -1.5258789e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13741.079, 2945.6494, -9.5367432e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13691.315, 2857.7407, -3.8146973e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13729.353, 2856.2568, 3.4332275e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13730.628, 2812.7852, -0.00022125244],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13642.995, 2837.9001, 0.0001411438],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13829.32, 2923.4414, 6.4849854e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13895.181, 2988.3088, 0.00019454956],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13955.636, 3029.5244, 0.00057220459],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[14070.653, 2891.0085, -0.00090026855],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[14142.604, 2789.1985, 0.00060462952],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[14155.192, 2691.3687, 0.0002155304],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13990.835, 2788.1887, 0.00024223328],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13870.401, 2810.1841, -1.9073486e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13563.453, 2869.0381, 3.0517578e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13510.406, 2995.7441, 0.0013637543],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13428.791, 2792.6438, 4.7683716e-006],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13343.02, 2788.208, 0.0003452301],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13279.515, 2737.9275, -4.4822693e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13353.722, 2719.4685, 0.00062465668],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13419.333, 2747.3875, 0.00021457672],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13382.635, 2774.623, 0.00018024445],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13571.933, 3323.9666, 0.00010681152],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13485.479, 3338.3132, 9.1552734e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13487.625, 3380.8669, 0.00036621094],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13408.095, 3336.6536, -0.00019073486],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13377.609, 3288.2527, -0.0002784729],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13245.426, 3362.8286, -0.00010251999],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13214.415, 3246.9207, -0.0001335144],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13140.325, 3271.8738, 0.00052642822],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13064.684, 3258.4734, -5.7220459e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13112.573, 3197.2249, -0.00059127808],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13033.765, 3154.4763, 0.00037384033],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13109.765, 3132.3279, 0.00085258484],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13372.726, 3103.7449, 0.00038146973],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13467.485, 3107.6912, 9.6321106e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13472.39, 3004.0212, -0.00060558319],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13476.838, 2875.9968, -7.8201294e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13409.714, 2819.4358, 0.00013065338],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13991.87, 2889.8601, 8.9645386e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13576.669, 3073.3196, -0.00047302246],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13490.565, 3235.3242, 0.00017547607],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13126.788, 3895.324, -1.5258789e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group;  /*this line is for the ai that are on the main road North across from the island, if you dont want them just delete this line*/

	diag_log "WAI: Static mission loaded";
};

А подключив файл customSpawns.sqf у тебя ошибка будет в 167 строке и в 182 строке

Не видел где это черным по белому написано,

я брал Миссию с EPOCHа

Share this post


Link to post
Share on other sites
  • 0
14 часа назад, Ник сказал:

cast А для чего ты подключаешь весь этот файл в WAI? Там же черным по белому написано скопировать и вставить в dayz_server\WAI\static\chernarus.sqf

Только копировать надо не всё содержимое файла, а нужные строки.


if(isServer) then {

/*Skalisty Island M2s*/
[[[13757, 2855.6951, 0.0001411438],[13581.159, 3095.7595, -0.00020980835],[13672.707, 2923.532, -1.5258789e-005],[13757.219, 2913.2258, 0.00010681152],[13803.734, 2948.77, 9.9182129e-005]],"M2StaticMG","extreme","Bandit2_DZ","Bandit","Random",2,"Random","Random"] call spawn_static;
[[[13307.787, 2742.4548, 5.7220459e-005],[13473.531, 3343.7896, -2.2888184e-005],[13308.451, 3241.7668, 2.6702881e-005],[13631.521, 3237.97, 0.00017929077],[14165.316, 2696.0239, 8.2969666e-005]],"M2StaticMG","extreme","Bandit2_DZ","Bandit","Random",2,"Random","Random"] call spawn_static;
[[[13720.18, 2841.2844, -4.196167e-005],[14085.578, 2942.03, 0.00035858154],[13598.758, 2932.2224, -0.0002784729],[12980.869, 3208.0649, 4.5776367e-005],[13526.065, 3475.8076, 1.0967255e-005]],"M2StaticMG","extreme","Bandit2_DZ","Bandit","Random",2,"Random","Random"] call spawn_static; 
[[[13771.2, 2969.66, 0.0014648], [13689.4, 2980.61, 0.00135422], [13731.9, 2897.92, 8.3882]],"M2StaticMG","extreme","Bandit2_DZ","Bandit","Random",2,"Random","Random"] call spawn_static;   
[[[13694.1, 2901.4, 7.9924]],"Igla_AA_pod_TK_EP1","hard","Bandit2_DZ","Bandit","Random",2,"Random","Random"] call spawn_static; /*GROUND TO AIR ROCKET*/

/*Skalisty Island AI Spawn Points for ground troops*/
[[13671.355, 2892.8167, -1.5258789e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13671.355, 2892.8167, -1.5258789e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13741.079, 2945.6494, -9.5367432e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13691.315, 2857.7407, -3.8146973e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13729.353, 2856.2568, 3.4332275e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13730.628, 2812.7852, -0.00022125244],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13642.995, 2837.9001, 0.0001411438],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13829.32, 2923.4414, 6.4849854e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13895.181, 2988.3088, 0.00019454956],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13955.636, 3029.5244, 0.00057220459],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[14070.653, 2891.0085, -0.00090026855],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[14142.604, 2789.1985, 0.00060462952],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[14155.192, 2691.3687, 0.0002155304],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13990.835, 2788.1887, 0.00024223328],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13870.401, 2810.1841, -1.9073486e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13563.453, 2869.0381, 3.0517578e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13510.406, 2995.7441, 0.0013637543],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13428.791, 2792.6438, 4.7683716e-006],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13343.02, 2788.208, 0.0003452301],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13279.515, 2737.9275, -4.4822693e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13353.722, 2719.4685, 0.00062465668],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13419.333, 2747.3875, 0.00021457672],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13382.635, 2774.623, 0.00018024445],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13571.933, 3323.9666, 0.00010681152],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13485.479, 3338.3132, 9.1552734e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13487.625, 3380.8669, 0.00036621094],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13408.095, 3336.6536, -0.00019073486],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13377.609, 3288.2527, -0.0002784729],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13245.426, 3362.8286, -0.00010251999],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13214.415, 3246.9207, -0.0001335144],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13140.325, 3271.8738, 0.00052642822],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13064.684, 3258.4734, -5.7220459e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13112.573, 3197.2249, -0.00059127808],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13033.765, 3154.4763, 0.00037384033],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13109.765, 3132.3279, 0.00085258484],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13372.726, 3103.7449, 0.00038146973],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13467.485, 3107.6912, 9.6321106e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13472.39, 3004.0212, -0.00060558319],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13476.838, 2875.9968, -7.8201294e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13409.714, 2819.4358, 0.00013065338],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13991.87, 2889.8601, 8.9645386e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13576.669, 3073.3196, -0.00047302246],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13490.565, 3235.3242, 0.00017547607],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13126.788, 3895.324, -1.5258789e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group;  /*this line is for the ai that are on the main road North across from the island, if you dont want them just delete this line*/

	diag_log "WAI: Static mission loaded";
};

А подключив файл customSpawns.sqf у тебя ошибка будет в 167 строке и в 182 строке

И папки статик у меня нет

 

Share this post


Link to post
Share on other sites
  • 0
14 часа назад, Ник сказал:

cast А для чего ты подключаешь весь этот файл в WAI? Там же черным по белому написано скопировать и вставить в dayz_server\WAI\static\chernarus.sqf

Только копировать надо не всё содержимое файла, а нужные строки.


if(isServer) then {

/*Skalisty Island M2s*/
[[[13757, 2855.6951, 0.0001411438],[13581.159, 3095.7595, -0.00020980835],[13672.707, 2923.532, -1.5258789e-005],[13757.219, 2913.2258, 0.00010681152],[13803.734, 2948.77, 9.9182129e-005]],"M2StaticMG","extreme","Bandit2_DZ","Bandit","Random",2,"Random","Random"] call spawn_static;
[[[13307.787, 2742.4548, 5.7220459e-005],[13473.531, 3343.7896, -2.2888184e-005],[13308.451, 3241.7668, 2.6702881e-005],[13631.521, 3237.97, 0.00017929077],[14165.316, 2696.0239, 8.2969666e-005]],"M2StaticMG","extreme","Bandit2_DZ","Bandit","Random",2,"Random","Random"] call spawn_static;
[[[13720.18, 2841.2844, -4.196167e-005],[14085.578, 2942.03, 0.00035858154],[13598.758, 2932.2224, -0.0002784729],[12980.869, 3208.0649, 4.5776367e-005],[13526.065, 3475.8076, 1.0967255e-005]],"M2StaticMG","extreme","Bandit2_DZ","Bandit","Random",2,"Random","Random"] call spawn_static; 
[[[13771.2, 2969.66, 0.0014648], [13689.4, 2980.61, 0.00135422], [13731.9, 2897.92, 8.3882]],"M2StaticMG","extreme","Bandit2_DZ","Bandit","Random",2,"Random","Random"] call spawn_static;   
[[[13694.1, 2901.4, 7.9924]],"Igla_AA_pod_TK_EP1","hard","Bandit2_DZ","Bandit","Random",2,"Random","Random"] call spawn_static; /*GROUND TO AIR ROCKET*/

/*Skalisty Island AI Spawn Points for ground troops*/
[[13671.355, 2892.8167, -1.5258789e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13671.355, 2892.8167, -1.5258789e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13741.079, 2945.6494, -9.5367432e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13691.315, 2857.7407, -3.8146973e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13729.353, 2856.2568, 3.4332275e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13730.628, 2812.7852, -0.00022125244],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13642.995, 2837.9001, 0.0001411438],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13829.32, 2923.4414, 6.4849854e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13895.181, 2988.3088, 0.00019454956],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13955.636, 3029.5244, 0.00057220459],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[14070.653, 2891.0085, -0.00090026855],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[14142.604, 2789.1985, 0.00060462952],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[14155.192, 2691.3687, 0.0002155304],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13990.835, 2788.1887, 0.00024223328],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13870.401, 2810.1841, -1.9073486e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13563.453, 2869.0381, 3.0517578e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13510.406, 2995.7441, 0.0013637543],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13428.791, 2792.6438, 4.7683716e-006],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13343.02, 2788.208, 0.0003452301],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13279.515, 2737.9275, -4.4822693e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13353.722, 2719.4685, 0.00062465668],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13419.333, 2747.3875, 0.00021457672],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13382.635, 2774.623, 0.00018024445],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13571.933, 3323.9666, 0.00010681152],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13485.479, 3338.3132, 9.1552734e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13487.625, 3380.8669, 0.00036621094],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13408.095, 3336.6536, -0.00019073486],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13377.609, 3288.2527, -0.0002784729],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13245.426, 3362.8286, -0.00010251999],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13214.415, 3246.9207, -0.0001335144],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13140.325, 3271.8738, 0.00052642822],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13064.684, 3258.4734, -5.7220459e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13112.573, 3197.2249, -0.00059127808],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13033.765, 3154.4763, 0.00037384033],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13109.765, 3132.3279, 0.00085258484],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13372.726, 3103.7449, 0.00038146973],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13467.485, 3107.6912, 9.6321106e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13472.39, 3004.0212, -0.00060558319],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13476.838, 2875.9968, -7.8201294e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13409.714, 2819.4358, 0.00013065338],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13991.87, 2889.8601, 8.9645386e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13576.669, 3073.3196, -0.00047302246],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13490.565, 3235.3242, 0.00017547607],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group; 
[[13126.788, 3895.324, -1.5258789e-005],2,"easy","Random",4,"Random","Bandit2_DZ","Random","Bandit"] call spawn_group;  /*this line is for the ai that are on the main road North across from the island, if you dont want them just delete this line*/

	diag_log "WAI: Static mission loaded";
};

А подключив файл customSpawns.sqf у тебя ошибка будет в 167 строке и в 182 строке

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

Share this post


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

cast откуда wai брали. Откуда вызываете ящики.

Ну сборка была готовая , а так просто дополнения на неё вношу. Вот на Скалистом в одном месте с ящиками какая то хрень, приходишь туда ящиков нет , пере заходишь ящики появляются. Это только в одном месте такое , на других местах с ящиками все нормально на этой миссии.

Share this post


Link to post
Share on other sites
  • 0

cast 

В 14.05.2017 в 02:15, cast сказал:

ребят подскажите пожалуйста , что за ошибка?

 

20:09:01 Error in expression <-----------------------------

_box17 = createVehicle ["BAF_VehicleBox",[13599>
20:09:01   Error position: <= createVehicle ["BAF_VehicleBox",[13599>
20:09:01   Error Missing ;
20:09:01 File z\addons\dayz_server\WAI\customSpawns.sqf, line 171
20:09:02 "WAI: AI Monitor Started"
20:09:02 "WAI: Mission Config File Loaded"
20:09:03 "WAI: Starting AI Missions Moniter"

Не всегда то, что пишется в ошибке, соответствует действительности. Я ж тебе написал где в этом файле ошибки, но ты видать не понял.

строка 167 ----------------------------------------------------------------------------------------------

строка 182 *********************************************

Данный вид "кода" не известен для движка армы, он не понимает что с ним делать, удали эти строки или закоментируй их.

 

А черным по белому написано в 202 строке Copy and paste to the dayz_server\WAI\static\chernarus.sqf in the static folder

Share this post


Link to post
Share on other sites
  • 0
15 часов назад, Ник сказал:

cast 

Не всегда то, что пишется в ошибке, соответствует действительности. Я ж тебе написал где в этом файле ошибки, но ты видать не понял.

строка 167 ----------------------------------------------------------------------------------------------

строка 182 *********************************************

Данный вид "кода" не известен для движка армы, он не понимает что с ним делать, удали эти строки или закоментируй их.

 

А черным по белому написано в 202 строке Copy and paste to the dayz_server\WAI\static\chernarus.sqf in the static folder

Спасибо за помощь , удалил все не нужное кроме как для версии ВАИ 2.0 

И в сборке есть  файл где вписываются статические ящики , и файл для вызова файла с ящиками.

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 Alex39
      Не могу понять какое значение поставить

       
      if (killFeedStr != "") { GetGame().ChatPlayer(0, killFeedStr); } Ругается на нулевое значение ChatPlayer(0
    • By zra47
      Exception code: C0000005 ACCESS_VIOLATION at 00838BCB
      Allocator: Z:\home\gameserver1838\serverfiles\dll\tbb4malloc_bi.dll
      graphics:  No
      resolution:  160x120x32
      Addons:
        CA_CommunityConfigurationProject_E_Gameplay_AddedMissingFlaresToChoppers in ca\communityconfigurationproject_e\gameplay_addedmissingflarestochoppers\
        CAMP_Armory_Misc in ca\mp_armory\misc\, CAWeapons_E_RPG18 in ca\weapons_e\rpg18\
        fal_trafficsigns in ca\fal_trafficsigns\
        CAStructures_E_HouseA_A_Office01 in ca\structures_e\housea\a_office01\
        CorePatch_CIT_24668 in CorePatch\corepatch_cit_24668\
        CorePatch_CCP_62628 in CorePatch\corepatch_ccp_62628\
        CAStructures_E_Ind_IndPipes in ca\structures_e\ind\ind_pipes\
        Farm_WTower in ca\buildings2\farm_wtower\
    • By Guliashik
      подскажите как исправить ошибку в логах ?
       
      Error Undefined variable in expression: pvdze_serverobjectmonitor
      Error position: <PVDZE_serverObjectMonitor set [count PVD>
    • By Jdinovich
      Добрый день. Игрок стал жаловаться,что у него на сервере со временем стал падать фпс. Тоесть при заходе после рестарта у не 120фпс,но к рестарту у него всего лишь 50. Присутствуют иногда фризы(зависает игра на секунду или две потом отвисает) серверный фпс скажем так постоянно 50.
      Хостинг:
      Процессор:
      4 ядра Core i7 7700
      Оперативная память:
      8 Гб
      Жесткий диск:
      100 Гб
      Есть ошибки в рпт,ссылка на рпт ниже. Кто может не указать,а подсказать как именно устранить эти ошибки. Рассматриваются платные варианты.Писать сюда в лс или в вк
      https://vk.com/feed
       
      https://pastebin.com/CjinyPeW
    • By zra47
      Посмотрите,поделитесь решением

      Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.
  • 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.