Just installed, but I can't get the Alt Toolbar keys to work. It sends the input correctly, but then sends 1-4 right after. So I press Alt+1 and it switches to slot 5, then immediately switches to slot 1. Any ideas?
I have the same problem. It appears to be coming from the Build Camera mod. Disabling that fixed the issue for me (although of course it sucks not to be able to use Build Camera).
Forked the GitHub and Updated the Libs and fixed a issue that could not build the .dll
Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object Stack trace: MuchBetterHotkeys.PlayerHotkeyPatch.QuickRepair (Player player) (at <c5191c44dd1b46ac9504361b15aaa0af>:0) MuchBetterHotkeys.PlayerHotkeyPatch.Postfix_Update (Player __instance) (at <c5191c44dd1b46ac9504361b15aaa0af>:0) (wrapper dynamic-method) Player.DMD<Player::Update>(Player)
QuickRepair had some errors fixed that
Changes made: to QuickRepair
Checked if player.m_buildPieces is not null before attempting to get the selected piece.
Added a condition to check if the player is in place mode using player.InPlaceMode() before proceeding with the repair action.
By making these changes, you can reduce the chances of encountering a NullReferenceException
everything seems to be working fine in ver- 217.28 BepInEx 5.4.22.0
"Quick select while building to use a certain object and its rotation (default: Q)"
doesnt work with new H&H and Mistlands builds. Other(old) builds confirmed. anyway i love that mod and use this all my play-time p.s Forget it. i fixed that. I had one button for three settings, when i changed that it started work well
Any chance of adding compatibility with the "Gizmo - Improved Rotation" (https://www.nexusmods.com/valheim/mods/1117) mod?
Currently, the "Quick select while building to use a certain object and its rotation (default: Q)" option doesn't fully work. The object is selected, but the rotation is not.
I use this shortcut all the time; probably the most under-rated QoL improvement there is. But I definitely miss having it also select the rotation (especially since the "Gizmo" mod adds 2 additional axis, so being able to select it's rotation would be a HUGE time saver)
Either way, I appreciate all the work you've done. Many thanks!
FYI: Visibility of your mod is poor. If you adjust the title to "Enta's Much Better Hotkeys" people will be able to find it when searching for "hotkeys" in nexus.
73 comments
maybe some of my other mods mess with this mod?
Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
MuchBetterHotkeys.PlayerHotkeyPatch.QuickRepair (Player player) (at <c5191c44dd1b46ac9504361b15aaa0af>:0)
MuchBetterHotkeys.PlayerHotkeyPatch.Postfix_Update (Player __instance) (at <c5191c44dd1b46ac9504361b15aaa0af>:0)
(wrapper dynamic-method) Player.DMD<Player::Update>(Player)
QuickRepair had some errors fixed that
Changes made: to QuickRepair
- Checked if
- Added a condition to check if the player is in place mode using
By making these changes, you can reduce the chances of encountering aplayer.m_buildPieces
is not null before attempting to get the selected piece.player.InPlaceMode()
before proceeding with the repair action.NullReferenceException
everything seems to be working fine in
ver- 217.28
BepInEx 5.4.22.0
https://github.com/Fehdra/valheim_MuchBetterHotkeys_Custom
hope this does not violate EntaMods Upload permissions :}
etecoon3 & icemansparks
Alt or change to shift , the Toolbar keys to work,
- "Quick select while building to use a certain object and its rotation (default: Q)"
doesnt work with new H&H and Mistlands builds. Other(old) builds confirmed.anyway i love that mod and use this all my play-time
p.s Forget it. i fixed that. I had one button for three settings, when i changed that it started work well
Currently, the "Quick select while building to use a certain object and its rotation (default: Q)" option doesn't fully work. The object is selected, but the rotation is not.
I use this shortcut all the time; probably the most under-rated QoL improvement there is. But I definitely miss having it also select the rotation (especially since the "Gizmo" mod adds 2 additional axis, so being able to select it's rotation would be a HUGE time saver)
Either way, I appreciate all the work you've done. Many thanks!
Hi, just a heads-up that parts of the mod are not working since the Mistlands Update!
Trying to equip a torch with T:
[Error : Unity Log] MissingMethodException: void Player.QueueUnequipItem(ItemDrop/ItemData)
Stack trace:
MuchBetterHotkeys.PlayerHotkeyPatch.Postfix_Update (Player __instance) (at <611d71f225fd4b85a815f8a9c1454e13>:0)
(wrapper dynamic-method) Player.DMD<Player::Update>(Player)
Trying to swap hotbar with Z:
[Error : Unity Log] MissingMethodException: void Humanoid.RemoveFromEquipQueue(ItemDrop/ItemData)
Stack trace:
MuchBetterHotkeys.PlayerHotkeyPatch.Postfix_Update (Player __instance) (at <611d71f225fd4b85a815f8a9c1454e13>:0)
(wrapper dynamic-method) Player.DMD<Player::Update>(Player)
Weirdly trying to equip axe with Q does nothing but also prompts no error.
- Quickly equip a pickaxe/axe when looking at the respective resource (default: Q)
However a hotkey for just pickaxe and axe would be awesome.