jgalla5400 Posted July 4, 2014 Report Share Posted July 4, 2014 Hi all,Keep getting the below in my RPT's since the upgrade anyone have any ideas ?I'm sure I have missed something simpleHere's my error :-7:30:03 "CRASHSPAWNER: 81.0639% chance to start a crashing MV-22 with loot table 'HeliCrash'"7:30:03 "CRASHSPAWNER: MV-22 started flying from [10450,-630,1000] to [10284.2,8462.1] NOW!(TIME:8690||LT:HeliCrash)"7:30:50 "CLEANUP: Deleted 1 Loot Piles out of 54"7:30:54 Server: Network message 72976 is pending7:30:54 Server: Network message 72976 is pending7:30:54 Server: Network message 72976 is pending7:30:54 Server: Network message 72977 is pending7:30:54 Server: Network message 72977 is pending7:30:54 Server: Network message 72977 is pending7:30:54 Server: Network message 72977 is pending7:30:54 Server: Network message 72978 is pending7:31:35 "CRASHSPAWNER: MV-22 just exploded at [10366.1,8187.55,4.88513]!, "7:31:35 "_iClass isNil, exiting loot spawn!"7:31:35 Error in expression <s select _index;_itemType = _itemTypes select _index;[_itemType select 0, _ite>7:31:35 Error position: <select _index;[_itemType select 0, _ite>7:31:35 Error Zero divisor7:31:35 File z\addons\dayz_server\modules\crash_spawner.sqf, line 162I have attached my crash_spawner.sqf file (renamed as .txt as I couldn't attaché a .sqf)Any assistance greatly appreciated :)crash_spawner.txt Link to comment Share on other sites More sharing options...
0 Coco-Nuts Posted July 4, 2014 Report Share Posted July 4, 2014 Hello, In line 160 replace : _index = floor(random _cntWeights); by : _index1 = floor(random _cntWeights); In line 161 replace : _index = _weights select _index; by : _index2 = _weights select _index1; Then in line 162 replace : _itemType = _itemTypes select _index; by : _itemType = _itemTypes select _index2; Try this and tell me if it works. Link to comment Share on other sites More sharing options...
0 jgalla5400 Posted July 4, 2014 Author Report Share Posted July 4, 2014 Will do that now , Next restart is in 2 hours so wont know if it works until then :) Link to comment Share on other sites More sharing options...
0 jgalla5400 Posted July 4, 2014 Author Report Share Posted July 4, 2014 Getting this in the rpt file now too after the changes suggestedthe server_functions.sqf had the values you suggested to change in as well so I updated these to be the same (I was getting errors in there previously but with the same error on the same lines for the old values , hope that makes sense)9:50:38 Error in expression < select _index1;_itemType = _itemTypes select _index2;_veh addMagazineCargoGlo>9:50:38 Error position: <select _index2;_veh addMagazineCargoGlo>9:50:38 Error Zero divisor9:50:38 File z\addons\dayz_server\init\server_functions.sqf, line 3719:50:38 "PUBLISH: Attempt e56050c0# 984245: hmmwv.p3d"9:50:38 "HIVE: WRITE: "CHILD:308:24:HMMWV_DES_EP1:0:0:[2,[2190.36,9663.25,0.00746155]]:[]:[["glass1",0.0809666],["glass2",0.104113],["glass3",0.136604],["glass4",0.366373],["wheel_1_1_steering",0.860328],["wheel_1_2_steering",0.371566],["wheel_2_1_steering",0.497697],["wheel_2_2_steering",0.348466],["fueltank",0.601948],["engine",0.584447],["sklo predni P",0.857433],["sklo predni L",0.0648583],["karoserie",0.210398],["wheel_1_4_steering",0.628353],["wheel_2_4_steering",0.942601],["wheel_1_3_steering",0.532464],["wheel_2_3_steering",0.29007]]:0.70458:219049663202:""9:50:38 Error in expression < select _index1;_itemType = _itemTypes select _index2;_veh addMagazineCargoGlo>9:50:38 Error position: <select _index2;_veh addMagazineCargoGlo>9:50:38 Error Zero divisor9:50:38 File z\addons\dayz_server\init\server_functions.sqf, line 3719:50:38 Error in expression < select _index1;_itemType = _itemTypes select _index2;_veh addMagazineCargoGlo>9:50:38 Error position: <select _index2;_veh addMagazineCargoGlo> Link to comment Share on other sites More sharing options...
0 Dave Posted July 5, 2014 Report Share Posted July 5, 2014 Jon, I did a test - I set the following in the init.sqf MaxVehicleLimit = 50; and the errors stopped.. Link to comment Share on other sites More sharing options...
0 jgalla5400 Posted July 5, 2014 Author Report Share Posted July 5, 2014 Mmmmmmmm very odd ! Don't see how that would have any affect but hey what do I know lol Link to comment Share on other sites More sharing options...
0 Dave Posted July 5, 2014 Report Share Posted July 5, 2014 read these - ive only changed it on the test server Link to comment Share on other sites More sharing options...
0 jgalla5400 Posted July 5, 2014 Author Report Share Posted July 5, 2014 Makes sense :) Will change it and see what happens ! Link to comment Share on other sites More sharing options...
Question
jgalla5400
Hi all,
Keep getting the below in my RPT's since the upgrade anyone have any ideas ?
I'm sure I have missed something simple
Here's my error :-
7:30:03 "CRASHSPAWNER: 81.0639% chance to start a crashing MV-22 with loot table 'HeliCrash'"
7:30:03 "CRASHSPAWNER: MV-22 started flying from [10450,-630,1000] to [10284.2,8462.1] NOW!(TIME:8690||LT:HeliCrash)"
7:30:50 "CLEANUP: Deleted 1 Loot Piles out of 54"
7:30:54 Server: Network message 72976 is pending
7:30:54 Server: Network message 72976 is pending
7:30:54 Server: Network message 72976 is pending
7:30:54 Server: Network message 72977 is pending
7:30:54 Server: Network message 72977 is pending
7:30:54 Server: Network message 72977 is pending
7:30:54 Server: Network message 72977 is pending
7:30:54 Server: Network message 72978 is pending
7:31:35 "CRASHSPAWNER: MV-22 just exploded at [10366.1,8187.55,4.88513]!, "
7:31:35 "_iClass isNil, exiting loot spawn!"
7:31:35 Error in expression <s select _index;
_itemType = _itemTypes select _index;
[_itemType select 0, _ite>
7:31:35 Error position: <select _index;
[_itemType select 0, _ite>
7:31:35 Error Zero divisor
7:31:35 File z\addons\dayz_server\modules\crash_spawner.sqf, line 162
I have attached my crash_spawner.sqf file (renamed as .txt as I couldn't attaché a .sqf)
Any assistance greatly appreciated :)
crash_spawner.txt
Link to comment
Share on other sites
7 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