sekwah41 / Advanced-Portals

An advanced portals plugin for bukkit
GNU Lesser General Public License v3.0
157 stars 65 forks source link

Fell through the overworld and died #181

Closed mark-d-holmberg closed 4 years ago

mark-d-holmberg commented 4 years ago

I teleported from a portal several thousand blocks away from the target destination and ended up falling out of the world, died, and lost all my items. Are there safeguards in place which can prevent this? Note, the destination was inside the 12x12 grid of "spawn chunks", so the destination world should have been loaded. Has anyone else experienced this?

sekwah41 commented 4 years ago

As teleporting is a basic call in the spigot api as well as that chunk should have been loaded this is not an issue with advanced portals. Not sure whats happened there because usually if the world doesnt load for the client the server usually rejects the movement because its impossible. It sounds like either you've hit a weird edge case or may be using a version of minecraft which doesn't perform these checks server side.

Are you using a jar such as glowstone or paperspigot?

mark-d-holmberg commented 4 years ago

We're on a bungee server running paper

sekwah41 commented 4 years ago

Can you replicate this issue?

mark-d-holmberg commented 4 years ago

I feel like it might have to do with having a destination placed on top of a half slab. And yes, we've had this problem multiple times. I don't have the best ping to the server, and sometimes I fall through the world and it whips me back up to the target destination. Other times, I fall out of the world and die. We haven't be able to figure out an exact cause yet either. We had one player teleport from places far away, and they ended up suffocating in a wall.

sekwah41 commented 4 years ago

Could you possibly try spigot rather than paperspigot? Usually when there are bugs with the client having not loaded the chunk the server will verify the movement and stop them falling through invisible blocks even if you are teleported inside a block the blocks surrounding it should be verified.

Or do you have void below a floating spawn?

Paper does a lot of changes to try to improve performance, altering the movement checks may be one of them.

mark-d-holmberg commented 4 years ago

We changed up our server architecture a bit and move to a different cloud provider. Hasn't happened since.

sekwah41 commented 4 years ago

Ah allright, give me a shout if it happens again. If it doesn't happen for about a week I will likely pin the issue down to paperspigot or something in your setup.