TwelveIterationMods / Waystones

Minecraft Mod. Adds waystones you can teleport to after they've been activated.
https://mods.twelveiterations.com/mc/waystones/
Other
300 stars 110 forks source link

Crush when quickly use waystones #920

Open uhloin opened 4 weeks ago

uhloin commented 4 weeks ago

Minecraft Version

1.21.1 (LTS)

Mod Loader

Forge

Mod Version

waystones-neoforge-1.21.1-21.1.5.jar

Describe the Issue

I tried jump from one Waystone to another and back as soon as possible and after ~10 times got this crush. May be it's important - one side used chunkloader mod to keep chunk loaded and another side is normal.

Attempt to jump again after crush: "The waystone you tried to teleport to is currently being moved or has gone missing" After crush this waystone was turned to "Undiscovered" state Break and set this waystone again - teleport - ok, but if teleport back then again "The waystone you tried to teleport to is currently being moved or has gone missing" Attempt to go to another waystone - ok

Logs

crash-2024-10-27_02.56.04-server.txt

Do you use any performance-enhancing mods (e.g. OptiFine) or custom server distributions (e.g. SpongeForge or Arclight)?

Sodium+Iris

BlayTheNinth commented 4 weeks ago

Duplicate of #882. There has been no cases of this happening with only Waystones which indicates that it is caused by another mod, likely a chunk or performance-related one. Until that mod is identified (e.g. through trial and error) or the issue is reproduced with only Waystones, there's nothing I can do.

uhloin commented 4 weeks ago

Ok, I really have a lot of mods. I will try to narrow to minimal combination to reproduce. Currently, I have a save with buggy Waystone, if I brake and set it again or even if I use another waystone item, then it becomes buggy again, as if chunk itself is corrupted by some way.

uhloin commented 4 weeks ago

With my long list of mods and the same world I was able to reproduce a crash after 46 fast teleports between 2 waystones.

Also I checked crossing between my case and #882.

architectury-13.0.6-neoforge.jar balm-neoforge-1.21.1-21.0.20.jar corpse-neoforge-1.21.1-1.1.2.jar cupboard-1.21-2.8.jar curios-neoforge-9.0.14+1.21.1.jar jei-1.21.1-neoforge-19.21.0.247.jar mcw-doors-1.1.1-mc1.21.1neoforge.jar mcw-fences-1.1.2-mc1.21.1neoforge.jar mcw-furniture-3.3.0-mc1.21.1neoforge.jar mcw-trapdoors-1.1.3-mc1.21.1neoforge.jar mcw-windows-2.3.0-mc1.21.1neoforge.jar Terralith_1.21.x_v2.5.5.jar travelersbackpack-neoforge-1.21.1-10.1.3.jar waystones-neoforge-1.21.1-21.1.5.jar

I was not able reproduce a crash after 100 teleports, but after press Alt+F4 just after 100th teleport my game stopped responding instead of normal exit. This is bag too, it is related to crashes with some probability. The test was like this:

  1. create a creative world
  2. set 2 waystones "1" and "2" near each other
  3. creative flight 1000 blocks
  4. set 2 more waystones "x" and "y" near each other
  5. teleport between "1" and "x" waystones as quick as possible with use pair waystones to jump faster with face to some waistone and do not spend time to rotate character back to waystone.

After this I was able to reproduce this Alt+F4 issue with different list of mods, and the crossing is only 3 mods:

balm-neoforge-1.21.1-21.0.20.jar jei-1.21.1-neoforge-19.21.0.247.jar waystones-neoforge-1.21.1-21.1.5.jar

With this list there are no crashes after 300 teleports with 4, 5 or 2 waystones, but the same exit bug on Alt+F4. So, if it's not a sole JEI bug, then waystones is involved.

BlayTheNinth commented 4 weeks ago

I appreciate the effort you've put into testing this but an unclean exit on ALT+F4 is not related to this particular crash.