Jump to content

UPDATE 2/14/2018 Loot "Still have problem"


Thug

Recommended Posts

UPDATE 2/14/2018

Still getting the following errors

in my RPT server side, I keep getting this errors that have to do with the dayz_code. 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.

The one thing I did notice is that when I take out DZAI, I don't get these errors.

 

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

Are you using custom loot tables?

I noticed this error when I was making my Overpoch loot tables. I was missing a comma behind the center number in one of the entries.

So this

{Loot_WEAPON,		5,		RH_Deagleg},

looked like this

{Loot_WEAPON,		5		RH_Deagleg},

It gave the same errors you are getting, not a "missing comma" error.

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...