قديم 2019-07-26, 09:14 PM
المشاركة #2  
Tefa
  • غير متواجد
افتراضي رد: مشكله في التوبات
هتدخل علي
Constants.cs

هتضيف الكود ده

كود:
 public static readonly System.Collections.Generic.List<ushortForcetc = new System.Collections.Generic.List<ushort> { 
            
2536,8541,2529,2528,2538,2222,2527,321,6565,9575,3071,1038,3820,12345
            
//توبات عشان لو قفل جواها يفتح في التون
         
}; 

عدل الارقام الي فيه بارقام المابات عندك بتاعت الكوستات
بعدها ادخل علي
PacketHandler.cs
سيرش علي
كود:
 static void DoLogin

ارمي ده جواها

كود:
 #region At Quest by rider
                
                ///////////////////////////////////////////////////////////

                
if (Constants.Forcetc.Contains(client.Entity.MapID))
                    
client.Entity.Teleport(1002300279);
                
////////////////////////////////////
                #endregion 

بس كده دعوه حلوه بقا <3

قديم 2019-07-28, 04:42 PM
المشاركة #3  
Adel Abd El Hay
  • غير متواجد
افتراضي رد: مشكله في التوبات
تمام انا ضيفت الجزء الاول اللي في Constants.cs
لاكن انا السورس عندي تكويد msg مش موجود فيه PacketHandler.cs
ف انا ضيفت تعديل PacketHandler.cs في msgHandler.cs
اضاف لاكن كلمت if تحتها خط اخضر ومكتوب unrechabel code detected
ايه الحل فيها او ايه المكان الصح اللي اضيف فيه التعديل
صوره



كود:
                    #region At Quest by rider
                    
{
                        if (
Constants.Forcetc.Contains(client.Player.MapID))
                            
client.Player.Teleport(1002300279);
                    }
                    
#endregion 


قديم 2019-07-28, 10:01 PM
المشاركة #4  
Tefa
  • غير متواجد
افتراضي رد: مشكله في التوبات
اسف مخدتش بالي ان سورس مسج MsgGeneralData.cs
هتبحث عن
كود:
 public static void DoLogin(GameState client

تحته هتحط

كود:
   #region At Quest by rider
                    
                        
if (Constants.Forcetc.Contains(client.Player.MapID))
{                       
     
client.Player.Teleport(1002300279);
                    
}
                    
#endregion 


قديم 2019-07-30, 09:37 PM
المشاركة #5  
Adel Abd El Hay
  • غير متواجد
افتراضي رد: مشكله في التوبات
تمام تسلم ياحبي بس معلش ممكن توضيح بسيط لما بحط الكود دا بحصل عندي اخطاء ممكن تقولي احطوا في انهي سطر بالظبط او بعد كلمت ايه؟

قديم 2019-07-31, 09:33 AM
المشاركة #6  
Tefa
  • غير متواجد
افتراضي رد: مشكله في التوبات
اسف كود اتحط غلط

اتفضل

كود:
   #region At Quest by rider 
                     
                        
if (Constants.Forcetc.Contains(client.Player.MapID)) 
{                        
     
client.Player.Teleport(1002300279); 
                     

                    
#endregion 


قديم 2019-08-01, 11:52 AM
المشاركة #7  
Adel Abd El Hay
  • غير متواجد
افتراضي رد: مشكله في التوبات
طيب معلش انا هحط الكلاس كلو وعدلي عليه وارفعو هنا تاني لان انا حطيط الريجون الاخير دا ف كذا مكان بس بردو نفس المشكله

كود:
using System;
using System.IO;
using System.Linq;
using System.Text;
using MoDY.Game;
using System.Drawing;
using MoDY.Client;
using MoDY.Interfaces;
using MoDY.Game.Features;
using System.Collections.Generic;
using System.Collections.Concurrent;
using Hard.Network.GamePackets.Union;
using MoDY.Network.GamePackets.Perfection;

namespace 
MoDY.Network.GamePackets
{
    public static class 
GeneralData
    
{
        public static 
string ReadString(byte[] dataushort positionushort count)
        {
            return 
Server.Encoding.GetString(datapositioncount);
            
//StringBuilder builder = new StringBuilder();
            //for (byte i = 0; i < count; i = (byte)(i + 1))
            //{
            //    if (i > data.Length)
            //    {
            //        break;
            //    }
            //    byte num2 = data[(ushort)(i + position)];
            //    builder.Append((char)num2);
            //}
            //return builder.ToString().Replace("\0", "").Replace("\r", "");
        
}
        public static 
void ReincarnationHash(GameState client)
        {
            if (
Kernel.ReincarnatedCharacters.ContainsKey(client.Player.UID))
            {
                if (
client.Player.Level >= 110 && client.Player.Reborn == 2)
                {
                    
ushort stats 0;
                    
uint lev1 client.Player.Level;
                    
Game.Features.Reincarnation.ReincarnateInfo info Kernel.ReincarnatedCharacters[client.Player.UID];
                    
client.Player.Level info.Level;
                    
client.Player.Experience info.Experience;
                    
Kernel.ReincarnatedCharacters.Remove(info.UID);
                    
Database.ReincarnationTable.RemoveReincarnated(client.Player);
                    
stats = (ushort)(((client.Player.Level lev1) * 3) - 3);
                    
client.Player.Atributes += stats;
                }
            }
        }
        public static 
void PrintPacket(byte[] packet)
        {
            foreach (
byte D in packet)
            {
                
Console.Write((Convert.ToString(D16)).PadLeft(2'0') + " ");
            }
            
Console.Write("\n\n");
        }
        public static 
bool PassLearn(byte IDPlayer Player)
        {
            
bool Pass false;
            switch ((
SubPro.ProID)ID)
            {
                case 
SubPro.ProID.MartialArtist:
                    {
                        if (
Player.Owner.Inventory.Contains(7212595))
                        {
                            
Player.Owner.Inventory.Remove(7212595);
                            
Pass true;
                            
Player.Update(MsgName.Mode.Effect"get_special_dancer"true);
                        }
                        break;
                    }
                case 
SubPro.ProID.Warlock:
                    {
                        if (
Player.Owner.Inventory.Contains(72126110))
                        {
                            
Player.Owner.Inventory.Remove(72126110);
                            
Pass true;
                            
Player.Update(MsgName.Mode.Effect"get_special_dancer"true);
                        }
                        break;
                    }
                case 
SubPro.ProID.ChiMaster:
                    {
                        if (
Player.Owner.Inventory.Contains(7111881))
                        {
                            
Player.Owner.Inventory.Remove(7111881);
                            
Pass true;
                            
Player.Update(MsgName.Mode.Effect"get_special_dancer"true);
                        }
                        break;
                    }
                case 
SubPro.ProID.Sage:
                    {
                        if (
Player.Owner.Inventory.Contains(72308720))
                        {
                            
Player.Owner.Inventory.Remove(72308720);
                            
Pass true;
                            
Player.Update(MsgName.Mode.Effect"get_special_dancer"true);
                        }
                        break;
                    }
                case 
SubPro.ProID.Apothecary:
                    {
                        if (
Player.Owner.Inventory.Contains(108800210))
                        {
                            
Player.Owner.Inventory.Remove(108800210);
                            
Pass true;
                            
Player.Update(MsgName.Mode.Effect"get_special_dancer"true);
                        }
                        break;
                    }
                case 
SubPro.ProID.Performer:
                    {
                        if (
Player.Owner.Inventory.Contains(75300315) || Player.Owner.Inventory.Contains(7116791))
                        {
                            if (
Player.Owner.Inventory.Contains(75300315))
                            {
                                
Player.Owner.Inventory.Remove(75300315);
                            }
                            else if (
Player.Owner.Inventory.Contains(7116791))
                            {
                                
Player.Owner.Inventory.Remove(7116791);
                            }
                            
Pass true;
                            
Player.Update(MsgName.Mode.Effect"get_special_dancer"true);
                            break;
                        }
                        break;
                    }
                case 
SubPro.ProID.Wrangler:
                    {
                        if (
Player.Owner.Inventory.Contains(72390340))
                        {
                            
Player.Owner.Inventory.Remove(72390340);
                            
Pass true;
                            
Player.Update(MsgName.Mode.Effect"get_special_dancer"true);
                        }
                        break;
                    }
            }
            return 
Pass;
        }
        public static 
void ChangeAppearance(MsgAction actionGameState client)
        {
            if (
client.Player.Tournament_Signed && ((Enums.AppearanceType)action.dwParam) != Enums.AppearanceType.Garment) return;
            
action.UID client.Player.UID;
            
client.Player.Appearance = (Enums.AppearanceType)action.dwParam;
            
client.SendScreen(actiontrue);
        }
        public static 
bool SwitchEquipmentold(GameState clientbool toAlternative)
        {
            if (
client.Player.ContainsFlag((ulong)MsgUpdate.Flags.Fly))
            {
                
client.Send("You cannot switch equipment during flight.");
                return 
false;
            }
            if (
client.Equipment.Free(MsgItemInfo.AlternateRightWeapon) && !client.Equipment.Free(MsgItemInfo.AlternateLeftWeapon))
            {
                
client.Send("Invalid weapons! Missing the important weapons? Unequip the alternative left weapon.");
                return 
false;
            }
            foreach (var 
eq in client.Equipment.Objects)
            {
                if (
eq != null)
                {
                    var 
itemInfo Database.ConquerItemInformation.BaseInformations[eq.ID];
                    
#region Check For Item 4 + 24 + 5 + 25
                    
if (toAlternative)
                    {
                        if (!(
eq.Position == MsgItemInfo.RightWeapon || eq.Position == MsgItemInfo.LeftWeapon))
                        {
                            if (
eq.ID >= 611000 && eq.ID <= 611439 || eq.ID >= 614000 && eq.ID <= 614439 || eq.ID >= 613000 && eq.ID <= 613429 || eq.ID >= 617000 && eq.ID <= 617439 || eq.ID >= 616000 && eq.ID <= 616439 || eq.ID >= 601000 && eq.ID <= 601439 || eq.ID >= 610000 && eq.ID <= 610439)
                            {
                                
client.Send("You cannot switch equipment because" + ((Enums.ItemPositionName)eq.Position).ToString().Replace("_""~") + "'" + (string)((eq.Position 20) == MsgItemInfo.Boots "" "s") + " stats are not compatible with you (level or profession).");
                                return 
false;
                            }
                        }
                        else if (
eq.Position == MsgItemInfo.RightWeapon || eq.Position == MsgItemInfo.LeftWeapon)
                        {
                            if (
eq.ID >= 611000 && eq.ID <= 611439 || eq.ID >= 614000 && eq.ID <= 614439 || eq.ID >= 613000 && eq.ID <= 613429 || eq.ID >= 617000 && eq.ID <= 617439 || eq.ID >= 616000 && eq.ID <= 616439 || eq.ID >= 601000 && eq.ID <= 601439 || eq.ID >= 610000 && eq.ID <= 610439)
                            {
                                
client.Send("You cannot switch equipment because" + ((Enums.ItemPositionName)eq.Position).ToString().Replace("_""~") + "'" + (string)((eq.Position 20) == MsgItemInfo.Boots "" "s") + " stats are not compatible with you (level or profession).");
                                return 
false;
                            }
                        }
                    }
                    
#endregion
                    
if (!((ItemHandler.EquipPassLvlReq(itemInfoclient) || ItemHandler.EquipPassRbReq(itemInfoclient)) && ItemHandler.EquipPassJobReq(itemInfoclient)))
                    {
                        
client.Send(new MsgTalk("You cannot switch equipment because " + ((Enums.ItemPositionName)eq.Position).ToString().Replace("_""~") + "'" + (string)((eq.Position 20) == MsgItemInfo.Boots "" "s") + " stats are not compatible with you (level or profession).""SYSTEM"Color.RedMsgTalk.Talk));
                        return 
false;
                    }
                }
            }
            
client.Player.AttackPacket null;
            
client.Player.RemoveFlag((ulong)MsgUpdate.Flags.Fly);
            
client.AlternateEquipment toAlternative;
            
client.LoadItemStats();
            
client.Equipment.UpdateEntityPacket();
            
MsgPlayerAttriInfo Stats = new MsgPlayerAttriInfo(client);
            
client.Send(Stats.ToArray());
            return 
true;
        }
        public static 
bool SwitchEquipment(GameState clientbool toAlternative)
        {
            if (
client.Player.ContainsFlag((ulong)MsgUpdate.Flags.Fly))
            {
                
client.Send("You cannot switch equipment during flight.");
                return 
false;
            }
            if (
client.Equipment.Free(MsgItemInfo.AlternateRightWeapon) && !client.Equipment.Free(MsgItemInfo.AlternateLeftWeapon))
            {
                
client.Send("Invalid weapons! Missing the important weapons? Unequip the alternative left weapon.");
                return 
false;
            }
            foreach (var 
eq in client.Equipment.Objects)
            {
                if (
eq != null)
                {
                    if (!
Database.ConquerItemInformation.BaseInformations.ContainsKey(eq.ID))
                    {
                        
client.Send("You cannot switch equipment because " + ((Enums.ItemPositionName)eq.Position).ToString().Replace("_""~") + "'" + ((eq.Position 20) == MsgItemInfo.Boots "" "s") + " stats are not compatible with you (level or profession).");
                        return 
false;
                    }
                    var 
itemInfo Database.ConquerItemInformation.BaseInformations[eq.ID];
                    if (!((
ItemHandler.EquipPassLvlReq(itemInfoclient) || ItemHandler.EquipPassRbReq(itemInfoclient)) && ItemHandler.EquipPassJobReq(itemInfoclient)))
                    {
                        
client.Send("You cannot switch equipment because " + ((Enums.ItemPositionName)eq.Position).ToString().Replace("_""~") + "'" + ((eq.Position 20) == MsgItemInfo.Boots "" "s") + " stats are not compatible with you (level or profession).");
                        return 
false;
                    }
                }
            }
            
client.Player.AttackPacket null;
            if (
client.Player.ContainsFlag3((ulong)MsgUpdate.Flags3.PathOfShadow))
                
client.Player.RemoveFlag3((ulong)MsgUpdate.Flags3.PathOfShadow);
            if (
client.Player.ContainsFlag((ulong)MsgUpdate.Flags.Fly))
                
client.Player.RemoveFlag((ulong)MsgUpdate.Flags.Fly);
            
client.AlternateEquipment toAlternative;
            
client.LoadItemStats();
            
client.Equipment.UpdateEntityPacket();
            
MsgPlayerAttriInfo Stats = new MsgPlayerAttriInfo(client);
            
client.Send(Stats.ToArray());
            return 
true;
        }
        public static 
void LevelUpSpell(MsgAction actionGameState client)
        {
            
ushort spellID = (ushort)action.dwParam;
            
ISkill spell null;
            if (
client.Spells.TryGetValue(spellIDout spell))
            {
                var 
spellInfo Database.SpellTable.GetSpell(spellIDclient);
                if (
spellInfo != null)
                {
                    if (
client.Trade.InTrade) return;
                    
uint CpsCost 0;
                    
#region Costs
                    
switch (spell.Level)
                    {
                        case 
0CpsCost 27; break;
                        case 
1CpsCost 81; break;
                        case 
2CpsCost 122; break;
                        case 
3CpsCost 181; break;
                        case 
4CpsCost 300; break;
                        case 
5CpsCost 400; break;
                        case 
6CpsCost 500; break;
                        case 
7CpsCost 600; break;
                        case 
8CpsCost 800; break;
                        case 
9CpsCost 1000; break;
                    }
                    
#endregion
                    
int max Math.Max((int)spell.Experience1);
                    
int percentage 100 - (int)(max Math.Max((spellInfo.NeedExperience 100), 1));
                    
CpsCost = (uint)(CpsCost percentage 100);
                    if (
client.Player.ConquerPoints >= CpsCost)
                    {
                        
client.Player.ConquerPoints -= CpsCost;
                        
spell.Level++;
                        if (
spell.Level == spell.PreviousLevel 2)
                            
spell.Level spell.PreviousLevel;
                        
spell.Experience 0;
                        
spell.Send(client);
                    }
                }
            }
        }
        public static 
void LevelUpProficiency(MsgAction actionGameState client)
        {
            
ushort proficiencyID = (ushort)action.dwParam;
            
IProf proficiency null;
            if (
client.Proficiencies.TryGetValue(proficiencyIDout proficiency))
            {
                if (
proficiency.Level != 20)
                {
                    if (
client.Trade.InTrade) return;
                    
uint cpCost 0;
                    
#region Costs
                    
switch (proficiency.Level)
                    {
                        case 
1cpCost 28; break;
                        case 
2cpCost 28; break;
                        case 
3cpCost 28; break;
                        case 
4cpCost 28; break;
                        case 
5cpCost 28; break;
                        case 
6cpCost 55; break;
                        case 
7cpCost 81; break;
                        case 
8cpCost 135; break;
                        case 
9cpCost 162; break;
                        case 
10cpCost 270; break;
                        case 
11cpCost 324; break;
                        case 
12cpCost 324; break;
                        case 
13cpCost 324; break;
                        case 
14cpCost 324; break;
                        case 
15cpCost 375; break;
                        case 
16cpCost 548; break;
                        case 
17cpCost 799; break;
                        case 
18cpCost 1154; break;
                        case 
19cpCost 1420; break;
                    }
                    
#endregion
                    
uint needExperience Database.DataHolder.ProficiencyLevelExperience(proficiency.Level);
                    
int max Math.Max((int)proficiency.Experience1);
                    
int percentage 100 - (int)(max / (needExperience 100));
                    
cpCost = (uint)(cpCost percentage 100);
                    if (
client.Player.ConquerPoints >= cpCost)
                    {
                        
client.Player.ConquerPoints -= cpCost;
                        
proficiency.Level++;
                        if (
proficiency.Level == proficiency.PreviousLevel 2)
                        {
                            
proficiency.Level proficiency.PreviousLevel;
                            
Database.DataHolder.ProficiencyLevelExperience((byte)(proficiency.Level 1));
                        }
                        
proficiency.Experience 0;
                        
proficiency.Send(client);
                    }
                }
            }
        }
        public static 
void Revive(MsgAction actionGameState client)
        {



            if (
client.Player.ContainsFlag((ulong)MsgUpdate.Flags2.SoulShackle)) return;
            if (
Time32.Now >= client.Player.DeathStamp.AddSeconds(18) && client.Player.Dead)
            {



                
client.Player.Action Game.Enums.ConquerAction.None;
                
client.ReviveStamp Time32.Now;
                
client.Attackable false;
                
client.Player.TransformationID 0;
                
client.Player.AutoRev 0;
                
client.Player.RemoveFlag((ulong)MsgUpdate.Flags.Dead);
                
client.Player.RemoveFlag((ulong)MsgUpdate.Flags.Ghost);
                
client.Player.Hitpoints client.Player.MaxHitpoints;
                if (
client.Player.MapID == 2071)
                {
                    
client.Player.Teleport(207145130);
                    return;
                }
                if (
client.Player.MapID == 1509)
                {
                    
client.Player.Teleport(150910445);
                    return;
                }
                if (
client.Player.MapID == 2291)
                {
                    
client.Player.Teleport(22918765);
                    return;
                }
                if (
client.Player.MapID == 2292)
                {
                    
client.Player.Teleport(22928765);
                    return;
                }
                if (
client.Player.MapID == 2293)
                {
                    
client.Player.Teleport(22938765);
                    return;
                }
                if (
client.Player.MapID == 2294)
                {
                    
client.Player.Teleport(22948765);
                    return;
                }


                if (
client.Player.MapID == 1518)
                {
                    
client.Player.Teleport(1002300278);
                    return;
                }
                
bool ReviveHere action.dwParam == 1;

                if (
client.Spells.ContainsKey(12660))
                {
                    
client.XPCount client.Player.XPCountTwist;
                }
                var 
mapstatus Database.MapsTable.MapInformations[client.Map.ID].Status;
                if (
ReviveHere && (mapstatus == 741))
                {
                    
client.Player.Teleport(1002303278);
                    return;
                }
                if (
client.Player.MapID == 1038 && DateTime.Now.DayOfWeek == DayOfWeek.Sunday)
                {
                    
client.Player.Teleport(1002300300);
                }
                else if (
client.Player.MapID == 3055)
                {
                    
client.Player.Teleport(3055117135);
                }

                else if (
ReviveHere && client.Player.HeavenBlessing && client.Player.MapID != 14785 && !Constants.NoRevHere.Contains(client.Player.MapID))
                {
                    
client.Send(new MsgMapInfo()
                    {
                        
BaseID client.Map.BaseID,
                        
ID client.Map.ID,
                        
Status Database.MapsTable.MapInformations[client.Map.ID].Status
                    
});
                }
                else
                {
                    
ushort[] Point Database.DataHolder.FindReviveSpot(client.Map.ID);
                    
client.Player.Teleport(Point[0], Point[1], Point[2]);
                }
            }
        }
        public static 
void UsePortal(MsgAction actionGameState client)
        {
            
client.Player.Action Game.Enums.ConquerAction.None;
            
client.ReviveStamp Time32.Now;
            
client.Attackable false;
            
ushort portal_X = (ushort)(action.dwParam 65535);
            
ushort portal_Y = (ushort)(action.dwParam >> 16);
            
string portal_ID portal_X.ToString() + ":" portal_Y.ToString() + ":" client.Map.ID.ToString();
            if (
client.Account.State == Database.AccountTable.AccountState.Administrator)
                
client.Send("Portal ID: " portal_ID);
            foreach (
Game.Portal portal in client.Map.Portals)
            {
                if (
Kernel.GetDistance(portal.CurrentXportal.CurrentYclient.Player.Xclient.Player.Y) <= 4)
                {
                    
client.Player.PrevX client.Player.X;
                    
client.Player.PrevY client.Player.Y;
                    
client.Player.Teleport(portal.DestinationMapIDportal.DestinationXportal.DestinationY);
                    return;
                }
            }
            
client.Player.Teleport(1002300278);
        }
        public static 
void ObserveEquipment(MsgAction actionGameState client)
        {
            if (
ItemHandler.NulledClient(client)) return;
            
GameState ObserverObservee;
            if (
Kernel.GamePool.TryGetValue(action.UIDout Observer) && Kernel.GamePool.TryGetValue(action.dwParamout Observee))
            {
                if (
action.ID != MsgAction.Mode.ObserveEquipment)
                    
Observer.Send(Observee.Player.WindowSpawn());
                
MsgPlayerAttriInfo Stats = new MsgPlayerAttriInfo(Observee);
                
Observer.Send(Stats.ToArray());
                for (
Byte pos = (Byte)MsgItemInfo.Headpos <= MsgItemInfo.AlternateGarmentpos++)
                {
                    
MsgItemInfo i Observee.Equipment.TryGetItem((Byte)pos);
                    if (
!= null)
                    {
                        if (
i.IsWorn)
                        {
                            
MsgItemInfoEx2 view = new MsgItemInfoEx2();
                            
view.CostType MsgItemInfoEx2.CostTypes.ViewEquip;
                            
view.Identifier Observee.Player.UID;
                            
view.Position = (ItemHandler.Positions)(pos 20);
                            
view.ParseItem(i);
                            
Observer.Send(view);
                            
i.SendExtras(client);
                        }
                    }
                }
                
MsgName Name = new MsgName(true);
                
Name.Action MsgName.Mode.QuerySpouse;
                
Name.UID client.Player.UID;
                
Name.TextsCount 1;
                
Name.Texts = new List<string>()
                {
                    
Observee.Player.Spouse
                
};
                
Observer.Send(Name);
                if (
action.ID == MsgAction.Mode.ObserveEquipment)
                {
                    
Name.Action MsgName.Mode.Effect;
                    
Observer.Send(Name);
                }
                
Observer.Send(action);
                
Observee.Send(Observer.Player.Name " is checking your equipment");
            }
        }
        public static 
void ChangeFace(MsgAction actionGameState client)
        {
            if (
client.Player.Money >= 500)
            {
                
uint newface action.dwParam;
                if (
client.Player.Body 2000)
                {
                    
newface newface 200 newface 200 newface;
                    
client.Player.Face = (ushort)newface;
                }
                else
                {
                    
newface newface 200 newface 200 newface;
                    
client.Player.Face = (ushort)newface;
                }
            }
        }
        public static 
void CheckForRaceItems(GameState client)
        {
            
StaticEntity item;
            if (
client.Screen.GetRaceObject(=> { return Kernel.GetDistance(client.Player.Xclient.Player.Yp.Xp.Y) <= 1; }, out item))
            {
                if (
item == null) return;
                if (!
item.Viable) return;
                var 
type item.Type;
                
bool successful false;
                if (
type == Enums.RaceItemType.FrozenTrap && !item.QuestionMark)
                {
                    if (
item.SetBy != client.Player.UID)
                    {
                        
client.ApplyRacePotion(typeuint.MaxValue);
                        
client.Map.RemoveStaticItem(item);
                        
successful true;
                    }
                }
                else
                {
                    if (
client.Potions == nullclient.Potions = new UsableRacePotion[5];
                    for (
ushort i 0client.Potions.Lengthi++)
                    {
                        var 
pot client.Potions[i];
                        if (
pot == null)
                        {
                            
pot = (client.Potions[i] = new UsableRacePotion());
                            
pot.Type type;
                            
pot.Count item.Level;
                            
client.Send(new MsgRaceTrackProp(true)
                            {
                                
PotionType type,
                                
Amount = (ushort)pot.Count,
                                
Location = (ushort)(1)
                            });
                            
successful true;
                            break;
                        }
                        else if (
pot.Type == type)
                        {
                            
pot.Count += item.Level;
                            
client.Send(new MsgRaceTrackProp(true)
                            {
                                
PotionType type,
                                
Amount = (ushort)pot.Count,
                                
Location = (ushort)(1)
                            });
                            
successful true;
                            break;
                        }
                    }
                }
                if (
successful)
                {
                    
client.SendScreen(new MsgName(true)
                    {
                        
Texts = new List<string>() { "eidolon" },
                        
UID client.Player.UID,
                        
Action MsgName.Mode.Effect
                    
});
                    
client.RemoveScreenSpawn(itemtrue);
                    
item.Viable false;
                    
item.NotViableStamp Time32.Now;
                }
            }
        }
        public static 
void PlayerJump(MsgAction actionGameState client)
        {
            if (
client.Player.Dead || client.Player.ContainsFlag(((ulong)MsgUpdate.Flags.Dead)) || client.Player.ContainsFlag((ulong)MsgUpdate.Flags.Ghost))
            {
                return;
            }
            if (
client.ProgressBar != null)
                
client.ProgressBar.End(client);
            
client.Player.KillCount2 0;
            
client.Player.SpiritFocus false;
            
ushort oldX client.Player.X;
            
ushort oldY client.Player.Y;
            
client.Player.RemoveFlag((ulong)MsgUpdate.Flags.Intensify);
            
client.Player.IntensifyPercent 0;
            if (
client.Player.OnCheckGuard)
            {
                
client.Player.OnCheckGuard false;
                
client.MessageBox("Unable~to~check!"nullnull0);
                
DialyQuestsEffect.CheckCancelGuard(client);
                
client.Player.CheckGuardSec 0;
            }

            if (
client.Team == null)
            {
                if (
client.Player.SpookMap != null && client.Player.MapID == client.Player.SpookMap.ID && Kernel.GetDistance(client.Player.Xclient.Player.Y3624) < 25)
                {
                    ((
INpc)new NpcSpawn
                    
{
                        
UID 8798,
                        
Mesh 7610,
                        
Type Enums.NpcType.Talker,
                        
36,
                        
24,
                        
MapID client.Player.MapID
                    
}).SendSpawn(client);

                    ((
INpc)new NpcSpawn
                    
{
                        
UID 8308,
                        
Mesh 2507,
                        
Type Enums.NpcType.Talker,
                        
25,
                        
30,
                        
MapID client.Player.MapID
                    
}).SendSpawn(client);
                }
            }
            else
            {
                if (
client.Team.SpookMap != null && client.Player.MapID == client.Team.SpookMap.ID && Kernel.GetDistance(client.Player.Xclient.Player.Y3624) < 25)
                {
                    ((
INpc)new NpcSpawn
                    
{
                        
UID 8798,
                        
Mesh 7610,
                        
Type Enums.NpcType.Talker,
                        
36,
                        
24,
                        
MapID client.Player.MapID
                    
}).SendSpawn(client);

                    ((
INpc)new NpcSpawn
                    
{
                        
UID 8308,
                        
Mesh 2507,
                        
Type Enums.NpcType.Talker,
                        
25,
                        
30,
                        
MapID client.Player.MapID
                    
}).SendSpawn(client);
                }
            }
            if (
client.Player.MapID == 3846 && Kernel.SpawnNemesis2)
            {
                foreach (
INpc Npc in client.Map.Npcs.Values)
                {
                    if (
Npc.MapID == 3846 && (Npc.UID == 3080) && Kernel.GetDistance(client.Player.Xclient.Player.YNpc.XNpc.Y) < 17)
                    {
                        
Npc.SendSpawn(client);
                    }
                }
            }
            if (
client.Player.MapID == 1927 && Kernel.SpawnBanshee2)
            {
                foreach (
INpc Npc in client.Map.Npcs.Values)
                {
                    if (
Npc.MapID == 1927 && (Npc.UID == 2999) && Kernel.GetDistance(client.Player.Xclient.Player.YNpc.XNpc.Y) < 17)
                    {
                        
Npc.SendSpawn(client);
                    }
                }
            }
            
client.Player.Action Enums.ConquerAction.None;
            
client.Mining false;
            if (
client.Player.ContainsFlag((ulong)MsgUpdate.Flags.CastPray))
            {
                
client.Player.RemoveFlag((ulong)MsgUpdate.Flags.CastPray);
                foreach (var 
Client in client.Prayers)
                {
                    if (
Client.Player.ContainsFlag((ulong)MsgUpdate.Flags.Praying))
                    {
                        
Client.Player.RemoveFlag((ulong)MsgUpdate.Flags.Praying);
                    }
                }
                
client.Prayers.Clear();
            }
            if (
client.Player.ContainsFlag((ulong)MsgUpdate.Flags.Praying))
            {
                
client.Player.RemoveFlag((ulong)MsgUpdate.Flags.Praying);
                
client.PrayLead null;
            }
            
Time32 Now Time32.Now;
            
client.Attackable true;
            if (
client.Player.AttackPacket != null)
            {
                
client.Player.AttackPacket null;
            }
            if (
client.Player.Dead)
            {
                if (
Now client.Player.DeathStamp.AddSeconds(4))
                {
                    
client.Disconnect();
                    return;
                }
            }
            
ushort new_X BitConverter.ToUInt16(action.ToArray(), 12);
            
ushort new_Y BitConverter.ToUInt16(action.ToArray(), 14);
            if (
client.lastJumpDistance == 0) goto Jump;
            if (
client.Player.ContainsFlag((ulong)MsgUpdate.Flags.Ride))
            {
                
int distance Kernel.GetDistance(new_Xnew_Yclient.Player.Xclient.Player.Y);
                
ushort take = (ushort)(1.5F * (distance 2));
                if (
client.Vigor >= take)
                {
                    
client.Vigor -= take;
                    
Vigor vigor = new Vigor(true);
                    
vigor.Amount client.Vigor;
                    
vigor.Send(client);
                }
                else
                {
                }
            }
            
client.LastJumpTime = (int)Kernel.maxJumpTime(client.lastJumpDistance);
            var 
serverstamp Now.GetHashCode() - client.lastJumpTime.GetHashCode();
            var 
clientstamp action.TimeStamp.GetHashCode() - client.lastClientJumpTime.GetHashCode();
            var 
speed clientstamp serverstamp;
            if (
speed 1000)
            {
                
client.speedHackSuspiction++;
                if (!
client.Player.OnCyclone() && !client.Player.ContainsFlag((ulong)MsgUpdate.Flags.Ride) && !client.Player.OnOblivion() && !client.Player.OnSuperman() && !client.Player.ContainsFlag3((ulong)MsgUpdate.Flags3.DragonCyclone) && !client.Player.OnSuperCyclone() && !client.Player.Transformed && client.speedHackSuspiction >= 3)
                {
                    
client.Disconnect();
                }
            }
            else
            {
                
client.speedHackSuspiction Math.Max(0client.speedHackSuspiction 1);
            }
            if (
Now client.lastJumpTime.AddMilliseconds(client.LastJumpTime))
            {
                
bool doDisconnect false;
                if (
client.Player.Transformed)
                    if (
client.Player.TransformationID != 207 && client.Player.TransformationID != 267)
                        
doDisconnect true;
                if (
client.Player.Transformed && doDisconnect)
                {

                }
                if (
client.Player.Transformed && !doDisconnect)
                {
                    goto 
Jump;
                }
                if (!
client.Player.OnCyclone() && !client.Player.ContainsFlag3((ulong)MsgUpdate.Flags3.DragonCyclone) && !client.Player.ContainsFlag((ulong)MsgUpdate.Flags.Ride) && client.speedHackSuspiction >= 2)
                {
                    
//  client.Disconnect();
                
}
                else if (
client.Player.ContainsFlag((ulong)MsgUpdate.Flags.Ride))
                {
                    
int time = (int)Kernel.maxJumpTime(client.lastJumpDistance);
                    
int speedprc Database.DataHolder.SteedSpeed(client.Equipment.TryGetItem(MsgItemInfo.Steed).Plus);
                    if (
speedprc != 0)
                    {
                        if (
Now client.lastJumpTime.AddMilliseconds(time - (time speedprc 100)))
                        {

                        }
                    }
                    else
                    {

                    }
                }
            }
        
Jump:
            
client.lastJumpDistance Kernel.GetDistance(new_Xnew_Yclient.Player.Xclient.Player.Y);
            
client.lastClientJumpTime action.TimeStamp;
            
client.lastJumpTime Now;
            
Game.Map Map client.Map;
            if (
Map != null)
            {
                if (
Map.Floor[new_Xnew_YGame.MapObjectType.Playernull])
                {
                    if (
Kernel.GetDistance(new_Xnew_Yclient.Player.Xclient.Player.Y) <= 20)
                    {
                        
client.Player.Action Game.Enums.ConquerAction.Jump;
                        
client.Player.Facing Kernel.GetAngle(action.Xaction.Ynew_Xnew_Y);
                        
client.Player.PX client.Player.X;
                        
client.Player.PY client.Player.Y;
                        
client.Player.new_X;
                        
client.Player.new_Y;
                        
client.SendScreen(actiontrue);
                        
client.Screen.Reload(action);
                        if (
client.Player.InteractionInProgress && client.Player.InteractionSet)
                        {
                            if (
client.Player.Body == 1003 || client.Player.Body == 1004)
                            {
                                if (
Kernel.GamePool.ContainsKey(client.Player.InteractionWith))
                                {
                                    
GameState ch Kernel.GamePool[client.Player.InteractionWith];
                                    
Network.GamePackets.MsgAction general = new Network.GamePackets.MsgAction(true);
                                    
general.UID ch.Player.UID;
                                    
general.new_X;
                                    
general.new_Y;
                                    
general.ID = (MsgAction.Mode)156;
                                    
ch.Send(general.ToArray());
                                    
ch.Player.Action Game.Enums.ConquerAction.Jump;
                                    
ch.Player.new_X;
                                    
ch.Player.new_Y;
                                    
ch.Player.Facing Kernel.GetAngle(ch.Player.Xch.Player.Ynew_Xnew_Y);
                                    
ch.SendScreen(actiontrue);
                                    
ch.Screen.Reload(general);
                                    
client.SendScreen(actiontrue);
                                    
client.Screen.Reload(general);
                                }
                            }
                        }
                    }
                    else
                    {
                        
client.Disconnect();
                    }
                }
                else
                {
                    if (
client.Player.Mode == Game.Enums.Mode.None)
                    {
                        
client.Player.Teleport(client.Map.IDclient.Player.Xclient.Player.Y);
                    }
                }
            }
            else
            {
                if (
Kernel.GetDistance(new_Xnew_Yclient.Player.Xclient.Player.Y) <= 20)
                {
                    
client.Player.Action Game.Enums.ConquerAction.Jump;
                    
client.Player.Facing Kernel.GetAngle(action.Xaction.Ynew_Xnew_Y);
                    
client.Player.new_X;
                    
client.Player.new_Y;
                    
client.SendScreen(actiontrue);
                    
client.Screen.Reload(action);
                }
                else
                {
                    
client.Disconnect();
                }
            }
            if (
client.Map.BaseID == 1038 && Game.GuildWar.IsWar || client.Player.MapID == 1234 && Game.SuperGuildWar.IsWar)
            {
                
Game.Calculations.IsBreaking(clientoldXoldY);
            }
            if (!
client.Player.HasMagicDefender)
            {
                if (
client.Team != null)
                {
                    var 
owners client.Team.Teammates.Where(=> x.Player.MagicDefenderOwner);
                    if (
owners != null)
                    {
                        foreach (var 
owner in owners)
                        {
                            if (
Kernel.GetDistance(client.Player.Xclient.Player.Yowner.Player.Xowner.Player.Y) <= 4)
                            {
                                
client.Player.HasMagicDefender true;
                                
client.Player.MagicDefenderStamp Time32.Now;
                                
client.Player.MagicDefenderSecs = (byte)(owner.Player.MagicDefenderStamp.AddSeconds(owner.Player.MagicDefenderSecs) - owner.Player.MagicDefenderStamp).AllSeconds();
                                
client.Player.AddFlag3((ulong)MsgUpdate.Flags3.MagicDefender);
                                
MsgUpdate upgrade = new MsgUpdate(true);
                                
upgrade.UID client.Player.UID;
                                
upgrade.Append((byte)MsgUpdate.DataType.AzureShield128client.Player.MagicDefenderSecs00);
                                
client.Send(upgrade.ToArray());
                                break;
                            }
                        }
                    }
                }
            }
            else
            {
                
client.Player.RemoveMagicDefender();
            }
        }
        public static 
void PlayerWalk(MsgWalk WalkGameState client)
        {
            if (
client.ProgressBar != null)
                
client.ProgressBar.End(client);
            
client.Player.SpellStamp Time32.Now.AddSeconds(-1);
            
client.Player.KillCount2 0;
            
client.Player.Action Game.Enums.ConquerAction.None;
            
client.Attackable true;
            
client.Mining false;
            var 
oldX client.Player.X;
            var 
oldY client.Player.Y;
            if (
client.Player.OnCheckGuard)
            {
                
client.Player.OnCheckGuard false;
                
client.MessageBox("Unable~to~check!"nullnull0);
                
DialyQuestsEffect.CheckCancelGuard(client);
                
client.Player.CheckGuardSec 0;
            }
            if (
client.Player.ContainsFlag((ulong)MsgUpdate.Flags.CastPray))
            {
                
client.Player.RemoveFlag((ulong)MsgUpdate.Flags.CastPray);
                foreach (var 
Client in client.Prayers)
                {
                    if (
Client.Player.ContainsFlag((ulong)MsgUpdate.Flags.Praying))
                    {
                        
Client.Player.RemoveFlag((ulong)MsgUpdate.Flags.Praying);
                    }
                }
                
client.Prayers.Clear();
            }
            if (
client.Player.ContainsFlag((ulong)MsgUpdate.Flags.Praying))
            {
                
client.Player.RemoveFlag((ulong)MsgUpdate.Flags.Praying);
                if (
client.PrayLead != null)
                    
client.PrayLead.Prayers.Remove(client);
                
client.PrayLead null;
            }
            if (
client.Player.AttackPacket != null)
            {
                
client.Player.AttackPacket null;
            }
            if (
client.Player.ContainsFlag((ulong)MsgUpdate.Flags.Ride))
                
client.Vigor -= 1;
            
client.Player.PX client.Player.X;
            
client.Player.PY client.Player.Y;
            if (!
client.Player.Move(Walk.DirectionWalk.Type == MsgWalk.Mode.Slide)) return;
            if (
client.Player.MapID == Game.SteedRace.MAPID)
            {
                if (!
Server.Thread.SteedRace.IsOn)
                {
                    if (
client.Player.<= Server.Thread.SteedRace.GateX 1)
                    {
                        
client.Player.Teleport(client.Player.PXclient.Player.PY);
                        return;
                    }
                }
            }
            if (
client.Player.MapID == Game.SteedRace.MAPID)
                
CheckForRaceItems(client);
            
client.SendScreen(Walktrue);
            
client.Screen.Reload(Walk);
            if (
client.Player.InteractionInProgress)
            {
                if (!
client.Player.InteractionSet)
                {
                    if (
Kernel.GamePool.ContainsKey(client.Player.InteractionWith))
                    {
                        
GameState ch Kernel.GamePool[client.Player.InteractionWith];
                        if (
ch.Player.InteractionInProgress && ch.Player.InteractionWith == client.Player.UID)
                        {
                            if (
client.Player.InteractionX == client.Player.&& client.Player.== client.Player.InteractionY)
                            {
                                if (
client.Player.== ch.Player.&& client.Player.== ch.Player.Y)
                                {
                                    
Network.GamePackets.MsgInteract atac = new Network.GamePackets.MsgInteract(true);
                                    
atac.Attacker ch.Player.UID;
                                    
atac.Attacked client.Player.UID;
                                    
atac.ch.Player.X;
                                    
atac.ch.Player.Y;
                                    
atac.Damage client.Player.InteractionType;
                                    
atac.ResponseDamage client.InteractionEffect;
                                    
atac.InteractType 47;
                                    
ch.Send(atac);
                                    
atac.InteractType 49;
                                    
atac.Attacker client.Player.UID;
                                    
atac.Attacked ch.Player.UID;
                                    
client.SendScreen(atactrue);
                                    
atac.Attacker ch.Player.UID;
                                    
atac.Attacked client.Player.UID;
                                    
client.SendScreen(atactrue);
                                }
                            }
                        }
                    }
                }
                else
                {
                    if (
client.Player.Body == 1003 || client.Player.Body == 1004)
                    {
                        if (
Kernel.GamePool.ContainsKey(client.Player.InteractionWith))
                        {
                            
GameState ch Kernel.GamePool[client.Player.InteractionWith];
                            
ch.Player.Facing Walk.Direction;
                            
ch.Player.Move(Walk.Direction);
                            
Network.GamePackets.MsgAction general = new Network.GamePackets.MsgAction(true);
                            
general.UID ch.Player.UID;
                            
general.ch.Player.X;
                            
general.ch.Player.Y;
                            
general.ID = (MsgAction.Mode)156;
                            
ch.Send(general.ToArray());
                            
ch.Screen.Reload(null);
                        }
                    }
                }
            }
            if (
client.Map.BaseID == 1038 && Game.GuildWar.IsWar || client.Map.BaseID == 1234 && Game.SuperGuildWar.IsWar)
            {
                
Game.Calculations.IsBreaking(clientoldXoldY);
            }
            if (!
client.Player.HasMagicDefender)
            {
                if (
client.Team != null)
                {
                    var 
owners client.Team.Teammates.Where(=> x.Player.MagicDefenderOwner);
                    if (
owners != null)
                    {
                        foreach (var 
owner in owners)
                        {
                            if (
Kernel.GetDistance(client.Player.Xclient.Player.Yowner.Player.Xowner.Player.Y) <= 4)
                            {
                                
client.Player.HasMagicDefender true;
                                
client.Player.MagicDefenderStamp Time32.Now;
                                
client.Player.MagicDefenderSecs = (byte)(owner.Player.MagicDefenderStamp.AddSeconds(owner.Player.MagicDefenderSecs) - owner.Player.MagicDefenderStamp).AllSeconds();
                                
client.Player.AddFlag3((ulong)MsgUpdate.Flags3.MagicDefender);
                                
MsgUpdate upgrade = new MsgUpdate(true);
                                
upgrade.UID client.Player.UID;
                                
upgrade.Append((byte)MsgUpdate.DataType.AzureShield128client.Player.MagicDefenderSecs00);
                                
client.Send(upgrade.ToArray());
                                break;
                            }
                        }
                    }
                }
            }
            else
            {
                
client.Player.RemoveMagicDefender();
            }
        }
        public static 
void GetSurroundings(GameState client)
        {
            
client.Screen.FullWipe();
            
client.Screen.Reload(null);
        }
        public static 
void ChangeAction(MsgAction actionGameState client)
        {
            if (
client.ProgressBar != null)
                
client.ProgressBar.End(client);
            
client.Player.Action = (ushort)action.dwParam;
            if (
client.Player.ContainsFlag((ulong)MsgUpdate.Flags.CastPray))
            {
                foreach (var 
Client in client.Prayers)
                {
                    
action.UID Client.Player.UID;
                    
action.dwParam = (uint)client.Player.Action;
                    
action.Client.Player.X;
                    
action.Client.Player.Y;
                    
Client.Player.Action client.Player.Action;
                    if (
Time32.Now >= Client.CoolStamp.AddMilliseconds(1500))
                    {
                        if (
Client.Equipment.IsAllSuper())
                            
action.dwParam = (uint)(action.dwParam | (uint)(Client.Player.Class * 0x10000 0x1000000));
                        else if (
Client.Equipment.IsArmorSuper())
                            
action.dwParam = (uint)(action.dwParam | (uint)(Client.Player.Class * 0x10000));
                        
Client.SendScreen(actiontrue);
                        
Client.CoolStamp Time32.Now;
                    }
                    else
                        
Client.SendScreen(actionfalse);
                }
            }
            
action.UID client.Player.UID;
            
action.dwParam = (uint)client.Player.Action;
            if (
client.Player.Action == Game.Enums.ConquerAction.Cool)
            {
                if (
Time32.Now >= client.CoolStamp.AddMilliseconds(1500))
                {
                    if (
client.Equipment.IsAllSuper())
                        
action.dwParam = (uint)(action.dwParam | (uint)(client.Player.Class * 0x10000 0x1000000));
                    else if (
client.Equipment.IsArmorSuper())
                        
action.dwParam = (uint)(action.dwParam | (uint)(client.Player.Class * 0x10000));
                    
client.SendScreen(actiontrue);
                    
client.CoolStamp Time32.Now;
                }
                else
                    
client.SendScreen(actionfalse);
            }
            else
                
client.SendScreen(actionfalse);
        }
        public static 
void ChangeDirection(MsgAction actionGameState client)
        {
            
client.Player.Facing = (Game.Enums.ConquerAngle)action.Facing;
            
client.SendScreen(actionfalse);
        }
        public static 
void ChangePKMode(MsgAction actionGameState client)
        {
            if (
client.Player.PKMode == Game.Enums.PKMode.Kongfu)
            {
                if ((
Game.Enums.PKMode)(byte)action.dwParam != Game.Enums.PKMode.Kongfu)
                {
                    
client.Send("You`ll quit the Jiang Hu in 10 minutes.");
                }
            }
            if (
client.InTeamQualifier()) return;
            
client.Player.AttackPacket null;
            
client.Player.PKMode = (Game.Enums.PKMode)(byte)action.dwParam;
            
client.Send(action);
            if ((
client.Player.PKMode == Game.Enums.PKMode.Kongfu) && (client.Player.MyKongFu != null))
            {
                
client.Player.MyKongFu.OnJiangMode true;
                
client.Player.MyKongFu.SendStatusMode(client);
            }
            if (
client.Player.PKMode == Enums.PKMode.PK)
            {
                
client.Send("Free PK mode: you can attack monsters and all Players.");
            }
            else if (
client.Player.PKMode == Enums.PKMode.Peace)
            {
                
client.Send("Peace mode: You can only attack monsters.");
            }
            else if (
client.Player.PKMode == Enums.PKMode.Team)
            {
                
client.Send("Team mode: slay monsters, and all other players (including cross-server players) not in your current team or guild. ");
            }
            else if (
client.Player.PKMode == Enums.PKMode.Capture)
            {
                
client.Send("Capture mode: Slay monsters, black/blue-name criminals, and cross-server players.");
            }
            else if (
client.Player.PKMode == Enums.PKMode.Revenge)
            {
                
client.Send("revenge mode: Slay your listed enemies, monsters, and cross-server players.");
            }
            else if (
client.Player.PKMode == Enums.PKMode.Union)
            {
                
client.Send("The `Plander` mode only allow you to other players in enemy Union.");
            }
            else if (
client.Player.PKMode == Enums.PKMode.Guild)
            {
                
client.Send("Guild mode: Slay monsters, and players in your enemy guilds, and cross-server players.");
            }
            else if (
client.Player.PKMode == Enums.PKMode.Kongfu)
            {
                
client.Send("Jiang Hu mode: Slay Jiang Hu fighters, black/blue-name criminals, and cross-server players.");
            }
            else if (
client.Player.PKMode == Enums.PKMode.CS)
            {
                
client.Send("CS (Cross-Server) mode: Attack cross-server players. No Pk punishment.");
            }
            else if (
client.Player.PKMode == Enums.PKMode.Invade)
            {
                
client.Send("Invade mode: Only attack players of the target (current) server No Pk punishment.");
            }
        }
        public static 
void SetLocation(MsgAction actionGameState client)
        {
            if (
client.Player.MyKongFu != null)
            {
                
client.Player.MyKongFu.OnloginClient(client);
            }
            else if (
client.Player.Reborn == 2)
            {
                
MsgOwnKongfuBase hu = new MsgOwnKongfuBase
                
{
                    
Texts = { "0" }
                };
                
hu.CreateArray();
                
hu.Send(client);
            }
            
SendFlower sendFlower = new SendFlower();
            
sendFlower.Typing = (Flowers.IsBoy((uint)client.Player.Body) ? 3u 2u);
            
sendFlower.Apprend(client.Player.MyFlowers);
            
client.Send(sendFlower.ToArray());
            if (
client.Player.MyFlowers.aFlower 0u)
            {
                
client.Send(new SendFlower
                
{
                    
Typing Flowers.IsBoy((uint)client.Player.Body) ? 2u 3u
                
}.ToArray());
            }
            if (
client.Guild != null)
            {
                
client.Guild.SendGuild(client);
                
MsgDutyMinContri guild = new MsgDutyMinContri(31);
                
guild.AprendGuild(client.Guild);
                
client.Send(guild.ToArray());
            }
            
MsgFamily clan client.Player.GetClan;
            if (
clan != null)
            {
                
clan.Build(clientMsgFamily.Types.Info);
                
client.Send(clan);
                
client.Player.ClanName clan.Name;
                
client.Send(new MsgFamilyRelation(clanMsgFamilyRelation.RelationTypes.Allies));
                
client.Send(new MsgFamilyRelation(clanMsgFamilyRelation.RelationTypes.Enemies));
            }

            foreach (
Game.ConquerStructures.Society.Guild guild in Kernel.Guilds.Values)
            {
                
guild.SendName(client);
                
guild.SendName(client);
            }

            if (
client.Player.EnlightmentTime 0)
            {
                
MsgMentorPlayer enlight = new MsgMentorPlayer(true);
                
enlight.Enlighted client.Player.UID;
                
enlight.Enlighter 0;

                if (
client.Player.EnlightmentTime 80)
                    
client.Player.EnlightmentTime 100;
                else if (
client.Player.EnlightmentTime 60)
                    
client.Player.EnlightmentTime 80;
                else if (
client.Player.EnlightmentTime 40)
                    
client.Player.EnlightmentTime 60;
                else if (
client.Player.EnlightmentTime 20)
                    
client.Player.EnlightmentTime 40;
                else if (
client.Player.EnlightmentTime 0)
                    
client.Player.EnlightmentTime 20;
                for (
int count 0count client.Player.EnlightmentTimecount += 20)
                {
                    
client.Send(enlight.ToArray());
                }
            }

            if (
client.Player.Hitpoints != 0)
            {
                if (
client.Map.ID == 1036 || client.Map.ID == 1039)
                {
                    if (
client.Player.PreviousMapID == 0)
                        
client.Player.SetLocation(1002300278);
                    else
                    {
                        switch (
client.Player.PreviousMapID)
                        {
                            default:
                                {
                                    
client.Player.SetLocation(1002300278);
                                    break;
                                }
                            case 
1000:
                                {
                                    
client.Player.SetLocation(1000500650);
                                    break;
                                }
                            case 
1020:
                                {
                                    
client.Player.SetLocation(1020565562);
                                    break;
                                }
                            case 
1011:
                                {
                                    
client.Player.SetLocation(1011188264);
                                    break;
                                }
                            case 
1015:
                                {
                                    
client.Player.SetLocation(1015717571);
                                    break;
                                }
                        }
                    }
                }
            }
            else
            {
                if (
client.Player.MapID == 1038 && Game.GuildWar.IsWar || client.Player.MapID == 1234 && Game.SuperGuildWar.IsWar)
                {
                    
client.Player.SetLocation(60013174);
                }
                else
                {
                    
ushort[] Point Database.DataHolder.FindReviveSpot(client.Map.ID);
                    
client.Player.SetLocation(Point[0], Point[1], Point[2]);
                }
            }
            
action.dwParam client.Map.BaseID;
            
action.client.Player.X;
            
action.client.Player.Y;
            
client.Send(action);
        }
        public static 
object LoginSyncRoot = new object();
        public static 
void AppendConnect(MsgConnect ConnectGameState client)
        {
            if (
client.LoggedIn)
            {
                
client.Disconnect(true);
                return;
            }
            
bool doLogin false;
            
lock (LoginSyncRoot)
            {
                
Database.AccountTable Account null;
                if (
Kernel.AwaitingPool.TryGetValue(Connect.Identifierout Account))
                {
                    if (!
Account.MatchKey(Connect.Identifier))
                    {
                        
client.Disconnect(false);
                        return;
                    }
                    
client.Account Account;
                    if (
Account.EntityID == 0)
                    {
                        
client.Send(new MsgTalk("NEW_ROLE""ALLUSERS"Color.OrangeMsgTalk.Dialog));
                        return;
                    }
                    if (
Kernel.DisconnectPool.ContainsKey(Account.EntityID))
                    {
                        
client.Send(new MsgTalk("Please try again after a minute!""ALLUSERS"Color.OrangeGamePackets.MsgTalk.Dialog));
                        return;
                    }
                    
VariableVault variables;
                    
Database.EntityVariableTable.Load(client.Account.EntityIDout variables);
                    
client.Variables variables;
                    if (
client["banhours"] == 0)
                    {
                        
client["banhours"] = -1;
                        
client["banreason"] = "Infinite time.";
                        
client["banstamp"] = DateTime.Now.AddYears(100);
                    }
                    if (
Account.State == Database.AccountTable.AccountState.Banned)
                    {
                        if (
client["banhours"] != -1)
                        {
                            
DateTime banStamp client["banstamp"];
                            if (
DateTime.Now banStamp.AddDays(((int)client["banhours"]) / 24).AddHours(((int)client["banhours"]) % 24))
                                
Account.State Database.AccountTable.AccountState.Player;
                        }
                    }
                    
string Message "";
                    if (
Account.State == Database.AccountTable.AccountState.Banned)
                    {
                        
DateTime banStamp client["banstamp"];
                        
banStamp banStamp.AddHours(client["banhours"]);
                        
Message "You are banned for " client["banhours"] + " hours [until " banStamp.ToString("HH:mm MM/dd/yyyy") + "]. Reason: " client["banreason"];
                    }
                    else if (
Account.State == Database.AccountTable.AccountState.NotActivated)
                        
Message "You cannot login until your account is activated.";
                    
Kernel.AwaitingPool.Remove(Connect.Identifier);
                    if (
Message == string.Empty)
                    {
                        
GameState aClient null;
                        if (
Kernel.GamePool.TryGetValue(Account.EntityIDout aClient))
                            
aClient.Disconnect();
                        
Kernel.GamePool.Remove(Account.EntityID);
                        
client.Player = new Player(PlayerFlag.Monsterfalse);
                        
Kernel.GamePool.Add(Account.EntityIDclient);
                        
doLogin true;
                    }
                    else
                    {
                        
client.Send(new MsgTalk(Message"ALLUSERS"Color.OrangeGamePackets.MsgTalk.Dialog));
                        
Thread.Execute<GameState>((pClienttime) => { pClient.Disconnect(); }, client100);
                    }
                }
            }
            if (
doLogin)
            {
                
DoLogin(client);
            }
        }
        public static 
ConcurrentDictionary<stringbyte[]> TreasurePointsAllowance = new ConcurrentDictionary<stringbyte[]>();
        public static 
object TPASyncRoot = new object();
        public static 
void AddTPA(GameState client)
        {
            if (!
TreasurePointsAllowance.ContainsKey(client.Socket.IP))
                
TreasurePointsAllowance.Add(client.Socket.IP, new byte[3]);
            
lock (TPASyncRoot)
            {
                
byte[] data TreasurePointsAllowance[client.Socket.IP];
                for (
int i 0data.Lengthi++)
                {
                    if (
data[i] == 0)
                    {
                        
client.AllowedTreasurePoints true;
                        
client.AllowedTreasurePointsIndex i;
                        
data[i] = 1;
                    }
                }
            }
        }
        public static 
void RemoveTPA(GameState client)
        {
            if (
client.AllowedTreasurePoints)
            {
                
lock (TPASyncRoot)
                {
                    
byte[] data TreasurePointsAllowance[client.Socket.IP];
                    
data[client.AllowedTreasurePointsIndex] = 0;
                }
            }
        }
        public static 
void DoLogin(GameState client)
        {
            
client.ReadyToPlay();
            if (
Database.EntityTable.LoadEntity(client))
            {
                if (
client.Player.FullyLoaded)
                {
                    
AddTPA(client);
                    
client.LoadData();
                    if (
client.Player.GuildID != 0)
                    {
                        
client.Player.GuildSharedBp client.Guild.GetSharedBattlepower(client.Player.GuildRank);
                    }
                    
client.ReviewMentor();
                    
#region Game Updates
                       
if (client.Player.UpdateList == 0)
                      {
                        
client.Send(new GameUpdates(GameUpdates.Mode.Header"Welcome To, " Constants.ServerName "" DateTime.Now.ToString()));
                        
client.Send(new GameUpdates(GameUpdates.Mode.Body"1.New skills have been added\n"));
                        
client.Send(new GameUpdates(GameUpdates.Mode.Body"2.Support " Constants.ServerName " By Invite ur Friends\n"));
                        
client.Send(new GameUpdates(GameUpdates.Mode.Body"3.Sit on Every Map And Get 60 Points For 15 Mints"));
                        
client.Send(new GameUpdates(GameUpdates.Mode.Body"4.If you found any bug you can repot it By " Constants.ServerName ""));
                        
client.Send(new GameUpdates(GameUpdates.Mode.Body"5.Enjoy Playing " Constants.ServerName " with us and invite friends!"));
                        
client.Send(new GameUpdates(GameUpdates.Mode.Footer"A lot of surprises awaited during these days"));
                       
client.Player.UpdateList += 1;
                        }
                    
#endregion
                    
if (client.JustCreated)
                    {
                        
#region New Created
                        #region Trojan

                        
if (client.Player.Class >= 10 && client.Player.Class <= 11)
                            
client.Player.Update(MsgName.Mode.Effect"break_track04"true);
                        {
                            
MsgItemInfo item7;
                            
item7 = new MsgItemInfo(true)
                            {
                                
ID 132013,
                                
UID MsgItemInfo.ItemUID.Next,
                                
Durability 3599,
                                
Plus 0,
                                
Enchant 0,
                                
Bless 0,
                                
Color = (Game.Enums.Color)Kernel.Random.Next(39),
                                
MaximDurability 3599,
                                
Position MsgItemInfo.Armor,
                                
Bound true
                            
};
                            
client.Equipment.Remove((byte)MsgItemInfo.Armor);
                            
Database.ConquerItemTable.AddItem(ref item7client);
                            
client.Equipment.Add(item7);
                        }
                        if (
client.Player.Class >= 10 && client.Player.Class <= 11)
                        {
                            
MsgItemInfo item7;
                            
item7 = new MsgItemInfo(true)
                            {
                                
ID 410301,
                                
UID MsgItemInfo.ItemUID.Next,
                                
Durability 1599,
                                
Plus 0,
                                
Enchant 0,
                                
Bless 0,
                                
Color = (Game.Enums.Color)Kernel.Random.Next(39),
                                
MaximDurability 1599,
                                
Position MsgItemInfo.RightWeapon,
                                
Bound true
                            
};

                            
client.Equipment.Remove((byte)MsgItemInfo.RightWeapon);
                            
Database.ConquerItemTable.AddItem(ref item7client);
                            
client.Equipment.Add(item7);
                        }
                        
#endregion
                        #region Warrior
                        
if (client.Player.Class >= 20 && client.Player.Class <= 21)
                        {
                            
MsgItemInfo item7;
                            
item7 = new MsgItemInfo(true)
                            {
                                
ID 132013,
                                
UID MsgItemInfo.ItemUID.Next,
                                
Durability 3599,
                                
Plus 0,
                                
Enchant 0,
                                
Bless 0,
                                
Color = (Game.Enums.Color)Kernel.Random.Next(39),
                                
MaximDurability 3599,
                                
Position MsgItemInfo.Armor,
                                
Bound true
                            
};
                            
client.Equipment.Remove((byte)MsgItemInfo.Armor);
                            
Database.ConquerItemTable.AddItem(ref item7client);
                            
client.Equipment.Add(item7);
                        }
                        if (
client.Player.Class >= 20 && client.Player.Class <= 21)
                        {
                            
MsgItemInfo item7;
                            
item7 = new MsgItemInfo(true)
                            {
                                
ID 410301,
                                
UID MsgItemInfo.ItemUID.Next,
                                
Durability 1599,
                                
Plus 0,
                                
Enchant 0,
                                
Bless 0,
                                
Color = (Game.Enums.Color)Kernel.Random.Next(39),
                                
MaximDurability 1599,
                                
Position MsgItemInfo.RightWeapon,
                                
Bound true
                            
};
                            
client.Equipment.Remove((byte)MsgItemInfo.RightWeapon);
                            
Database.ConquerItemTable.AddItem(ref item7client);
                            
client.Equipment.Add(item7);
                        }
                        
#endregion
                        #region Archer
                        
if (client.Player.Class >= 40 && client.Player.Class <= 41)
                        {
                            
MsgItemInfo item7;
                            
item7 = new MsgItemInfo(true)
                            {
                                
ID 132013,
                                
UID MsgItemInfo.ItemUID.Next,
                                
Durability 3599,
                                
Plus 0,
                                
Enchant 0,
                                
Bless 0,
                                
Color = (Game.Enums.Color)Kernel.Random.Next(39),
                                
MaximDurability 3599,
                                
Position MsgItemInfo.Armor,
                                
Bound true
                            
};
                            
client.Equipment.Remove((byte)MsgItemInfo.Armor);
                            
Database.ConquerItemTable.AddItem(ref item7client);
                            
client.Equipment.Add(item7);
                        }
                        if (
client.Player.Class >= 40 && client.Player.Class <= 41)
                        {
                            
MsgItemInfo item7;
                            
item7 = new MsgItemInfo(true)
                            {
                                
ID 500301,
                                
UID MsgItemInfo.ItemUID.Next,
                                
Durability 1599,
                                
Plus 0,
                                
Enchant 0,
                                
Bless 0,
                                
Color = (Game.Enums.Color)Kernel.Random.Next(39),
                                
MaximDurability 1599,
                                
Position MsgItemInfo.RightWeapon,
                                
Bound true
                            
};
                            
client.Equipment.Remove((byte)MsgItemInfo.RightWeapon);
                            
Database.ConquerItemTable.AddItem(ref item7client);
                            
client.Equipment.Add(item7);
                        }
                        
#endregion
                        #region Pirete
                        
if (client.Player.Class >= 70 && client.Player.Class <= 71)
                        {
                            
MsgItemInfo item7;
                            
item7 = new MsgItemInfo(true)
                            {
                                
ID 132013,
                                
UID MsgItemInfo.ItemUID.Next,
                                
Durability 3599,
                                
Plus 0,
                                
Enchant 0,
                                
Bless 0,
                                
Color = (Game.Enums.Color)Kernel.Random.Next(39),
                                
MaximDurability 3599,
                                
Position MsgItemInfo.Armor,
                                
Bound true
                            
};
                            
client.Equipment.Remove((byte)MsgItemInfo.Armor);
                            
Database.ConquerItemTable.AddItem(ref item7client);
                            
client.Equipment.Add(item7);
                        }
                        if (
client.Player.Class >= 70 && client.Player.Class <= 71)
                        {
                            
MsgItemInfo item7;
                            
item7 = new MsgItemInfo(true)
                            {
                                
ID 611301,
                                
UID MsgItemInfo.ItemUID.Next,
                                
Durability 1599,
                                
Plus 0,
                                
Enchant 0,
                                
Bless 0,
                                
Color = (Game.Enums.Color)Kernel.Random.Next(39),
                                
MaximDurability 1599,
                                
Position MsgItemInfo.RightWeapon,
                                
Bound true
                            
};
                            
client.Equipment.Remove((byte)MsgItemInfo.RightWeapon);
                            
Database.ConquerItemTable.AddItem(ref item7client);
                            
client.Equipment.Add(item7);
                        }
                        
#endregion
                        #region Monk
                        
if (client.Player.Class >= 60 && client.Player.Class <= 61)
                        {
                            
MsgItemInfo item7;
                            
item7 = new MsgItemInfo(true)
                            {
                                
ID 132013,
                                
UID MsgItemInfo.ItemUID.Next,
                                
Durability 3599,
                                
Plus 0,
                                
Enchant 0,
                                
Bless 0,
                                
Color = (Game.Enums.Color)Kernel.Random.Next(39),
                                
MaximDurability 3599,
                                
Position MsgItemInfo.Armor,
                                
Bound true
                            
};
                            
client.Equipment.Remove((byte)MsgItemInfo.Armor);
                            
Database.ConquerItemTable.AddItem(ref item7client);
                            
client.Equipment.Add(item7);
                        }
                        if (
client.Player.Class >= 60 && client.Player.Class <= 61)
                        {
                            
MsgItemInfo item7;
                            
item7 = new MsgItemInfo(true)
                            {
                                
ID 610301,
                                
UID MsgItemInfo.ItemUID.Next,
                                
Durability 1599,
                                
Plus 0,
                                
Enchant 0,
                                
Bless 0,
                                
Color = (Game.Enums.Color)Kernel.Random.Next(39),
                                
MaximDurability 1599,
                                
Position MsgItemInfo.RightWeapon,
                                
Bound true
                            
};
                            
client.Equipment.Remove((byte)MsgItemInfo.RightWeapon);
                            
Database.ConquerItemTable.AddItem(ref item7client);
                            
client.Equipment.Add(item7);
                        }
                        
#endregion
                        #region Ninja
                        
if (client.Player.Class >= 50 && client.Player.Class <= 51)
                        {
                            
MsgItemInfo item7;
                            
item7 = new MsgItemInfo(true)
                            {
                                
ID 132013,
                                
UID MsgItemInfo.ItemUID.Next,
                                
Durability 3599,
                                
Plus 0,
                                
Enchant 0,
                                
Bless 0,
                                
Color = (Game.Enums.Color)Kernel.Random.Next(39),
                                
MaximDurability 3599,
                                
Position MsgItemInfo.Armor,
                                
Bound true
                            
};
                            
client.Equipment.Remove((byte)MsgItemInfo.Armor);
                            
Database.ConquerItemTable.AddItem(ref item7client);
                            
client.Equipment.Add(item7);
                        }
                        if (
client.Player.Class >= 50 && client.Player.Class <= 51)
                        {
                            
MsgItemInfo item7;
                            
item7 = new MsgItemInfo(true)
                            {
                                
ID 601008,
                                
UID MsgItemInfo.ItemUID.Next,
                                
Durability 1599,
                                
Plus 0,
                                
Enchant 0,
                                
Bless 0,
                                
Color = (Game.Enums.Color)Kernel.Random.Next(39),
                                
MaximDurability 1599,
                                
Position MsgItemInfo.RightWeapon,
                                
Bound true
                            
};
                            
client.Equipment.Remove((byte)MsgItemInfo.RightWeapon);
                            
Database.ConquerItemTable.AddItem(ref item7client);
                            
client.Equipment.Add(item7);
                        }
                        
#endregion
                        #region LeeLong
                        
if (client.Player.Class >= 80 && client.Player.Class <= 81)
                        {
                            
MsgItemInfo item7;
                            
item7 = new MsgItemInfo(true)
                            {
                                
ID 138000,
                                
UID MsgItemInfo.ItemUID.Next,
                                
Durability 3599,
                                
Plus 0,
                                
Enchant 0,
                                
Bless 0,
                                
Color = (Game.Enums.Color)Kernel.Random.Next(39),
                                
MaximDurability 3599,
                                
Position MsgItemInfo.Armor,
                                
Bound true
                            
};
                            
client.Equipment.Remove((byte)MsgItemInfo.Armor);
                            
Database.ConquerItemTable.AddItem(ref item7client);
                            
client.Equipment.Add(item7);
                        }
                        if (
client.Player.Class >= 80 && client.Player.Class <= 81)
                        {
                            
MsgItemInfo item7;
                            
item7 = new MsgItemInfo(true)
                            {
                                
ID 617000,
                                
UID MsgItemInfo.ItemUID.Next,
                                
Durability 1599,
                                
Plus 0,
                                
Enchant 0,
                                
Bless 0,
                                
Color = (Game.Enums.Color)Kernel.Random.Next(39),
                                
MaximDurability 1599,
                                
Position MsgItemInfo.RightWeapon,
                                
Bound true
                            
};
                            
client.Equipment.Remove((byte)MsgItemInfo.RightWeapon);
                            
Database.ConquerItemTable.AddItem(ref item7client);
                            
client.Equipment.Add(item7);
                        }
                        
#endregion
                        #region Taoist
                        
if (client.Player.Class >= 100 && client.Player.Class <= 145)
                        {
                            
MsgItemInfo item7;
                            
item7 = new MsgItemInfo(true)
                            {
                                
ID 132013,
                                
UID MsgItemInfo.ItemUID.Next,
                                
Durability 3599,
                                
Plus 0,
                                
Enchant 0,
                                
Bless 0,
                                
Color = (Game.Enums.Color)Kernel.Random.Next(39),
                                
MaximDurability 3599,
                                
Position MsgItemInfo.Armor,
                                
Bound true
                            
};
                            
client.Equipment.Remove((byte)MsgItemInfo.Armor);
                            
Database.ConquerItemTable.AddItem(ref item7client);
                            
client.Equipment.Add(item7);
                        }
                        if (
client.Player.Class >= 100 && client.Player.Class <= 145)
                        {
                            
MsgItemInfo item7;
                            
item7 = new MsgItemInfo(true)
                            {
                                
ID 421301,
                                
UID MsgItemInfo.ItemUID.Next,
                                
Durability 1599,
                                
Plus 0,
                                
Enchant 0,
                                
Bless 0,
                                
Color = (Game.Enums.Color)Kernel.Random.Next(39),
                                
MaximDurability 1599,
                                
Position MsgItemInfo.RightWeapon,
                                
Bound true
                            
};
                            
client.Equipment.Remove((byte)MsgItemInfo.RightWeapon);
                            
Database.ConquerItemTable.AddItem(ref item7client);
                            
client.Equipment.Add(item7);
                        }
                        
#endregion
                        #region WindWolker
                        
if (client.Player.Class >= 160 && client.Player.Class <= 165)
                        {
                            
MsgItemInfo item7;
                            
item7 = new MsgItemInfo(true)
                            {
                                
ID 101009,//MysticWindrobe
                                
UID MsgItemInfo.ItemUID.Next,
                                
Durability 3599,
                                
Plus 0,
                                
Enchant 0,
                                
Bless 0,
                                
Color = (Game.Enums.Color)Kernel.Random.Next(39),
                                
MaximDurability 3599,
                                
Position MsgItemInfo.Armor,
                                
Bound true
                            
};
                            
client.Equipment.Remove((byte)MsgItemInfo.Armor);
                            
Database.ConquerItemTable.AddItem(ref item7client);
                            
client.Equipment.Add(item7);
                        }
                        if (
client.Player.Class >= 160 && client.Player.Class <= 165)
                        {
                            
MsgItemInfo item7;
                            
item7 = new MsgItemInfo(true)
                            {
                                
ID 626029,//PrideFan
                                
UID MsgItemInfo.ItemUID.Next,
                                
Durability 1599,
                                
Plus 0,
                                
Enchant 0,
                                
Bless 0,
                                
Color = (Game.Enums.Color)Kernel.Random.Next(39),
                                
MaximDurability 1599,
                                
Position MsgItemInfo.RightWeapon,
                                
Bound true
                            
};
                            
client.Equipment.Remove((byte)MsgItemInfo.RightWeapon);
                            
Database.ConquerItemTable.AddItem(ref item7client);
                            
client.Equipment.Add(item7);
                        }
                        
#endregion
                        
if (client.Player.Class >= 60 && client.Player.Class <= 65)
                        {
                            
client.Player.HairStyle 0;
                            
client.Player.HairColor 0;
                        }
                        
client.Player.Level 1;
                        
client.Player.ConquerPoints 0;
                        
client.Inventory.AddBound(72150001);
                        
// client.Inventory.AddBound(727380, 0, 1);
                        #endregion
                        
client.JustCreated false;
                        
SetLocation(new MsgAction(true) { UID client.Player.UID }, client);
                    }
                }
            }
            else
            {
                
client.Send(new MsgTalk("Cannot find your character.""ALLUSERS"Color.OrangeGamePackets.MsgTalk.Dialog));
                
client.Disconnect(false);
                return;
            }
            if (
Kernel.GamePool.Count >= Server.PlayerCap)
            {
                
client.Send(new MsgTalk("Player limit exceeded. (Online players: " Kernel.GamePool "/" Server.PlayerCap ")""ALLUSERS"Color.OrangeGamePackets.MsgTalk.Dialog));
                
client.Disconnect(false);
                return;
            }
            
client.Send(new MsgTalk("ANSWER_OK""ALLUSERS"Color.OrangeGamePackets.MsgTalk.Dialog));
            
Server.Thread.Register(client);
            
Kernel.GamePool[client.Account.EntityID] = client;
            
Database.EntityTable.UpdateOnlineStatus(clienttrue);
            
MsgUserInfo Info = new MsgUserInfo(client);
            
client.Send(Info.ToArray());
            
string IP client.IP;
            
client.Account.SetCurrentIP(IP);
            
client.Account.Save();
            
Console.ForegroundColor ConsoleColor.Yellow;
            
Console.WriteLine("" client.Player.Name " has logged on! Ip:[" client.Account.IP "]"ConsoleColor.Blue);
            
Console.ForegroundColor ConsoleColor.Cyan;
            if (
Kernel.GamePool.Count Server.MaxPlayers)
            {
                
Server.MaxPlayers Kernel.GamePool.Count;
            }
            
client.LoggedIn true;
            
client.Action 2;
        }
        public static 
void RemoveBadSkills(GameState client)
        {
            if (
client.Spells.ContainsKey(10405))
                if (!(
client.Player.FirstRebornClass 10 == client.Player.SecondRebornClass 10 && client.Player.SecondRebornClass 10 == client.Player.Class / 10 && client.Player.Class / 10 == 6))
                    
client.RemoveSpell(new MsgMagicInfo(true) { ID 10405 });
            if (!
client.Spells.ContainsKey(10405))
                if (
client.Player.FirstRebornClass 10 == client.Player.SecondRebornClass 10 && client.Player.SecondRebornClass 10 == client.Player.Class / 10 && client.Player.Class / 10 == 6)
                    
client.AddSpell(new MsgMagicInfo(true) { ID 10405 });

            if (!
client.Spells.ContainsKey(6002))
                if (
client.Player.FirstRebornClass 10 == client.Player.SecondRebornClass 10 && client.Player.SecondRebornClass 10 == client.Player.Class / 10 && client.Player.Class / 10 == 5)
                    
client.AddSpell(new MsgMagicInfo(true) { ID 6002 });

            if (
client.Spells.ContainsKey(6002))
                if (!(
client.Player.SecondRebornClass 10 == client.Player.Class / 10 && client.Player.Class / 10 == 5))
                    
client.RemoveSpell(new MsgMagicInfo(true) { ID 6002 });
        }
        public static 
readonly DateTime UnixEpoch = new DateTime(197011);
        public static 
uint UnixTimestamp
        
{
            
get { return (uint)(DateTime.UtcNow UnixEpoch).TotalSeconds; }
        }
        public static 
void LoginMessages(GameState client)
        {
            
#region Time Server
            
MsgData time = new MsgData();
            
time.Year = (uint)DateTime.Now.Year;
            
time.Month = (uint)DateTime.Now.Month;
            
time.DayOfYear = (uint)DateTime.Now.DayOfYear;
            
time.DayOfMonth = (uint)DateTime.Now.Day;
            
time.Hour = (uint)DateTime.Now.Hour;
            
time.Minute = (uint)DateTime.Now.Minute;
            
time.Second = (uint)DateTime.Now.Second;
            
client.Send(time);
            
#endregion
            #region TQPoint
            
if (client.TQPoint 0)
            {
                
MsgInteract send = new MsgInteract(true);
                
send.InteractType MsgInteract.ClaimCP;
                
client.Send(send.ToArray());
            }
            
#endregion
            #region LoginInfo
            //bool IPLast = false;
            //if (client.Account.IP == client.Account.LastIP)
            //    IPLast = true;
            //client.Send(new UserIPInfo(client.Player.LastLogin){ IP = IPLast,LastIP = 1 }.ToArray());
            
client.Send(new MsgPCServerConfig().ToArray());
            
Database.EntityTable.LoginNow(client);
            
client.Send(new RangersOnlineInfo().ToArray());
            
#endregion
            #region RemoveTop
            
if (client.Guild != null && !client.Guild.PoleKeeper || client.Guild != null && client.AsMember.Rank != Enums.GuildMemberRank.DeputyLeader)
            {
                if (
client.Player.ContainsFlag((ulong)MsgUpdate.Flags.TopDeputyLeader))
                {
                    
client.Player.RemoveTopStatus((ulong)MsgUpdate.Flags.TopDeputyLeader);
                }
            }
            if (
client.Guild != null && !client.Guild.PoleKeeper || client.Guild != null && client.AsMember.Rank != Enums.GuildMemberRank.GuildLeader)
            {
                if (
client.Player.ContainsFlag((ulong)MsgUpdate.Flags.TopGuildLeader))
                {
                    
client.Player.RemoveTopStatus((ulong)MsgUpdate.Flags.TopGuildLeader);
                }
            }
            
#endregion
            #region Remove Skill SummonFairy
            
if (client.Spells.ContainsKey(12030))
            {
                
client.RemoveSpell(new MsgMagicInfo(true) { ID 12030 });
            }
            
#endregion
            #region AtQuests
            
var mapstatus Database.MapsTable.MapInformations[client.Map.ID].Status;
            if (
mapstatus == 741)
            {
                
client.Player.Teleport(1002300278);
            }
            
#endregion
            #region ItemReturned
            
if (client.Player.Ascendio_mail 0)
            {
                
Database.ItemReturned.SendItemReturnedIcon(client);
            }
            
#endregion
            #region Inbox
            
if (client.Prizes.Count 0)
            {
                
MsgMailList.SendMailbox(clienttrue);
            }
            
#endregion
            #region SendReload
            
Game.Player.SendReload(client);
            
#endregion
            #region JiangHu
            
MsgOwnKongfuBase.SendJiangHu(client);
            
#endregion
            #region MsgTrainingInfo
            
if (client.Player.MapID == 601)
            {
                
MsgTrainingInfo sts = new MsgTrainingInfo(true);
                var 
T1 = new TimeSpan(DateTime.Now.Ticks);
                var 
T2 = new TimeSpan(client.OfflineTGEnterTime.Ticks);
                
ushort minutes = (ushort)(T1.TotalMinutes T2.TotalMinutes);
                
minutes = (ushort)Math.Min((ushort)900minutes);
                
sts.TotalTrainingMinutesLeft = (ushort)(900 minutes);
                
sts.TrainedMinutes minutes;
                
ulong exp client.Player.Experience;
                
byte level client.Player.Level;
                
double expballGain = (double)300 * (double)minutes / (double)900;
                while (
expballGain >= 100)
                {
                    
expballGain -= 100;
                    
exp += client.ExpBall;
                }
                if (
expballGain != 0)
                    
exp += (uint)(client.ExpBall * (expballGain 100));

                while (
exp >= Database.DataHolder.LevelExperience(level))
                {
                    
exp -= Database.DataHolder.LevelExperience(level);
                    
level++;
                }
                
double percent = (double)exp * (double)100 / (double)Database.DataHolder.LevelExperience(level);

                
sts.Character_NewExp = (ulong)(percent 100000);
                
sts.Character_AcquiredLevel level;
                
sts.Send(client);
            }
            
#endregion
            #region SecondaryPassword
            
if (client.WarehousePW != 0)
            {
                
Msg2ndPsw SP = new Msg2ndPsw(true);
                
SP.Action Msg2ndPsw.Mode.PasswordCorrect;
                
SP.OldPassword 0x1;
                
client.Send(SP.ToArray());
            }
            if (
client.ForgetPassword)
            {
                if (
client.WarehousePW != 0)
                {
                    
Database.ForgetPasswordTable.Date(client);
                }
            }
            if (
client.FinishForget)
            {
                
MsgAction Data = new MsgAction(true);
                
Data.ID MsgAction.Mode.OpenCustom;
                
Data.UID client.Player.UID;
                
Data.TimeStamp Time32.Now;
                
Data.dwParam 3391;
                
Data.client.Player.X;
                
Data.client.Player.Y;
                
client.Send(Data);
                
client.FinishForget false;
            }
            
#endregion
            #region ElitePK
            
bool going false;
            foreach (var 
epk in Game.Features.Tournaments.ElitePKTournament.Tournaments)
                if (
epk.State != ElitePK.States.GUI_Top8Ranking)
                    
going true;
            if (
going)
            {
                
MsgPKEliteMatchInfo brackets = new MsgPKEliteMatchInfo(true0);
                
brackets.Type MsgPKEliteMatchInfo.EPK_State;
                
brackets.OnGoing true;
                
client.Send(brackets);
            }
            
#endregion
            #region Adding Earned skills
            
if (client.Player.Reborn == 2)
                
client.AddSpell(new MsgMagicInfo(true) { ID 9876 });
            if (
client.Player.Class >= 51 && client.Player.Class <= 55 && client.Player.FirstRebornClass == 55 && client.Player.Reborn == 1)
                
client.AddSpell(new MsgMagicInfo(true) { ID 6002 });
            if (
client.Player.FirstRebornClass == 15 && client.Player.SecondRebornClass == 15 && client.Player.Class >= 11 && client.Player.Class <= 15 && client.Player.Reborn == 2)
                
client.AddSpell(new MsgMagicInfo(true) { ID 10315 });
            if (
client.Player.FirstRebornClass == 75 && client.Player.SecondRebornClass == 75 && client.Player.Class >= 71 && client.Player.Class <= 75 && client.Player.Reborn == 2)
                
client.AddSpell(new MsgMagicInfo(true) { ID 11040 });
            if (
client.Player.FirstRebornClass == 25 && client.Player.SecondRebornClass == 25 && client.Player.Class >= 21 && client.Player.Class <= 25 && client.Player.Reborn == 2)
                
client.AddSpell(new MsgMagicInfo(true) { ID 10311 });
            if (
client.Player.FirstRebornClass == 45 && client.Player.SecondRebornClass == 45 && client.Player.Class >= 41 && client.Player.Class <= 45 && client.Player.Reborn == 2)
                
client.AddSpell(new MsgMagicInfo(true) { ID 10313 });
            if (
client.Player.FirstRebornClass == 55 && client.Player.SecondRebornClass == 55 && client.Player.Class >= 51 && client.Player.Class <= 55 && client.Player.Reborn == 2)
                
client.AddSpell(new MsgMagicInfo(true) { ID 6003 });
            if (
client.Player.FirstRebornClass == 65 && client.Player.SecondRebornClass == 65 && client.Player.Class >= 61 && client.Player.Class <= 65 && client.Player.Reborn == 2)
                
client.AddSpell(new MsgMagicInfo(true) { ID 10405 });
            if (
client.Player.FirstRebornClass == 135 && client.Player.SecondRebornClass == 135 && client.Player.Class >= 131 && client.Player.Class <= 135 && client.Player.Reborn == 2)
                
client.AddSpell(new MsgMagicInfo(true) { ID 30000 });
            if (
client.Player.FirstRebornClass == 145 && client.Player.SecondRebornClass == 145 && client.Player.Class >= 140 && client.Player.Class <= 145 && client.Player.Reborn == 2)
                
client.AddSpell(new MsgMagicInfo(true) { ID 10310 });
            
//if (client.Player.FirstRebornClass == 85 && client.Player.SecondRebornClass == 85 && client.Player.Class >= 80 && client.Player.Class <= 85 && client.Player.Reborn == 2)
            //    client.AddSpell(new MsgMagicInfo(true) { ID = 10310 });
            
if (client.Player.Reborn == 1)
            {
                if (
client.Player.FirstRebornClass == 15 && client.Player.Class >= 11 && client.Player.Class <= 15)
                {
                    
client.AddSpell(new MsgMagicInfo(true) { ID 3050 });
                }
                else if (
client.Player.FirstRebornClass == 25 && client.Player.Class >= 21 && client.Player.Class <= 25)
                {
                    
client.AddSpell(new MsgMagicInfo(true) { ID 3060 });
                }
                else if (
client.Player.FirstRebornClass == 145 && client.Player.Class >= 142 && client.Player.Class <= 145)
                {
                    
client.AddSpell(new MsgMagicInfo(true) { ID 3080 });
                }
                else if (
client.Player.FirstRebornClass == 135 && client.Player.Class >= 132 && client.Player.Class <= 135)
                {
                    
client.AddSpell(new MsgMagicInfo(true) { ID 3090 });
                }
            }
            if (
client.Player.Reborn == 2)
            {
                if (
client.Player.SecondRebornClass == 15 && client.Player.Class >= 11 && client.Player.Class <= 15)
                {
                    
client.AddSpell(new MsgMagicInfo(true) { ID 3050 });
                }
                else if (
client.Player.SecondRebornClass == 25)
                {
                    
client.AddSpell(new MsgMagicInfo(true) { ID 3060 });
                }
                else if (
client.Player.SecondRebornClass == 145 && client.Player.Class >= 142 && client.Player.Class <= 145)
                {
                    
client.AddSpell(new MsgMagicInfo(true) { ID 3080 });
                }
                else if (
client.Player.SecondRebornClass == 135 && client.Player.Class >= 132 && client.Player.Class <= 135)
                {
                    
client.AddSpell(new MsgMagicInfo(true) { ID 3090 });
                }
            }
            
#endregion
            #region MentorInformation
            
if (client.Mentor != null)
            {
                if (
client.Mentor.IsOnline)
                {
                    
MentorInformation Information = new MentorInformation(true);
                    
Information.Mentor_Type 1;
                    
Information.Mentor_ID client.Mentor.Client.Player.UID;
                    
Information.Apprentice_ID client.Player.UID;
                    
Information.Enrole_Date client.Mentor.EnroleDate;
                    
Information.Mentor_Level client.Mentor.Client.Player.Level;
                    
Information.Mentor_Class client.Mentor.Client.Player.Class;
                    
Information.Mentor_PkPoints client.Mentor.Client.Player.PKPoints;
                    
Information.Mentor_Mesh client.Mentor.Client.Player.Mesh;
                    
Information.Mentor_Online true;
                    
Information.Shared_Battle_Power client.Player.BattlePowerFrom(client.Mentor.Client.Player);
                    
Information.String_Count 3;
                    
Information.Mentor_Name client.Mentor.Client.Player.Name;
                    
Information.Apprentice_Name client.Player.Name;
                    
Information.Mentor_Spouse_Name client.Mentor.Client.Player.Spouse;
                    
client.ReviewMentor();
                    
client.Send(Information);

                    
MsgGuideInfo AppInfo = new MsgGuideInfo();
                    
AppInfo.Apprentice_ID client.Player.UID;
                    
AppInfo.Apprentice_Level client.Player.Level;
                    
AppInfo.Apprentice_Class client.Player.Class;
                    
AppInfo.Apprentice_PkPoints client.Player.PKPoints;
                    
AppInfo.Apprentice_Experience client.AsApprentice.Actual_Experience;
                    
AppInfo.Apprentice_Composing client.AsApprentice.Actual_Plus;
                    
AppInfo.Apprentice_Blessing client.AsApprentice.Actual_HeavenBlessing;
                    
AppInfo.Apprentice_Name client.Player.Name;
                    
AppInfo.Apprentice_Online true;
                    
AppInfo.Apprentice_Spouse_Name client.Player.Spouse;
                    
AppInfo.Enrole_date client.Mentor.EnroleDate;
                    
AppInfo.Mentor_ID client.Mentor.ID;
                    
AppInfo.Mentor_Mesh client.Mentor.Client.Player.Mesh;
                    
AppInfo.Mentor_Name client.Mentor.Name;
                    
AppInfo.Type 2;
                    
client.Mentor.Client.Send(AppInfo);
                }
                else
                {
                    
MentorInformation Information = new MentorInformation(true);
                    
Information.Mentor_Type 1;
                    
Information.Mentor_ID client.Mentor.ID;
                    
Information.Apprentice_ID client.Player.UID;
                    
Information.Enrole_Date client.Mentor.EnroleDate;
                    
Information.Mentor_Online false;
                    
Information.String_Count 2;
                    
Information.Mentor_Name client.Mentor.Name;
                    
Information.Apprentice_Name client.Player.Name;
                    
client.Send(Information);
                }
            }
            
#endregion
            #region Nobility
            
MsgPeerage Nobility = new MsgPeerage(true);
            
Nobility.Action MsgPeerage.Mode.Icon;
            
Nobility.dwParam client.NobilityInformation.EntityUID;
            
Nobility.Donation client.NobilityInformation.Donation;
            
Nobility.UpdateString(client.NobilityInformation);
            
client.Send(Nobility);
            
#endregion
            #region ChiPowers
            
client.Send(new MsgTrainingVitalityInfo(true).Query(client));
            
MsgTrainingVitality.SendChiRankings(new MsgRank(true) { Mode MsgRank.QueryCount }, client);
            
#endregion
            #region AutoHunt
            
client.Send(new MsgHangUp() { Icon 341 }.ToArray());
            
#endregion
            #region WentToComplete
            
client.Filtering true;
            if (
client.WentToComplete) return;
            
RemoveBadSkills(client);
            
client.WentToComplete true;
            
client.Player.SendUpdates true;
            
#endregion
            #region Guild
            
foreach (var Guild in Kernel.Guilds.Values)
            {
                
Guild.SendName(client);
            }
            if (
client.Guild != null)
            {
                
client.Guild.SendAllyAndEnemy(client);
                
client.Player.GuildSharedBp client.Guild.GetSharedBattlepower(client.Player.GuildRank);
            }
            
#endregion
            #region QuizShow
            
if (Kernel.QuizShow.Open)
                
Kernel.QuizShow.AddPlayer(client);
            
client.Player.Update((byte)MsgUpdate.DataType.QuizPointsclient.Player.QuizPointstrue);
            
#endregion
            #region Equipment
            
foreach (MsgItemInfo item in client.Inventory.Objects)
                
item.Send(client);
            foreach (
MsgItemInfo item in client.Equipment.Objects)
            {
                if (
item != null)
                {
                    if (
Database.ConquerItemInformation.BaseInformations.ContainsKey(item.ID))
                    {
                        
item.Send(client);
                    }
                    else
                    {
                        
client.Equipment.DestroyArrow(item.Position);
                    }
                }
            }
            
client.LoadItemStats();
            if (!
client.Equipment.Free(5))
            {
                if (
ItemHandler.IsArrow(client.Equipment.TryGetItem(5).ID))
                {
                    if (
client.Equipment.Free(4))
                        
client.Equipment.DestroyArrow(5);
                    else
                    {
                        if (
client.Equipment.TryGetItem(4).ID 1000 != 500)
                            
client.Equipment.DestroyArrow(5);
                    }
                }
            }
            
client.GemAlgorithm();
            
client.CalculateStatBonus();
            
client.CalculateHPBonus();
            
client.Player.Stamina 100;
            
#endregion
            #region WelcomeMessages
            
string[] wm File.ReadAllLines(Constants.WelcomeMessages);
            foreach (
string line in wm)
            {
                if (
line.Length == 0) continue;
                if (
line[0] == ';') continue;
                
client.Send(line);
            }
            
#endregion
            #region VIPLevel
            
client.Player.VIPLevel = (byte)(client.Player.VIPLevel 0);
            if (
client.Player.VIPLevel 0)
            {
                
MsgVipFunctionValidNotify vip = new MsgVipFunctionValidNotify();
                
client.Send(vip.GetArray());
            }
            
#endregion
            #region MapStatus
            
client.Send(new MsgMapInfo() { BaseID client.Map.BaseIDID client.Map.IDStatus Database.MapsTable.MapInformations[client.Map.ID].StatusWeather Database.MapsTable.MapInformations[client.Map.ID].Weather });
            if (
client.Player.Hitpoints == 0)
            {
                
ushort[] Point Database.DataHolder.FindReviveSpot(client.Map.ID);
                
client.Player.Teleport(Point[0], Point[1], Point[2]);
                
client.Player.Hitpoints 1;
            }
            
#endregion
            #region MentorBattlePower
            
if (client.Player.MentorBattlePower != 0)
                
client.Player.Update((byte)MsgUpdate.DataType.ExtraBattlePowerclient.Player.MentorBattlePowerfalse);
            
#endregion
            #region Broadcast
            
if (Game.ConquerStructures.Broadcast.CurrentBroadcast.EntityID 2)
                
client.Send(new MsgTalk(Game.ConquerStructures.Broadcast.CurrentBroadcast.Message"ALLUSERS"Game.ConquerStructures.Broadcast.CurrentBroadcast.EntityNameColor.RedMsgTalk.BroadcastMessage));
            
#endregion
            #region BlessTime
            
client.Player.ExpProtectionTime = (ushort)(client.Player.ExpProtectionTime + (1));
            
client.Player.DoubleExperienceTime = (ushort)(client.Player.DoubleExperienceTime + (1));
            
client.Player.HandleTiming true;
            
client.Player.Update((byte)MsgUpdate.DataType.RaceShopPointsclient.Player.RacePointsfalse);
            
client.Player.Update((byte)MsgUpdate.DataType.LuckyTimeTimerclient.BlessTimefalse);
            if (
client.Player.HeavenBlessing != 0)
            {
                
client.Send("Heaven Blessing Expire: " DateTime.Now.AddSeconds(client.Player.HeavenBlessing).ToString("yyyy:MM-dd:HH"));
                
client.Player.Update((byte)MsgUpdate.DataType.OnlineTrainingclient.OnlineTrainingPointsfalse);
            }
            
#endregion
            #region ClaimableItem
            
if (client.ClaimableItem.Count 0)
            {
                foreach (var 
item in client.ClaimableItem.Values)
                {
                    
Database.ItemAddingTable.GetAddingsForItem(item.Item);
                    
item.Send(client);
                    
item.Item.SendExtras(client);
                }
            }
            
#endregion
            #region DeatinedItem
            
if (client.DeatinedItem.Count 0)
            {
                foreach (var 
item in client.DeatinedItem.Values)
                {
                    
Database.ItemAddingTable.GetAddingsForItem(item.Item);
                    
item.Send(client);
                    
item.Item.SendExtras(client);
                }
            }
            
client.Equipment.UpdateEntityPacket();
            
#endregion
            #region BloodshedSea
            
if (client.Player.MapID == 3846)
            {
                
MsgAction data = new MsgAction(true);
                
data.UID client.Player.UID;
                
data.dwParam 3846;
                
data.ID = (MsgAction.Mode)104;
                
data.TimeStamp Time32.Now;
                
data.dwParam 16755370;
                
client.Send(data);
                
client.SendScreen(datatrue);
                
client.Screen.Reload(null);
            }
            
#endregion
            #region Merchant
            
client.Player.Update((byte)MsgUpdate.DataType.Merchant255false);
            
#endregion
            #region Sash
            
client.Player.Update((byte)MsgUpdate.DataType.AvailableSlots200false);
            
client.Player.Update((byte)MsgUpdate.DataType.ExtraInventoryclient.Player.ExtraInventoryfalse);
            
client.LoadItemStats();
            
#endregion
            #region Inner
            
if (!Rangers.Inner.InnerPower.InnerPowerPolle.TryGetValue(client.Player.UIDout client.Player.InnerPower))
            {
                
client.Player.InnerPower = new Rangers.Inner.InnerPower(client.Player.Nameclient.Player.UID);
                
Database.InnerPowerTable.New(client);
            }

            
client.Player.InnerPower.UpdateStatus();
            
client.Player.InnerPower.AddPotency(nullclient0);
            
client.LoadItemStats();
            
#endregion
            #region Union
            
client.UnionExploits client.UnionExploits;
            if (
Kernel.Unions.Count 0)
            {
                
Union.MsgLeagueOpt Res = new Union.MsgLeagueOpt(true);
                
Res.Action Union.Actions.KingdomIcon;
                if (
client.Union != null)
                {
                    
Res.dwParam2 client.Union.ID;
                }
                
Res.dwParam3 Kernel.ServerKingdom;
                
client.Send(Res.ToArray());
            }
            if (
client.Union != null)
            {
                
client.Send(client.Union.SendOverheadLeagueInfo(client));
            }
            if (
client.Union != null)
            {
                if (
client.Union.IsKingdom())
                {
                    if (
client.Union.IsLeader(client.Player.UID))
                    {
                        
Union.MsgLeagueOpt Res = new Union.MsgLeagueOpt(true);
                        
Res.Action Union.Actions.KingdomTitleGui;
                        
Res.dwParam3 Kernel.ServerKingdom;
                        
client.Send(Res.ToArray());
                    }
                }
            }
            
#endregion
            #region Storages
            
new CoatStorage().Login(client);
            new 
TitleStorage().Login(client);
            
#endregion
            #region Perfection
            
client.Player.Prestige client.Player.Prestige;
            new 
MsgUserAbilityScore().SendScore(clientclient);
            
client.Send(new Network.GamePackets.Perfection.CMsgUserTotalRefineLevel(client));
            
client.Send(CMsgItemRefineRecord.FinalizeProtoBuf(new ItemRefineRecordProto()
            {
                
CurrentAction 0,
                
dwParam 54,
                
dwParam1 0
            
}));
            if (
client.Player.Prestige == 0)
                
PerfectionManager.CalcAndAdd(client);
            
MsgTrainingVitality.SendRankingQuery(new MsgRank(true) { Mode }, clientMsgRank.PrestigePerfectionManager.GetPosition(client), (uint)client.Player.Prestige);
            
#endregion
        
}
    }




العلامات المرجعية



الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1)
 
أدوات الموضوع

الانتقال السريع

المواضيع المتشابهه للموضوع: مشكله في التوبات
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
مشكله بخصوص افكت التوبات ابو مروان مشكلات السيرفيرات كونكر الشخصيه 4 2020-05-11 04:07 PM
مشكلة في التوبات AhmedGadd مشكلات السيرفيرات كونكر الشخصيه 12 2020-04-16 01:54 PM
مشكله في مابات التوبات Diego مشكلات السيرفيرات كونكر الشخصيه 2 2020-04-10 10:00 AM
طلب تعديل التوبات ElSaher مشكلات السيرفيرات كونكر الشخصيه 8 2020-02-05 07:36 PM
مشكلة في التوبات youssefabdelmanam مشكلات السيرفيرات كونكر الشخصيه 5 2019-12-11 07:02 AM


الساعة الآن 01:36 AM

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.