.png)
↓↓بسم الله الرحمن الرحيم↓↓
نخش في موضوعنا
دلوقتي بتبقي في السيرفر وتلاقي واحد عمل شيت انجين
وبيجيب كرباج 1 سوكت وفية جماية وحجات كتير
وجرمنتات وسي بي اس
نخش ع الحل
اولا هنخش على
هنخش على
هنبح عن الكود دة
ونقفلو من ال - ونبدلو ب دة
نخش في موضوعنا
دلوقتي بتبقي في السيرفر وتلاقي واحد عمل شيت انجين
وبيجيب كرباج 1 سوكت وفية جماية وحجات كتير
وجرمنتات وسي بي اس
نخش ع الحل
اولا هنخش على
هنخش على
PezoProject.Network.PacketHandler private static void AppendConnect private static void AppendConnect(Connect appendConnect, GameState client)
{
if (!client.LoggedIn)
{
string Message;
GameState aClient;
AccountTable Account = null;
if (client.JustCreated)
{
Message = "NEW_ROLE";
if (client.Account.EntityID != 0)
{
Message = "ANSWER_OK";
}
if (client.Account.State == AccountTable.AccountState.Banned)
{
Message = "You are banned.";
}
if (client.Account.State == AccountTable.AccountState.Banned)
{
Message = "You are banned.";
}
if (client.Account.State == AccountTable.AccountState.Aimbot)
{
Message = "You are banned.";
}
if (client.Account.State == AccountTable.AccountState.BadWords)
{
Message = "You are banned.";
}
if (client.Account.State == AccountTable.AccountState.Cheat)
{
Message = "You are banned.";
}
if (client.Account.State == AccountTable.AccountState.NotActivated)
{
Message = "You cannot login until your account is activated.";
}
if (Message == "ANSWER_OK")
{
if (Kernel.GamePool.ContainsKey(client.Account.EntityID))
{
aClient = null;
Kernel.GamePool.TryGetValue(client.Account.EntityID, out aClient);
if (aClient != null)
{
aClient.DoSetOffline = false;
aClient.Disconnect();
}
else
{
if (Kernel.GamePool.ContainsKey(client.Account.EntityID))
{
Kernel.GamePool.Remove(client.Account.EntityID);
}
if (Kernel.WasInGamePool.ContainsKey(client.Account.EntityID))
{
Kernel.WasInGamePool.Remove(client.Account.EntityID);
}
}
}
client.JustCreated = false;
client.ItemGive = true;
DoLogin(client);
return;
}
if (Message == "NEW_ROLE")
{
client.Send(new PezoProject.Network.GamePackets.Message(Message, "ALLUSERS", System.Drawing.Color.Orange, 0x835));
return;
}
client.Send(new PezoProject.Network.GamePackets.Message(Message, "ALLUSERS", System.Drawing.Color.Orange, 0x835));
}
if (Kernel.AwaitingPool.ContainsKey(appendConnect.Identifier))
{
Kernel.AwaitingPool.TryGetValue(appendConnect.Identifier, out Account);
Kernel.AwaitingPool.Remove(appendConnect.Identifier);
if (Account != null)
{
client.Account = Account;
Message = "NEW_ROLE";
if (client.Account.EntityID != 0)
{
Message = "ANSWER_OK";
}
if (Account.State == AccountTable.AccountState.Banned)
{
Message = "You are banned.";
}
if (Account.State == AccountTable.AccountState.Aimbot)
{
Message = "You are banned for 2 days for using Aimbot-SpeedHack.";
}
if (Account.State == AccountTable.AccountState.BadWords)
{
Message = "You are banned for 2 days for BadWords in (BroadCast) .";
}
if (Account.State == AccountTable.AccountState.Spam)
{
Message = "You are banned for 1 days for Spam .";
}
if (Account.State == AccountTable.AccountState.NotActivated)
{
Message = "You cannot login until your account is activated.";
}
if (Account.State == AccountTable.AccountState.Cheat)
{
Message = "You are idoit thats why you got banned CheatEngine not allowed here [Sheko mtl3bsh fe 3dad 3omrk Ya 3rs :D]!";
}
if (Message == "ANSWER_OK")
{
if (Kernel.GamePool.ContainsKey(client.Account.EntityID))
{
aClient = null;
Kernel.GamePool.TryGetValue(client.Account.EntityID, out aClient);
if (aClient != null)
{
aClient.DoSetOffline = false;
aClient.Disconnect();
}
else
{
if (Kernel.GamePool.ContainsKey(client.Account.EntityID))
{
Kernel.GamePool.Remove(client.Account.EntityID);
}
if (Kernel.WasInGamePool.ContainsKey(client.Account.EntityID))
{
Kernel.WasInGamePool.Remove(client.Account.EntityID);
}
}
}
client.SocketDisposed = false;
DoLogin(client);
}
else if (Message == "NEW_ROLE")
{
client.Send(new PezoProject.Network.GamePackets.Message(Message, "ALLUSERS", System.Drawing.Color.Orange, 0x835));
}
else
{
client.Send(new PezoProject.Network.GamePackets.Message(Message, "ALLUSERS", System.Drawing.Color.Orange, 0x835));
}
}
}
}
}
هل أعجبك الموضوع؟! ↓

0 التعليقات