Jump to content
  • 0
Sign in to follow this  
Bazerama

DZE_MissionLootTable (Custom Loot table for Overpoch issues)

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!

 

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Similar Content

    • By Ghostrider-GRG
      Originally concieved by Blckeagls and supported here with permission
      Completely rewritten  to remove bugs and add functionallity.
       
       
      Current Version: Version 6.90
      Current Build: 176
      Description.
      Built-in support for Epoch or Exile.
      Updated: Built in Headless client support.
      New: includes tools to export missions from A3EDEN Editor - minimal editing/scripting required to generate new missions once the design is completed in the editr.
      A complete static and dynamic mission system rolled into one.
       
      AI infantry will aggressively pursue attackers, flank, use cover, and communicate with aircraft and ground vehicles.
      Supports missions on land and underwater.
      Includes hostage and arrest enemy leader style missions as well as conventional capture the crate missions.
      Missions can have infantry, static weapons, armed vehicle patrols and aircraft defending the area.
      Built in support for militarized missions with tanks and attack helis or jets if you wish.
      AI loadouts can be defined by arrays or based on items in CfgPricing (Epoch) or the Arsenal (Exile)
      Supports spawning of static AI infantry, vehicles, aircraft, surface vessels, static emplaced weapons and subs with scuba divers.
      Includes tools forspawning map addons exported using M3EDEN editor plugin.
      Includes tools for spawning static loot crates which can be randomized at each area, be spawned with a smoking wreck nearby to create that post-appocolyptic feels, and have randomized .oot.
      To download go to: https://github.com/Ghostrider-DbD-/blckeagles-revisited-RC
      For installation see: https://github.com/Ghostrider-DbD-/blckeagles-revisited-RC/blob/master/INSTALLATION.txt
      For a complete changelog see: https://github.com/Ghostrider-DbD-/blckeagles-revisited-RC/blob/master/changeLog.sqf
      V 6.90  Build 175
      Changes Include:
      1. Added new settings to specify the number of crew per vehhicle to blck_config.sqf and blck_config_mil.sqf
       
          // global settings for this parameters
          // Determine the number of crew plus driver per vehicle; excess crew are ignored.
          // This can be a value or array of [_min, _max];
          blck_vehCrew_blue = 3;
          blck_vehCrew_red = 3;
          blck_vehCrew_green = 3;
          blck_vehCrew_orange = 3;
          You can also define this value in missions by adding the following variable definition to the mission template:
          _vehicleCrewCount = [3,6]; // min/max number of AI to load including driver. see the missions\blue\template.sqf and blck_configs.sqf for more info.
      2.  Lists of items to be excluded from dynamically generated loadouts has been moved to:
          blck_config.sqf
          blck_config_mil.sqf
      3. Added a new setting that specifies whether logging of blacklisted items is done (handy for debugging)
          blck_logBlacklistedItems = true;  // set to false to disable logging
      4. Hit and Killed event handlers extensively reworked. Methods for notification of nearby AI and Vehicles of the killers whereabouts were revised to be more inclusive of neighboring AI.
      5. Issues with AIHit events fixed; AI now deploy smoke and heal.
      6. Removed some unnecessary logging.
      7. Other minor coding fixes and optimizations.
      Credits:
          Epoch Mod developer team, and in particular AWOL whose code has provided many lessons in scripting.
        blckeagls - Original developer of mission system 2.0.2   Narines - bug fixes and improvements.   Bill (DBD Clan) example compositions.   cyncrwler for help with troubleshooting and testing   Brian Soanes for helpful changes and performance tweaks.   Grahame for many rounds of testing, feedback and suggestions regarding features.   zxbutchxz for extensive testing of AI behavior. MGTDB for the fix for an issue with interacting with captives/targets on Exile servers. * Additional Credits include authors of other missions systems and scripts who's work influenced this release:
         Halve and He-Man.     Face (A3EAI)     KiloSwiss (SEM)     Hogscrapper (HC missions for A3)     the Vampire (DZMS and VEMF)     The FUCHS (EMS)     lazylink (early A2 Epoch mission system)     Matt11 (Wicked AI) Updates: License
      This Mission System is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
      http://creativecommons.org/licenses/by-nc-sa/4.0/
       
       

       
    • By FG_Trap
      Made a quick static ai mission that spawns on restart. 
      12 ai patrol the compound 
      4 Static m2's
      1 Heli Patrolling the compound 
      Crate for who ever clears all the ai.
      Some screenshots of the compound 


       
      https://github.com/Trapxxgods/Wai-Static-Mission 
    • By MSDZ
      Hey guys! I decided that relaunching my Namalsk Overpoch server would be fun!
      IP: 69.14.244.109:2302
      Discord: https://discord.gg/QbuGTju
      The server is semi militarized
         - Certain vehicles are in game, but with limited weaponry,
         - All high end trade items are at the traveling trader or at a secret trader location
      Running a fully fresh DB, 350 build limit. Feel free to hop on!
    • By spitfirez404
      Veteran Gamers United
                                                                         IP: 103.195.100.219:2300
                                                                        
                                                                         Server Features: 
                                                                        *Coins, Gold & Gems
                                                                        *Tow/Lift
                                                                        *Claim Vehicles
                                                                        *Color Filter
                                                                        *Toggle Grass On Or Off
                                                                        *Deployable Bike & Mozzie
                                                                        *New Custom Building Menu
                                                                        *Suicide On Knife
                                                                        *Change View Distance
                                                                        *Group Management
                                                                        *High Loot
                                                                        *FPS++
                                                                        *Base Raiding
                                                                        *Base Take Over
                                                                    **And Many More** 
      This server is a new one from our last and features alot more scripts. We are adding more in all the time! Server restarts every six hours, and Admins are always available to help if needed. You need both Epoch & Overwatch mods to play. Come give it a go and see what you think :)
         
    • By PapaSmurf
      Server Name: [PSG]DayZ Overpoch Chernarus|Start 10/18|Coins|FPS+|WAI|Missions|Grp|SSD|Dedicated|Spawn Select|Active Staff|
      Server IP: 8.26.94.59:2302
      Mods: @DayzOverwatch;@DayZ_Epoch;
      Server Start: 10/18/2018
      Join our Discord!
       
      Hello!
      PSG is now online! Lots of neat features and a non-militarized vibe!
      Server features and rules are listed below. I'll be regularly adding more content so I hope to see you guys on!
      Feel free to hop on our discord if you have any further questions!
       
      Server Features:
      Custom Areas (Trainyard, Compound, Oil Rig, Camps, Abandoned Trader, ...)
      Increased Zombie Damage
      Base raiding
      Base takeover areas (Special areas of map)
      Coins can be stored in Safes or Lockboxes
      Coins you are carrying will be lost on death
      Spawn selection and humanity loadout
      Wicked AI and Missions
      Deploy Bike/Mozzies
      Pistol Suicide
      Take clothes from dead AI/players
      Repair at service points/gas stations for coins
      Locate/Vehicle controls with keys
      Set view distance with map 
      Locked vehicles within plot area are immune to damage
      Safes cannot be hotwired
      General Rules:
      Be respectful to other players and staff
      No destroying plot poles
      Base takeovers allowed only in certain areas (Notified upon entering)
      Hackers and anyone benefitting from hackers will be banned
      Only Air to Air kamikaze is allowed
      No advertising other services or servers
      No Spamming
      Safe Zones Rules:
      No stealing Items/Vehicles
      No trolling in safe zones
      No ramming in safe zones
      Safe zone camping is allowed (Leaving safe zone grants temporary god mode)
      Base Rules:
      No Building within 800m of Military Buildings or Traders. (Construction will fail if you try)
      No glitching/finding exploits into bases
      No blocking roads with buildings or vehicles in your plot area
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...