Flying the TARDIS exterior
Airomis opened this issue · 44 comments
Describe the bug
when entering the fly mode we are seeing one of two issue happening.
- player tps out and starts taking damage.
- after landing and player hits shift to exit they load outside the tardis and it dont land
To Reproduce
use flight mode
Screenshots
No response
Log files
Paste configs or paste.gg link here!
'/tardis version' output
tardis 2765
mc 1.20.4
if the monitor has a player in it when a diffrent player enters the flight mode the tardis cant fly and then when exiting the extior view the players both drop outside of the tardis and the one that was trying to fly the tardis is stuck with a sound loop
i found a way to force with normal player mode turn junk mode on then off then you can call it to the player
there is also a chance when exiting the flight mode to go back in the player falls off the stand and is on the outside of the tardis
it looks like it will randomly teleport the armor stand to the y 0 - 10 and get stuck
There is no code that teleports the armour stand or the chicken it is riding in the plugin code.
Multiverse has a setting to intercept teleports...
https://github.com/Multiverse/Multiverse-Core/wiki/config.yml
Not really enough info for me to do anything about this as I can't reproduce on my server
Anything in the server logs?
I also see that if we fall out it will leave a shell flying and spinning. Can you mayby allow tardis come here while materializing so when it happens we can still get the ship back without admin help as tardis stop dose not work. i also seen that the way i fixed it before dont always work each time i have had to do something different.
main idea i would ask is to allow the tardis comehere to work for if any reason a tardis is inflight. the command would make it land then travel so it would clear the box on the outside then travel to the player. the only think i could try for testing is once it is in the tardis.fly mode get out somehow and test from that point
you also get the same effect if you die from suffocation or drowning and spawn outside the tardis
it may have something to due if the server lags and the player falls down before the TP can happen
Yes, most probably lag affecting it, but I don't see how that makes the chicken teleport to y=0
The yeleport happen 1 maybe two times in total. Maybe have a check if the player exits the tardis it will auto land? Or like I said let us do the come here command just in the event we fall out
a different idea is once a player hits shift to end flight or if they die the tardis will auto land this would fix both the issue of dieing during flight ( downing suffocation being shot at or lava ) and it they fail to teleport back in the hand break auto engages as that is a thing that has to be done even before entering the fly mode again
should also take note that the tardis stop command should also land the tardis and kill the chicken as i currently have an invisible chicken tardis running around
also if the chicken should die ( or enter a tardis ) the armor stand drops and cant be removed without some admin commands ( i dont know whats used but they are OP commands )
i can also reliably do the drop out of the tardis ( shift fails to tp in ) in a world that has no mob spawning enabled. makes me wonder if the TP fails because the chicken gets removed before the player gets teleported leaving the armor stand and player behind.
this is assuming the armor stand is left behind for the exit point once landed
Can't reproduce in a world with the gamerule doMobSpawning: false
... how are you preventing mob spawns?
Need to be within 4 blocks of the TARDIS/chicken when using the /ttravel stop
command
I've only tested by forcing a dismount with a command as I still can't reproduce
Server needs to update, you're 6 builds behind, 2 of which have changes relating to the /ttravel stop
command.
Also why are you trying to fly underground? I'm not surprised you start taking damage after being teleported into the roof...
the flying underground was to show what happens if we die ( also the players head can be seen ) is it possible to block that from happing ( stop damage and drowning )
i know this is an older version im still working off of because the server has yet to update but if the player dies when flying the tardis there is a chance that the flight sound loop will stick with the player even if they do the tardistravel stop command this even keeps going after a log out and closing of the game the only way to stop it is if the server reboots
insted of blocking underground flight is it possible to have it as a player pref, this would allow us to still fly underground and if the player takes damage or should die send them back into the tardis. this would stop the death while flight and allow us to use the fly in the large caves.
i got it recorded and i know what happen to make the TP happen.
it has to do with how fast you let go of the shift key or the lack of holding it til you TP out
Kind of irrelevant now, as I've removed shift-clicking the handbrake to enter flying...
is it possible to maybe get a command or even on death a way to break all player based sound loops?
I'm not setting them as invisible... never have unless they are holding a glass bottle and even then it's not possible to make the player entirely invisible
Player's head showing seems to have happened after the 1.20.4 update - I'll need to update the resource pack again to scale up the police box model for flying