pioneerspacesim / pioneer

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

Looking at Missions tab in personal info during hyperspace causes Lua error #5825

Closed asasnat closed 1 month ago

asasnat commented 1 month ago

Observed behaviour

A Lua error is thrown and the Missions subtab in the Personal Info tab is broken until the game is fully restarted: image

Expected behaviour

The Missions subtab is shown as normal.

Steps to reproduce (this is the easiest one I devised)

  1. Start a new game, using the "Start on Mars" profile.
  2. Load up two more tonnes of hyperspace fuel
  3. Pick a mission in the BBS (doesn't matter which)
  4. On the sector map, pick a star that's just barely within your hyperspace range (any hyperjump causes this but a long one is easiest to test; Andand is a good one)
  5. Take off and initiate a hyperjump (can be illegal, doesn't matter)
  6. During hyperspace, click "Show personal info" (online account icon) and then "Missions" (star icon)

My pioneer version (and OS): Pioneer 20240314 Fedora Linux 39 (Workstation Edition) Cinnamon 6.0.4 Linux kernel 6.8.6-200.fc39.x86_64

My output.txt output.txt

asasnat commented 1 month ago

Duplicate, nevermind