Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

v2 stability, rpc fixes, and qol tweaks #79

Merged
merged 13 commits into from
May 21, 2024
Merged

Conversation

zolantris
Copy link
Owner

@zolantris zolantris commented May 20, 2024

Features

  • Dirt is now stone material meaning fires and forges can be built on it.

Configs

  • All collider / vehicle bounds logic is admin.
  • Many previous values for debugging are no longer only admin but moved to advanced tab.
  • Sails and Rudder config moved to advanced tab section (just check it to see those values)

Tweaks

  • recover raft / vehicle recover has a bit more guards and checks for top level ZDOs.
  • Removed some annoying spammy logs.

Fixes

  • 🐉 Moder power now works
  • 🛬 fixes flight not working. Owner and peers can both launch their rafts in the sky.
  • ⚓ fixes Anchor syncing
  • 🚤 fixes ship speed syncing (refactors the logic for VehicleShipMovement ported from Valheim.Ship logic). The logic is much safe especially if packets are lost by using a direct setter from the controller instead of each client incrementing the speed.
  • ❗ fixes physics problems when the player is paused. Player can no longer pause on a ship, this fixes a ton of problems with desynced physics or deaths to player when the controller paused the game.

…t raft recover

- fix flight commmands, raft can fly again. There was a problem with the
  ZDO setter being ignored. There is a now a polling command for target
  height of the raft
- many of valheimBaseShip properties refactored to be more efficient or
  be passthrough elements from VehicleShip to VehicleMovementController
…physics, or drop player off raft when it was in motion in multiplayer
- add a force ship owner update per frame value for users to try if their ships are desyncing frequently. Puts more weight on the owner of the ship ZDO
- expose the experimental config again
- make beds not reposition their ZDO which was being called in the
  server update, but have not fixed player spawns
- remove LateUpdate calls for client. Not needed.
@zolantris zolantris changed the title Feat/flight and anchor fixes v2 stability, rpc fixes, and qol tweaks May 21, 2024
@zolantris zolantris merged commit 46ad806 into main May 21, 2024
1 check failed
@zolantris zolantris deleted the feat/flight-and-anchor-fixes branch May 21, 2024 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant
  翻译: