Jump to content
  • 0

Custom loot tables- Getting RPT error-seeking help


johnucc1

Question

So upon trying to load the custom loot tables as the guides say how to, im getting many a error, some causing more errors depending on which way i do it xD my RPT is clean when not using loot tables (apart from geometry errors and such, but alas arma) 

 

However, when using a custom loot table i get errors (RPT file will be at the bottom)

 

EDIT: The original issue was fixed, however it gave another error which i have relisted in the RPT file.

 

Here is my init.sqf 

//REALLY IMPORTANT VALUES
dayZ_instance =	11;					//The instance
dayzHiveRequest = [];
initialized = false;
dayz_previousID = 0;

//disable greeting menu 
player setVariable ["BIS_noCoreConversations", true];
//disable radio messages to be heard and shown in the left lower corner of the screen
enableRadio false;
// May prevent "how are you civillian?" messages from NPC
enableSentences false;

// DayZ Epoch config
spawnShoremode = 1; // Default = 1 (on shore)
spawnArea= 1500; // Default = 1500

MaxVehicleLimit = 300; // Default = 50
MaxDynamicDebris = 500; // Default = 100
dayz_MapArea = 14000; // Default = 10000
dayz_maxLocalZombies = 30; // Default = 30 

dayz_paraSpawn = false;

dayz_minpos = -1; 
dayz_maxpos = 16000;

dayz_sellDistance_vehicle = 10;
dayz_sellDistance_boat = 30;
dayz_sellDistance_air = 40;

dayz_maxAnimals = 5; // Default: 8
dayz_tameDogs = true;
DynamicVehicleDamageLow = 0; // Default: 0
DynamicVehicleDamageHigh = 100; // Default: 100

DZE_BuildOnRoads = false; // Default: False

DZE_MissionLootTable = true;

Here is my description.ext

#include "loottables\CfgBuildingLoot.hpp"
respawn = "BASE";
respawndelay = 5;
onLoadMission= "DayZ Epoch Chernarus";
OnLoadIntro = "Welcome to DayZ Epoch Chernarus";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,2,6};
enableItemsDropping = 0;

And the RPT file  

12:01:25 "DayZ Epoch: PRELOAD Functions\init [[<No group>:0 (FunctionsManager)],any]"
12:01:25 "DayZ Epoch: MPframework inited"
12:01:25 Error in expression <nd (((_itemChances select _l) select 1) * 100);
for "_k" from 0 to (_weight - 1)>
12:01:25   Error position: <* 100);
for "_k" from 0 to (_weight - 1)>
12:01:25   Error *: Type String, expected Number
12:01:25 File z\addons\dayz_code\init\loot_init.sqf, line 85
12:02:32 Client: Remote object 2:9 not found
12:02:32 Client: Remote object 2:10 not found
12:02:32 Client: Remote object 2:11 not found

 

 
 
Loot table-CfgBuildingloot
 
Loot table CfgLoot
 
loot table CfgLootSmall
 

Been working on my overpoch server for 2 days straight now pushing through bugs (mostly caused by me being inept) Going to be going to sleep now and getting up in the morning to check for help <3

 

Hope i can get help on this one, everyone i speak to doesent know what it is.

 

 

Also (Using newest epoch version from the epoch site and overwatch version) if that has anything to do with it.

 

This error here results in me getting stuck at a black screen hearing ambient air sound.

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

Edit: THANK YOU SO MUCH!!!! got loot spawning (although im wondering how i could turn them up, found one gun in a firestation and 0 in a barracks)

 

Love you long time bro.

class Military : Default {

zombieChance = 0.3;

maxRoaming = 6;

zombieClass[] = {"z_soldier", "z_soldier_heavy", "z_policeman"};

lootChance = 0.4;

lootPos[] = {};

itemType[] =

Link to comment
Share on other sites

  • 0

Also - your custom loot files are using the 1.0.4.2 version. You need to find the custom loot files for 1.0.5.1 to fix your current RPT error. 

 

EDIT: but now that posts are edit left right and center, I dont know if your latest edits on edits are edits to edit the edits to say you are all good now.   :D

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...