Jump to content
  • 0

Need help with my RPT :(


dzrealkiller

Question

I have been installing a few scripts like Zupa Coins and DZGM Plot4Life and such and I can no longer enter my server just before it spawning me in the game it kicks me back to lobby I then checked my RPT and I am spammed with the following.

 

i>
19:21:37   Error Undefined variable in expression: _vehicle
19:21:37 File z\addons\dayz_server\init\server_functions.sqf, line 251
19:21:37 Error in expression <limit = _random select 1;
_qty = {_x == _vehicle} count serverVehicleCounter;
 
i>
19:21:37   Error position: <_vehicle} count serverVehicleCounter;
 
i>
19:21:37   Error Undefined variable in expression: _vehicle
19:21:37 File z\addons\dayz_server\init\server_functions.sqf, line 251
19:21:37 Error in expression <limit = _random select 1;
_qty = {_x == _vehicle} count serverVehicleCounter;
 
i>
19:21:37   Error position: <_vehicle} count serverVehicleCounter;
 
i>
19:21:37   Error Undefined variable in expression: _vehicle
19:21:37 File z\addons\dayz_server\init\server_functions.sqf, line 251
19:21:37 "PUBLISH: Created TT650_TK_CIV_EP1 with ID "1325181335634148""
19:21:38 "HIVE: WRITE: "CHILD:388:1629051369210180:""
19:21:38 "CUSTOM: Selected "472""
19:21:38 "PUBLISH: Attempt 33f17040# 1005271: lada.p3d"
 
 
Any Ideas what is causing this and how can I fix it also just before it kicks me to the lobby It says something about been next to a rock... cant really catch what it says it pops up so damn fast and vanish instantly :(
Link to comment
Share on other sites

22 answers to this question

Recommended Posts

  • 0

Ok well I had Overpoch server files that I was working on on my home computer then I brought a server and turned to Overpoch + Origins on the Taviana map.

 

I used my files from my Overpoch server on my home computer so I guess its missing all the Origin vehicles. Any Idea how I can add them to the allowed list?

 

Also I have another Issue with my Traders.. All traders work fine apart from the weapon and ammo dealers they have no items so also need to find a list to add them :S

Link to comment
Share on other sites

  • 0

Ok well I had Overpoch server files that I was working on on my home computer then I brought a server and turned to Overpoch + Origins on the Taviana map.

 

I used my files from my Overpoch server on my home computer so I guess its missing all the Origin vehicles. Any Idea how I can add them to the allowed list?

 

Also I have another Issue with my Traders.. All traders work fine apart from the weapon and ammo dealers they have no items so also need to find a list to add them :S

 

The vehicles need to be added to the dynamic_vehicle.sqf Also database if you want them in traders.  As far as traders not having items, Do you mean the menu shows with no options, or does the menu not even show categories like drinks, packaged food etc..? May just not have matching TIDs in your server_traders.sqf

 

 

If you post your dynamic_vehicle from server pbo and server_traders from your mission ill have a look.

Link to comment
Share on other sites

  • 0

that error isn't necessarily an issue with the array itself. it usually kicks out when your allowed vehicles limit is way more then the amount of vehicles on your list.

(IE - you say allow 900 vehicles, your allowed vehicle list only allows 500 (for arguement sake)), so it starts pitching errors).


That is not ALWAYS the actual problem that gives this error, just a common enough scenario.

Link to comment
Share on other sites

  • 0

I have init.sqf set to 300 vehicles, In dynamic_vehicles I added some vics that were missing from the list and the error seems to have gone but I will know for sure in a little while.

 

**EDIT**

Nope its still doing the same thing.

 

11:35:03 Error in expression < select 2]};
 
_tv=abs(_xv)+abs(_yv)+abs(_zv);
if (_tv>2) then {_dr=1/_tv} else {>
11:35:03   Error position: <_zv);
if (_tv>2) then {_dr=1/_tv} else {>
11:35:03   Error Undefined variable in expression: _zv
11:35:03 File ca\Data\ParticleEffects\SCRIPTS\destruction\AirDestructionStage2.sqf, line 59
11:35:04 "HIVE: WRITE: "CHILD:388:114204152655032:""
11:35:04 "CUSTOM: Selected "1197""
11:35:04 "PUBLISH: Attempt 33b33040# 1005244: suv.p3d"
11:35:04 "HIVE: WRITE: "CHILD:308:13:SUV_Red:0:0:[4,[11355.5,15705.9,0.0076828]]:[]:[["wheel_1_1_steering",0.443368],["wheel_1_2_steering",0.118355],["wheel_2_1_steering",0.127291],["wheel_2_2_steering",0.253825],["palivo",0.53554],["motor",0.538984],["glass1",0.106795],["glass2",0.939121],["glass3",0.10393],["glass4",0.026181],["sklo predni P",0.695898],["sklo predni L",0.586428],["karoserie",0.491743],["wheel_1_4_steering",0.399584],["wheel_2_4_steering",0.843864],["wheel_1_3_steering",0.382567],["wheel_2_3_steering",0.0950932]]:0.749913:11355515705904:""
 
The above was the only error this time... just I have no idea what it mean :S
Link to comment
Share on other sites

  • 0

He's saying to go into ca\Data\ParticleEffects\SCRIPTS\destruction\AirDestructionStage2.sqf and at the top where you see other defined variables like:

_variabl1 = something;
_variable2 = something_else;

and add

_zv = 0;

somewhere with them.  Not to sure where that is... the only "ca" folder i know off the top of my head is in mission folder/pbo and mine has no Data folder within it.

 

You may, or may not find that its already defined. Sometimes other things trigger a chain of errors and require further digging.

Link to comment
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
  • Advertisement
  • Discord

×
×
  • Create New...