shallowthought
Exemplar
[ Patreon & Star Traders 2 Supporter ]
Posts: 382
|
Post by shallowthought on Jun 17, 2012 11:42:49 GMT -5
So, I was attempting to land and was attacked by indy bounty hunter. Duelled him till I was at 1 health at which point I surrendered. Spend 63 weeks in prison, then landed fine, made a few repairs, bought fuel and took off. Once in space again, I got the game over screen. Not sure why I died, had 1 health, 2 crew, plenty of fuel so no mutiny, just dead as soon as I was back in orbit.
|
|
|
Post by slayernz on Jun 17, 2012 17:52:48 GMT -5
Hmm ... actually I am guessing you were a walking corpse and the game check didn't notice until you were back in orbit.
The problem with surrendering on 1 health is that whoever captures you, always takes 1HP from you (you know, kick you while you're down). So as a general rule, you should never surrender on 1 health.
Because you were already destined to land on the planet, the game must have stored that value and after your incarceration (with 0HP), you arrived at your destination. You generally can't die in an urban area, so the game wouldn't have checked your health. It's a shame there wasn't a Doctor available in the Spice Hall though - even 1HP screams "I need a Doctor ... STAT".
Nonetheless, the first check of your health level is when you re-entered orbit, the game discovered you were zero health, and decided that corpses really shouldn't be walking around (bad for morale and all).
|
|
shallowthought
Exemplar
[ Patreon & Star Traders 2 Supporter ]
Posts: 382
|
Post by shallowthought on Jun 17, 2012 18:07:58 GMT -5
Ah, I forgot you lose one health when surrendering. So how come I made it to prison? Dunno how hard it would be to change this but shouldn't the "is he dead?" check be done immediately after combat?
|
|
|
Post by slayernz on Jun 17, 2012 18:23:55 GMT -5
The check is made immediately after combat. However the prison thing happened after the check was made by the game.
I think you've definitely picked up a bug and it should hopefully be a relatively simple thing to debug (ha, says I the non-developer).
|
|
|
Post by Cory Trese on Jun 17, 2012 20:04:16 GMT -5
I see the possible bug.
I can fix it but I will have to be very careful.
Changing the death code is expensive and can cause horrible side effects if done incorrectly.
Right now the game is stable, but if you are at 1HP and there is a riot on board the Prison Ship (check your captain's log for details) and you are wounded to 0HP, death is not immediate.
I tested it right now it is possible to make it to a Urban Zone, Dock and Heal ... however, if you try to take off from a planet you die.
|
|
|
Post by slayernz on Jun 17, 2012 21:09:22 GMT -5
Even if you healed you die when you get back to orbit? Talk about offering that glimmer of hope ... then quickly snatching it away again
|
|
|
Post by Cory Trese on Jun 17, 2012 21:58:37 GMT -5
Sorry -- if you don't get your HP > 0 again before you "take off" you will die.
it is possible to suffer riot, fly with 0 HP, land, heal and survive.
I worry that any bug in death code could cause the most dreaded effect ever (death on Basic or Normal)
|
|
shallowthought
Exemplar
[ Patreon & Star Traders 2 Supporter ]
Posts: 382
|
Post by shallowthought on Jun 18, 2012 7:58:11 GMT -5
OK, the final entries in the dead captain's log are as follows: 103.40AE: Raptor class nearly destroyed in combat, several weeks of drifting to reach nearest planet 103.40AE: 9 messages saying captain wounded in battle 103.51AE: Captured by independants, sentenced to 63 weeks on prison cruiser
No sign of a riot from the log. However, I'm not 100% certain that I had 10 health to start with. I'd verify this bug properly before changing anything as, as you say, getting it wrong will piss a lot of people off.
|
|
|
Post by Cory Trese on Jul 1, 2012 1:27:45 GMT -5
If you saw this message:
"I fought them until I was the last man standing leaving myself on the bridge of %s and who knows how many scum-dogs on the %s. During final moments of the battle I was %s. However, I believe I will survive."
that would account for the 10th wound.
The other message would be:
"During my imprisonment by corrupt members of the %s Faction, I was involved in a Riot aboard the Prison Cruiser and I was %s."
Both of those would be mixed into the log depending on the date.
It is also possible that this message would carry a wound depending on the Warrior skill of the imprisoned Captain:
"Captured by vile members of the %s Faction, I have been convicted of Crimes and sentenced to %d weeks on board a Prison Cruiser."
|
|
|
Post by Cory Trese on Jul 1, 2012 1:28:37 GMT -5
Testing shows this wasn't reproduced ... not logging it yet, we will wait to see if anyone else ever reports
|
|
shallowthought
Exemplar
[ Patreon & Star Traders 2 Supporter ]
Posts: 382
|
Post by shallowthought on Jul 1, 2012 8:33:14 GMT -5
OK, warrior was 14, so I'm guessing the "Captured by vile members of the %s Faction, I have been convicted of Crimes and sentenced to %d weeks on board a Prison Cruiser." message carried the final wound. If you haven't been able to reproduce this, and nobody else reports it, then I guess it's probably nothing to worry about.
|
|