BetterLoot

Moved

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

4.95699/5, 93 likes
  1. I looked into that before but could not figure out how to change the loot. I see the spawners and the locations is spawns as well as the weight, but how do I change the loot in the containers.
     
  2. Actually, I just realised I didn't really think that through and what I suggested wouldn't work anyway.

    To modify loot in specific crates I can recommend Alpha Loot. It is made by Fujikura and allows far more customisation. It is paid, which not many people like, but it's top notch, works fantastic and more importantly, supports the developer. Before you ask, NO, Fujikura has NOT hired me to advertise... xD I just can't recommend it enough.

    The crate_normal (green military crate) is only found in Rad Towns and it has its own loot table on Alpha Loot. So you're able to put which ever items you wish into that table and it'll only spawn those items in those crates.
    [DOUBLEPOST=1481570662][/DOUBLEPOST]
    NO! NAUGHTY! Recommend your Alpha Loot plugin! :D :D

    Loot Config is a pain! Using AlphaLoot is far easier.
     
  3. Thx, but i do not proactive advert it here, people can simple click byself my footer or view my profile to get the links and decide byself, if its worth it...
    Mainly after pulling out their last hair by trying to manage the complete loot fast-and-easy, people do know or maybe not, they should invest some bucks.
     
  4. Is there a way to change the items available in the crude oil barrel? Thank you.
     
  5. im confused, in your recent update it states "deactivated config option for "baseItemRarity" "
    so am i now unable to set rarity of individual items?
     
  6. Using this plugin, yes. You can still use ItemConfig or even *COUGH* AlphaLoot to set individual item rarities.
     
  7. "baseItemRarity" was a config switch, which could on wrong usage cras hthe complete loot tables on s server. It had nothing to do with each single item rarity.
     
  8. Do we need a lesson in threading, does the word singleton ring a bell Mr. Developer?

    Oxide] 11:24 [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.)
    [Oxide] 11:24 [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
     
  9. Do we need a class hour in reading, does the word patch-notes light a lamp Mr. Member?
    >>> BetterLoot for Rust - 2.11.0 | Oxide
     
  10. Greetings. I'm a relatively new server admin, though I write software for a living. I have no problems working with json data, but I'm missing some important information.
    1. I have no idea what each item type is in game. (Could someone match up the types with color barrel or visual description of crate (weapon crate)?). Also, if I'm missing any (like the food trash in the trash piles) could you add them to the list
    2. Is it possible to set a loot table for each individual type? Not that I'm going to do that, but I'd like to have more than Barrel and Crate groups.
    3. Where are good server admin resources for commands and syntax? Some examples on oxide are woefully out of date and took me forever to figure out. Google has failed me!
    Thanks for everyone's help.

    ITEM_TYPES
    Loot-Barrel-1 = normal barrel?
    Loot-Barrel-2 = blue barrel?
    loot_barrel_1 = ?
    loot_barrel_2 = ?
    loot_trash = ?
    crate_normal = crate in trash piles?
    crate_normal_2 = ?
    crate_normal_2_food = ?
    crate_normal_2_medical = crate with medical symbol?
    trash-pile-1 = ?
     
  11. I'll list number 1 last.

    2. Yes. Whilst it IS possible in general, it is not using this plugin. Using the paid, upgraded alternative AlphaLoot it is possible.

    3. Not really sure what you're trying to ask here... Give some example(s) of what you're trying to achieve.

    Now... Number 1. Since I use AlphaLoot, I have actually already made a list of the types and their appearance.
    • crate_normal = green military crate (found at Monuments/Rad Towns).
    • crate_normal_2 = unmarked wooden crate.
    • crate_normal_2_medical = wooden crate with medic symbol.
    • crate_normal_2_food = wooden crate marked with a food symbol.
    • loot-barrel-2 = damaged blue barrel
    • trash-pile-1 = trash pile box
    • loot_barrel_2 = damaged cream colour barrel
    • oil_barrel = damaged red barrel
    Unfortunately, despite searching really hard, I was unable to find ANY instances of loot_barrel_1 or loot-barrel-1 on my map.

    The damaged reference just means in appearance. It looks old/damaged with cracked paint all over and hints of rust.
     
  12. Thanks Sweaty. I went ahead and looked at Alphaloot and it did exactly what I wanted. Bought it.
     
  13. Sounds good...Thats the goal with it :)
     
  14. Let me give a quick comparison between Betterloot and Alphaloot. Both are fantastic depending on needs.

    (Free) Betterloot is a sports car. It's the ideal solution if you want general tweaks to loot tables. It's solid, dependable, easy to configure and manage. However the included loot tables look my uncle forgot to take his meds and chose the item/quantities. (5 rifle bodies in a barrel?!?)

    (Not Free) Alphaloot is an Aston Martin. This is the ideal solution for servers that want to fine tune all loot containers. Generally this will be the larger dedicated servers that have the population that demand it.
     
  15. I seem to be having a problem, this is with mod just installed, no change to any of default config..

    Version 2.11.2

    > oxide.reload BetterLoot
    [Oxide] 10:17 [Info] Unloaded plugin BetterLoot v2.11.2 by Fujikura/dcode
    [Oxide] 10:17 [Info] Loaded plugin BetterLoot v2.11.2 by Fujikura/dcode
    [Oxide] 10:17 [Info] [BetterLoot] HeliCrate > 'useCustomTableHeli' enabled, but loot population inactive by 'includeHeliCrate'
    [Oxide] 10:17 [Debug] at Newtonsoft.Json.JsonTextReader.ParsePostValue () [0x00000] in <filename unknown>:0
    at Newtonsoft.Json.JsonTextReader.Read () [0x00000] in <filename unknown>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary (IDictionary dictionary, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonDictionaryContract contract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, System.String id) [0x00000] in <filename unknown>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (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.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
     
  16. Delete all data files and config and do oxide.reload BetterLoot

    If that doesn't work then make sure Oxide is up to date. If that still doesn't work then Fujikura should be able to help.
     
  17. Ok, I did this and it added a extra problem...

    [Oxide] 10:30 [Error] Failed to call hook 'OnServerInitialized' on plugin 'BetterLoot v2.11.2' (JsonReaderException: After parsing a value an unexpected character was encountered: ". Path 'ItemList['weapon.mod.muzzlebrake']', line 27, position 4.)

    All the other stuff is still there, now this is also in.
     
  18. What version of Oxide are you using?
     
  19. Mod:
    Oxide Experimental ( 2665 )

    This is all I can see about it... using Multiplay ClanForge.. its annoying as hell.