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

2.4.3 Lag/stutter/rubberbanding while steering #163

Open
Neoony opened this issue Dec 4, 2024 · 4 comments
Open

2.4.3 Lag/stutter/rubberbanding while steering #163

Neoony opened this issue Dec 4, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@Neoony
Copy link

Neoony commented Dec 4, 2024

Affected Mod

ValheimRAFT

What happened? 🤔

Only since 2.4.3

When I take the steering of the raft and turn just a tiny bit, it does not apply the turn and the turning returns to middle, while the picture of steering keeps spinning further and further.
It just basically lags and rubberbands.

And then also the whole ship (or the game?), while steering, I get these tiny hitches/lags.

In Single Player and it was even worse on my dedicated server.

Video from single player testing where its not as bad with the stutter:
(I cant test on the dedi right now as there are players and its on 2.4.2)

https://www.youtube.com/watch?v=jgdUw0BbrjQ

On the video I am just tapping right, and it returns the steering back. Its just not really applying the input.
And also notice how the whole boat or even camera just jumps/phases/skips for a split second every now and then.
Only when steering.
You can see that just after second 0:30 on the video (https://youtu.be/jgdUw0BbrjQ?si=4uOZ3nDIqgREr-AB&t=30)
This stutter is a lot worse on dedicated server.

None of this happens on 2.4.2

Steps to reproduce 🔄

Just grab the steering and turn and see how it behaves. And then sail for a bit and see the small lags happening.

Vehicle Info 🚗

No response

Log Outputs 📜

-

Environment 🌍

OS:
- **OS**: Windows 10 Pro 64bit
- **Graphics**: DX11
Mods:
- **BepInEx**: 5.4.22.0
- **Jotunn**: 2.21.3
- **ValheimRAFT**: 2.4.3
Advize-PlantEasily
Advize-PlantEverything
aruberuto-CustomAudio_LocationMusic
ASharpPen-Custom_Raids
ASharpPen-This_Goes_Here
Azumatt-AAA_Crafting
Azumatt-AzuAreaRepair
Azumatt-AzuClock
Azumatt-AzuContainerSizes
Azumatt-AzuCraftyBoxes
Azumatt-AzuExtendedPlayerInventory
Azumatt-AzuMiscPatches
Azumatt-AzuWearNTearPatches
Azumatt-AzuWorkbenchTweaks
Azumatt-FirstPersonMode
Azumatt-ILoxYou
Azumatt-ImFRIENDLY_DAMMIT
Azumatt-MistrootTamer
Azumatt-Official_BepInEx_ConfigurationManager
Azumatt-PerfectPlacement
Azumatt-Queue_Me_Maybe
Azumatt-SearchableBuildMenu
Azumatt-SleepSkip
BadgersValheimSkies
BentoG-MissingPieces
BetterUI_ForeverMaintained-BetterUI_ForeverMaintained
blacks7ar-CrystalCollector
blacks7ar-GuckCollector
blacks7ar-Hunting
blacks7ar-ResinCollector
blacks7ar-SeedBed
blacks7ar-SimpleElevators
blacks7ar-SNEAKer
blacks7ar-TarCollector
blacks7ar-VikingsDoSwim
blacks7ar-WeaponHolsterOverhaul
ComfyMods-Chatter
ComfyMods-EulersRuler
ComfyMods-ReturnToSender
CookieMilk-MajesticChickens
CustomAudio
Digitalroot-Digitalroots_Slope_Combat_Assistance
Digitalroot-Heightmap_Unlimited_Remake
Digitalroot-Max_Dungeon_Rooms
Digitalroot-Triple_Bronze_JVL
FixItFelix-AutoMapPins
FixItFelix-DiscoveryRadius
Goldenrevolver-Quick_Stack_Store_Sort_Trash_Restock
HDPortalFXData
HDTerrainData
hyleanlegend-Rune_Magic
ishid4-BetterArchery
JereKuusela-Server_devcommands
JereKuusela-World_Edit_Commands
JewelHeim-EpicLoot_Balanced
JewelHeim-EpicLoot_Therzie
JewelHeim-Monstrum_Raids
JewelHeim-Wizardry_Raids
KGvalheim-No_More_Crashes
Korppis-ReliableBlock
LVH-IT-UseEquipmentInWater
MaxFoxGaming-Procreation_Plus
MSchmoecker-ItemHopper
MSchmoecker-MultiUserChest
MSchmoecker-PressurePlate
MSchmoecker-TimeoutLimit
MSchmoecker-VNEI
OdinPlus-BetterLanterns
OdinPlus-CraftyCartsRemake
OdinPlus-OdinCampsite
OdinPlus-OdinHorse
OdinPlus-OdinsFoodBarrels
OdinPlus-OdinsKingdom
OdinPlus-OdinTrainingPlace
OdinPlus-PotionPlus
OdinPlus-QuickTeleport
OdinPlus-TeleportEverything
RandyKnapp-EpicLoot
RandyKnapp-EquipmentAndQuickSlots
RandyKnapp-MinimalStatusEffects
Searica-AdvancedTerrainModifiers
Searica-CameraTweaks
Searica-SafetyStatus
Searica-ToolTweaks
shudnal-Compass
shudnal-StaminaExtended
Smoothbrain-Blacksmithing
Smoothbrain-Building
Smoothbrain-CombatOwner
Smoothbrain-ComfortTweaks
Smoothbrain-Cooking
Smoothbrain-CreatureLevelAndLootControl
Smoothbrain-DualWield
Smoothbrain-Evasion
Smoothbrain-Exploration
Smoothbrain-Farming
Smoothbrain-Foraging
Smoothbrain-Lumberjacking
Smoothbrain-Mining
Smoothbrain-Network
Smoothbrain-PassivePowers
Smoothbrain-Ranching
Smoothbrain-Sailing
Smoothbrain-SailingSpeed
Smoothbrain-ServerCharacters
Smoothbrain-SmoothSave
Smoothbrain-SteadyRegeneration
Smoothbrain-Tenacity
SpikeHimself-XPortal
TastyChickenLegs-LongerDays
TastyChickenLegs-NoSmokeStayLit
Therzie-Armory
Therzie-Monstrum
Therzie-Warfare
Therzie-Wizardry
ValheimModding-Jotunn
Vapok-AdventureBackpacks
VentureValheim-Venture_Floating_Items
virtuaCode-EquipWheel
zolantris-ValheimRAFT
@Neoony Neoony added the bug Something isn't working label Dec 4, 2024
@zolantris
Copy link
Owner

zolantris commented Dec 4, 2024

Technically this is a feature to force center the wheel. The auto center deadzone could be lowered though. Is it making it hard to make turns?

Edit: the deadzone is only for near center steering not 90degee left or right. Not sure what you mean by lag

@zolantris
Copy link
Owner

zolantris commented Dec 4, 2024

Also dedicated should be using 2.4.3. There were a few sync tweaks to ensure all floatation values are synchronized. So 2.4.3 should be both client/server so be accurate.

Other problem is non host is extremely laggy/jaring when moving in rotations and on the sea while the host session remains stable, they do see the player constantly out of sync and moving in stutters sometimes almost falling off the ship.

I likely need to rewrite the ZSyncTransform logic / make a custom sync component for vehicles. Not simple but it's high priority.

@Neoony
Copy link
Author

Neoony commented Dec 5, 2024

Technically this is a feature to force center the wheel. The auto center deadzone could be lowered though. Is it making it hard to make turns?

Edit: the deadzone is only for near center steering not 90degee left or right. Not sure what you mean by lag

Mostly it just feels very odd and off, and yeah it seems I cant just make the steering turn only a bit if I wanted to
I guess I would rather prefer the way it worked so far (is there a toggle?)

I never thought of it as a feature, so I am not sure now :D
Might have to try again

When I tested on dedicated server it was both server and client 2.4.3

About the lag
You can see how the ship is lagging or skipping for a split second at these points in video
Everything is smooth and then it just "skips". Just keep looking at the ship.
This definitely did not happen at 2.4.2 and it was happening much more often while on dedi, compared to the single player on the video. (client and server 2.4.3)
https://youtu.be/jgdUw0BbrjQ?si=pi0jgqaejbdyEfJZ&t=3
https://youtu.be/jgdUw0BbrjQ?si=p-RQ9dW5jhhIdA_a&t=10 (this one is very mild)
https://youtu.be/jgdUw0BbrjQ?si=4uOZ3nDIqgREr-AB&t=30

(or maybe the character skips or goes a tiny bit out of sync for a moment? 🤷 )

It was to the point that it was really annoying. The ship just wasnt as smooth as it was before.

I only had a short time to test on the dedi, and didnt get a video, and now dedi is on 2.4.2 because I have players playing and that lag was annoying enough to revert.
And now I was testing in Single player few days later and made the video.

I might have to try it again on dedi sometime when I can and record

@rameils
Copy link

rameils commented Jan 9, 2025

I would like to confirm that the ship sailing in 2.4.3 is quite rough and jittering. This issue is persistent in single-player where syncing shouldn't be an issue. It's not enjoyable as the sailing use to be in previous versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants