Jump to content

Thug

Recommended Posts

in my RPT server side, I keep getting this errors that have to do with the dayz_code loot. The errors below are only part of what is in the rpt server side. I only copied a few. Has anyone seen this before and what to do about it? By the way, they show up in 2 servers I have Sauerland 1.0.6.2 and Taviana 1.0.6.2. The loot system is working.

When I take DZAI out of both server, I do not get these errors.  Was doing sector B today, which I use the DZAI. Every time you would shoot your weapon two times, you could see the loot change.  I have gone over the loot files on mission side and can not find anything wrong with it. Also, I had someone else look and they could not find anything wrong.

Spoiler

Error in expression <0) ==         1} do
{
_sub = dz_loot_weighted select (_def select 1);
_def = dz_loot_d>
 9:18:43   Error position: <select (_def select 1);
_def = dz_loot_d>
 9:18:43   Error Zero divisor
 9:18:43 File z\addons\dayz_code\loot\select.sqf, line 32
 9:18:43 Error in expression <floor random count _weighted);

while {(_def select 0) ==         1} do
{
_sub = dz_lo>
 9:18:43   Error position: <_def select 0) ==         1} do
{
_sub = dz_lo>
 9:18:43   Error Undefined variable in expression: _def
 9:18:43 File z\addons\dayz_code\loot\select.sqf, line 30
 9:18:43 Error in expression <andom count _sub);
};

_result set [_i, _def];
};

_result>
 9:18:43   Error position: <_def];
};

_result>
 9:18:43   Error Undefined variable in expression: _def
 9:18:43 File z\addons\dayz_code\loot\select.sqf, line 36
 9:18:43 Error in expression <0) ==         1} do
{
_sub = dz_loot_weighted select (_def select 1);
_def = dz_loot_d>
 9:18:43   Error position: <select (_def select 1);
_def = dz_loot_d>
 9:18:43   Error Zero divisor
 9:18:43 File z\addons\dayz_code\loot\select.sqf, line 32

 

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...