Mods / SendPlayerPositionPacketFix

Tags:
QoL
Author:
SiiMeR
Side:
Both
Created:
Sep 27th 2025 at 9:08 PM
Last modified:
Sep 27th 2025 at 9:09 PM
Downloads:
850
Latest release (for Vintage Story 1.20.12, outdated):
sendplayerpositionpacketfix_1.0.0.zip  1-click install

Fixes the following error that cause client crashes usually when you log in while being mounted on an elk. This harmony patch just ignores the exception. 

 

System.ArgumentException: Position is not a number at Vintagestory.Client.NoObf.NetworkAPI.SendPlayerPositionPacket() in VintagestoryLib\Client\API\NetworkAPI.cs:line 240 at Vintagestory.GameContent.EntityBehaviorPlayerPhysics.OnRenderFrame(Single dt, EnumRenderStage stage) in VSEssentials\Entity\Behavior\BehaviorPlayerPhysics.cs:line 395 at Vintagestory.Client.NoObf.ClientEventManager.TriggerRenderStage(EnumRenderStage stage, Single dt) in VintagestoryLib\Client\Util\ClientEventManager.cs:line 188 at Vintagestory.Client.NoObf.ClientMain.MainRenderLoop(Single dt) in VintagestoryLib\Client\ClientMain.cs:line 825 at Vintagestory.Client.GuiScreenRunningGame.RenderToPrimary(Single dt) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:line 161 at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 695 at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 670 at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 88 at OpenTK.Windowing.Desktop.GameWindow.Run()

 

Only relevant for VS 1.20.12 and most likely fixed in 1.21

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
1.0.0 sendplayerpositionpacketfix 850 Sep 27th 2025 at 9:09 PM sendplayerpositionpacketfix_1.0.0.zip 1-click install

* First release


2 Comments (oldest first | newest first) (threaded | flat)

Iyarkonan, Jun 21st at 4:36 AM

Still works on 1.22.2, heavily modded server + saved a player on an Equus horse that was bugging out and teleporting (they said they got off their horse minutes ago).

Kaymat, May 29th at 12:49 AM (modified May 30th at 1:55 AM)

It fixed my world save on 1.21.7, thanks so much!!