Vek17 / TabletopTweaks-Base

Tabletop Tweaks is a mod that seeks to adjust the cRPG rules to more closely follow the tabletop ruleset. Additionally it adds content missing from the base game.
MIT License
155 stars 74 forks source link

Chosen Warrior Spirit Advanced Weapon Training breaks the ability menu. #702

Open nextentlligods opened 6 months ago

nextentlligods commented 6 months ago

A Fighter who selected the Warrior Spirit feature retains the menu of the previously selected character for all of its spell, ability and item menus after clicking the Fighter. The log shows: MissingFieldException: Field 'Kingmaker.UnitLogic.Parts.UnitPartWeaponTraining.WeaponTrainings' not found. at (wrapper dynamic-method) Kingmaker.UnitLogic.Parts.UnitPartWeaponTraining.Kingmaker.UnitLogic.Parts.UnitPartWeaponTraining.GetWeaponRank_Patch3(Kingmaker.UnitLogic.Parts.UnitPartWeaponTraining,Kingmaker.Items.ItemEntityWeapon) at Kingmaker.UnitLogic.Parts.UnitPartWeaponTraining.GetWeaponRank (Kingmaker.Items.Slots.WeaponSlot slot) [0x00007] in <637525dd3cd8443aa439f0b6ed11398a>:0 at Kingmaker.UnitLogic.Parts.UnitPartWeaponTraining.GetMaxWeaponRank () [0x00013] in <637525dd3cd8443aa439f0b6ed11398a>:0 at TabletopTweaks.Core.NewComponents.AbilityShowIfCasterWeaponTrainingRank.IsAbilityVisible (Kingmaker.UnitLogic.Abilities.AbilityData ability) [0x00011] in :0 at Kingmaker.UnitLogic.Abilities.AbilityData.IsVisible () [0x00029] in <637525dd3cd8443aa439f0b6ed11398a>:0 at Kingmaker.UI.UnitSettings.MechanicActionBarSlotAbility+<>c.b24_0 (Kingmaker.UnitLogic.Abilities.AbilityData a) [0x00000] in <637525dd3cd8443aa439f0b6ed11398a>:0 at System.Linq.Enumerable+WhereListIterator1[TSource].ToList () [0x00017] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at Kingmaker.UI.UnitSettings.MechanicActionBarSlotAbility.GetConvertedAbilityData () [0x0003d] in <637525dd3cd8443aa439f0b6ed11398a>:0 at (wrapper dynamic-method) Kingmaker.UI.MVVM._VM.ActionBar.ActionBarSlotVM.Kingmaker.UI.MVVM._VM.ActionBar.ActionBarSlotVM.SetMechanicSlot_Patch1(Kingmaker.UI.MVVM._VM.ActionBar.ActionBarSlotVM,Kingmaker.UI.UnitSettings.MechanicActionBarSlot) at (wrapper dynamic-method) Kingmaker.UI.MVVM._VM.ActionBar.ActionBarVM.Kingmaker.UI.MVVM._VM.ActionBar.ActionBarVM.SetMechanicSlots_Patch1(Kingmaker.UI.MVVM._VM.ActionBar.ActionBarVM,Kingmaker.EntitySystem.Entities.UnitEntityData) at Kingmaker.UI.MVVM._VM.ActionBar.ActionBarVM.OnUnitChanged (Kingmaker.EntitySystem.Entities.UnitEntityData unit) [0x00060] in <637525dd3cd8443aa439f0b6ed11398a>:0 at UniRx.Observer+Subscribe1[T].OnNextInternal (T value) [0x00008] in <8278608da1374666822143d4d0b4e36e>:0 at UniRx.Observer+BaseObserver1[T].OnNext (T value) [0x00000] in <8278608da1374666822143d4d0b4e36e>:0 at UniRx.ObserverNode1[T].OnNext (T value) [0x00000] in <8278608da1374666822143d4d0b4e36e>:0 at UniRx.ReactiveProperty1[T].RaiseOnNext (T& value) [0x00009] in <8278608da1374666822143d4d0b4e36e>:0 at UniRx.ReactiveProperty`1[T].set_Value (T value) [0x00024] in <8278608da1374666822143d4d0b4e36e>:0 at Kingmaker.UI.MVVM._VM.ActionBar.ActionBarVM.UpdateSelection () [0x00032] in <637525dd3cd8443aa439f0b6ed11398a>:0 at Kingmaker.UI.MVVM._VM.ActionBar.ActionBarVM.OnUpdateHandler () [0x00025] in <637525dd3cd8443aa439f0b6ed11398a>:0 at Kingmaker.UI.MVVM._VM.ActionBar.ActionBarVM.<.ctor>b410 (UniRx.Unit ) [0x00000] in <637525dd3cd8443aa439f0b6ed11398a>:0 at UniRx.Observer+Subscribe1[T].OnNextInternal (T value) [0x00008] in <8278608da1374666822143d4d0b4e36e>:0 at UniRx.Observer+BaseObserver1[T].OnNext (T value) [0x00000] in <8278608da1374666822143d4d0b4e36e>:0 at UniRx.InternalUtil.ListObserver1[T].OnNext (T value) [0x00010] in <8278608da1374666822143d4d0b4e36e>:0 at UniRx.Subject1[T].OnNext (T value) [0x00000] in <8278608da1374666822143d4d0b4e36e>:0 at UniRx.MainThreadDispatcher.Update () [0x00013] in <8278608da1374666822143d4d0b4e36e>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) UniRx.<>c:<.ctor>b__66_0(Exception) UniRx.MainThreadDispatcher:Update()

Vek17 commented 6 months ago

TabletopTweaks-Core.zip Can you try this TTT-Core and see if it still continues

Vek17 commented 6 months ago

If that doesn't work try this TTT-Base in addition please. TabletopTweaks-Base.zip

nextentlligods commented 6 months ago

Sry, I tested with it but it turns out that it's other mod's issiues. Thx for the reply! Close it PLZ.

NosVladimir commented 4 months ago

Hi, this has been fixed in Kinetic Archetypes v1.1.5. The issue may be closed now