Jump to content
  • 0

DZE_MissionLootTable (Custom Loot table for Overpoch issues)


Bazerama

Question

So, currently I have a perfectly clean (minus AdminTools) MPMissions folder for Napf, and I'm attempting to use a custom loot table using the lines:

DZE_MissionLootTable
#include "customloot\CfgBuildingLoot.hpp" //Overpoch Custom Loot

problem is, when I load into my server, I get to the admin login/mission start screen. As soon as I hit "OK", the DayZ Epoch logo comes up, the loading bar loads fully, then it pauses at that screen indefinitely, like this:

http://tinypic.com/r/3355dep/8

that's a photoshopped image, but you get the idea.

My server RPT then says this:

18:45:06 Error in expression <nd (((_itemChances select _l) select 1) * 100);
for "_k" from 0 to (_weight - 1)>
18:45:06   Error position: <* 100);
for "_k" from 0 to (_weight - 1)>
18:45:06   Error *: Type String, expected Number
18:45:06 File z\addons\dayz_code\init\loot_init.sqf, line 85

So, i do some programming, I get the error, but is there a way to fix at that is more simple than commenting out the code or anything? Or a way of changing the variable that is a string but should be a number?

I'll try commenting it out and report back, but I don't think it'll help...

 

Thanks, all!

 

FIXED: 

wangtangnoodle, on 27 Jun 2014 - 10:21 PM, said:snapback.png

Most likely you're using loottables from before 1.0.5. You have to re-write (or whatever) the edits you use into the new files. Grab them from here.

https://github.com/v...Configs/CfgLoot

 

 

found this quote from: 

Cheers!

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

you have posted this in the wrong section.  This is for A3 not A2 DayZ Epoch.

 

Head over to http://epochmod.com/forum/index.php?/forum/1-arma-2-dayz-mod-epoch/

 

But... Looks like your Loot maybe wrong or you have an error it it. You would need to post that file to pastebin or something for someone to check for you.

 

Thanks

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
  • Discord

×
×
  • Create New...