Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Turning on god, ghost, or infinite self stamina breaks building range #45

Closed
Drudicta opened this issue Sep 13, 2024 · 5 comments
Closed
Labels
bug Something isn't working mod-conflict When other mod conflict with ValheimTooler

Comments

@Drudicta
Copy link

If I activate any of these three options, I can only build up to about 2 meters in front of me afterward, even if I shut them off. I have to close and reopen the game to fix the problem.
image
image
image

@G234i
Copy link

G234i commented Sep 19, 2024

Same issue here, interferes with "Build Camera - Vapok" as it relies on custom extended build range

@Astropilot
Copy link
Owner

Hi there,
This is very strange as my tool does very minimal modifications to the game, for GodMode for example, it only use what the game already provide internally.
This is certainly a issue of mod compatibility but I can't do anything about that, it is not possible to handle how all the other mods works :/
Kind regards,
Astropilot

@Astropilot Astropilot added bug Something isn't working wontfix This will not be worked on mod-conflict When other mod conflict with ValheimTooler labels Sep 20, 2024
@G234i
Copy link

G234i commented Sep 20, 2024

Some new info after testing this is not mod conflict related.
Using BepInEx 5.4.22.0 with just ValheimTooler 1.10.0.

On startup in the main menu inside ValheimTooler menu(VTmenu for short) the "Interaction distance" is set to 5f.
Upon joining a world and opening the VTmenu "Interaction distance" is changed and shows 3.5f (opening the mod menu is what seems to cause the update of the value for the player (maybe Player.m_localPlayer.m_maxInteractDistance ??))

After some experimenting it would seem that the default "vanilla" value for the interact distance is somewhere between 7.8f-8f.
Looking at the source code I cannot pinpoint where exactly the Player.m_localPlayer.m_maxInteractDistance gets set to 3.5f but its a one time thing as subsequent opening/closing of the VTmenu do not alter the interact distance.

On a side note about mod compatibility - Configuration Manager by aedenthorn breaks the BepInEx version of ValheimTooler completely - maybe it should be listed in the readme.

@Astropilot
Copy link
Owner

Hi there,

Sorry for the long update.
Concerning the interaction/placement distance, the default in the game is 5
image
If it is changed by any other mod, it may conflict with my mod as I read the value and update it for each frame when the mod menu is open. I will try to see what I can do to prevent this incompatibility, otherwise I may remove this feature.

About Configuration Manager by aedenthorn, it hasn't been updated since April 2021, so except many other mods to not work with it, I recommend an more updated one like: https://thunderstore.io/c/valheim/p/Azumatt/Official_BepInEx_ConfigurationManager/

@Astropilot Astropilot removed the wontfix This will not be worked on label Oct 29, 2024
Astropilot added a commit that referenced this issue Oct 30, 2024
- Fixed when `Inf/No Stamina (others)` and `Inf Stamina (me)` were both activated the former were not working
- Removed `Far interaction` feature as it was not very compatible with other mods (see #45)
- The entity list for the `Spawn entity` have now only real entities
- Fixed Player::UseStamina patch for the new game big update
@Astropilot
Copy link
Owner

I removed the "far interaction distance" feature in the last update (v1.11.0) for the time being. If I find a way to make it works without breaking compatibility with other mods I will add it again.
I'm closing the issue, if you still having this problem don't hesitate to tell me!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working mod-conflict When other mod conflict with ValheimTooler
Projects
None yet
Development

No branches or pull requests

3 participants