Simple Loot

Set multipliers for any item of your choosing!

Total Downloads: 5,019 - First Release: Oct 10, 2017 - Last Update: Dec 8, 2017

5/5, 12 likes
  1. Can i disable multiple/double loot? I have config file like:

    Code:
    {
    "Settings": {
    "Multipliers": {
    "gears": 1,
    "metalblade": 1,
    "metalpipe": 1,
    "metalspring": 1,
    "propanetank": 1,
    "riflebody": 1,
    "roadsigns": 1,
    "rope": 1,
    "scrap": 2,
    "semibody": 1,
    "sewingkit": 1,
    "sheetmetal": 1,
    "smgbody": 1,
    "tarp": 1,
    "techparts": 1
    },
    "Replace items with blueprints": false
    }
    }
    But all drops - Boxes, Metal Barels, Heli, Airdrop was x2. Like owner of that plugin say "I add multiple drops for more fun..." I dont want a multiple loot... I just want to have scraps x2. How i can to disable multiple lots from all that type ?
     
  2. does this plug in work on the barrels?
     
  3. Failed to call hook 'OnLootSpawn' on plugin 'SimpleLoot v1.0.8' (NullReferenceException: Object reference not set to an instance of an object)

    at LootContainer.PopulateLoot () [0x00000] in <filename unknown>:0

    at Oxide.Plugins.SimpleLoot.OnLootSpawn (.LootContainer lootContainer) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.SimpleLoot.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0

    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0

    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  4. post in Simple Loot as its the addon tossing up this error.
     
  5. anyone know how to help this error stop from spamming my cmd log?
    not sure what it is but it spams so fast and im not one to know how to fix servers. or deal with oxide.

    Code:
    Failed to call hook 'OnLootSpawn' on plugin 'SimpleLoot v1.0.8' (NullReferenceException: Object reference not set to an instance of an object)
      at LootContainer.PopulateLoot () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.SimpleLoot.OnLootSpawn (.LootContainer lootContainer) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.SimpleLoot.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    NullReferenceException: Object reference not set to an instance of an object
    raw link Ubuntu Pastebin
    screenshot https://i.imgur.com/bB7nCmv.png
    [DOUBLEPOST=1524525697][/DOUBLEPOST]EDIT: im pretty sure its spawning a shit ton of chinook crates because when i run command
    del assets/prefabs/deployable/chinooklockedcrate/codelockedhackablecrate.prefab

    it deletes crates up to the thousands.

    I deleted the plugin simpleloot and now im presented with
    Code:
    NullReferenceException: Object reference not set to an instance of an object
    NullReferenceException: Object reference not set to an instance of an object
    NullReferenceException: Object reference not set to an instance of an object
    NullReferenceException: Object reference not set to an instance of an object
    NullReferenceException: Object reference not set to an instance of an object
    NullReferenceException: Object reference not set to an instance of an object
    NullReferenceException: Object reference not set to an instance of an object
    NullReferenceException: Object reference not set to an instance of an object
    NullReferenceException: Object reference not set to an instance of an object
    raw code Ubuntu Pastebin
    screenshot https://i.imgur.com/RAWMlpC.png


    this might be of more help https://i.imgur.com/MDVAd9a.png
     
    Last edited by a moderator: Apr 24, 2018
  6. Can you make it so we can pick how many items spawn in each container? Would be a great addition.
     
  7. as far as i know for the plugin dev they could do this, but i prefer a X factor over choosing each item individually.
     
  8. Edit: Never mind!
     
    Last edited by a moderator: Jun 8, 2018