Most recent version of Valheim, most recent version of WeaponHolsterOverhaul, most recent version of ZenCombat. I dont know if this can be fixed on your end but im reporting this here anyways.
Disabled auto shield for both WHO and ZenCombat and errors still persist. These errors have been reported to the creator of ZC aswell. I get these errors whenever I equip a weapon (in this case a stone axe)
[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object Stack trace: WeaponHolsterOverhaul.Patches.HumanoidPatch+EquipItemPatch.Prefix (Humanoid __instance, ItemDrop+ItemData item, ItemDrop+ItemData ___m_hiddenRightItem, ItemDrop+ItemData ___m_hiddenLeftItem) (at <b7bace26ab2243d5ac78351df60a38ef>:0) (wrapper dynamic-method) Humanoid.DMD<Humanoid::EquipItem>(Humanoid,ItemDrop/ItemData,bool) ZenCombat.Section.AutoShield.Humanoid_EquipItem_Postfix (Humanoid __instance, ItemDrop+ItemData item) (at <a15c149c11124da08fd743ef907ade7f>:0) (wrapper dynamic-method) Humanoid.DMD<Humanoid::EquipItem>(Humanoid,ItemDrop/ItemData,bool) Player.UpdateActionQueue (System.Single dt) (at <285f74454c9841259bb8585eb4409ef4>:0) Player.FixedUpdate () (at <285f74454c9841259bb8585eb4409ef4>:0) [Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object Stack trace: WeaponHolsterOverhaul.Patches.HumanoidPatch+EquipItemPatch.Prefix (Humanoid __instance, ItemDrop+ItemData item, ItemDrop+ItemData ___m_hiddenRightItem, ItemDrop+ItemData ___m_hiddenLeftItem) (at <b7bace26ab2243d5ac78351df60a38ef>:0) (wrapper dynamic-method) Humanoid.DMD<Humanoid::EquipItem>(Humanoid,ItemDrop/ItemData,bool) ZenCombat.Section.AutoShield.Humanoid_EquipItem_Postfix (Humanoid __instance, ItemDrop+ItemData item) (at <a15c149c11124da08fd743ef907ade7f>:0) (wrapper dynamic-method) Humanoid.DMD<Humanoid::EquipItem>(Humanoid,ItemDrop/ItemData,bool) Humanoid.ShowHandItems (System.Boolean onlyRightHand, System.Boolean animation) (at <285f74454c9841259bb8585eb4409ef4>:0) (wrapper dynamic-method) Player.DMD<Player::Update>(Player)
Cool mod, but is there a way to make the 'R' key function the same way of the base game? (or maybe add a HOLD option?) so tap R to switch between the last two weapons as it currently is in the mod, but then have a HOLD 'R' to fully unequip everything.
This would solve a lot of problems without changing the keys around. Tap to switch, Hold to unequip.
The mod no longer seems to work with the new update. I am not using either of the two mods that the update was for (dual wield and swimming). Did the mod somehow go from not working when using those mods to needing those mods to work?
Thanks for that! It's still not showing the equipment on the back or belt like it used to unless, for example, I switch directly from sword/shield to bow and back again. If I unequip it just disappears. But at least I won't be blocking without my shield on accident any more!
As what some of the others are saying, it would be nice to disable to Switch weapons feature (R). I know you're saying to just use the un-equip key (~), but this doesn't play an animation for some reason, and just immediately removes the item. Feels almost like cheating. A big part of the game is using R to sheath your weapons so you gain a speed boost, and knowing when to do this.
An option to remove the R switching and just return it to normal would be great, as I really just want to see the last equipped gear, and auto equip my shield.
Hello, this mod is very cool, but I have noticed an issue where the shield will be automatically removed when throwing a spear, which can make it very dangerous before retrieving the spear
41 comments
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an objectStack trace:
WeaponHolsterOverhaul.Patches.HumanoidPatch+EquipItemPatch.Prefix (Humanoid __instance, ItemDrop+ItemData item, ItemDrop+ItemData ___m_hiddenRightItem, ItemDrop+ItemData ___m_hiddenLeftItem) (at <b7bace26ab2243d5ac78351df60a38ef>:0)
(wrapper dynamic-method) Humanoid.DMD<Humanoid::EquipItem>(Humanoid,ItemDrop/ItemData,bool)
ZenCombat.Section.AutoShield.Humanoid_EquipItem_Postfix (Humanoid __instance, ItemDrop+ItemData item) (at <a15c149c11124da08fd743ef907ade7f>:0)
(wrapper dynamic-method) Humanoid.DMD<Humanoid::EquipItem>(Humanoid,ItemDrop/ItemData,bool)
WeaponHolsterOverhaul.Patches.HumanoidPatch+HideHandItemsPatch.Postfix (Humanoid __instance, ItemDrop+ItemData& ___m_hiddenLeftItem) (at <b7bace26ab2243d5ac78351df60a38ef>:0)
(wrapper dynamic-method) Humanoid.DMD<Humanoid::HideHandItems>(Humanoid,bool,bool)
(wrapper dynamic-method) Humanoid.DMD<Humanoid::UpdateEquipment>(Humanoid,single)
Humanoid.CustomFixedUpdate (System.Single fixedDeltaTime) (at <285f74454c9841259bb8585eb4409ef4>:0)
MonoUpdatersExtra.CustomFixedUpdate (System.Collections.Generic.List`1[T] container, System.Collections.Generic.List`1[T] source, System.String profileScope, System.Single deltaTime) (at <285f74454c9841259bb8585eb4409ef4>:0)
MonoUpdaters.FixedUpdate () (at <285f74454c9841259bb8585eb4409ef4>:0)
These errors have been reported to the creator of ZC aswell.
I get these errors whenever I equip a weapon (in this case a stone axe)
[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
WeaponHolsterOverhaul.Patches.HumanoidPatch+EquipItemPatch.Prefix (Humanoid __instance, ItemDrop+ItemData item, ItemDrop+ItemData ___m_hiddenRightItem, ItemDrop+ItemData ___m_hiddenLeftItem) (at <b7bace26ab2243d5ac78351df60a38ef>:0)
(wrapper dynamic-method) Humanoid.DMD<Humanoid::EquipItem>(Humanoid,ItemDrop/ItemData,bool)
ZenCombat.Section.AutoShield.Humanoid_EquipItem_Postfix (Humanoid __instance, ItemDrop+ItemData item) (at <a15c149c11124da08fd743ef907ade7f>:0)
(wrapper dynamic-method) Humanoid.DMD<Humanoid::EquipItem>(Humanoid,ItemDrop/ItemData,bool)
Player.UpdateActionQueue (System.Single dt) (at <285f74454c9841259bb8585eb4409ef4>:0)
Player.FixedUpdate () (at <285f74454c9841259bb8585eb4409ef4>:0)
[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
WeaponHolsterOverhaul.Patches.HumanoidPatch+EquipItemPatch.Prefix (Humanoid __instance, ItemDrop+ItemData item, ItemDrop+ItemData ___m_hiddenRightItem, ItemDrop+ItemData ___m_hiddenLeftItem) (at <b7bace26ab2243d5ac78351df60a38ef>:0)
(wrapper dynamic-method) Humanoid.DMD<Humanoid::EquipItem>(Humanoid,ItemDrop/ItemData,bool)
ZenCombat.Section.AutoShield.Humanoid_EquipItem_Postfix (Humanoid __instance, ItemDrop+ItemData item) (at <a15c149c11124da08fd743ef907ade7f>:0)
(wrapper dynamic-method) Humanoid.DMD<Humanoid::EquipItem>(Humanoid,ItemDrop/ItemData,bool)
Humanoid.ShowHandItems (System.Boolean onlyRightHand, System.Boolean animation) (at <285f74454c9841259bb8585eb4409ef4>:0)
(wrapper dynamic-method) Player.DMD<Player::Update>(Player)
This would solve a lot of problems without changing the keys around. Tap to switch, Hold to unequip.
Cheers!
As what some of the others are saying, it would be nice to disable to Switch weapons feature (R). I know you're saying to just use the un-equip key (~), but this doesn't play an animation for some reason, and just immediately removes the item. Feels almost like cheating. A big part of the game is using R to sheath your weapons so you gain a speed boost, and knowing when to do this.
An option to remove the R switching and just return it to normal would be great, as I really just want to see the last equipped gear, and auto equip my shield.
Is it must be installed on server-side too?