Fractal Softworks Forum

Starsector => Bug Reports & Support => Bug Reports & Support (modded) => Topic started by: Histidine on July 16, 2017, 03:27:01 AM

Title: [0.8.1a RC8] Getting player stuck in fleet interaction dialog
Post by: Histidine on July 16, 2017, 03:27:01 AM
If a BeginFleetEncounter rule calls OpenComms, and no valid OpenCommLink rule exists (or the selected one calls EndConversation DO_NOT_FIRE), the player can end up stuck in the fleet interaction dialog with no way to exit (except devmode Esc).

Spoiler
(http://i.imgur.com/G04HK6K.png)

(http://i.imgur.com/YZ9xkQa.jpg)

The second image can be reproduced with the following rules.csv entry:
Code: csv
id,trigger,conditions,script,text,options,notes
FleetEncounterDebug,BeginFleetEncounter,!$fakeVar score:99999,"$ignorePlayerCommRequests = true 1
AddText ""You're being hailed by the $faction $otherShipOrFleet."" $faction.baseColor
OpenComms",,,
[close]

This rarely arises and perhaps modders should just be more careful, but perhaps a failsafe is in order?
Title: Re: [0.8.1a RC8] Getting player stuck in fleet interaction dialog
Post by: Alex on July 16, 2017, 09:38:53 PM
Thank you - made a note, will take a look at some point.

This rarely arises and perhaps modders should just be more careful, but perhaps a failsafe is in order?

Probably yeah, on both points. Might be tricky though, will have to see.
Title: Re: [0.8.1a RC8] Getting player stuck in fleet interaction dialog
Post by: Histidine on September 15, 2017, 08:45:24 AM
Relatedly, there's a vanilla bug:

Spoiler
(https://i.imgur.com/AhrkIz1.jpg)
[close]

(While we're here, this is a reminder that the "turn on your transponder" dialog appears even if the fleet already knowsWhoPlayerIs and everything.)