Fractal Softworks Forum
July 25, 2017, 05:38:14 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New blog post: Drawing [REDACTED] Battlestations, part 2 (7/15/17); Starsector 0.8.1a is out!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: [0.8.1a RC8] Getting player stuck in fleet interaction dialog  (Read 193 times)
Histidine
Admiral
*****
Posts: 1576



View Profile WWW Email
« 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).





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",,,


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

Alex
Administrator
Admiral
*****
Posts: 10926


View Profile
« Reply #1 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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2006-2011, Simple Machines
Simple Audio Video Embedder
Valid XHTML 1.0! Valid CSS!