BetterLoot

Moved

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

4.95699/5, 93 likes
  1. Look into my profile: Fujikura | Oxide

    or click on my footer on some of my posts before...its not always shown

    Thats for example the current commandlet set...
    Screenshot_43.png
     
  2. so i added the new gun to the supplydrop table and the heli table and ive now only just noticed that im getting default loot from barrels on trash piles, how to fix this as before hand i had it set so all barrels give 3 items out however just the barrels on trash piles arent doing so
     
  3. I saw the website on your profile and went to it and found it! Thanks. Looks like a solid plugin tbh, I'll have a good think about it and might purchase it later once I have my server up and running again.
    [DOUBLEPOST=1480685841][/DOUBLEPOST]
    Send through your config files (all of them) and I'll have a quick look for you. If I can't figure it out then hopefully Fujikura has some free time and will take a look as he'll know best.
     
  4. so the actual config file and all the loot tables ones from the data file yeah?
     
  5. Yeah, just throw them all in. Don't need some of them but it's worth taking a look anyway just in case! :D
     
  6. there you go!
     

    Attached Files:

  7. Found and fixed an error or two.

    Within your HeliCrate.json and SupplyDrop.json, when you added the M92 pistol, you formatted it incorrectly.

    Within your config files you put the following:

    "pistol.m92",

    The correct format is the following:

    "pistol.m92": 1,

    This specifies the item and how many can be spawned in a stack per barrel. Since it was not specified I assume it must have caused an error and therefore went with default vanilla values instead completely ignoring the plugin.

    Upload the attached files and enter into the console (or an RCON tool): oxide.reload BetterLoot

    It should then refresh everything for you and work.
     

    Attached Files:

  8. wow i cant believe i missed that!
     
  9. I've been coding in various languages over the years and it's the same thing here... You know what it means and supposed to say, but coder eyes always force you to miss the smallest and simplest things. The harder you look, the more you miss. It's a horrible death grip and almost always requires a second set of eyes or a long break! xD
     
  10. im still all new to this server plugins stuff and i wont of spotted it before hand so thank you very much!
     
  11. No problem, glad I was able to help.
     
  12. you will upgrade betterloot plugin?

    i think that plugin is for sale
     
  13. Yeah Fujikura pointed me in the right direction. It's a link on his profile after all. It looks genuinely solid and he's a great plugin developer so he deserves the support! I'll be taking a look at it later in full and might get it.
     
  14. I do only keep alive the plugin with the current features and do fixes if things are broken. But i do not implement new features anymore, as of the fact its already more moreful then the time i did take over the plugin. To realize a complete new solution i'm really satisfied with I did create AlphaLoot, and to support my own time i invest in free plugins creation, its to be sold :)
     
  15. Why is baseItemRarity deleted? I'm getting a shitload of M249 in a barrel... :p
     
  16. I also get this error...

    (02:44:20) | [Oxide] 02:44 [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.)

    (02:44:20) | [Oxide] 02:44 [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
     
  17. Delete all plugin created files and to a complete reload of the the plugin...
     
  18. Alright.. and where did the rarity go?
     
  19. Replaced by the default in-game rarity values. If you wish to change the rarities, install the ItemConfig plugin to change them through that.
     
  20. correct :)