pioneerspacesim / pioneer

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

Confirmation before hyperjumping to uninhabited system #2548

Open diegomilano opened 10 years ago

diegomilano commented 10 years ago

Jumping to a system without settlements brings too easily to a situation with no way out: hydrogen supply exhausted and no possibility to re-fuel (unless the ship is equipped for scooping).

As the information is clearly available to the on-board computer, I find it not very realistic that a spaceship's would not include a safety mechanism to avoid/limit this kind of dumb behaviors. The player should at least be asked for confirmation before a jump to an uninhabited system in cases when there would be not enough hydrogen left to leave the system.

fluffyfreak commented 10 years ago

Good idea!

lwho commented 10 years ago

Hmm, I personally don't see a need for this. It is clearly visible, whether a system is inhabited. So, jumping to an uninhabited system hardly happens by accident. I died many deaths crashing into something or it happened to me that I got stuck after I jumped to an inhabited system, but could not dock for some reason (e.g. problems with the terrain). But I never stranded by jumping into an uninhabited system by accident.

Doing multi-jump routes often (where I don't care if the intermediate systems are inhabited), I would be quite annoyed to get a "Do you really want me to jump, where you told me to jump?" every time. So, if others see a need, it should be possible to turn such confirmation off.

As the information is clearly available to the on-board computer, I find it not very realistic that [...]

Playing devil's advocate and continuing the argument: "I find it unrealistic that could not be done by the on-board computer." The final result would be the computer playing the game with itself (a simulation rather than a game). So, this kind of argument does not work in the context of a game.

diegomilano commented 10 years ago

@lwho, I was not suggesting that you get a warning every time that you jump to an uninhabited system, but only when jumping to that system would leave you without way back (=no hydrogen left). This is very close to getting a warning that your tank is almost empty... I edited my suggestion above to make the spirit of it more clear.

Regarding the computer playing with itself: this really is a question of tastes and game design. If the challenges/game mechanics are about planning travels without remaining without fuel, keeping track of the amount payed for goods, or of what the best and worst price seen where, and all those other details that could be simply and more efficiently done by the computer, then you are absolutely right. Personally, I would enjoy more a game with more complex strategic elements (e.g. long term goals, complex missions etc) where simple and routine navigation/trading tasks tend to become less important as a player gains experience.

fluffyfreak commented 10 years ago

@lwho I took it as @derdiego seemed to intend it, a warning only for when you're about to make a jump that you can't get back from. A failsafe if you like - and one that would probably be quite welcome to new players.

lwho commented 10 years ago

but only when jumping to that system would leave you without way back

@derdiego, indeed I misunderstood. No objection against that :)

So, a warning, when the ship does not have enough hydrogen to continue to the closest inhabited system, I suppose?

I think, this should also be visible in the sector view when planning. Currently it shows "green" when the jump is possible. Maybe it should only show a pure green when continuation to the next inhabited system is possible and a more yellowish green if it's a one-way-trip (yellow is already "in-range, but not enough fuel" I think).

I have some work improving trip planning in the sector view almost finished. I think, the latter might fit in there quite well. I hope, I'll find some time this weekend to rebase it, create a PR and maybe even add that. The hardest part of that seems to be to find out the closest inhabited system efficiently.

Tichy commented 10 years ago

About the colour in sector view, I think it should capture the player's attention and not to be confused with the regular green. How about a blinking text (green/yellow) or some effect?

ThoBekMic commented 9 years ago

I just jumped to a system that was labeled as inhabited, but when I got there I saw no possible stations to land at. When I look at the details for the system, it even says which imports/exports they have...

I am now stuck in an uninhabited system, labeles as inhabited, without fuel. This sucks :-(

bszlrd commented 9 years ago

What's the name and coordinates of the system?

impaktor commented 9 years ago

I just jumped to a system that was labeled as inhabited, but when I got there I saw no possible stations to land at.

This is a known bug.

fluffyfreak commented 9 years ago

@impaktor it is? I wasn't aware of it. Do you have the name and coordinates of a system where this happens?

mouthy75ks commented 9 years ago

That sucks. Maybe u should test out systems ur self and not listen to busters ;). Left at 6:00am. Must be doing something right.

Michael On Apr 17, 2015 1:11 AM, "Szlrd" notifications@github.com wrote:

What's the name and coordinates of the system?

— Reply to this email directly or view it on GitHub https://github.com/pioneerspacesim/pioneer/issues/2548#issuecomment-93902166 .

fluffyfreak commented 9 years ago

@mouthy75ks this is a procedurally generated game, there are BILLIONS of systems in the game, you cannot test them all. Imagine this is just one system in every 1000 that has the problem, that's still 10's of millions of systems that have it, but you might not find one even if you try 1000 times.

@ShamblerDK knowing the name and system/sector coordinates would be very helpful thanks.

mouthy75ks commented 9 years ago

That's the spirit!!

Michael On Apr 17, 2015 7:02 AM, "Andrew Copland" notifications@github.com wrote:

@mouthy75ks https://github.com/mouthy75ks this is a procedurally generated game, there are BILLIONS of systems in the game, you cannot test them all. Imagine this is just one system in every 1000 that has the problem, that's still 10's of millions of systems that have it, but you might not find one even if you try 1000 times.

@ShamblerDK https://github.com/ShamblerDK knowing the name and system/sector coordinates would be very helpful thanks.

— Reply to this email directly or view it on GitHub https://github.com/pioneerspacesim/pioneer/issues/2548#issuecomment-93972904 .

impaktor commented 9 years ago

@fluffyfreak I was probably remembering the issue which you fixed/alleviated in #2968.

fluffyfreak commented 9 years ago

wow, @impaktor I'd actually forgotten that I wrote that :D

fluffyfreak commented 9 years ago

@ShamblerDK also let us try and get you out of that trapped situation.

If you press the console key, it's usually the one to the left of the '1', and enter the following:

import("Game").player:AddEquip("HYDROGEN", 7)

That will give you 7 tonnes of Hydrogen so you can hyperspace away. This is assuming that is enough hydrogen & that you're using hydrogen of course. Change the amount '7' if you need more or less of it. This will also give you a warning message about the function AddEquip being deprecated, for now you can ignore this as it will do what you want this time.

You can also reset your ships fuel like this:

import("Game").player:SetFuelPercent("100")

So now you will have a 100 percent full fuel tank again and hopefully you can keep playing :)

ThoBekMic commented 9 years ago

Thanks Flyffy!

I just reloaded the game at the time, but I will most definitely use your tip next time. I had it happen twice, over the course of two evenings, so it is by no means a unique occurrence. Previous responses reflect this fact, so that's good I guess :-)

I'll report system name here, next time it happens, which I am sure it will.

Kind regards, ShamblerDK

fluffyfreak commented 9 years ago

@ShamblerDK ok that'd be great if you can because right now I don't know where to start looking :)

If you can note the "sector" that it's in that would also be a big help, you can find it by pressing 'F2' and it is in the bottom-left corner which gives the sector itself. Or by pressing 'Ctrl+i' and it should be 5 digits like '[-1, 0, 0, 0, 1]' near the middle of the screen on the line for 'Rel-to'. That gives the sector and the exact planet / spacestation id.

Thanks.

robn commented 9 years ago

Locking this issue temporarily until the spammer goes away.