-
-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ships stop sinking when sinking into void. #181
Comments
I've always thought how this should be handed, there is nowhere for the ship to crash into, stopping at the bottom is most likely the best solution, it it starts eroding from the void up, so its like the ship melts as it goes into the void, a warning could be delivered beforehand. In old versions of movecraft it used to just spam the console with errors if a ship in the end crashed. |
Yeah i agree with OP, could you guys add this? It woud be a great correction/bug fix. Would love for fade wrecks to be able to function too. |
I found what mwkaicz did way back in 2014 to stop ships sinking into void on Movecraft 3. Sad this functionality wasn't carried over to newer version. AJCStriker/Movecraft-3@a75ced8 Please if you can add this functionality back. It would be greatly appreciated. |
oh I wasn't aware this once existed, since it seems a lot of people want it I'll look into it. Would a temporary solution where the ship simply vanishes when reaching the point it would stop sinking at be helpfull? |
If you are going to work on it and make it fade layer by layer I would be willing to wait. Having it delete when it hits the void sounds like a great temporary solution. Thanks for this. |
Yeah fade layer by layer is what I had in my head would be how it worked too |
Mwkaicz wrote the fade layer by layers code back in Movecraft 3 for us. BaccaYarro had the ship fade too but it would respawn the layer at y=255 it was rather funny. He fixed that bug too, I can dig through their respective github to find it 😉 if you would like. |
@wolfebersahd If you can find the code from the old version maybe the movecraft superman can help us out. @eirikh1996 is this something you could implement from old code for us? This would be brilliant to have sky world ships! |
I use this precisely on my skylands server, have been since 2011. |
As per the discord chat just adding this here do it doesn't get lost On all the ideas:
Currently ships just stop sinking at Y=3, they don't even squash.
^^^ Just brainstorming ideas. Things that i think might be easier and more maintainable than adding sinking ships to other worlds, or having floating chests or cannons in the skies after ships sink. Our biggest concern is we're a skylands style server so floating islands with lots of void in-between. |
@NotVentox this is brilliant! The only thing I would recommend is a way to alert players they are getting close so if its piloted then they know they will start to fall to bits. Unless this is only when its sinking in which its great! |
It only vanishes when the craft is actually sinking. |
Was this It still doesn't seem to work as either of the above solutions of the ship completely vanishing or the layer by layer destruction just not doing anything on the latest version.
The ship just stops sinking at y=4 and can be re-piloted as if nothing was wrong. This might be a new issue: A boat or a submarine sinking over a trench that is deeper y=4 will cause the ship to stop sinking at y=4 without squashing like it would if there were blocks under it above y=4 Edit: Movecraft/Movecraft/src/main/java/net/countercraft/movecraft/async/AsyncManager.java Line 296 in 936a87a
might be the cause for it to stop sinking at Y=4, because there's a hard coded y < 5 here to force-release for "SUNK" reason.
|
Forgot about this, yeah i dont think this was fixed. Would be great if this could be implemented. |
@Mineshaft87 I managed to fix this for myself but i don't feel confident merging it until i find any edge case issues with it, I did PR some small fixes with the min y sink limit and the incorrect hitbox math here #715 |
Describe the bug
When a ship sinks into the void, it stops sinking and freezes at Y=3 wihtout "squashing" like it does on land, or fading into the void.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
As per previous versions (Movecraft 5) ships that sink into void fade immediately layer by layer as the descend into it.
Screenshots
I can provide a screenshot later today.
Versions (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: