Five character slots: header 32 carries PLAYER_PER_ACCOUNT5

LOGIN_SUCCESS4 (32) now always reads the five-slot packet, replacing
the racy size-sniffing check; slot index bounds use
PLAYER_PER_ACCOUNT5; version mt20261029. Also skip short rows in
<map>_point.txt, which read past the token vector and crashed a warp.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-10-24 20:33:51 +09:00
co-authored by Claude Opus 5.5
parent da26f52df5
commit 1757643b07
9 changed files with 19 additions and 76 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ static const WireSize kPortSizes[] = {
{"TPacketGCAuthSuccess", sizeof(TPacketGCAuthSuccess)},
{"TSimplePlayerInformation", sizeof(TSimplePlayerInformation)},
{"TPacketGCLoginSuccess3", sizeof(TPacketGCLoginSuccess3)},
{"TPacketGCLoginSuccess4", sizeof(TPacketGCLoginSuccess4)},
{"TPacketGCLoginSuccess5", sizeof(TPacketGCLoginSuccess5)}, // header 32 carries five slots
{"TPacketGCLoginFailure", sizeof(TPacketGCLoginFailure)},
{"TPacketGCEmpire", sizeof(TPacketGCEmpire)},
{"TPacketCGEmpire", sizeof(TPacketCGEmpire)},