Commit Graph

5 Commits

Author SHA1 Message Date
dfbd96f792 Merge pull request 'fix: ChatLog.log() crash — CHATLOG_FILE defined after use (#1349)' (#1390) from burn/1349-1776125702 into main
Some checks failed
Deploy Nexus / deploy (push) Failing after 5s
Staging Verification Gate / verify-staging (push) Failing after 7s
2026-04-14 00:38:01 +00:00
Alexander Whitestone
9bcd41ad07 fix: ChatLog.log() crash — CHATLOG_FILE defined after use (#1349)
Some checks failed
CI / test (pull_request) Failing after 31s
CI / validate (pull_request) Failing after 31s
Review Approval Gate / verify-review (pull_request) Failing after 3s
Move configuration block (WORLD_DIR, CHATLOG_FILE, etc.) before the
ChatLog class definition. Previously CHATLOG_FILE was defined at line ~254
but used at line ~200 inside ChatLog.log(), causing NameError on every
chat message persistence attempt.

Fixes #1349.
2026-04-13 20:17:02 -04:00
Timmy
d7a15ae046 fix(#1356): ThreadingHTTPServer for multi-user bridge concurrency
Some checks failed
Review Approval Gate / verify-review (pull_request) Failing after 8s
CI / validate (pull_request) Failing after 47s
CI / test (pull_request) Failing after 49s
Replace single-threaded HTTPServer with ThreadingHTTPServer
(thread-per-request) in both multi_user_bridge.py copies.

Fixes #1356
2026-04-13 20:16:21 -04:00
Alexander Whitestone
2600e8b61c fix: call self.load() in all game system manager __init__ methods
Some checks failed
CI / test (pull_request) Failing after 17s
CI / validate (pull_request) Failing after 15s
Review Approval Gate / verify-review (pull_request) Failing after 2s
QuestManager, InventoryManager, GuildManager, CombatManager, and
MagicManager all had load() methods that were never called. This
meant quests were never seeded, items never appeared in rooms, and
all game data started empty on every server restart.

Fixes #1351
2026-04-13 04:13:38 -04:00
Alexander Whitestone
0843a2a006 fix: one-way exits — rooms now bidirectional (#1350)
Some checks failed
CI / test (pull_request) Failing after 22s
CI / validate (pull_request) Failing after 15s
Review Approval Gate / verify-review (pull_request) Failing after 2s
World state: added explicit exits dict to all 5 rooms
Bridge: reads exits from world_state.json first, falls back to description parsing

Before: inner rooms (Tower, Garden, Forge, Bridge) had no exits
After: all rooms bidirectional — Threshold connects to all 4, each connects back
2026-04-13 03:27:19 -04:00