Net: port the select-phase packets

Character create/delete/rename and empire selection now reach the
server, and LOGIN_SUCCESS3, PLAYER_CREATE_SUCCESS/FAILURE,
PLAYER_DELETE_SUCCESS/WRONG_SOCIAL_ID, POINT_CHANGE and CHANGE_NAME are
parsed and forwarded to the select/create windows like Windows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-10-13 13:27:52 +09:00
co-authored by Claude Opus 5.5
parent 40cac5cf52
commit 31c74cec28
10 changed files with 205 additions and 15 deletions
+2
View File
@@ -1727,6 +1727,8 @@ P0, the real-server flow stops:
On the real server, `net.SendCreateCharacterPacket`/`SendDestroyCharacterPacket` raise NotImplementedError, and `SendSelectEmpirePacket`/`SendChangeNamePacket` send nothing.
- **Fixed:** `LoginSession` parses GC 6/8/9/10/11/17/107 in LoggingIn/Selecting/Entering (17 is dropped like Windows) and queues `SelectResult`s; `pump_python_net` turns them into OnCreateSuccess (create window), OnCreateFailure (create + select), OnDeleteSuccess/OnDeleteFailure/OnChangeName (select). The four senders build the original struct images (`wire::create_character`/`destroy_character`/`select_empire`/`change_name`, checked against Packet.h in `login_oracle_test`); a failed Send only logs, and the empire is stored after a successful Send.
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.