aorecomp

Anarchy Online classic in the browser

git clone https://aorecomp.ubeagle.com/code/aorecomp.git


commit cc43418b66b6955b3152e85d06ef03bd2bc531fd
parent f978a2f3f0dfec57c0fffdbfbd2f97c5a2749443
Author: anon <anon@example.com>
Date:   Sat,  7 Nov 2026 02:52:25 +0000

Checkpoint initial population before admitting game traffic

Diffstat:
MTODO.md | 4++++
Mserver/state.go | 4++++
2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/TODO.md b/TODO.md @@ -93,6 +93,10 @@ research separately. More screenshots and test cases do not count as new gamepla Player checkpoints now batch due actors into one transaction; nonfatal periodic damage/healing waits for checkpoints. Living authored NPCs restart at home, retaining checkpointed health, contributions and effects without roaming writes. + A 20-client protocol run reproduced a 2.5-second initial population checkpoint + blocking all zones. Initialization now completes that write before listeners + admit traffic; the same run had no missed actions afterward. This identifies + a startup stall, not the still-unattributed original phone-session stall. - [x] **Use the original native character creation flow.** Login credentials are collected in a compact modal with password confirmation at native naming, diff --git a/server/state.go b/server/state.go @@ -241,6 +241,10 @@ func newServer() *server { if err := server.loadPets(); err != nil { panic(err) } + // Persist initial population before any listener admits game traffic. + if err := server.checkpointWorld(time.Now()); err != nil { + panic(err) + } return server }