pioneerspacesim / pioneer

A game of lonely space adventure
https://pioneerspacesim.net
1.6k stars 362 forks source link

Deadly planetary landing approach :) #3076

Open Cosm1cGam3r opened 9 years ago

Cosm1cGam3r commented 9 years ago

I bumped into funny situation. My autopilot was attempting to dock on planet station and my 2x time acceleration changed into x1 while I was still pretty far away from surface and I was in external view. It was DARK as in ... I thought what the ...... and then I saw something and fast realized that it is other ship! I paused game as fast I could. I made screenshot and unpaused. And then my ship just crashed into that ship and BOOM gone :) To late for any maneuver.... Thank you autopilot @#!#^!)!@ :D Actually I made save after making screenshot and luckily after 3rd game load I was able to dodge that ship :] He just hangs there like that. And I remember that my autopilot was in similar situation when I waited for him to do something and dock but my ship just hanged above station. So I manually landed in that cases. I did not realize that NPC ships can be in same situation.

pioneer 2014-07-21 18-20-09-55

Cosm1cGam3r commented 9 years ago

OK.... or not OK! :)

I decided to see what will happen if I will attack him (he hovered ther and did nothing). And for example test how long it will take to destroy that ship. But after some firing game crashed (error)

----Pioneer error----------------------------------------------------------------------------------------------------------

[string "[T] @modules/TradeShips.lua"]:787: bad argument #1 to 'DistanceTo' (userdata expected, got nil) stack traceback: [C]: in function 'DistanceTo' [string "[T] @modules/TradeShips.lua"]:787: in function 'cb' [string "[T] @libs/Event.lua"]:34: in function '?'


bszlrd commented 9 years ago

Strange. Just floating there looking down? There was a similar issue with some ships that didn't had enough retro thrust to descend with autopilot, so it was unable to properly nose down for descent. But that planet has about 0.3G which is quite weak. Even a fully loaded Venturestar can descend and land on autopilot. (I tried.) Could you upload your save?

Cosm1cGam3r commented 9 years ago

Second one joined :)

pioneer 2014-07-22 02-38-32-58

I got also third one. Big transporter. I think he parked on that small one (no NPC collision?) but left (or disappear because I didn't notice what he did. I was at x4TA) after short time.

I would not mind sending save file but I don't know how to send that save file here.

If I set TA to x4 then this ship can hang there for about 9 days then he lands. But If I use x5TA then he lands way faster.

impaktor commented 9 years ago

I decided to see what will happen if I will attack him

He tries to run away, but first he wants to find out if he should jump or make a run for it to his target starport, which for this ship is nil for some strange reason, which might explain why he cant land?

I would not mind sending save file but I don't know how to send that save file here.

If you still have it, then upload to any uploading site, and post link here.

impaktor commented 9 years ago

Btw, in #1967 there is also a crash due to a tradeship having nil value as starport, might be related?

lwho commented 9 years ago

The one in #1967 might be fixed (hard to say, see my comment there).

laarmen commented 9 years ago

OK, as I understand it, this is a waiting queue problem. Currently, when a ship waits for a landing pad to be available, it just sits at a specific location above the space sport. However, this emplacement is chosen by the ship, not the space port, which means that of course every ship goes to the same location, resulting in crashes.

If you combine this with an unexpected behaviour from the trade ships that sometimes decide to stay a long time at a space port, you should get somewhat frequent spaceship collisions :/

impaktor commented 9 years ago

Interesting. Wasn't a queue system for space ports on @fluffyfreak's todo list?

fluffyfreak commented 9 years ago

It is, but don't wait around for me to find the time :)