Jump to content
  • 0
bFe

Vehicles not spawning

Question

dynamic_vehicle.sqf

AllowedVehiclesList = [
["AH6X_DZ",1],
["AN2_DZ",1],
["ArmoredSUV_PMC_DZE",0],
["ATV_CZ_EP1",2],
["ATV_US_EP1",2],
["C130J_US_EP1_DZ",0],
["car_hatchback",3],
["car_sedan",3],
["CH_47F_EP1_DZE",0],
["CSJ_GyroC",1],
["CSJ_GyroCover",1],
["CSJ_GyroP",1],
["datsun1_civil_1_open",2],
["datsun1_civil_2_covered",2],
["datsun1_civil_3_open",2],
["GAZ_Vodnik_DZE",1],
["GAZ_Vodnik_MedEvac",2],
["GLT_M300_LT",2],
["GLT_M300_ST",2],
["GNT_C185",1],
["GNT_C185C",1],
["GNT_C185R",1],
["GNT_C185U",1],
["hilux1_civil_1_open",2],
["hilux1_civil_2_covered",2],
["hilux1_civil_3_open_EP1",2],
["HMMWV_Ambulance",2],
["HMMWV_Ambulance_CZ_DES_EP1",2],
["HMMWV_DES_EP1",2],
["HMMWV_DZ",2],
["HMMWV_M1035_DES_EP1",2],
["HMMWV_M998A2_SOV_DES_EP1_DZE",0],
["JetSkiYanahui_Case_Blue",1],
["JetSkiYanahui_Case_Green",1],
["JetSkiYanahui_Case_Red",1],
["JetSkiYanahui_Case_Yellow",1],
["Kamaz",1],
["KamazRefuel_DZ",1],
["Lada1",2],
["Lada1_TK_CIV_EP1",2],
["Lada2",2],
["Lada2_TK_CIV_EP1",2],
["LadaLM","],
["LandRover_CZ_EP1",1],
["LandRover_MG_TK_EP1_DZE",1],
["LandRover_Special_CZ_EP1_DZE",1],
["LandRover_TK_CIV_EP1",1],
["M1030_US_DES_EP1",1],
["MH6J_DZ",1],
["Mi17_Civilian_DZ",1],
["Mi17_DZE",1],
["MtvrRefuel_DES_EP1_DZ",1],
["MTVR_DES_EP1",1],
["MV22_DZ",0],
["Offroad_DSHKM_Gue_DZE",1],
["Pickup_PK_GUE_DZE",1],
["Pickup_PK_INS_DZE",1],
["Pickup_PK_TK_GUE_EP1_DZE",1],
["S1203_ambulance_EP1",1],
["S1203_TK_CIV_EP1",1],
["Skoda",2],
["SkodaBlue",2],
["SkodaGreen",2],
["SkodaRed",2],
["SUV_Blue",1],
["SUV_Camo",1],
["SUV_Charcoal",1],
["SUV_Green",1],
["SUV_Pink",1],
["SUV_Red",1],
["SUV_Silver",1],
["SUV_TK_CIV_EP1",1],
["SUV_White",1],
["SUV_Yellow",1],
["tractor",1],
["TT650_Civ",1],
["TT650_Ins",1],
["TT650_TK_CIV_EP1",1],
["UAZ_CDF",2],
["UAZ_INS",2],
["UAZ_MG_TK_EP1_DZE",1],
["UAZ_RU",2],
["UAZ_Unarmed_TK_CIV_EP1",2],
["UAZ_Unarmed_TK_EP1",2],
["UAZ_Unarmed_UN_EP1",2],
["UH1H_DZE",1],
["UH1Y_DZE",0],
["UH60M_EP1_DZE",0],
["UralRefuel_TK_EP1_DZ",1],
["Ural_CDF",3],
["Ural_TK_CI1V_EP1",1],
["Ural_UN_EP1",1],
["V3S_Open_TK_CIV_EP1",1],
["V3S_Open_TK_EP1",1],
["V3S_Refuel_TK_GUE_EP1_DZ",1],
["VolhaLimo_TK_CIV_EP1",2],
["Volha_1_TK_CIV_EP1",2],
["Volha_2_TK_CIV_EP1",2],
["VWGolf",2],
["Zodiac",2],
["CH53_DZE",1],
["CYBP_Camel_us",1],
["CYBP_Camel_rus",1],
["CYBP_Camel_civ",1],
["Civcar",1],
["Civcarbu",1],
["Civcarbl",1],
["Civcarre",1],
["Civcarge",1],
["Civcarwh",1],
["Civcarsl",1],
["350z",1],
["350z_red",1],
["350z_kiwi",1],
["350z_black",1],
["350z_silver",1],
["350z_green",1],
["350z_blue",1],
["350z_gold",1],
["350z_white",1],
["350z_pink",1],
["350z_mod",1],
["350z_ruben",1],
["350z_v",3],
["350z_yellow",1],
["CVPI_Patrol",1],
["CVPI_Tropper_Patrol",1],
["CVPI_TropperSL_Patrol",1],
["CVPI_NYPD_Patrol",1],
["CVPI_HighwaySL_Patrol",1],
["CVPI_UnmarkedB_Patrol",1],
["CVPI_UnmarkedG_Patrol",1],
["CVPI_LAPD_Patrol",1],
["CVPI_UnmarkedW_Patrol",1],
["CVPI_LAPDSL_Patrol",1],
["CVPI_NYPDSL_Patrol",1],
["CVPI_policecar",1],
["CVPI_Copcar",1],
["CVPI_Copcarhw",1],
["CVPI_Copcarswat",1]
];
 

 
I've tried to set MaxVehicleLimit to 50 and 300, still the same error.

while {count AllowedVehiclesList > 0} do {
 
_index = >
 1:07:05   Error position: <AllowedVehiclesList > 0} do {
 
_index = >
 1:07:05   Error Undefined variable in expression: allowedvehicleslist
 1:07:05 File z\addons\dayz_server\init\server_functions.sqf, line 240
 1:07:05 Error in expression <esList resize _lastIndex;
};
 
if (count AllowedVehiclesList == 0) then {
diag_lo>
 1:07:05   Error position: <AllowedVehiclesList == 0) then {
diag_lo>
 1:07:05   Error Undefined variable in expression: allowedvehicleslist
 1:07:05 File z\addons\dayz_server\init\server_functions.sqf, line 262
 1:07:05 Error in expression <Dedicated) exitWith { }; 

 

 

Any ideas on what I'm doing wrong?

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

I would say it is probably a typo in your dynamic_vehicles.sqf  was it recently edited?

Click the spoiler and check :P

 

Why do you have some vehicles set to 0? If you don't want them spawning just remove them from the list.

 

Edit: nvm, just saw that there was UH1Y_DZE and UH1H_DZE lol

Share this post


Link to post
Share on other sites
  • 0

Ok so I've updated the dyn_veh, still the same error.

 

AllowedVehiclesList = [
["AH6X_DZ",1],
["AN2_DZ",1],
["ArmoredSUV_PMC_DZE",1],
["ATV_CZ_EP1",2],
["ATV_US_EP1",2],
["C130J_US_EP1_DZ",1],
["car_hatchback",3],
["car_sedan",3],
["CH_47F_EP1_DZE",1],
["CSJ_GyroC",1],
["CSJ_GyroCover",1],
["CSJ_GyroP",1],
["datsun1_civil_1_open",2],
["datsun1_civil_2_covered",2],
["datsun1_civil_3_open",2],
["GAZ_Vodnik_DZE",1],
["GAZ_Vodnik_MedEvac",2],
["GLT_M300_LT",2],
["GLT_M300_ST",2],
["GNT_C185",1],
["GNT_C185C",1],
["GNT_C185R",1],
["GNT_C185U",1],
["hilux1_civil_1_open",2],
["hilux1_civil_2_covered",2],
["hilux1_civil_3_open_EP1",2],
["HMMWV_Ambulance",2],
["HMMWV_Ambulance_CZ_DES_EP1",2],
["HMMWV_DES_EP1",2],
["HMMWV_DZ",2],
["HMMWV_M1035_DES_EP1",2],
["HMMWV_M998A2_SOV_DES_EP1_DZE",1],
["JetSkiYanahui_Case_Blue",1],
["JetSkiYanahui_Case_Green",1],
["JetSkiYanahui_Case_Red",1],
["JetSkiYanahui_Case_Yellow",1],
["Kamaz",1],
["KamazRefuel_DZ",1],
["Lada1",2],
["Lada1_TK_CIV_EP1",2],
["Lada2",2],
["Lada2_TK_CIV_EP1",2],
["LadaLM","],
["LandRover_CZ_EP1",1],
["LandRover_MG_TK_EP1_DZE",1],
["LandRover_Special_CZ_EP1_DZE",1],
["LandRover_TK_CIV_EP1",1],
["M1030_US_DES_EP1",1],
["MH6J_DZ",1],
["Mi17_Civilian_DZ",1],
["Mi17_DZE",1],
["MtvrRefuel_DES_EP1_DZ",1],
["MTVR_DES_EP1",1],
["MV22_DZ",1],
["Offroad_DSHKM_Gue_DZE",1],
["Pickup_PK_GUE_DZE",1],
["Pickup_PK_INS_DZE",1],
["Pickup_PK_TK_GUE_EP1_DZE",1],
["S1203_ambulance_EP1",1],
["S1203_TK_CIV_EP1",1],
["Skoda",2],
["SkodaBlue",2],
["SkodaGreen",2],
["SkodaRed",2],
["SUV_Blue",1],
["SUV_Camo",1],
["SUV_Charcoal",1],
["SUV_Green",1],
["SUV_Pink",1],
["SUV_Red",1],
["SUV_Silver",1],
["SUV_TK_CIV_EP1",1],
["SUV_White",1],
["SUV_Yellow",1],
["tractor",1],
["TT650_Civ",1],
["TT650_Ins",1],
["TT650_TK_CIV_EP1",1],
["UAZ_CDF",2],
["UAZ_INS",2],
["UAZ_MG_TK_EP1_DZE",1],
["UAZ_RU",2],
["UAZ_Unarmed_TK_CIV_EP1",2],
["UAZ_Unarmed_TK_EP1",2],
["UAZ_Unarmed_UN_EP1",2],
["UH1H_DZE",1],
["UH1Y_DZE",1],
["UH60M_EP1_DZE",1],
["UralRefuel_TK_EP1_DZ",1],
["Ural_CDF",3],
["Ural_TK_CI1V_EP1",1],
["Ural_UN_EP1",1],
["V3S_Open_TK_CIV_EP1",1],
["V3S_Open_TK_EP1",1],
["V3S_Refuel_TK_GUE_EP1_DZ",1],
["VolhaLimo_TK_CIV_EP1",2],
["Volha_1_TK_CIV_EP1",2],
["Volha_2_TK_CIV_EP1",2],
["VWGolf",2],
["Zodiac",2],
["CH53_DZE",1],
["CYBP_Camel_us",1],
["CYBP_Camel_rus",1],
["CYBP_Camel_civ",1],
["Civcar",1],
["Civcarbu",1],
["Civcarbl",1],
["Civcarre",1],
["Civcarge",1],
["Civcarwh",1],
["Civcarsl",1],
["350z",1],
["350z_red",1],
["350z_kiwi",1],
["350z_black",1],
["350z_silver",1],
["350z_green",1],
["350z_blue",1],
["350z_gold",1],
["350z_white",1],
["350z_pink",1],
["350z_mod",1],
["350z_ruben",1],
["350z_v",3],
["350z_yellow",1],
["CVPI_Patrol",1],
["CVPI_Tropper_Patrol",1],
["CVPI_TropperSL_Patrol",1],
["CVPI_NYPD_Patrol",1],
["CVPI_HighwaySL_Patrol",1],
["CVPI_UnmarkedB_Patrol",1],
["CVPI_UnmarkedG_Patrol",1],
["CVPI_LAPD_Patrol",1],
["CVPI_UnmarkedW_Patrol",1],
["CVPI_LAPDSL_Patrol",1],
["CVPI_NYPDSL_Patrol",1],
["CVPI_policecar",1],
["CVPI_Copcar",1],
["CVPI_Copcarhw",1],
["CVPI_Copcarswat",1]
];

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...