Weird portal cloning bug
ErdbeerbaerLP opened this issue ยท 4 comments
I just went through the portal multiple times and then it cloned me. I was getting pushed around without me pressing any button.
I attempted to reproduce it, but it did not happen again.
Server Log:
[14:22:17] [Server thread/WARN] [minecraft/NetHandlerPlayServer]: ErdbeerbaerLP moved too quickly! 13.47313286255024,9.0,29.72815505770329
[14:22:17] [Server thread/WARN] [betterportals/portal]: Ignoring use portal request from EntityPlayerMP['ErdbeerbaerLP'/0, l='world', x=8,48, y=71,00, z=-3,25] because they have an outstanding teleport.
[14:22:17] [Server thread/WARN] [betterportals/portal]: Ignoring use portal request from EntityPlayerMP['ErdbeerbaerLP'/0, l='world', x=8,48, y=71,00, z=-3,25] because they have an outstanding teleport.
After leaving the (localhost) server, vanillafix caught this crash: https://paste.dimdev.org/ikapaxehad.rb
How close are those portals to each other and what's your server's view-distance?
Appears to be reliably reproducible:
- Build two linked teleporters next to each other (same chunk)
- Flying away until they unload
- Fly back (and hope it doesn't crash from another bug which I've already fixed in dev)
- Notice how one of the two portals will have your player's movements slightly delayed (because the other side is actually a different world and you're seeing server-lag)
- Go through that portal
- You are two
Upon initial investigation, I've come to the conclusion that this is caused by a fundamental flaw in how BP currently does the seamless transition into other dimensions and fixing it will be very complicated.
Unfortunately I cannot come up with a good workaround either, so I've instead added a disclaimer on the CF page stating that short-range teleporters are essentially broken at the moment.