FelixReuthlinger / CreatureLister

Valheim mod for listing in game creatures with their attributes
MIT License
0 stars 1 forks source link

Can't generate defaults file since Mistlands #1

Open Ma-ve opened 1 year ago

Ma-ve commented 1 year ago

creature_lister_generate_defaults_file throws an Error:

[Error  : Unity Log] ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: item type 'Fish' not supported
Stack trace:
CreatureLister.ItemLister+<>c.<ListItems>b__1_3 (System.Collections.Generic.KeyValuePair`2[TKey,TValue] pair) (at <91761b0314274991b6215d671620f595>:0)
System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector, System.Func`2[T,TResult] elementSelector, System.Collections.Generic.IEqualityComparer`1[T] comparer) (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector, System.Func`2[T,TResult] elementSelector) (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
CreatureLister.ItemLister.ListItems () (at <91761b0314274991b6215d671620f595>:0)
CreatureLister.ItemLister..cctor () (at <91761b0314274991b6215d671620f595>:0)
Rethrow as TypeInitializationException: The type initializer for 'CreatureLister.ItemLister' threw an exception.
System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector, System.Func`2[T,TResult] elementSelector, System.Collections.Generic.IEqualityComparer`1[T] comparer) (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector, System.Func`2[T,TResult] elementSelector) (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
CreatureLister.HumanoidLister.ExtractItemList (UnityEngine.GameObject[] items) (at <91761b0314274991b6215d671620f595>:0)
CreatureLister.HumanoidLister+<>c.<ListHumanoids>b__6_5 (System.Collections.Generic.KeyValuePair`2[TKey,TValue] pair) (at <91761b0314274991b6215d671620f595>:0)
System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector, System.Func`2[T,TResult] elementSelector, System.Collections.Generic.IEqualityComparer`1[T] comparer) (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector, System.Func`2[T,TResult] elementSelector) (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
CreatureLister.HumanoidLister.ListHumanoids () (at <91761b0314274991b6215d671620f595>:0)
CreatureLister.HumanoidLister.WriteData () (at <91761b0314274991b6215d671620f595>:0)
CreatureLister.CreatureListerController.Run (System.String[] args) (at <91761b0314274991b6215d671620f595>:0)
Jotunn.Managers.CommandManager+<>c__DisplayClass11_0.<AddCustomCommands>b__0 (Terminal+ConsoleEventArgs args) (at D:/coding/vs_workspace/Jotunn/JotunnLib/Managers/CommandManager.cs:100)
Terminal+ConsoleCommand.RunAction (Terminal+ConsoleEventArgs args) (at <35c0f7aa1999477788815a7bf78200d7>:0)
(wrapper dynamic-method) Terminal.DMD<Terminal::TryRunCommand>(Terminal,string,bool,bool)
Terminal.InputText () (at <35c0f7aa1999477788815a7bf78200d7>:0)
Terminal.SendInput () (at <35c0f7aa1999477788815a7bf78200d7>:0)
Terminal.UpdateInput () (at <35c0f7aa1999477788815a7bf78200d7>:0)
Terminal.Update () (at <35c0f7aa1999477788815a7bf78200d7>:0)
Console.Update () (at <35c0f7aa1999477788815a7bf78200d7>:0)
FelixReuthlinger commented 1 year ago

thx for the feedback, I guess I will need to touch this mod again some time, didnt get back to coding, yet - still enjoying to play the game since update ;)