uwarp-space 2026-03-11
Accuracy fixes for connected-player display, port/alien/planet counts, Stardock price scaling, and alien AI switched to interactive encounters matching TWGS behavior
93 files · 5,740+ · 810-

Who Online — Connected Players Only

2 files changed
  • _display_player.py who_online now filters to only actively connected players; Stardock port price scaling fixed
  • login.py Session tracking updated to correctly mark connected vs disconnected state
  • who_online command now correctly filters to only actively connected players — was previously showing all logged-in players regardless of connection state remediate behavioral
    1 file
    • _display_player.py
  • Stardock port price scaling fixed to match TWGS Gold formula remediate internal
    1 file
    • _display_player.py

Accurate Game Object Counts

2 files changed
  • _game_state_helpers.py Port/alien/planet counts in sector headers and sysop dashboards now reflect actual playable counts
  • _seed_universe.py Seed response now reports actual playable counts
  • Port, alien, and planet counts across all displays now reflect the actual playable counts from game state rather than raw totals remediate behavioral
    1 file
    • _game_state_helpers.py
  • Seed response reports actual playable counts remediate behavioral
    1 file
    • _seed_universe.py

Dashboard and Haggle

2 files changed
  • app.py Dashboard endpoints corrected; haggle markup calculation fixed
  • trading.py Haggle markup calculation corrected
  • Dashboard endpoints corrected; haggle markup calculation fixed for accuracy remediate behavioral
    2 files
    • app.py
    • trading.py

Alien AI — Interactive Encounters

2 files changed
  • npc.py Alien AI auto-attacks removed; aliens now initiate interactive encounter sequence matching TWGS Gold behavior
  • alien_encounter.py Alien encounter flow updated to use interactive encounter sequence
  • Alien NPCs no longer auto-attack on contact; they now initiate the interactive encounter sequence matching TWGS Gold behavior remediate behavioral
    2 files
    • npc.py
    • alien_encounter.py

Test Updates

2 files changed
  • base.py Port parser tests updated to match corrected parsing behavior
  • conftest.py Test fixtures updated to reflect corrected model behavior
  • Ship model and port parser tests updated to reflect the corrected parsing and model behavior qualify behavioral
    2 files
    • base.py
    • conftest.py