Commit 959ea4c
committed
[Fix] Correct 4.3.4 LFG opcode values
m3's LFG opcode block used a placeholder 0x135E-0x1373 sequence
instead of real 4.3.4 (build 15595) values. Replace all wrong SMSG
and CMSG values with the ones verified against the client's own
dispatch table and serializer functions (client_opcode_table_434.tsv
/ Wow-64.c), add the four SMSG and one CMSG name m3 was missing
(SMSG_LFG_UPDATE_STATUS, SMSG_LFG_UPDATE_STATUS_NONE,
SMSG_LFG_BOOT_PROPOSAL_UPDATE, SMSG_LFG_SLOT_INVALID,
CMSG_LFG_LOCK_INFO_REQUEST), rename CMSG_LFG_PROPOSAL_RESPONSE ->
CMSG_LFG_PROPOSAL_RESULT and CMSG_LFG_BOOT_PLAYER_VOTE ->
CMSG_LFG_SET_BOOT_VOTE, and retire SMSG_LFG_UPDATE_PLAYER,
SMSG_LFG_UPDATE_PARTY, SMSG_LFG_UPDATE_SEARCH, CMSG_LFG_GET_PLAYER_INFO,
CMSG_LFG_GET_PARTY_INFO and CMSG_LFG_SET_NEEDS, which have no 4.3.4
counterpart (the first two collapsed into SMSG_LFG_UPDATE_STATUS with
an IsParty bit; GET_PLAYER_INFO/GET_PARTY_INFO merged into
CMSG_LFG_LOCK_INFO_REQUEST).
Fixes SMSG_OPEN_LFG_DUNGEON_FINDER from 0x0412 to 0x2C37 -- a live
bug: 0x0412 is actually CMSG_LFG_LOCK_INFO_REQUEST (client-to-server),
so the old value assigned an inbound opcode's slot to an outbound
packet under a false "4.3.4 15595" verified-comment.
Kept every LFG opcode commented out of OpcodeTable.cpp except
SMSG_OPEN_LFG_DUNGEON_FINDER and SMSG_LFG_DISABLED (both already
live); this corrects values only and enables nothing new.
Values not explicitly listed for rename (SMSG_LFG_SEARCH_RESULTS,
SMSG_ROLE_CHOSEN, CMSG_LFG_SEARCH_JOIN, CMSG_LFG_SEARCH_LEAVE) keep
their existing m3 names -- LFGHandler.cpp references them by name in
live (non-commented) packet-building code, so renaming would have
broken the build; only their numeric values were wrong.
Two retired/renamed opcodes were also referenced by name in that
same live code (SendLfgUpdate/SendLfgBootUpdate in LFGHandler.cpp,
reachable from LFGMgrProposal.cpp/LFGMgrQueue.cpp even though no
CMSG opcode currently dispatches into that path): updated those two
call sites to the new identifiers to keep the build green. Packet
body shape is untouched -- that is Phase 3 (packet layer rewrite),
not this value-only pass.
No duplicate values introduced: checked all 1407 enum entries.1 parent fd7759d commit 959ea4c
3 files changed
Lines changed: 35 additions & 37 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1002 | 1002 | | |
1003 | 1003 | | |
1004 | 1004 | | |
1005 | | - | |
| 1005 | + | |
1006 | 1006 | | |
1007 | 1007 | | |
1008 | 1008 | | |
1009 | 1009 | | |
1010 | | - | |
1011 | | - | |
1012 | | - | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
1013 | 1013 | | |
1014 | | - | |
1015 | | - | |
1016 | | - | |
1017 | | - | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
1018 | 1017 | | |
1019 | 1018 | | |
1020 | | - | |
1021 | 1019 | | |
1022 | 1020 | | |
1023 | 1021 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | | - | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
375 | 377 | | |
376 | 378 | | |
377 | 379 | | |
| |||
594 | 596 | | |
595 | 597 | | |
596 | 598 | | |
597 | | - | |
| 599 | + | |
598 | 600 | | |
599 | 601 | | |
600 | 602 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
593 | 593 | | |
594 | 594 | | |
595 | 595 | | |
596 | | - | |
597 | | - | |
| 596 | + | |
| 597 | + | |
598 | 598 | | |
599 | 599 | | |
600 | 600 | | |
| |||
752 | 752 | | |
753 | 753 | | |
754 | 754 | | |
755 | | - | |
| 755 | + | |
756 | 756 | | |
757 | 757 | | |
758 | 758 | | |
| |||
792 | 792 | | |
793 | 793 | | |
794 | 794 | | |
795 | | - | |
| 795 | + | |
796 | 796 | | |
797 | 797 | | |
798 | 798 | | |
| |||
961 | 961 | | |
962 | 962 | | |
963 | 963 | | |
964 | | - | |
965 | | - | |
966 | | - | |
967 | | - | |
968 | | - | |
969 | | - | |
970 | | - | |
971 | | - | |
972 | | - | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
973 | 973 | | |
974 | | - | |
975 | | - | |
976 | | - | |
977 | | - | |
978 | | - | |
979 | | - | |
980 | | - | |
981 | | - | |
982 | | - | |
983 | | - | |
984 | | - | |
985 | | - | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
986 | 984 | | |
987 | 985 | | |
988 | 986 | | |
| |||
1406 | 1404 | | |
1407 | 1405 | | |
1408 | 1406 | | |
1409 | | - | |
| 1407 | + | |
1410 | 1408 | | |
1411 | 1409 | | |
1412 | 1410 | | |
| |||
0 commit comments