Version 1.0.30
Code:[Loot Config] Config save failed: An element with the same key already exists in the dictionary. at System.Collections.Generic.Dictionary`2[System.String,Workbench].Add (System.String key, .Workbench value) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.ToDictionary[Workbench,String,Workbench] (IEnumerable`1 source, System.Func`2 keySelector, System.Func`2 elementSelector, IEqualityComparer`1 comparer) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.ToDictionary[Workbench,String] (IEnumerable`1 source, System.Func`2 keySelector, IEqualityComparer`1 comparer) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.ToDictionary[Workbench,String] (IEnumerable`1 source, System.Func`2 keySelector) [0x00000] in <filename unknown>:0 at Oxide.Plugins.LootConfig.CreateDefaultConfig () [0x00000] in <filename unknown>:0

LootConfig
Allows you to adjust the server's loot list
Total Downloads: 14,928 - First Release: Mar 27, 2015 - Last Update: May 20, 2018
- 5/5, 21 likes
-
Would like to use this plugin but it is still broken. ):
-
i managed to fix the error.
on line 220, put this code:
Code:Dictionary<string, Workbench> wbs = new Dictionary<string, Workbench>(); foreach(var wb in workbenches.Where(l => !l.gameObject.activeInHierarchy).Distinct().Distinct()) { if (!wbs.ContainsKey(wb.name)) wbs.Add(wb.name, wb); }
Code:Workbenches = workbenches.Where(l => !l.gameObject.activeInHierarchy).Distinct().Distinct().ToDictionary(l => l.name),
Code:Workbenches = wbs,
-
Wulf Community Admin
Not sure why it has that in there now.
-
i believe it is.
i did keep that just to change only the minimum code needed, but there is a lot of duplicated distincts that should be removed. -
hi is this still cause
RPC error in RPC_BeginExperiment & does the above really fix it? i dont wanna use other loot T_T -
Guys, PLEASE HELP, how to increase chance of some loot in military crates, examle guns? 3 days i'm in search.
-
Anyone know fix for RPC error for OnProjectileAttack, with Scientists, with this plugin? It's the main problem with it I think
-
oxide.reload LootConfig
Unloaded plugin Loot Config v1.0.30 by Nogrod
[Loot Config] Incorrect config version(0/0[0, 0])
[Loot Config] Config save failed: An item with the same key has already been added. Key: workbench1.static
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <e1a80661d61443feb3dbdaac88eeb776>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <e1a80661d61443feb3dbdaac88eeb776>:0
at System.Linq.Enumerable.ToDictionary[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector, System.Collections.Generic.IEqualityComparer`1[T] comparer) [0x00085] in <839a3cb835c04d14aeb58d83bb7bc4bd>:0
at System.Linq.Enumerable.ToDictionary[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector) [0x00000] in <839a3cb835c04d14aeb58d83bb7bc4bd>:0
at Oxide.Plugins.LootConfig.CreateDefaultConfig () [0x00528] in <7ae4cc8bd3af400ca7797e7febbb350a>:0
Calling 'OnServerInitialized' on 'LootConfig v1.0.30' took 851ms
Loaded plugin Loot Config v1.0.30 by Nogrod
please help config files empty
[DOUBLEPOST=1530669250][/DOUBLEPOST] -
Plugin wont work for me. I have same error as the guy above. Anyone know of any other plugins that lets you change barrels etc to say 10x ?
-
betterloot can multiplie the amounts of items but rewrite the loot table and make a ugly one with hemp seed and fish in barrels so u need to change it all at ur need
good luck with that -
ok ive pass all the issues i had but now when i set scrapamount to zero everywhere it seems like you can't block scrap from barrel, they are generated when you destroy one. maybe someone has an idea how to block scraps from spawning in barrels at least ?
-
-
Hello. I already found a plugin to satisfy my needs untill this plugin gets an update
-
[DOUBLEPOST=1531936969][/DOUBLEPOST]
-
the way it is, the plugin make people get disconnected after kill scientists.
and i'm working a lot this days. i can't look at this right now. -
Would like to use this plugin, but i also keep getting this error:
Code:>oxide.reload LootConfig [Loot Config] Incorrect config version(0/0[0, 0]) [Loot Config] Config save failed: An item with the same key has already been added. Key: workbench1.static at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <e1a80661d61443feb3dbdaac88eeb776>:0 at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <e1a80661d61443feb3dbdaac88eeb776>:0 at System.Linq.Enumerable.ToDictionary[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector, System.Collections.Generic.IEqualityComparer`1[T] comparer) [0x00085] in <839a3cb835c04d14aeb58d83bb7bc4bd>:0 at System.Linq.Enumerable.ToDictionary[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector) [0x00000] in <839a3cb835c04d14aeb58d83bb7bc4bd>:0 at Oxide.Plugins.LootConfig.CreateDefaultConfig () [0x00528] in <20b51bdba16942898af87ff5184efc1e>:0
A fix to this would be very nice!Last edited by a moderator: Jul 27, 2018 -
How'd ya increase the scrap rates by using this?
-
What do the weights mean please? -
Hey i'm having problems with the config i put i the config folder that you said would be a good start and it puts this in console
Unloaded plugin Loot Config v1.0.30 by Nogrod
[Loot Config] Incorrect config version(1351/5[4096, 1229233833])
[Loot Config] Config save failed: An item with the same key has already been added. Key: workbench1.static
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <e1a80661d61443feb3dbdaac88eeb776>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <e1a80661d61443feb3dbdaac88eeb776>:0
at System.Linq.Enumerable.ToDictionary[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector, System.Collections.Generic.IEqualityComparer`1[T] comparer) [0x00085] in <839a3cb835c04d14aeb58d83bb7bc4bd>:0
at System.Linq.Enumerable.ToDictionary[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector) [0x00000] in <839a3cb835c04d14aeb58d83bb7bc4bd>:0
at Oxide.Plugins.LootConfig.CreateDefaultConfig () [0x00528] in <4073bbd671ff4303af26bc89b2fdb5c1>:0
Calling 'OnServerInitialized' on 'LootConfig v1.0.30' took 2091ms
Loaded plugin Loot Config v1.0.30 by Nogrod
im not the greatest with coding and stuff so i dont really understand it all