diff options
author | Shauren <shauren.trinity@gmail.com> | 2014-05-18 22:29:26 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2014-05-18 22:29:26 +0200 |
commit | a078c1555c7de6bf2d770f1091fbce46deaae427 (patch) | |
tree | 16e3766a4d385bbb2b9ede08f12b5f466add3d41 /contrib/Connection Patcher/Patches/Windows.cs | |
parent | 1094783715c16faf7553d2391b8bf23bfc51524d (diff) |
Contrib/Patcher: Make the client use realmListBn config instead of having to deal with portal and hosts rewrites
Diffstat (limited to 'contrib/Connection Patcher/Patches/Windows.cs')
-rw-r--r-- | contrib/Connection Patcher/Patches/Windows.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/Connection Patcher/Patches/Windows.cs b/contrib/Connection Patcher/Patches/Windows.cs index 75c1067d4df..feb10507084 100644 --- a/contrib/Connection Patcher/Patches/Windows.cs +++ b/contrib/Connection Patcher/Patches/Windows.cs @@ -22,12 +22,13 @@ namespace Connection_Patcher.Patches { public static class x86 { - //public static byte[] BNet = { 0xC7, 0x40, 0x0C, 0xD5, 0xF8, 0x7F, 0x82 }; public static byte[] BNet = { 0x89, 0x48, 0x08, 0xC7, 0x40, 0x0C, 0xD5, 0xF8, 0x7F, 0x82, 0x90 }; public static byte[] Send = { 0xBA, 0x00, 0x00, 0x00, 0x00, 0x90, 0xEB }; public static byte[] Recv = { 0xB8, 0x00, 0x00, 0x00, 0x00 }; public static byte[] Password = { 0x75 }; public static byte[] Signature = { 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0xE9 }; + public static byte[] RealmList = { 0x08 }; + public static byte[] RealmListBn = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; } public static class x64 @@ -37,6 +38,7 @@ namespace Connection_Patcher.Patches public static byte[] Send = { 0x45, 0x33, 0xED, 0x90, 0x90, 0x90 }; public static byte[] Recv = { 0xB8, 0x00, 0x00, 0x00, 0x00, 0x90 }; public static byte[] Password = { 0x75 }; + public static byte[] RealmList = { 0x4C, 0x8B, 0xEA }; //public static byte[] Signature = { 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0xE9 }; public static byte[] Signature = { }; } |