فوكس كونكر - 🦊 - Conquer
(نسخة قابلة للطباعة من الموضوع)
https://fox.vpscairo.com/t1026
أنقر هنا لمشاهدة الموضوع بهيئته الأصلية

طريقه تشغيل السورس البروتو الي نزل
mohammed roshdy 01-04-2019 02:20 مساء
team-Taheys-hi
team.Taheys-Breaks
مش خصارة فيكو ولله عشان طبعاً الناس المحترمة الى معانا وشركة vpscairo
وإصدار السورس دة 
6711
لان الباتش فعلاً محمي بطريقة رهبة لاكن لكل مشكلة حل
والحل الى معانا انهاردة حل جميل الحمدلله  وصلنا لية 
بس ارجوكر تابعو معايا الشرح خطوة بخطوة
عشان ولله انا تعبت فى تنسيق الموضع دة كامل من الاول للأخر
team.Taheys-Breaks

الشرح 
team.Taheys-Breaks

أول حاجه هتخش ع 
Program.cs
Protection.LoaderProgram.Init();

امسحو
دور ع ده
#region GameServer|AuthServer
و بدله كله ب ده
​#region GameServer|AuthServer private static void GameServer_OnClientReceive(byte[] buffer, int length, ClientWrapper obj) { if (obj.Connector == null) { obj.Disconnect(); } else { GameState connector = obj.Connector as GameState; if (connector.Exchange) { connector.Exchange = false; connector.Action = (byte)1; EgyXos.Network.Cryptography.GameCryptography gameCryptography = new EgyXos.Network.Cryptography.GameCryptography(Encoding.Default.GetBytes(Constants.GameCryptographyKey)); byte[] numArray = new byte[length]; Array.Copy((Array)buffer, (Array)numArray, length); gameCryptography.Decrypt(numArray, length); bool flag = false; int offset = 0; for (int x = 0; x < 80; x++) { if (BitConverter.ToInt32(numArray, x) == 128) { if (length >= 205) { offset = x; flag = true; connector.Cryptography.Decrypt(buffer, length - 40); }                             else { offset = x; connector.Cryptography.Decrypt(buffer, length); } } } int int32 = BitConverter.ToInt32(buffer, offset); int index1 = offset + 4; if (int32 != 128) { connector.Disconnect(true); } else { byte[] bytes = new byte[128]; int index2 = 0; while (index2 < int32) { bytes[index2] = buffer[index1]; ++index2; ++index1; } string PublicKey = Encoding.Default.GetString(bytes); connector.Cryptography = connector.DHKeyExchange.HandleClientKeyPacket(PublicKey, connector.Cryptography); if (!flag) return; byte[] buffer1 = new byte[40]; Buffer.BlockCopy((Array)buffer, length - 40, (Array)buffer1, 0, 40); processData(buffer1, 40, connector); } } else processData(buffer, length, connector); } } private static void processData(byte[] buffer, int length, Client.GameState Client) { Client.Cryptography.Decrypt(buffer, length); Client.Queue.Enqueue(buffer, length); if (Client.Queue.CurrentLength > 1224) { Console.WriteLine("[Disconnect]Reason:The packet size is too big. " + Client.Queue.CurrentLength); Client.Disconnect(); return; } while (Client.Queue.CanDequeue()) { byte[] data = Client.Queue.Dequeue(); Network.PacketHandler.HandlePacket(data, Client); } } static void GameServer_OnClientConnect(ClientWrapper obj) { Client.GameState client = new Client.GameState(obj); client.Send(client.DHKeyExchange.CreateServerKeyPacket()); obj.Connector = client; } static void GameServer_OnClientDisconnect(ClientWrapper obj) { if (obj.Connector != null) (obj.Connector as Client.GameState).Disconnect(); else obj.Disconnect(); } public static void AuthServer_OnClientReceive(byte[] buffer, int length, ClientWrapper arg3) { var player = arg3.Connector as Client.AuthClient; AuthClient authClient = arg3.Connector as AuthClient; player.Cryptographer.Decrypt(buffer, length); player.Queue.Enqueue(buffer, length); while (player.Queue.CanDequeue()) { byte[] packet = player.Queue.Dequeue(); ushort len = BitConverter.ToUInt16(packet, 0); if (len == 312) { player.Info = new EgyXos.Network.AuthPackets.Authentication(); player.Info.Deserialize(packet); player.Account = new AccountTable(player.Info.Username); if (!LoginBruteForce.AcceptJoin(arg3.IP)) { Console.WriteLine(string.Concat(new string[] { "Client > ", player.Info.Username, "was blocked address", arg3.IP, "!" })); arg3.Disconnect(); break; } Forward Fw = new Forward(); //Console.WriteLine("UserName: {0} Password: {1} ServerName: {2} Online", player.Info.Username, player.Info.Password, player.Info.Server); if (player.Account.Username == player.Info.Username && player.Account.exists) { if (player.Account.Password == player.Info.Password && player.Account.exists) { Fw.Identifier = player.Account.GenerateKey(); Kernel.AwaitingPool[Fw.Identifier] = player.Account; Fw.IP = GameIP; Fw.Port = GamePort; } else { LoginBruteForce.ClientRegistred(arg3.IP); Fw.Type = Forward.ForwardType.InvalidInfo; } } else { Fw.Type = Forward.ForwardType.WrongAccount; } player.Send(Fw); } } } static void AuthServer_OnClientDisconnect(ClientWrapper obj) { obj.Disconnect(); } static void AuthServer_OnClientConnect(ClientWrapper obj) { Client.AuthClient authState; obj.Connector = (authState = new Client.AuthClient(obj)); authState.Cryptographer = new Network.Cryptography.AuthCryptography(); Network.AuthPackets.PasswordCryptographySeed pcs = new PasswordCryptographySeed(); pcs.Seed = Kernel.Random.Next(); authState.PasswordSeed = pcs.Seed; authState.Send(pcs); // Protection.LoaderProgram.CLientsPass.Clear();//////// //Protection.LoaderProgram.CLientsPass.Add(authState.PasswordSeed, ""); } internal static Client.GameState FindClient(string name) { return GamePool.FirstOrDefault(p => p.Entity.LoweredName == name); } #endregion
   [/code]
و بعدين دور ع
 
public GameState(ClientWrapper socket)

و بدله ب ده
public GameState(ClientWrapper socket) { Fake = socket == null; Queue = new ConcurrentPacketQueue(); PacketFilter = new PacketFilter() { { 10010, 10 }, { 10005, 7 }, { 2064, 4 }, { 2032, 3 }, { 1027, 2 } }; Attackable = false; Action = 0; _socket = socket; ExtraStatus = new System.Collections.Concurrent.ConcurrentDictionary<Role.Instance.RoleStatus.StatuTyp, Role.Instance.RoleStatus>(); // Cryptography = new GameCryptography(Program.Encoding.GetBytes(AuthServer.GameLogginKeyServer)); Cryptography = new GameCryptography(Program.Encoding.GetBytes(Constants.GameCryptographyKey)); DHKeyExchange = new Network.GamePackets.DHKeyExchange.ServerKeyExchange(); //SpiritBeadQ = new Game.Features.SpiritBeadQuest(this); ChiPowers = new List<ChiPowerStructure>(); Retretead_ChiPowers = new ChiPowerStructure[4]; //JiangPowers = new List<JiangPowerStructure>(); }
team.Taheys-Breaks
وللناس الى سئلت على القاعدة بتجيب ايرورات لما تيجي ترفعها على النافي كات 
p_1186dnjs11
وادخل شوف أسم السرفر فى ملفات الكونفج من القاعدة والسورس بردة عشان متكونش سيب اي حاجة قبل التشغيل

team.Taheys-Breaks
team.Taheys-Download
هنا باكيتات الدخول + الباتش بتاع السورس
لرؤية الروابط والمرفقات عليك الرد على الموضوع
لرؤية الروابط والمرفقات عليك الرد على الموضوع

باسورد فك الضغط عن الملف هو : co.vpscairo.com   
team.Taheys-Breaks
هنا رابط تحميل كلينت 3 دى خام 
لرؤية الروابط والمرفقات عليك الرد على الموضوع

team.Taheys-Breaks
هنا رابط تحميل السورس مدمج القاعدة
لرؤية الروابط والمرفقات عليك الرد على الموضوع

team.Taheys-Breaks
كلمة شكر تكفى
مقدم لكم محمد رشدى


 team.Taheys-Breaks
team-Taheys-bye
vpscairo.com_





















فوكس كونكر - 🦊 - Conquer

Powered by PBBoard ©Version 3.0.3