PORT-PLAN: record the module-by-module Windows parity audit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
47e867252f
commit
ce6d457808
@@ -1696,3 +1696,64 @@ clamped to `MapSize`, and reloads them when that coordinate changes.
|
||||
the set: terrain, every block's `areadata.txt`, and one water surface per block. The object
|
||||
loading centre now uses map y instead of height.
|
||||
- Desktop ctest 59/59 (background_test checks a 2x2 stitch: heights, attributes, and Update with no block change).
|
||||
|
||||
### 2026-10-13 Audit: remaining differences from the Windows client
|
||||
|
||||
Compared module by module against `upstream/ava2-client` in three passes:
|
||||
1. Python module surfaces (functions and constants, nearest method table, `#ifdef` checked against `Locale_inc.h`/`ServiceDefs.h`);
|
||||
2. every packet handler per phase and every `net.Send*`;
|
||||
3. engine subsystems.
|
||||
|
||||
The Python surface has no real gaps. What remains:
|
||||
- names commented out in the reference (CHAT_TYPE_UNK_10, ITEM_FLAG_RARE, RARITY_MAX_VALUE, MOB_RESIST_BLEEDING, chrmgr.RegisterMotion);
|
||||
- names behind macros that are off (WJ_COMBAT_ZONE, ENABLE_WOLFMAN_CHARACTER, ENABLE_SOULBIND_SYSTEM, ELEMENT_SPELL_WORLDARD, WJ_CHANGELOOK_SYSTEM, ENABLE_PERMA_ITEM, ENABLE_OPTION_COLLECT_EQUIPMENT, NEW_PET_SYSTEM);
|
||||
- modules python-root never imports (udp, guild_ranking, wndSlot, wndText).
|
||||
|
||||
Every GamePhase case exists. The 9 upstream-only cases are all macro-off: CSHIELD, ELEMENTS_SPELL, KEY_AGREEMENT*, COMBAT_ZONE*, SUPPORT_SKILL, TOURNAMENT_ADD, and TARGET_CREATE (commented out).
|
||||
|
||||
Outstanding, most severe first:
|
||||
|
||||
P0, the real-server flow stops:
|
||||
1. `RecvWarpPacket` reads and drops GC_WARP. Windows sets DirectEnter for the selected slot and reconnects to `lAddr:wPort`. Map teleports and channel moves hang.
|
||||
2. In-game `RecvPhasePacket` only stores the phase. Windows calls `SetSelectPhase` (plus `__DownloadMark`), `SetLoginPhase`, `SetLoadingPhase`, `SetGamePhase` or `ClosePhase`. Going back to character select and reloading after a warp do not work.
|
||||
3. `LoginSession` (select phase) only accepts headers 0/7/32/44/90/150-153/253-255 and drops the connection on anything else. The following are missing:
|
||||
- GC 6 LOGIN_SUCCESS3;
|
||||
- GC 8/9 PLAYER_CREATE_SUCCESS/FAILURE;
|
||||
- GC 10/11 PLAYER_DELETE_SUCCESS/WRONG_SOCIAL_ID;
|
||||
- GC 17 POINT_CHANGE;
|
||||
- GC 107 CHANGE_NAME.
|
||||
|
||||
On the real server, `net.SendCreateCharacterPacket`/`SendDestroyCharacterPacket` raise NotImplementedError, and `SendSelectEmpirePacket`/`SendChangeNamePacket` send nothing.
|
||||
|
||||
P1, visible gameplay:
|
||||
4. `ParseRaceMotionData` ignores `motioneventdata` in .msa files (effect, effect-to-target, fly, screen waving/flashing, special attack, character show/hide). Per-motion .mss sound scripts are not loaded either. On the real server, skills and attacks show no effects and play no swing, footstep, hit or death sounds.
|
||||
5. `RecvDamageInfoPacket` and fly-target hits always spawn `warrior/effect/gihyeol_spark.mse` and play `sound/ui/punch.wav`. These are invented. Windows uses the race-registered hit effects (chrmgr EFFECT_HIT…) and the damage-number effects.
|
||||
6. Terrain (MapOutdoorLoad/RenderHTP, TextureSet):
|
||||
- textureset UScale/VScale/UOffset/VOffset/Begin/End are ignored (fixed world/500 UVs);
|
||||
- splat alpha is per-vertex 3x3 instead of per-tile, and only for textures with tiles;
|
||||
- the static `shadowmap.dds` and the dynamic character shadow texture are not applied;
|
||||
- fog bands are missing (no fog near, untextured fog-colour patches past fogFar+1600, splat limit, 3 LOD index sets);
|
||||
- setting.txt HeightScale, ViewRadius and TerrainVisible are ignored; the environment path rule is unverified;
|
||||
- `areaambiencedata.txt` ambient sounds and `AreaProperty.txt` are not used.
|
||||
7. Actor visuals:
|
||||
- armour/weapon refine glow and shining are missing;
|
||||
- weapon trace is missing;
|
||||
- the horse actor is missing (rider only);
|
||||
- emotions (`player.ActEmotion`, `IsActingEmotion`) are missing;
|
||||
- dig and fishing motion queues are missing;
|
||||
- movement dust is missing;
|
||||
- the percent-weighted random motion pick and motion blend times are missing;
|
||||
- race smoke and attached effects are missing.
|
||||
8. Guild marks: `net.UploadMark`/`UploadSymbol`/`SendGuildSymbol`/`RecvGuildSymbol` and `wndMgr.MarkBox_Load` are stubs; there is no `__DownloadMark` and no guild-area terrain overlay.
|
||||
9. Stubbed queries used by python-root:
|
||||
- `player.IsPVPInstance` (uitarget PvP menu) and `player.IsOpenPrivateShop` (uiprivateshopbuilder) always return 0, as do `player.IsInSafeArea` and `chr.PickAll`;
|
||||
- `background.TextureChange` (game options) does nothing, nor do `chr.LookAt` and `chr.DismountHorse`;
|
||||
- `player.SetMouseState` is unused on touch.
|
||||
10. Features that are on in the reference but stubbed here:
|
||||
- 67-attr (`__BL_67_ATTR__`: Send67AttrPacket/Close);
|
||||
- calendar (`ENABLE_CALENDAR_SYSTEM`: CalendarOpen/Close/Send);
|
||||
- Catch-the-King (`ENABLE_MINI_GAME_CATCH_KING`);
|
||||
- `net.SendMobileMessagePacket`;
|
||||
- SafeBoxWrongPassword does not call `OnSafeBoxError`;
|
||||
- background Create/DeleteTargetEffect (shop and location markers);
|
||||
- server commands StoneDetect and Start/StopStaminaConsume.
|
||||
|
||||
Reference in New Issue
Block a user