BetterLoot

Moved

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

4.95699/5, 93 likes
  1. This means exactly what?
     
  2. I was thinking the exact same thing ha ha ha ha! :D

    I THINK he might be having issues with his loot spawning the default items and not the ones he specified... Having said that, if his config file consists of { "ItemListBarrels": { "antiradpills": 100, "black.raspberries": 20 - Pastebin.com then I can understand why.

    @SaltyCoffee - Please post your BetterLoot data files and config file too. It is impossible to even begin to try and help you based on what you've said already.
     
  3. never mind i fixed
     
  4. What does the "baseItemRarity" number mean exactly? default is 2, but what happens if I put it at 1 or 3? Any ideas would be helpful.
    [DOUBLEPOST=1481062637][/DOUBLEPOST]Also, every time I try and reload the plugin, it says:

    (15:16:30) | [Oxide] 17:16 [Info] Unloaded plugin BetterLoot v2.10.0 by Fujikura/dcode

    (15:16:30) | [Oxide] 17:16 [Info] Loaded plugin BetterLoot v2.10.0 by Fujikura/dcode

    (15:16:30) | [Oxide] 17:16 [Warning] [BetterLoot] Plugin not active after first Setup. Change 'pluginEnabled' by config

    Does this mean the updated config will not be active? or... better yet, what the hell does this mean?
     
  5. Your plugin is out of date... Please update the plugin to the latest version...
     
  6. Just updated, now I have this error....

    (17:13:59) | [Oxide] 19:13 [Info] Loaded plugin BetterLoot v2.11.2 by Fujikura/dcode

    (17:13:59) | [Oxide] 19:13 [Warning] [BetterLoot] Plugin not active after first Setup. Change 'pluginEnabled' by config

    (17:13:59) | [Oxide] 19:13 [Error] Failed to run a 0.10 timer in 'BetterLoot v2.11.2' (JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'System.Collections.Generic.Dictionary`2[System.String,System.String]' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.

    To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.

    Path 'AllItemsAvailable', line 3, position 24.)

    (17:13:59) | [Oxide] 19:13 [Debug] at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureArrayContract (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract) [0x00000] in <filename unknown>:0

    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.Object existingValue, System.String id) [0x00000] in <filename unknown>:0

    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00000] in <filename unknown>:0

    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue (Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonConverter propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.JsonReader reader, System.Object target) [0x00000] in <filename unknown>:0

    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00000] in <filename unknown>:0
    [DOUBLEPOST=1481070057][/DOUBLEPOST]Never mind, had to delete ALL files from previous install of plugin, now it seems to work fine. Onto editing!
     
  7. I see you've already edited your response. Yes, usually, updates break certain things and require all config files to be recreated... Since you came from such an old version I'm not surprised. :D
     
  8. I've had my server running with BetterLoot for a while now had have had no problems. But ever since i have updated game to newest version and updated oxide the loot has gone back to default.
    None of the config or data files have changed and nothing i try seems to fix it need help!!!
     
  9. Make a backup of your configs, if needed, delete them and start from scratch. If this works, compare whats different to find the problem.
     
  10. how to multiply items by 100 or somthing ? i want that components spawn as 100 eachtime is that possible? if yes how?:D
     
  11. You can... You need to go into the data folder within your server, open I think the LootTable and where it says for example "gears": 6, all you need to do is change the number to 100 (or which ever number you wish to spawn).

    I haven't used BetterLoot for a good few days now as I replaced it with AlphaLoot, so I'm not 100% certain if it spawns 100 each time or max 100.
     
  12. whats the difference with aplhaloot :)
     
  13. It's an upgraded version of BetterLoot. It's a paid plugin on Fujikura's website. More customisation options, the ability to change individual item rarities and supports the developer...
     
  14. its strange because if i say like 100 techparts or what ever its still 2-50 and not always 100 ? or how does that work
     
  15. I think on BetterLoot the number means the maximum that can be spawned in a stack. So 100 will only mean that it can spawn 100 at the most, but can spawn anything lower.

    With AlphaLoot, at least for me anyway, the number that you put is the number of items that spawn. So if I did put "techparts": 100, then 100 Tech Parts would spawn. I'm probably doing it wrong, but it works. xD

    Also, when you update the values, make sure you don't forget to do betterloot.reload in the console... Some people forget that part.
     
  16. I've looked and not found, can someone explain how i can make the loot in rad towns or other radioactive areas be better with this plugin it seems that everything uses the same loot table?
     
  17. helis and airdrops drop normal loot not what i want
     

    Attached Files:

  18. You could try Spawn Config plugin and modify which barrels spawn where and change the loot in the barrels you chose for Rad Towns.
    [DOUBLEPOST=1481532555][/DOUBLEPOST]
    Multiple errors within your SupplyDrop config file:

    Last item in SupplyDrop (smg.thompson) has a comma. You don't use a comma on the last item in a list.

    There are 2 commas on autoturret.

    No comma after the holosight mod.

    All fixed and ready for download. Could not see any other errors, but there may be more.

    Also, don't forget to go into the BetterLoot.json config file and ENABLE the custom loot tables for airdrops and helicrates! Then Reload the plugin as usual and it should work fine.
     

    Attached Files:

    Last edited by a moderator: Dec 12, 2016