Immersive Portals

Immersive Portals

5M Downloads

Randomly teleported into void after entering Nether

agaertner opened this issue ยท 15 comments

commented

All players suddenly get randomly teleported into empty space and the server console gets spammed with Portal requests.

Recreate:
Enter Nether
Wait 10 seconds.
Player get teleported into empty space or walls (and dies) and server console spams:
[Portal] request teleport <player> in minecraft:the_nether to <x> <y> <z>

this started to happen after restarting the server several times and having relit / rebuild the nether portal in almost the same area. It worked fine before (or we didn't notice) and there are no mod incompatibilities.

commented

yes I use the latest fabric version.

2020-02-23-1.log here's one log. Scroll down and you will quickly see the spam. That's where players are getting teleported into walls or empty spaces after a delay of 5 secs after entering Nether.

edit: also when relighting a portal in the overworld it creates another portal around the same area (like 10 blocks away) of the old frame in the Nether instead of using the existing one. Ie. it spams frames and fails to detect old one.

commented

The fabric api seems old, try to install latest fabric api.
If it still does not work, remove all other mods and try again.

commented

1.14 or 1.15? Did the log say that player cannot teleport through xxx? Show the full log.

commented

Are you using the latest version of this.mod?

commented

It's the newest fabric api and I won't reinstall, because it worked for several hours and I did test it one mod at a time.

these are all the mods https://i.imgur.com/HsKcSDW.png

they didn't conflict in anyway.

commented

It's weird. Please show the client log.

commented

What do you mean "test it one mod at a time"? Does this issue manifest when only this mod and fabric api installed? There may be potential conflict. (backup the world before uninstalling mods)

commented

Well as it's random you don't need to test it more. I am going to rewrite the position sync system. The current system is complex and error prone.

commented

What do you mean "test it one mod at a time"?

Delete world.
Install mod.
Reboot server and join.
Everything ok?
Install next mod.
Delete world.
reboot server and join.
repeat.

As I said. The error came up after several restarts and me rebuilding the portal in the same chunk several times.

commented

Maybe the player stuck in wall somehow and server keep sending teleport request but client did not accept the packet. The client log should be spammed by "denied position packet".
Does this issue happen if you go somewhere far and build another portal?

commented

I updated 0.13 and changed some position sync details. Check whether this issue still exists.
(I didn't rewrite the positon sync system because rewriting may cause more problems)

commented

Here's the client log corresponding to aboves server log.
2020-02-23-3.log

commented

It says "Sending packet net.minecraft.class_2817@3c3e46fa to server failed, not connected!"
But you can log in the server, weird.
Maybe it's caused by other mods. Try to remove half of mods and try again until you find which mod it's incompatible with.

commented

Maybe it has combatibility issues with https://github.com/zlainsama/PeacefulSurface
because I installed it a bit later and before we had the issue with the portal.
https://i.imgur.com/xS8G7PU.png our current mod list.

commented

Should be fixed in the new versions