feat(parity): implement skill cooldown end, server emotions, target packets and render target parity (pass31)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"reference": "upstream/ava2-client/UserInterface/Packet.h preprocessed with AVA2 Windows feature headers",
|
||||
"checked": 233,
|
||||
"checked": 240,
|
||||
"mismatches": [],
|
||||
"unmatched": []
|
||||
}
|
||||
|
||||
@@ -698,3 +698,29 @@ Validation: macOS build and Android arm64 libmain.so pass. Five targeted CTests
|
||||
- `python3 tools/audit_ava2_python_interfaces.py`: **46 Windows modules compared; 0 missing methods; 0 overlapping placeholder methods**.
|
||||
- CTest suite: **41/41 tests passed (100%)**.
|
||||
- Android arm64 `libmain.so` builds cleanly.
|
||||
|
||||
## 2026-10-07 pass31 — skill cooldown, server emotions, target packets & render target parity
|
||||
- **Skill Cooldown Protocol (`HEADER_GC_SKILL_COOLTIME_END = 73`)**:
|
||||
- Added `HEADER_GC_SKILL_COOLTIME_END = 73` and wire structure `TPacketGCSkillCoolTimeEnd` in `src/eter_net/Packet.h`.
|
||||
- Mapped entry 73 in `src/eter_net/Ava2GcPacketTable.inc`.
|
||||
- Implemented `PythonNetworkStream::RecvSkillCoolTimeEnd()` in `src/eter_net/PythonNetworkStream.cpp` calling `EndSkillCoolTime(packet.bSkill)`.
|
||||
- Added `EndSkillCoolTime(uint32_t skillIndex)` in `src/python_gameplay_modules.h` / `src/python_gameplay_modules.cpp` to reset active cooldown for that skill index.
|
||||
- **ServerCommand Emotion Dispatching**:
|
||||
- Replaced emotion `TraceError` placeholder in `src/eter_net/PythonNetworkStreamCommand.cpp` with 1:1 actor motion playback matching upstream Windows client.
|
||||
- Implemented dual emotions (`french_kiss`, `kiss`, `slap`) and single emotions (`clap`, `cheer1`, `cheer2`, `dance1`–`dance6`, `dig_motion`, `congratulation`, `forgive`, `angry`, `attractive`, `sad`, `shy`, `cheerup`, `banter`, `joy`) via `ActorInstance::ActEmotion` and `ActDualEmotion`.
|
||||
- Populated complete emotion constants in `RaceData::EMotion` and `struct CRaceMotionData` in `src/eter_render/RaceData.h`.
|
||||
- **Target & Fly Targeting Packets**:
|
||||
- Dispatched `RecvFlyTargetingPacket()` and `RecvAddFlyTargetingPacket()` matching upstream header handling.
|
||||
- Added `TPacketGCTargetCreate` wire struct and implemented `PythonNetworkStream::RecvTargetCreatePacket()`.
|
||||
- **CRenderTarget & renderTarget Module Parity**:
|
||||
- Added `ResetModel()`, `SetModelStatus()`, `GetModelStatus()`, `IsShow()`, `IsReady()`, and `GetScale()` in `src/eter_render/CRenderTarget.h` / `CRenderTarget.cpp`.
|
||||
- Disassociated model visibility `m_bShowModel` from overall target container visibility `m_visible` so model render toggle works 1:1 with upstream Windows client.
|
||||
- Updated `renderTarget_ResetModel` to invoke `ResetModel()` and `renderTarget_SetModelRender` to invoke `SetModelStatus(bStatus)`.
|
||||
- **Wire Constants Coverage**:
|
||||
- Added `HEADER_GC_PLAYER_CREATE_SUCCESS` (8), `HEADER_GC_PLAYER_CREATE_FAILURE` (9), `HEADER_GC_PLAYER_DELETE_SUCCESS` (10), `HEADER_GC_PLAYER_DELETE_WRONG_SOCIAL_ID` (11), `HEADER_GC_LOGIN_SUCCESS4` (32), and `HEADER_GC_CHANGE_NAME` (107) with `TPacketGCChangeName`.
|
||||
- **Results**:
|
||||
- Checked packet constants increased to **240**, 0 mismatches, 0 unmatched.
|
||||
- `python3 tools/audit_windows_parity.py`: **0 placeholder bindings**.
|
||||
- `python3 tools/audit_ava2_python_interfaces.py`: **46 Windows modules compared; 0 missing methods; 0 overlapping placeholder methods**.
|
||||
- CTest suite: **41/41 tests passed (100%)**.
|
||||
- Android arm64 `libmain.so` and macOS arm64 `ava2_client` build cleanly.
|
||||
|
||||
Reference in New Issue
Block a user