Modern open-source C# .NET 10 Asheron's Call client. Faithful port of retail client behaviour to Silk.NET with a plugin API.
Companion to the Phase 6.6 UpdateMotion parser. Without this, every server-spawned entity stays frozen at its CreateObject origin forever — NPCs don't patrol, creatures don't hunt, other players don't walk past. UpdatePosition is the per-entity position delta the server sends on every movement tick. The wire format is straightforward but fiddly: u32 opcode | u32 guid | u32 flags | u32 cellId | 3xf32 pos (0..4) conditional f32 rotation components, present iff the corresponding OrientationHasNo* flag is CLEAR optional 3xf32 velocity iff HasVelocity optional u32 placementId iff HasPlacementID four u16 sequence numbers (consumed but not used) Layout ported from references/ACE/Source/ACE.Server/Network/Structure/ PositionPack.cs::Write and ACE.Entity/Enum/PositionFlags.cs. WorldSession dispatches PositionUpdated(guid, position, velocity) on a successful parse. GameWindow wiring (guid → WorldEntity lookup and transform swap) is deferred to the same follow-up commit that lands Phase 6.6 wiring, after the in-flight Phase 9.1 translucent-pass work merges so we don't step on GameWindow.cs edits. 96 Core.Net tests (was 89, +7 for UpdatePosition coverage). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| docs/plans | ||
| src | ||
| tests | ||
| .gitignore | ||
| AcDream.slnx | ||
| CLAUDE.md | ||
| README.md | ||
acdream
Experimental modern open-source Asheron's Call client in C# / .NET 10.
Status: pre-alpha, not playable. Phase 0 only — dat file asset inventory.
Stack: .NET 10, Chorizite.DatReaderWriter for dat parsing. Silk.NET + Avalonia planned for rendering/UI (not yet wired up).
Requires: A retail Asheron's Call install (Turbine/Microsoft property — supply your own). Set ACDREAM_DAT_DIR environment variable to the directory containing client_portal.dat, client_cell_1.dat, client_highres.dat, and client_local_English.dat, or pass it as the first CLI argument.
Layout
src/AcDream.Cli/— console app that dumps asset counts from a dat directoryreferences/— local read-only reference material (ACE, ACViewer, WorldBuilder, DatReaderWriter, holtburger, retail AC install). Gitignored.
Run
dotnet run --project src/AcDream.Cli -- "C:\path\to\Asheron's Call"
Or set ACDREAM_DAT_DIR and run without args.