Thug Posted February 17, 2018 Report Share Posted February 17, 2018 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 More sharing options...
kingpapawawa Posted February 17, 2018 Report Share Posted February 17, 2018 Check your DZAI config for this.. try false; //True: Dynamically generate AI weapon list from CfgBuildingLoot (DayZ loot tables). False: Use preset weapon tables located near the end of this file. (Default: true). //Highly recommended to enable DZAI_verifyTables if this option is set to false. DZAI_dynamicWeaponList = true; Thug 1 Link to comment Share on other sites More sharing options...
Thug Posted February 19, 2018 Author Report Share Posted February 19, 2018 @kingpapawawa my loot tables were broke. Could not find where, so I replaced with fresh ones. Now I am not getting the errors. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now