Modern open-source C# .NET 10 Asheron's Call client. Faithful port of retail client behaviour to Silk.NET with a plugin API.
TWO root causes for "character disappears when walking far": 1. MarkPersistent stored SERVER GUID but RemoveLandblock checked LOCAL entity.Id — different namespaces, never matched. Fixed by adding WorldEntity.ServerGuid field and checking it in RemoveLandblock. 2. Even with rescue working, the player entity stays in its SPAWN landblock's entity list forever. When the player walks to a new landblock and the spawn landblock gets frustum-culled, the entity disappears because neverCullLandblockId is computed from the player's current position (new landblock) but the entity is stored in the old landblock. Fixed by calling GpuWorldState.RelocateEntity every frame in the player-mode update loop. This moves the entity from whatever landblock it's currently in to the one matching its actual position. The scan is O(entities) but only runs for one entity per frame. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| docs | ||
| src | ||
| tests | ||
| tools | ||
| .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.