BetterLoot

Moved

Total Downloads: 42,623 - First Release: Feb 26, 2015 - Last Update: Mar 20, 2018

4.95699/5, 93 likes
  1. I tried your suggestion, still get same error and the loot is not filling barrels or crates, like it is not loading at all or not reading cfg /blacklist and /loot does nothing
     
  2. I did change some parts of the current version to maybe hit your problem.
    Plz try the attached version:
     

    Attached Files:

  3. To spawn the barrels , weapon boxes, and ordinary boxes large square will not spawn
     
  4. Hey Fujikura !

    I see your next update, and I have somes problems to understand :

    delayPluginInit: 3 > amount of Ticks before initializing the tables

    My english is not amazing so I ask for a little help ^^

    What this thing do ?

    Thank you :)
    Regards,
    Katenn
     
  5. This is for delaying the plugin table initialization....but it seems atm, it does its job only half....its meant to prevent cases, on which the plugin runs into an error direct on serverstart...
    [DOUBLEPOST=1468663749][/DOUBLEPOST]
    Sorry, i couldn't understand you request/question/problem 'exactly'?!
     
  6. Thank you for your answer ! But Why adding something like that ? What the difference if I put 3 or 6, it's in minute ?
     
  7. This are "Ticks" :p
    Ticks will start after server was initialized...this gives the plugin time to let the game load ALL needed data, before BetterLoots grabs them into his tables ;)

    Example Error:
    Code:
    OnTick scheduled update failed: Object reference not set to an instance of an object
     
  8. HO ok ! I understand now !
    But I think an error is present because : loottable is not load..
    I find Rocket and Grenade in baril, but they don't are in the LootTable

    You have an idea ?
     
  9. This could only come from a not changed container type...
    BetterLoot can't spawn items which are'nt in one of the tables....if they spawn, then the container was not populated by betterloot ;)
     
  10. MMMhhhh..... So it's my file is correct for include all barrel and crate ?

    "Barrel": {
    "barrelTypes": "loot",
    "giveXpBarrel": true,
    "maxItemsPerBarrel": 3,
    "maxXpScaleBarrel": 1.0,
    "minItemsPerBarrel": 1,
    "minXpScaleBarrel": 1.0,
    "refreshBarrels": true
    },
    "Chances": {
    "baseItemRarity": 4
    },
    "Crate": {
    "crateTypes": "crate_normal|trash-pile-1",
    "giveXpCrate": true,
    "maxItemsPerCrate": 5,
    "maxXpScaleCrate": 1.0,
    "minItemsPerCrate": 2,
    "minXpScaleCrate": 1.0,
    "refreshCrates": true

    Regards,
    Katenn
     
  11. Working now xD Carry on.
     
    Last edited by a moderator: Jul 16, 2016
  12. Right, deleting the lines is correct....
    The file will only be touched again by BetterLoot it it cant count the items while trying to load or the count is zero, means NULL entries.
     
  13. Thanks :) Not sure what went wrong the first time I tried, but it seems fine now. One more question xD If I change the XP amount given for stuff in the config file, but *also* have a generic XP booster on... does that stack? Or does one override the other?
     
  14. Yay....the FAQ-Section was a bit to unprecise. "loot" would affect both types, barrels and crates, as i have checked again the whole prefab path.
    You would need to use "barrel" for hitting all barrels, and none of the crates.
     
  15. Ok !! If I want all crate, barrel on my server, I use "loot" ? we agree :D ?
     
  16. yea...the full paths are bit confusing^^^
    Look yourself ;)
     

    Attached Files:

  17. Fujikura updated BetterLoot with a new update entry:

    2.6.1

     
  18. Can someone share their json/config file that has a full item list added? I tried building the json myself but was still receiving abnormal drop amounts due to my stack sizes being so high. I'd like to use one that works for sure!

    Thanks in advance.
     
  19. The abnormal drop amounts depend all of your current stacksize for each item. The default amount in the list is already decreased in cases of high numbers. Assumed you have not every stack with another size, you simp.ly could search/replace all high numbers to the desired ones. THere would be no need to build the list by hand.

    The Folder includes also a complete itemlist named "NamesList.json"
     
  20. I just went through my stack size json and ensured that only my resources were set high. Ammo is set to 500 per type, but I just opened a loot container to find 1,669 .556 rounds.

    I don't understand what I'm doing wrong with this plugin. If the stack size of rifle ammo is 500, how many should drop by default with this plugin?