Create

Create

86M Downloads

Server crashes on player join due to invalid carriage_contraption position (NaN, NaN, NaN)

Mechazawa opened this issue ยท 2 comments

commented

Describe the Bug

A player on my server tried to make a train go through a nether portal and crashed the server. Since then the server crashes the instant a user tries to join. I've boiled it down to a create:carriage_contraption entity having an invalid state but I've been unable to resolve the issue and restore the world. I've tried removing data/create_tracks.dat and that has fixed the issue for now.

Reproduction Steps

When on multiplayer

  1. Build a train
  2. Make it go through a nether portal

Expected Result

Train goes through the portal, the server doesn't crash and the wold doesn't corrupt.

Screenshots and Videos

No response

Crash Report or Log

https://gist.github.com/Mechazawa/d6535879740eb9f165a1f7055aebb4f9

Operating System

Debian Linux

Mod Version

0.5.0g

Minecraft Version

1.18.2

Forge Version

Fabric Loader 0.14.13

Other Mods

Dynmap-3.4-fabric-1.18.2.jar
jei-1.18.2-fabric-10.2.1.283.jar
cloth-config-6.4.90-fabric.jar
youre-in-grave-danger-1.3.12.jar
c2me-fabric-mc1.18.2-0.2.0+alpha.7.0-all.jar
fabric-carpet-1.18.2-1.4.69+v220331.jar
lithium-fabric-mc1.18.2-0.10.3.jar
starlight-1.0.2+fabric.89b8d9f.jar
mcw-windows-2.1.2-mc1.18.2fabric.jar
mcw-trapdoors-1.0.8-mc1.18.2fabric.jar
mcw-roofs-2.2.2-mc1.18.2fabric.jar
mcw-paths-1.0.2fabric-mc1.18.2.jar
mcw-paintings-1.0.4fabric-mc1.18.2.jar
mcw-fences-1.0.7-mc1.18.2fabric.jar
mcw-doors-1.0.7fabric-mc1.18.2.jar
mcw-bridges-2.0.6-mc1.18.2fabric.jar
farmers-delight-fabric-1.18.2-1.2.5.jar
fabric-api-0.67.0+1.18.2.jar
ctm-fabric-1.0.0+1.18.jar
createplus-1.0.0-beta4.jar
create-fabric-0.5.0g-792+1.18.2.jar
chipped-2.0.0-fabric.jar
cccbridge-1.3.1-fabric.jar
cc-restitched-1.100.8.jar
betteranimalsplus-1.18.2-11.0.8-fabric.jar
Terralith_v2.2.3.jar
ChiselsBits-fabric-1.18.2-1.2.116.jar
architectury-4.10.88-fabric.jar

Additional Context

No response

commented

Found a workaround, trains are causing the crash.
First modify your offline position by editing your player file (under world/playerdata/[your player uuid].dat) using an NBT editor like this one : http://irath96.github.io/webNBT/ (edit the "pos" value)
Then join your world and delete your trains using /create trains
I also noticed while doing this that every trains was derailed.

commented

Being tracked as #4892 and #6795