diff options
Diffstat (limited to 'contrib/Connection Patcher/Patches/Windows.cs')
| -rw-r--r-- | contrib/Connection Patcher/Patches/Windows.cs | 44 | 
1 files changed, 44 insertions, 0 deletions
diff --git a/contrib/Connection Patcher/Patches/Windows.cs b/contrib/Connection Patcher/Patches/Windows.cs new file mode 100644 index 00000000000..75c1067d4df --- /dev/null +++ b/contrib/Connection Patcher/Patches/Windows.cs @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org> + * Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program.  If not, see <http://www.gnu.org/licenses/>. + */ + +namespace Connection_Patcher.Patches +{ +    class Windows +    { +        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 class x64 +        { +            //public static byte[] BNet = { 0xB8, 0xD5, 0xF8, 0x7F, 0x82, 0x89, 0x41, 0x0C, 0x48, 0x8B, 0xC1, 0xC3 }; +            public static byte[] BNet = { }; +            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[] Signature = { 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0xE9 }; +            public static byte[] Signature = { }; +        } +    } +}  | 
