fireplace Posted July 15, 2014 Report Share Posted July 15, 2014 I'm getting loads of this error, on server start. once it's past the server runs fine... 20:06:32 Error Undefined variable in expression: _vehicle 20:06:32 File z\addons\dayz_server\init\server_functions.sqf, line 248 20:06:32 Error in expression <imit = _random select 1; _qty = {_x == _vehicle} count serverVehicleCounter; > 20:06:32 Error position: <_vehicle} count serverVehicleCounter; > 20:06:32 Error Undefined variable in expression: _vehicle 20:06:32 File z\addons\dayz_server\init\server_functions.sqf, line 248 20:06:32 Error in expression <imit = _random select 1; _qty = {_x == _vehicle} count serverVehicleCounter; > 20:06:32 Error position: <_vehicle} count serverVehicleCounter; > 20:06:32 Error Undefined variable in expression: _vehicle 20:06:32 File z\addons\dayz_server\init\server_functions.sqf, line 248 20:06:32 Error in expression <unt serverVehicleCounter; if (_qty <= _velimit) exitWith {}; _lastIndex = (> 20:06:32 Error position: <_velimit) exitWith {}; _lastIndex = (> 20:06:32 Error Undefined variable in expression: _velimit 20:06:32 File z\addons\dayz_server\init\server_functions.sqf, line 251 20:06:32 "DEBUG: unable to find suitable vehicle to spawn" MaxVehicleLimit = 570; Do I not have enough vehicles set to spawn in dynamic_vehicle.sqf? or maybe I've got to many :wacko: Unless it's nothing to do with that... Link to comment Share on other sites More sharing options...
0 f3cuk Posted July 15, 2014 Report Share Posted July 15, 2014 You already answered yourself. Not enough vehicles to spawn in dynamic_vehicles.sqf. Link to comment Share on other sites More sharing options...
0 fireplace Posted July 15, 2014 Author Report Share Posted July 15, 2014 ahhhh! wasn't sure which way it was lol. Will go change it thx Link to comment Share on other sites More sharing options...
0 dzrealkiller Posted November 29, 2014 Report Share Posted November 29, 2014 I have the same thing how do you fix it? I am on Overpoch Origins playing Taviana. Here Is my dynamic_vehicle.sqf = https://www.dropbox.com/s/2pomybsal9qu5n0/dynamic_vehicle.sqf?dl=0 I'm new to all this sort of thing so may need a little guidance on what to change :S Link to comment Share on other sites More sharing options...
0 Antichrist Posted November 30, 2014 Report Share Posted November 30, 2014 I had the same when i removed boats and bikes from dynamic spawn and i just did the math from dynamic_vehicle.sqf and changed my vehicle count to 200 instead of 300 (default i think) in init.sqf though i had ~230 vehicles in the file and it fixed that Link to comment Share on other sites More sharing options...
Question
fireplace
I'm getting loads of this error, on server start. once it's past the server runs fine...
MaxVehicleLimit = 570;
Do I not have enough vehicles set to spawn in dynamic_vehicle.sqf? or maybe I've got to many :wacko: Unless it's nothing to do with that...
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now