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.pywho_online now filters to only actively connected players; Stardock port price scaling fixedlogin.pySession 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.pyPort/alien/planet counts in sector headers and sysop dashboards now reflect actual playable counts_seed_universe.pySeed 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.pyDashboard endpoints corrected; haggle markup calculation fixedtrading.pyHaggle markup calculation corrected
- Dashboard endpoints corrected; haggle markup calculation fixed for accuracy
remediate
behavioral
2 files
app.pytrading.py
Alien AI — Interactive Encounters
2 files changed
npc.pyAlien AI auto-attacks removed; aliens now initiate interactive encounter sequence matching TWGS Gold behavioralien_encounter.pyAlien 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.pyalien_encounter.py
Test Updates
2 files changed
base.pyPort parser tests updated to match corrected parsing behaviorconftest.pyTest 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.pyconftest.py