Jump to content

Convert Loot Manager Command

Pending 3.2.4

dustyhansen
dustyhansen

Posted

I get this error in console when I try to run convertlootmanager:

convertlootmanager
Failed executing command (An item with the same key has already been added. Key: loottables)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x0015a] in <f98723dd4586469db5213ec59da723ca>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <f98723dd4586469db5213ec59da723ca>:0 
  at Oxide.Plugins.NpcSpawn.ConsoleCommandConvertLootManager (ConsoleSystem+Arg arg) [0x000d0] in /home/container/carbon/plugins/NpcSpawn.cs:10308 
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <f98723dd4586469db5213ec59da723ca>:0 

 

aimacak

Posted

7 hours ago, dustyhansen said:

I get this error in console when I try to run convertlootmanager:

convertlootmanager
Failed executing command (An item with the same key has already been added. Key: loottables)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x0015a] in <f98723dd4586469db5213ec59da723ca>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <f98723dd4586469db5213ec59da723ca>:0 
  at Oxide.Plugins.NpcSpawn.ConsoleCommandConvertLootManager (ConsoleSystem+Arg arg) [0x000d0] in /home/container/carbon/plugins/NpcSpawn.cs:10308 
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <f98723dd4586469db5213ec59da723ca>:0 

 

Hello, I'm sorry for the long answer, did you just install NpcSpawn.cs 3.2.2 (first version with this update) and write to the console ConvertLootManager 1 time? Did you manage to solve the problem? Do you have backup files before starting the update?

2.2m

Downloads

Total number of downloads.

10.4k

Customers

Total customers served.

150.6k

Files Sold

Total number of files sold.

3.2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.