Skip to content

Commit

Permalink
test 3.3.5 legacy server
Browse files Browse the repository at this point in the history
  • Loading branch information
zz committed Dec 4, 2023
1 parent 06e74d2 commit 68e99d4
Show file tree
Hide file tree
Showing 40 changed files with 61,226 additions and 18 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -509,3 +509,4 @@ FodyWeavers.xsd
.idea/
*.DotSettings
debug.*.cs
lib/
2 changes: 1 addition & 1 deletion Framework/Constants/ClientVersionBuild.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public enum ClientVersionBuild
V3_3_3_11685 = 11685,
V3_3_3a_11723 = 11723,
V3_3_5_12213 = 12213,
V3_3_5a_12340 = 12340,
V3_3_5_12340 = 12340,

V4_0_1_13164 = 13164,
V4_0_1a_13205 = 13205,
Expand Down
10 changes: 9 additions & 1 deletion HermesProxy/Auth/AuthClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,15 @@ private void HandleRealmList(ByteBuffer packet)
for (ushort i = 0; i < realmsCount; i++)
{
RealmInfo realmInfo = new RealmInfo();
realmInfo.ID = i;

if (Settings.ServerBuild == ClientVersionBuild.V3_3_5_12340)
{
realmInfo.ID = (uint)(i + 1);//az start with 1
}
else
{
realmInfo.ID = i;
}

if (Settings.ServerBuild < ClientVersionBuild.V2_0_3_6299)
{
Expand Down
Loading

0 comments on commit 68e99d4

Please sign in to comment.