Skip to content

Commit

Permalink
Handle 'V4_4_0_53627' (TrinityCore#835)
Browse files Browse the repository at this point in the history
* Handle 'V4_4_0_53627'

- Fix SMSG_FEATURE_SYSTEM_STATUS_GLUE_SCREEN
- Add 4.4.0.53627 UpdateFields
- Add 4.4.0.53627 Opcodes
- Fix SMSG_UPDATE_OBJECT structure for 4.4.0.53627
- Add 4.4.0.53627 branch and client versions

* Fix SMSG_ENUM_CHARACTER_RESULT

* Fix SMSG_FEATURE_SYSTEM_STATUS

* Add new AccountDataType entries

* Fix CMSG_REQUEST_ACCOUNT_DATA
  • Loading branch information
MaxtorCoder authored Mar 12, 2024
1 parent 70aef18 commit 8ce202b
Show file tree
Hide file tree
Showing 62 changed files with 7,407 additions and 53 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ packages/*

wpp.tgz
cov-int

# Rider
.idea
6 changes: 6 additions & 0 deletions WowPacketParser.sln
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WowPacketParserModule.V3_4_
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WowPacketParserModule.V10_0_0_46181", "WowPacketParserModule.V10_0_0_46181\WowPacketParserModule.V10_0_0_46181.csproj", "{D3692488-3D75-42DF-92A3-B46389E2A1C8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WowPacketParserModule.V4_4_0_53627", "WowPacketParserModule.V4_4_0_53627\WowPacketParserModule.V4_4_0_53627.csproj", "{B2B862DF-4B00-4DCB-A4DB-7BC891AD09B5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -135,6 +137,10 @@ Global
{D3692488-3D75-42DF-92A3-B46389E2A1C8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D3692488-3D75-42DF-92A3-B46389E2A1C8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D3692488-3D75-42DF-92A3-B46389E2A1C8}.Release|Any CPU.Build.0 = Release|Any CPU
{B2B862DF-4B00-4DCB-A4DB-7BC891AD09B5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B2B862DF-4B00-4DCB-A4DB-7BC891AD09B5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B2B862DF-4B00-4DCB-A4DB-7BC891AD09B5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B2B862DF-4B00-4DCB-A4DB-7BC891AD09B5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
28 changes: 15 additions & 13 deletions WowPacketParser/Enums/AccountDataType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,20 @@ namespace WowPacketParser.Enums
{
public enum AccountDataType
{
GlobalConfigCache = 0,
PerCharacterConfigCache = 1,
GlobalBindingsCache = 2,
PerCharacterBindingsCache = 3,
GlobalMacrosCache = 4,
PerCharacterMacrosCache = 5,
PerCharacterLayoutCache = 6,
PerCharacterChatCache = 7,
GlobalTTSCache = 8,
PerCharacterTTSCache = 9,
GlobalFlaggedCache = 10,
PerCharacterFlaggedCache = 11,
PerCharacterClickBindingsCache = 12,
GlobalConfigCache = 0,
PerCharacterConfigCache = 1,
GlobalBindingsCache = 2,
PerCharacterBindingsCache = 3,
GlobalMacrosCache = 4,
PerCharacterMacrosCache = 5,
PerCharacterLayoutCache = 6,
PerCharacterChatCache = 7,
GlobalTTSCache = 8,
PerCharacterTTSCache = 9,
GlobalFlaggedCache = 10,
PerCharacterFlaggedCache = 11,
PerCharacterClickBindingsCache = 12,
GlobalEditModeCache = 13,
PerCharacterEditModeCache = 14,
}
}
1 change: 1 addition & 0 deletions WowPacketParser/Enums/ClientType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ public enum ClientType
BurningCrusadeClassic = 8,
WotLKClassic = 8,
Dragonflight = 9,
CataClassic = 9,
}
}
2 changes: 2 additions & 0 deletions WowPacketParser/Enums/ClientVersionBuild.cs
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,8 @@ public enum ClientVersionBuild
V3_4_3_51831 = 51831, // both live and ptr
V3_4_3_51943 = 51943, // both live and ptr
V3_4_3_52237 = 52237, // both live and ptr

V4_4_0_53627 = 53627, // beta

// Battle.net - should probably not mix this but oh well
BattleNetV37165 = 37165,
Expand Down
2 changes: 2 additions & 0 deletions WowPacketParser/Enums/Opcode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ public enum Opcode
CMSG_CHARACTER_RENAME_REQUEST,
CMSG_CHARACTER_UPGRADE_MANUAL_UNREVOKE_REQUEST,
CMSG_CHARACTER_UPGRADE_START,
CMSG_CHAR_CREATE_FINALIZE_REINCARNATION,
CMSG_CHAR_CUSTOMIZE,
CMSG_CHAR_DELETE,
CMSG_CHAR_FACTION_CHANGE,
Expand Down Expand Up @@ -2435,6 +2436,7 @@ public enum Opcode
SMSG_LIVE_REGION_KEY_BINDINGS_COPY_RESULT,
SMSG_LOAD_CUF_PROFILES, // Cata only
SMSG_LOAD_EQUIPMENT_SET,
SMSG_LOBBY_MATCHMAKER_LOBBY_ACQUIRED_SERVER,
SMSG_LOBBY_MATCHMAKER_PARTY_INFO,
SMSG_LOBBY_MATCHMAKER_PARTY_INVITE_REJECTED,
SMSG_LOBBY_MATCHMAKER_RECEIVE_INVITE,
Expand Down
5 changes: 5 additions & 0 deletions WowPacketParser/Enums/Version/Opcodes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
using WowPacketParser.Enums.Version.V4_3_2_15211;
using WowPacketParser.Enums.Version.V4_3_3_15354;
using WowPacketParser.Enums.Version.V4_3_4_15595;
using WowPacketParser.Enums.Version.V4_4_0_53627;
using WowPacketParser.Enums.Version.V5_0_4_16016;
using WowPacketParser.Enums.Version.V5_0_5_16048;
using WowPacketParser.Enums.Version.V5_1_0_16309;
Expand Down Expand Up @@ -866,6 +867,8 @@ public static ClientVersionBuild GetOpcodeDefiningBuild(ClientVersionBuild build
case ClientVersionBuild.V3_4_3_51943:
case ClientVersionBuild.V3_4_3_52237:
return ClientVersionBuild.V3_4_3_51666;
case ClientVersionBuild.V4_4_0_53627:
return ClientVersionBuild.V4_4_0_53627;
default:
return ClientVersionBuild.V3_3_5a_12340;
}
Expand Down Expand Up @@ -1030,6 +1033,8 @@ public static BiDictionary<Opcode, int> GetOpcodeDictionary(ClientVersionBuild b
return Opcodes_3_4_2.Opcodes(direction);
case ClientVersionBuild.V3_4_3_51666:
return Opcodes_3_4_3.Opcodes(direction);
case ClientVersionBuild.V4_4_0_53627:
return Opcodes_4_4_0.Opcodes(direction);
default:
return Opcodes_3_3_5.Opcodes(direction);
}
Expand Down
4 changes: 4 additions & 0 deletions WowPacketParser/Enums/Version/UpdateFields.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1075,6 +1075,10 @@ private static string GetUpdateFieldDictionaryBuildName(ClientVersionBuild build
{
return "V3_4_3_51666";
}
case ClientVersionBuild.V4_4_0_53627:
{
return "V4_4_0_53627";
}
default:
{
return "V3_3_5a_12340";
Expand Down
Loading

0 comments on commit 8ce202b

Please sign in to comment.