Magic Loot

Simple components multiplier & loot system

Total Downloads: 13,482 - First Release: Nov 13, 2016 - Last Update: Nov 2, 2017

5/5, 44 likes
  1. Well no config file is generating. I get this error:

    Code:
    Failed to initialize plugin 'MagicLoot v0.1.8' (ArgumentNullException: Argument cannot be null.
    Parameter name: source)
    Are you sure you're on the latest version?
     
  2. When your server is not generating a config for any plugin, then you probably got any other problem.
    Ask your hoster how they did implement the config file handling. Some of them do only accept file creation or modyfying while startup.
    The current plugin version does 100% generate a clean and working config file.
     
  3. Maybe you should have read the thread or at least the bio before loading the plugin. Just a thought.

    I don't get why people write 18 paragraphs about something I've posted about repeatedly.

    "Set the limits of each item in /data/MagicLoot.json"
     
  4. I host my own server, specifically on Linux.
    [DOUBLEPOST=1488402733][/DOUBLEPOST]@Norn I finally found the issue. The plugin will not load at startup, but will when you unload and load it after the server is finished starting.
     
  5. How odd.
     
  6. are the barrels supposed to add diffrent skins to them cause if they do its not working for me
     
  7. Hi there,

    i'm having trouble with my Loot Containers.

    Sometimes you find nothing inside a barrel or box. And the amount of items inside the containers should be a minimum by 2 but it's mostly 1.
    Only the Red Barrel Contains up to 6 different Items. I don't know why.

    Anyone? :D

    Thanks!

    Code:
    {
      "Components": {
        "list": [
          "bleach",
          "ducttape",
          "gears",
          "glue",
          "metalblade",
          "metalpipe",
          "propanetank",
          "riflebody",
          "roadsigns",
          "rope",
          "semibody",
          "sewingkit",
          "sheetmetal",
          "smgbody",
          "metalspring",
          "sticks",
          "tarp",
          "techparts"
        ]
      },
      "Developer": {
        "AmountChange": false,
        "Debug": false,
        "ExtraItem": false,
        "Skins": false
      },
      "Exclude": {
        "list": [
          "",
          ""
        ]
      },
      "ExcludeFromMultiplication": {
        "list": [
          "crude.oil"
        ]
      },
      "Loot": {
        "AmountMin": 2,
        "Enabled": true,
        "ItemsMax": 3,
        "ItemsMin": 2,
        "PreventDuplicates": true,
        "WorkshopSkins": true
      },
      "Settings": {
        "Multiplier": 2,
        "MultiplierComponents": 2,
        "MultiplyOnlyComponents": false
      }
    }
     
  8. Im having the same issue loading this plugin some times the barrels and crates have nothing in them
     
  9. Maybe the bug is not on your end but stackcontrollers end

    Seems to be empty boxes and no stacks higher then vanilla

    Empty crates only appear when vanilla multiplyer edited not the comps


    Code:
    "Settings": {
        "Multiplier": 1,
        "MultiplierComponents": 5,
        "MultiplyOnlyComponents": true
      }
    gets rid of the empty boxes but only 10 techparts appearing (barely)
     
    Last edited by a moderator: Mar 9, 2017
  10. I too have the same issue. No config creating on a Dedicated Windows 2012 R2 Server.

    Added another plugin and the config was made instantly.
     
  11. Someone just got over 400,000 explosives from one barrel.

    This is not very good :S What's cracking?

    UPDATE:

    I removed explosives and allsorts from the Magic Loot table via configuration and boom, people posting discord photos of stuff they've just got.... And they are getting items that shouldn't drop, and stuff like 400k anti rad suit.
     
    Last edited by a moderator: Mar 11, 2017
  12. add it ti the exclude list in the config file it has the smoke rocket and supply signal there by default just copy it from the data file and remove the amounts on the end
     
  13. If it's deleted off of the loot list it shouldn't be dropping.

    It should not be dropping 400k of stuff anyway, it needs fixing regardless of what items are dropping anyway,.
     
  14. it used to work like that last update made it do that
     
  15. Yea there's people on the server with 500k auto turrets and allsorts now, already wiped once today -, - the settings are set to only multiply components and it still messes it up!

    Could @Wulf take a look / fix? Pretty please?
     
  16. Getting tired of repeating myself over and over again, set the limits in /data/MagicLoot.json

    You shouldn't be removing anything from the data file. Add items to exclude that you don't want to drop. The datafile is not a loot table.

    I'm working on an update but as I've said previously, this is just a hobby and I have stuff to do.
     
  17. i actually missed that, my bad man.
     
  18. Hey guys! For some reason after restarting the server, it does not create the json file in the data folder, even tho I updated the oxide.
    It's creates at some of the plugins like FancyDrop, but it doesnt do it at Magic Loot and also at Better Loot it only creates the 5 basic jsons, where I can give what amount if items should be in the barrel / crate, but doesnt create the BetterLoot json.
    Anyone have any idea what I did wrong?

    Thanks!
     
  19. What's wrong with it?
    Loaded plugin MagicLoot v0.1.8 by Norn[MagicLoot]
    Loaded 300 item limits from /data/MagicLoot.json
    Failed to initialize plugin 'MagicLoot v0.1.8' (NullReferenceException: Object reference not set to an instance of an object)
    Unloaded plugin MagicLoot v0.1.8 by Norn
    No previous version to rollback plugin: MagicLoot
    And after RCON oxide.plugins ---> MagicLoot - Object reference not set to an instance of an object
     
  20. I'm getting tired and tired of repeating myself too, that simply does not work, and it constantly recreates that bloody file so you can't do anything to stop it from doing whatever it likes.

    I tried read only permissions and then the plugin doesn't load.

    Why would you set a limit and at such a high number.

    You're also ignoring the fact that I'm using only multiply components and its still giving 400k of non components.....
    [DOUBLEPOST=1489394429][/DOUBLEPOST]
    Unload and then manually load the plugin, it will then work.