nanoMMO 0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
Related Pages
Here is a list of all related documentation pages:
[detail level 123]
 Getting started
 Gameplay
 Content
 NPCs
 Graphics and sound
 Cinema
 Worlds and lands
 The island
 Networking
 Accounts, logins and TLS
 Saving players and migrations
 The website
 Monitoring, logs, traces and analytics
 Benchmarking and profiling
 Reliability
 Postmortems
 A Redis pause on 2026-11-18 dropped everyone in Ember, and the tick SLO said one tick was missed
 Deployment
 The client in a browser
 Translations
 Code style and checks
 Versions and dependencies
 Decisions
 Language, build and releases
 1. C++20 for the servers and the client
 4. Build, test and check in Docker, on every push
 5. The repository's history is the curriculum
 20. One version for the whole game, and the login server's rule
 26. C++23 for the servers and the client, with each build named in a preset
 The servers
 2. An authoritative server, at a fixed tick
 8. One thread for the world, on Asio's event loop
 17. Send each player what's near them, by cells
 18. Find the worlds through Consul
 31. A character is leased to one instance at a time
 37. The server owns the sky
 Networking
 3. Protobuf as the contract between the client and the servers
 12. TCP for inputs and messages, UDP for the worlds
 22. Numbered inputs, and client-side prediction
 23. Draw everyone else 100 milliseconds in the past
 24. Leave out of each world what hasn't changed, by its pieces' hashes
 32. A browser reaches the servers through a WebSocket gateway
 46. The servers send their sentences as their English and args, which the client translates
 Saving
 10. MySQL as the source of truth
 13. Save the players through Redis, and a saver that takes them to MySQL
 15. Change the tables with Flyway's migrations
 21. Guild changes as MySQL transactions, and invitations in Redis
 27. Gold in the bag's message, with its revision
 28. A trade is checked against the bags, and saved as one
 Accounts and security
 11. A login server of its own, with Argon2id and one-time tokens
 14. TLS 1.3 between the clients and the servers, with an authority of our own
 25. The server checks what a client asks for, and a red-team client tries it
 The client
 6. Draw the client with Vulkan
 7. Draw the client with raylib, and its interface with Dear ImGui
 29. The client in a browser, with Emscripten and WebGL 2
 30. Offline, the client runs the world's rules itself
 44. Looks are chosen once, as places in the content's lists, and names show over whoever's pointed at or picked
 45. The client translates with gettext's PO files, as it shows each string, and the content stays English
 Gameplay and content
 19. Content as data, in protobuf's text format
 33. Players fight each other in duels, which end at one health
 34. Duel blows are checked where the attacker saw the target, up to 200 milliseconds back
 35. A monster's skill lands where it was aimed, after a telegraph players can step out of
 36. A boss fights whoever's hurt it most, and its death is everyone's who took 5% of its health
 40. Check the content as a graph, with smollerGraph, in the tests
 41. Guilds at war hurt each other anywhere, for half an hour, and count their kills
 42. A war kill counts once, a victim scores once every five minutes, and nobody leaves a war
 43. Craft from the bag, without a station, and a recipe needs all it takes
 47. A faction is sworn to once, at its herald, guilds have none, and it means nothing in a fight yet
 Deployment and monitoring
 9. Metrics, logs and alerts with Prometheus, Grafana and Loki
 16. Deploy with Compose to one server, and hand the players over
 38. Trace requests with a tracer of our own, which speaks OpenTelemetry
 39. Objectives with error budgets, and chaos experiments in staging, never in production