Hey guys,
Can we apply rarity index to any item?
I tried to make the hazmat suit rare and within an hour everyone had 5 of them.
All I did was add the following and reload
Code:"RarityIndex": { "ItemOverrides": { "autoturret": 3, "box.wooden": 0, "crude.oil": 2, "hq.metal.ore": 0, "lmg.m249": 3, "metal.fragments": 1, "metal.refined": 3, "mining.quarry": 2, "rifle.lr300": 2, "spikes.floor": 1, "target.reactive": 1, "targeting.computer": 3, "trap.bear": 1, "trap.landmine": 2, "water.catcher.large": 1, "water.catcher.small": 1, "cctv.camera": 3, "hazmatsuit": 3 } },
BetterLoot
Moved
Total Downloads: 42,624 - First Release: Feb 26, 2015 - Last Update: Mar 20, 2018
- 4.95699/5, 93 likes
-
Code:
(20:28:27) | [Oxide] 20:28 [Error] Error while compiling BetterLoot.cs(1114,26): error CS0246: The type or namespace name `Rarity' could not be found. Are you missing an assembly reference?
-
Code:
22:41:43) | [Oxide] 22:41 [Warning] Calling 'OnServerInitialized' on 'BetterLoot v2.10.0' took 267ms
-
-
-
-
Barrels are spawning just one item , i already use the fix posted here but keep getting this error
Failed to call hook 'OnServerInitialized' on plugin 'BetterLoot v2.10.0' (NullReferenceException: Object reference not set to an instance of an object)
(00:30:39) | [Oxide] 06:30 [Debug] at Oxide.Plugins.BetterLoot.UpdateInternals (Boolean doLog) [0x00000] in <filename unknown>:0
at Oxide.Plugins.BetterLoot.OnServerInitialized () [0x00000] in <filename unknown>:0
at Oxide.Plugins.BetterLoot.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (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 name, System.Object[] args) [0x00000] in <filename unknown>:0
(00:31:07) | [Oxide] 06:31 [Info] [Better Chat] [Player] MortiFy: Awwww(((
-
-
Yo Guys!!
Is there anyway to just increase the drop rate on components and if its possible can anyone tell me how to raise it a little? -
Fujikura updated BetterLoot with a new update entry:
2.11.0
-
Fujikura updated BetterLoot with a new update entry:
2.11.1
-
After the last Update from the Plugin:
Code:[Oxide] 10:43 [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.) [Oxide] 10:43 [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 [Oxide] 10:44 [Warning] Calling 'OnTick' on 'BetterLoot v2.11.1' took average 2048ms
-
Can anyone share a good config for x5 Server pls?
-
(14:50:14) | [Oxide] 14:50 [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.)
(14:50:14) | [Oxide] 14:50 [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 -
Working fine for me, although, no more item rarity overide? Also Hazmat aint in the loot table by default 0_o
EDIT: You guys with errors probably didn't clear your data and config files before installing the latest version -
[DOUBLEPOST=1479578874][/DOUBLEPOST]
[DOUBLEPOST=1479578949][/DOUBLEPOST] -
-
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. -
I do not see anything in the patch note. Can you tell me what to do thank you