BetterLoot

Moved

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

4.95699/5, 93 likes
  1. [Oxide] 10:41 [Error] Failed to run a 0.10 timer in 'BetterLoot v2.11.1' (ArgumentException: Could not cast or convert from System.String to System.Collections.Generic.Dictionary`2[System.String,System.String].)

    How to fix this?
     
  2. Simply click there, and read the latest TWO update notes...not that difficult ,or? :p

    >>> BetterLoot for Rust - Updates | Oxide
    [DOUBLEPOST=1479652260][/DOUBLEPOST]
    >> BetterLoot for Rust - Updates | Oxide
    Read the last 2 update infos :p Thats the magic behind this error ;)
     
  3. How am I able to edit the supply drop table to only drop 1 stack of stackables?

    Eg - ATM I can get supply drops that drop 2+ stacks of sulfur for example anywhere between 1-750 and I edited the max stack to 50k...

    So instead of getting 1 stack of 503 sulfur and another of 602, just get 1 of 1105.
     
  4. Great plugin
     
    Last edited by a moderator: Nov 20, 2016
  5. Would this also work in conjunction with MagicLoot so i can apply an item modifier of x5
     
  6. Did not test them together.
    [DOUBLEPOST=1479679679][/DOUBLEPOST]
    search this line:
    Code:
    item.MoveToContainer(container.inventory, -1, false);
    and replace with this:
    Code:
    item.MoveToContainer(container.inventory, -1, true);
    As temporary fix.
     
  7. Is there an option in this mod to multiply the output easily, eg x3 or x10 of the default amounts?
     
  8. Not with BetterLoot...my nonpublic AlphaLoot is able to do such thing and many more...

    >>> read more about in the manual: AlphaLoot.pdf
    Or open my profile for plugin URL.
     
  9. Getting errors with the update:

    (09:10:27) | [Oxide] 09:10 [Error] Failed to run a 0.10 timer in 'BetterLoot v2.11.1' (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.)
    (09:10:27) | [Oxide] 09:10 [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
     
  10. The one eyed is the king in the land of the blind ;)
     

  11. Remove BetterLoot from /plugins, /config AND /data
     
  12. Code:
    (10:19:47) | [Oxide] 19:21 [Warning] [Backpacks] Hazmat Suit: 0
    (10:19:47) | [Oxide] 19:21 [Warning] [Backpacks] Medium Present: 0
    (10:19:47) | [Oxide] 19:21 [Warning] [Backpacks] Small Present: 0
    (10:20:28) | [Oxide] 19:22 [Info] [BetterLoot] Refreshed 62 containers (0 destroyed)
    (10:21:29) | [Oxide] 19:23 [Info] [BetterLoot] Refreshed 576 containers (226 destroyed)
    (10:21:29) | [Oxide] 19:23 [Warning] Calling 'OnTick' on 'BetterLoot v2.11.1' took 614ms
    (10:22:28) | [Oxide] 19:24 [Info] [BetterLoot] Refreshed 62 containers (83 destroyed)
    (10:23:28) | [Oxide] 19:25 [Info] [BetterLoot] Refreshed 54 containers (55 destroyed)
    (10:24:28) | [Oxide] 19:26 [Info] [BetterLoot] Refreshed 54 containers (68 destroyed)
    (10:25:28) | [Oxide] 19:27 [Info] [BetterLoot] Refreshed 63 containers (65 destroyed)
    (10:25:57) | [Oxide] 19:27 [Info] [Rewards] Mike Hunt got 25 for activity
    (10:26:28) | [Oxide] 19:28 [Info] [BetterLoot] Refreshed 65 containers (57 destroyed)
    (10:27:28) | [Oxide] 19:29 [Info] [BetterLoot] Refreshed 66 containers (58 destroyed)
    (10:28:27) | [Oxide] 19:29 [Info] [GUIAnnouncements] Restarting in 30 minutes.
    (10:28:28) | [Oxide] 19:29 [Info] [GUIAnnouncements] Restarting in 30 minutes.
    (10:28:28) | [Oxide] 19:30 [Info] [BetterLoot] Refreshed 70 containers (45 destroyed)
    (10:29:28) | [Oxide] 19:31 [Info] [BetterLoot] Refreshed 41 containers (67 destroyed)
    (10:30:28) | [Oxide] 19:32 [Info] [BetterLoot] Refreshed 64 containers (49 destroyed)
    This isn't a big deal right now at least, but why is better loot refreshing so much? Never did this before.
     
  13. Thanks Fuijkura :D
    [DOUBLEPOST=1479754653][/DOUBLEPOST]
    Maybe you set the refresh time to 1 minute?
     
  14. Refresh is set @ 15m

    It's been set to that for a while. It didn't start this til yesterday after I updated the modand renewed the configs
     
  15. The refresh system didnt change since weeks..
     
  16. I didn't think it did. So that leaves 1 question, What's causing it? Can you try to duplicate this?

    My refresh rate is at 15 minute

    I reloaded the mod and it stopped for a few. Then started back up.

    I'm gonna try an older version and see if it still does it. it seems it's killing all barrels and not letting them stay long enough to be farmed. I don't know,
     
  17. It does only refresh contents, it does'nt destroy. Mainly for most barrel types it should be disabled, because their content is always full looted by barrel destroy.
    The refresh it meant to refill not full lootet things, therefore only full useful at crate types ;)
     
  18. I completely understand how loot refresh and destroy works, I've just never seen this barrel refresh spamming my rcon before, like I said. I just want to why it's refreshing every minute when I have it set to 15m.
     
  19. Мужики, помогите настроить лут из бочек и т.д. Вроде не дурак, но совсем не понимаю где и что. Хочу контролировать дроп определённых вещей, но в конфиге ни чего не смыслю, объясните пожалуйста что к чему...

    Sry, my eng lang is bad(
     
  20. @Fujikura can you explain to me please, what exactly baseItemRarity value does, and what value range of it. is higher number means rare loot will be dropped more often?