# Moongate – Ultima Online server emulator in .NET 10 with Lu…

I've been building a modern Ultima Online server emulator from scratch. It's not feature-complete (no combat, no skills yet), but the foundation is solid and I wanted to share it early. What it does today: - Full packet layer for the classic UO client (login, movement, items, mobiles) - Lua scripti…

- **Page:** https://magpie.gallery/i/moongate-ultima-online-server-emulator-in-net-10-w-s94w
- **Type:** Link to an idea elsewhere
- **Category:** Games
- **Runs on:** windows, macos, linux
- **Tags:** server-emulator, ultima-online, lua, dotnet

## Source

Web · squidleon: Moongate – Ultima Online server emulator in .NET 10 with Lua scripting

- **Original:** https://news.ycombinator.com/item?id=47275236

> I've been building a modern Ultima Online server emulator from scratch. It's not feature-complete (no combat, no skills yet), but the foundation is solid and I wanted to share it early. What it does today: - Full packet layer for the classic UO client (login, movement, items, mobiles) - Lua scripting for item behaviors (double-click a potion, open a door — all defined in Lua, no C# recompile) - Spatial world partitioned into sectors with delta sync (only sends packets for new sectors when crossing boundaries) - Snapshot-based persistence with MessagePack - Source generators for automatic DI wiring, packet handler registration, and Lua module exposure - NativeAOT support — the server compiles to a single native binary - Embedded HTTP admin API + React management UI - Auto-generated doors from map statics (same algorithm as ModernUO/RunUO) Tech stack: .NET 10, NativeAOT, NLua, MessagePack, DryIoc, Kestrel What's missing: Combat, skills, weather integration, NPC AI. This is still early — the focus so far has been on getting the architecture right so adding those systems doesn't require rewiring everything. Why not just use ModernUO/RunUO? Those are mature and battle-tested. I started this because I wanted to rethink the architecture from scratch: strict network/domain separation, event-driven game loop, no inheritance-heavy item hierarchies, and Lua for rapid iteration on game logic without recompiling. GitHub: https://github.com/moongate-community/moongatev2 https://github.com/moongate-community/moongatev2

## GitHub projects

- https://github.com/moongate-community/moongatev2

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
