منتدي اكواد

منتدي اكواد (https://code.vpscairo.com/index.php)
-   تطوير سيرفرات كونكر (https://code.vpscairo.com/forumdisplay.php?f=11)
-   -   Big Monsters full system (https://code.vpscairo.com/showthread.php?t=2161)

Tefa 2019-09-11 11:48 PM

Big Monsters full system
 


بسم الله و الصلاة و السلام علي رسول الله

موضوعنا النهرده مميز و هوه الوحوش الكبيره كامله طبعا هتقولي اضافتهم موجوده قبل كده ايه الجديد اقولك انا الجديد في ان بي سي بيقولك انه وحش طالع و لو وقفت علي اسم وحش بالماوس تقدر تشوف بيوقع ايه
عفواً لايمكن عرض الروابط إلا بعد الرد على الموضوع
و لو مفيش ولا وحش طالع بتتكتبلك رساله ان مفشيش ولا وحش طالع
بس كده لا
في وحشين بيطلعوا في جيلد وار كل 12 ساعه واحد بيديك كتاب يعملك واحده فل ف تشي بي اتاك مثلا
و وحش تاني و بوابه كامله في جيانج فل
ندخل علي الاضافه
World.cs
كود PHP:

#region The-Monster
            #region BigMonster [War]
            #region LostMan
            
if (DateTime.Now.Hour == 12 && DateTime.Now.Minute == 10 && DateTime.Now.Second == 05)
            {
                
ushort x 00;
                
ushort MapID 1038;
                
132;
                
120;
                if (
Database.DMaps.LoadMap(MapID))
                {
                    if (
Program.LostMan)
                    {
                        if (
Kernel.Maps.ContainsKey(MapID))
                        {
                            var 
Map Kernel.Maps[MapID];
                            if (
Database.MonsterInformation.MonsterInformations.ContainsKey(417101))
                            {
                                
Database.MonsterInformation mt Database.MonsterInformation.MonsterInformations[417101];
                                
mt.BoundX x;
                                
Program.LostMan false;
                                
mt.BoundY y;
                                
Entity entity = new Entity(EntityFlag.Monsterfalse);
                                
entity.MapObjType MapObjectType.Monster;
                                
entity.MonsterInfo mt.Copy();
                                
entity.MonsterInfo.Owner entity;
                                
entity.Name mt.Name;
                                
entity.MinAttack mt.MinAttack;
                                
entity.MaxAttack entity.MagicAttack mt.MaxAttack;
                                
entity.Hitpoints entity.MaxHitpoints mt.Hitpoints;
                                
entity.Defence mt.Defence;
                                
entity.Body mt.Mesh;
                                
entity.Level mt.Level;
                                
entity.UID Map.EntityUIDCounter.Next;
                                
entity.MapID MapID;
                                
entity.x;
                                
entity.Boss 1;
                                
entity.y;
                                if (
== || == 0)
                                {
                                    var 
cord Map.RandomCoordinates();
                                    
entity.cord.Item1;
                                    
entity.cord.Item2;
                                    do
                                    {
                                        
cord Map.RandomCoordinates();
                                        
entity.cord.Item1;
                                        
entity.cord.Item2;
                                    }
                                    while (!
Map.Floor[entity.Xentity.YMapObjectType.Monster]);
                                }

                                
Map.AddEntity(entity);
                                
Network.GamePackets._String stringPacket =
                new 
Network.GamePackets._String(true);
                                
stringPacket.UID entity.UID;
                                
stringPacket.Type Network.GamePackets._String.Effect;
                                
stringPacket.Texts.Add("MBStandard");
                                
Data data = new Data(true);
                                
data.UID entity.UID;
                                
data.ID Network.GamePackets.Data.AddEntity;
                                
data.wParam1 entity.X;
                                
data.wParam2 entity.Y;
                                foreach (
Client.GameState clllient in Program.Values)
                                {
                                    if (
clllient.Map.ID == entity.MapID)
                                    {
                                        if (
Kernel.GetDistance(clllient.Entity.Xclllient.Entity.Yentity.Xentity.Y) <
                                            
Constants.nScreenDistance)
                                        {
                                            
entity.SendSpawn(clllientfalse);
                                            
clllient.Send(stringPacket);
                                            
clllient.Send(data);
                                            if (
entity.MaxHitpoints 65535)
                                            {
                                                
Update upd = new Update(true) { UID entity.UID };
                                                
upd.Append(Update.MaxHitpointsentity.MaxHitpoints);
                                                
upd.Append(Update.Hitpointsentity.Hitpoints);
                                                
clllient.Send(upd);
                                            }

                                        }
                                    }
                                }
                                foreach (var 
client10 in Program.Values)
                                {
                                    
client10.Entity.SendSysMessage("LostMan W7sh al Chi[400] Low 3ez Tro7 Dos Ok!");
                                    
client10.MessageBox("LostMan W7sh al Chi[400] Low 3ez Tro7 Dos Ok?",
                                   (
p) => { p.Entity.Teleport(399815555); }, null20);
                                }
                            }
                        }
                    }
                }
            }
            
#endregion
            #region Legendarywarrior
            
if (DateTime.Now.Hour == 00 && DateTime.Now.Minute == 10 && DateTime.Now.Second == 05)
            {
                
ushort x 00;
                
ushort MapID 1038;
                
132;
                
120;
                
uint id 417110;
                
string name "Legendarywarrior";
                if (
Database.DMaps.LoadMap(MapID))
                {
                    if (
Program.Legendary)
                    {
                        if (
Kernel.Maps.ContainsKey(MapID))
                        {
                            var 
Map Kernel.Maps[MapID];
                            if (
Database.MonsterInformation.MonsterInformations.ContainsKey(id))
                            {
                                
Database.MonsterInformation mt Database.MonsterInformation.MonsterInformations[id];
                                
mt.BoundX x;
                                
Program.Legendary false;
                                
mt.BoundY y;
                                
Entity entity = new Entity(EntityFlag.Monsterfalse);
                                
entity.MapObjType MapObjectType.Monster;
                                
entity.MonsterInfo mt.Copy();
                                
entity.MonsterInfo.Owner entity;
                                
entity.Name mt.Name;
                                
entity.MinAttack mt.MinAttack;
                                
entity.MaxAttack entity.MagicAttack mt.MaxAttack;
                                
entity.Hitpoints entity.MaxHitpoints mt.Hitpoints;
                                
entity.Defence mt.Defence;
                                
entity.Body mt.Mesh;
                                
entity.Level mt.Level;
                                
entity.UID Map.EntityUIDCounter.Next;
                                
entity.MapID MapID;
                                
entity.x;
                                
entity.Boss 1;
                                
entity.y;
                                if (
== || == 0)
                                {
                                    var 
cord Map.RandomCoordinates();
                                    
entity.cord.Item1;
                                    
entity.cord.Item2;
                                    do
                                    {
                                        
cord Map.RandomCoordinates();
                                        
entity.cord.Item1;
                                        
entity.cord.Item2;
                                    }
                                    while (!
Map.Floor[entity.Xentity.YMapObjectType.Monster]);
                                }

                                
Map.AddEntity(entity);
                                
Network.GamePackets._String stringPacket =
                new 
Network.GamePackets._String(true);
                                
stringPacket.UID entity.UID;
                                
stringPacket.Type Network.GamePackets._String.Effect;
                                
stringPacket.Texts.Add("MBStandard");
                                
Data data = new Data(true);
                                
data.UID entity.UID;
                                
data.ID Network.GamePackets.Data.AddEntity;
                                
data.wParam1 entity.X;
                                
data.wParam2 entity.Y;
                                foreach (
Client.GameState clllient in Program.Values)
                                {
                                    if (
clllient.Map.ID == entity.MapID)
                                    {
                                        if (
Kernel.GetDistance(clllient.Entity.Xclllient.Entity.Yentity.Xentity.Y) <
                                            
Constants.nScreenDistance)
                                        {
                                            
entity.SendSpawn(clllientfalse);
                                            
clllient.Send(stringPacket);
                                            
clllient.Send(data);
                                            if (
entity.MaxHitpoints 65535)
                                            {
                                                
Update upd = new Update(true) { UID entity.UID };
                                                
upd.Append(Update.MaxHitpointsentity.MaxHitpoints);
                                                
upd.Append(Update.Hitpointsentity.Hitpoints);
                                                
clllient.Send(upd);
                                            }

                                        }
                                    }
                                }
                                foreach (var 
client10 in Program.Values)
                                {
                                    
client10.Entity.SendSysMessage(name " W7sh al Jiang[Epic] low Htro7 Dos Ok!");
                                    
client10.MessageBox(name " W7sh al Jiang[Epic] low Htro7 Dos Ok?",
                                   (
p) => { p.Entity.Teleport(MapIDxy); }, null20);
                                }
                            }
                        }
                    }
                }
            }
            
#endregion
            #endregion
            #region BigMonster [SavageBone]
            #region ThrillingSpook
            
if (DateTime.Now.Minute == 45 && DateTime.Now.Second == 10)
            {
                
ushort x 00;
                
ushort MapID 39984;
                
290;
                
152;
                
uint id 4172;
                
string name "ThrillingSpook";
                if (
Database.DMaps.LoadMap(MapID))
                {
                    if (
Program.ThrillingSpook)
                    {
                        if (
Kernel.Maps.ContainsKey(MapID))
                        {
                            var 
Map Kernel.Maps[MapID];
                            if (
Database.MonsterInformation.MonsterInformations.ContainsKey(id))
                            {
                                
Database.MonsterInformation mt Database.MonsterInformation.MonsterInformations[id];
                                
mt.BoundX x;
                                
Program.ThrillingSpook false;
                                
mt.BoundY y;
                                
Entity entity = new Entity(EntityFlag.Monsterfalse);
                                
entity.MapObjType MapObjectType.Monster;
                                
entity.MonsterInfo mt.Copy();
                                
entity.MonsterInfo.Owner entity;
                                
entity.Name mt.Name;
                                
entity.MinAttack mt.MinAttack;
                                
entity.MaxAttack entity.MagicAttack mt.MaxAttack;
                                
entity.Hitpoints entity.MaxHitpoints mt.Hitpoints;
                                
entity.Defence mt.Defence;
                                
entity.Body mt.Mesh;
                                
entity.Level mt.Level;
                                
entity.UID Map.EntityUIDCounter.Next;
                                
entity.MapID MapID;
                                
entity.x;
                                
entity.Boss 1;
                                
entity.y;
                                if (
== || == 0)
                                {
                                    var 
cord Map.RandomCoordinates();
                                    
entity.cord.Item1;
                                    
entity.cord.Item2;
                                    do
                                    {
                                        
cord Map.RandomCoordinates();
                                        
entity.cord.Item1;
                                        
entity.cord.Item2;
                                    }
                                    while (!
Map.Floor[entity.Xentity.YMapObjectType.Monster]);
                                }

                                
Map.AddEntity(entity);
                                
Network.GamePackets._String stringPacket =
                                new 
Network.GamePackets._String(true);
                                
stringPacket.UID entity.UID;
                                
stringPacket.Type Network.GamePackets._String.Effect;
                                
stringPacket.Texts.Add("MBStandard");
                                
Data data = new Data(true);
                                
data.UID entity.UID;
                                
data.ID Network.GamePackets.Data.AddEntity;
                                
data.wParam1 entity.X;
                                
data.wParam2 entity.Y;
                                foreach (
Client.GameState clllient in Program.Values)
                                {
                                    if (
clllient.Map.ID == entity.MapID)
                                    {
                                        if (
Kernel.GetDistance(clllient.Entity.Xclllient.Entity.Yentity.Xentity.Y) <
                                            
Constants.nScreenDistance)
                                        {
                                            
entity.SendSpawn(clllientfalse);
                                            
clllient.Send(stringPacket);
                                            
clllient.Send(data);
                                            if (
entity.MaxHitpoints 65535)
                                            {
                                                
Update upd = new Update(true) { UID entity.UID };
                                                
upd.Append(Update.MaxHitpointsentity.MaxHitpoints);
                                                
upd.Append(Update.Hitpointsentity.Hitpoints);
                                                
clllient.Send(upd);
                                            }

                                        }
                                    }
                                }
                                foreach (var 
client10 in Program.Values)
                                {
                                    
client10.Entity.SendSysMessage(name " has appeared.  Hurry and go defeat the beast!");
                                    
client10.MessageBox(name " has appeared Would you Want to Kill-Monster?",
                                   (
p) => { p.Entity.Teleport(MapIDxy); }, null20);
                                }
                            }
                        }
                    }
                }
            }
            
#endregion
            #region SnowBanshee
            //if (DateTime.Now.Minute == 30 && DateTime.Now.Second == 10)
            //{
            //    ushort x = 0, y = 0;
            //    ushort MapID = 39984;
            //    y = 226;
            //    x = 360;
            //    uint id = 4171;
            //    string name = "SnowBanshee";
            //    if (Database.DMaps.LoadMap(MapID))
            //    {
            //        if (Program.SnowBa)
            //        {
            //            if (Kernel.Maps.ContainsKey(MapID))
            //            {
            //                var Map = Kernel.Maps[MapID];
            //                if (Database.MonsterInformation.MonsterInformations.ContainsKey(id))
            //                {
            //                    Database.MonsterInformation mt = Database.MonsterInformation.MonsterInformations[id];
            //                    mt.BoundX = x;
            //                    Program.SnowBa = false;
            //                    mt.BoundY = y;
            //                    Entity entity = new Entity(EntityFlag.Monster, false);
            //                    entity.MapObjType = MapObjectType.Monster;
            //                    entity.MonsterInfo = mt.Copy();
            //                    entity.MonsterInfo.Owner = entity;
            //                    entity.Name = mt.Name;
            //                    entity.MinAttack = mt.MinAttack;
            //                    entity.MaxAttack = entity.MagicAttack = mt.MaxAttack;
            //                    entity.Hitpoints = entity.MaxHitpoints = mt.Hitpoints;
            //                    entity.Defence = mt.Defence;
            //                    entity.Body = mt.Mesh;
            //                    entity.Level = mt.Level;
            //                    entity.UID = Map.EntityUIDCounter.Next;
            //                    entity.MapID = MapID;
            //                    entity.X = x;
            //                    entity.Boss = 1;
            //                    entity.Y = y;
            //                    if (x == 0 || y == 0)
            //                    {
            //                        var cord = Map.RandomCoordinates();
            //                        entity.X = cord.Item1;
            //                        entity.Y = cord.Item2;
            //                        do
            //                        {
            //                            cord = Map.RandomCoordinates();
            //                            entity.X = cord.Item1;
            //                            entity.Y = cord.Item2;
            //                        }
            //                        while (!Map.Floor[entity.X, entity.Y, MapObjectType.Monster]);
            //                    }

            //                    Map.AddEntity(entity);
            //                    Network.GamePackets._String stringPacket =
            //                    new Network.GamePackets._String(true);
            //                    stringPacket.UID = entity.UID;
            //                    stringPacket.Type = Network.GamePackets._String.Effect;
            //                    stringPacket.Texts.Add("MBStandard");
            //                    Data data = new Data(true);
            //                    data.UID = entity.UID;
            //                    data.ID = Network.GamePackets.Data.AddEntity;
            //                    data.wParam1 = entity.X;
            //                    data.wParam2 = entity.Y;
            //                    foreach (Client.GameState clllient in Program.Values)
            //                    {
            //                        if (clllient.Map.ID == entity.MapID)
            //                        {
            //                            if (Kernel.GetDistance(clllient.Entity.X, clllient.Entity.Y, entity.X, entity.Y) <
            //                                Constants.nScreenDistance)
            //                            {
            //                                entity.SendSpawn(clllient, false);
            //                                clllient.Send(stringPacket);
            //                                clllient.Send(data);
            //                                if (entity.MaxHitpoints > 65535)
            //                                {
            //                                    Update upd = new Update(true) { UID = entity.UID };
            //                                    upd.Append(Update.MaxHitpoints, entity.MaxHitpoints);
            //                                    upd.Append(Update.Hitpoints, entity.Hitpoints);
            //                                    clllient.Send(upd);
            //                                }

            //                            }
            //                        }
            //                    }
            //                    foreach (var client10 in Program.Values)
            //                    {
            //                        client10.Entity.SendSysMessage(name + " has appeared.  Hurry and go defeat the beast!");
            //                        client10.MessageBox(name + " has appeared Would you Want to Kill-Monster?",
            //                       (p) => { p.Entity.Teleport(MapID, x, y); }, null, 20);
            //                    }
            //                }
            //            }
            //        }
            //    }
            //}
            #endregion
            #region NemesisTyrant
            
if (DateTime.Now.Minute == 15 && DateTime.Now.Second == 10)
            {
                
ushort x 00;
                
ushort MapID 39984;
                
183;
                
132;
                
uint id 4220;
                
string name "NemesisTyrant";
                if (
Database.DMaps.LoadMap(MapID))
                {
                    if (
Program.Nemesis)
                    {
                        if (
Kernel.Maps.ContainsKey(MapID))
                        {
                            var 
Map Kernel.Maps[MapID];
                            if (
Database.MonsterInformation.MonsterInformations.ContainsKey(id))
                            {
                                
Database.MonsterInformation mt Database.MonsterInformation.MonsterInformations[id];
                                
mt.BoundX x;
                                
Program.Nemesis false;
                                
mt.BoundY y;
                                
Entity entity = new Entity(EntityFlag.Monsterfalse);
                                
entity.MapObjType MapObjectType.Monster;
                                
entity.MonsterInfo mt.Copy();
                                
entity.MonsterInfo.Owner entity;
                                
entity.Name mt.Name;
                                
entity.MinAttack mt.MinAttack;
                                
entity.MaxAttack entity.MagicAttack mt.MaxAttack;
                                
entity.Hitpoints entity.MaxHitpoints mt.Hitpoints;
                                
entity.Defence mt.Defence;
                                
entity.Body mt.Mesh;
                                
entity.Level mt.Level;
                                
entity.UID Map.EntityUIDCounter.Next;
                                
entity.MapID MapID;
                                
entity.x;
                                
entity.Boss 1;
                                
entity.y;
                                if (
== || == 0)
                                {
                                    var 
cord Map.RandomCoordinates();
                                    
entity.cord.Item1;
                                    
entity.cord.Item2;
                                    do
                                    {
                                        
cord Map.RandomCoordinates();
                                        
entity.cord.Item1;
                                        
entity.cord.Item2;
                                    }
                                    while (!
Map.Floor[entity.Xentity.YMapObjectType.Monster]);
                                }

                                
Map.AddEntity(entity);
                                
Network.GamePackets._String stringPacket =
                                new 
Network.GamePackets._String(true);
                                
stringPacket.UID entity.UID;
                                
stringPacket.Type Network.GamePackets._String.Effect;
                                
stringPacket.Texts.Add("MBStandard");
                                
Data data = new Data(true);
                                
data.UID entity.UID;
                                
data.ID Network.GamePackets.Data.AddEntity;
                                
data.wParam1 entity.X;
                                
data.wParam2 entity.Y;
                                foreach (
Client.GameState clllient in Program.Values)
                                {
                                    if (
clllient.Map.ID == entity.MapID)
                                    {
                                        if (
Kernel.GetDistance(clllient.Entity.Xclllient.Entity.Yentity.Xentity.Y) <
                                            
Constants.nScreenDistance)
                                        {
                                            
entity.SendSpawn(clllientfalse);
                                            
clllient.Send(stringPacket);
                                            
clllient.Send(data);
                                            if (
entity.MaxHitpoints 65535)
                                            {
                                                
Update upd = new Update(true) { UID entity.UID };
                                                
upd.Append(Update.MaxHitpointsentity.MaxHitpoints);
                                                
upd.Append(Update.Hitpointsentity.Hitpoints);
                                                
clllient.Send(upd);
                                            }

                                        }
                                    }
                                }
                                foreach (var 
client10 in Program.Values)
                                {
                                    
client10.Entity.SendSysMessage(name " has appeared.  Hurry and go defeat the beast!");
                                    
client10.MessageBox(name " has appeared Would you Want to Kill-Monster?",
                                   (
p) => { p.Entity.Teleport(MapIDxy); }, null20);
                                }
                            }
                        }
                    }
                }
            }
            
#endregion
            #region TeratoDragon
            
if ((DateTime.Now.Minute == 00 && DateTime.Now.Second == 10))
            {
                
ushort x 00;
                
ushort MapID 39984;
                
93;
                
212;
                
uint id 4152;
                
string name "TeratoDragon"; ;
                if (
Database.DMaps.LoadMap(MapID))
                {
                    if (
Program.TeratoDragon)
                    {
                        if (
Kernel.Maps.ContainsKey(MapID))
                        {
                            var 
Map Kernel.Maps[MapID];
                            if (
Database.MonsterInformation.MonsterInformations.ContainsKey(id))
                            {
                                
Database.MonsterInformation mt Database.MonsterInformation.MonsterInformations[id];
                                
mt.BoundX x;
                                
Program.TeratoDragon false;
                                
mt.BoundY y;
                                
Entity entity = new Entity(EntityFlag.Monsterfalse);
                                
entity.MapObjType MapObjectType.Monster;
                                
entity.MonsterInfo mt.Copy();
                                
entity.MonsterInfo.Owner entity;
                                
entity.Name mt.Name;
                                
entity.MinAttack mt.MinAttack;
                                
entity.MaxAttack entity.MagicAttack mt.MaxAttack;
                                
entity.Hitpoints entity.MaxHitpoints mt.Hitpoints;
                                
entity.Defence mt.Defence;
                                
entity.Body mt.Mesh;
                                
entity.Level mt.Level;
                                
entity.UID Map.EntityUIDCounter.Next;
                                
entity.MapID MapID;
                                
entity.x;
                                
entity.Boss 1;
                                
entity.y;
                                if (
== || == 0)
                                {
                                    var 
cord Map.RandomCoordinates();
                                    
entity.cord.Item1;
                                    
entity.cord.Item2;
                                    do
                                    {
                                        
cord Map.RandomCoordinates();
                                        
entity.cord.Item1;
                                        
entity.cord.Item2;
                                    }
                                    while (!
Map.Floor[entity.Xentity.YMapObjectType.Monster]);
                                }

                                
Map.AddEntity(entity);
                                
Network.GamePackets._String stringPacket =
                                new 
Network.GamePackets._String(true);
                                
stringPacket.UID entity.UID;
                                
stringPacket.Type Network.GamePackets._String.Effect;
                                
stringPacket.Texts.Add("MBStandard");
                                
Data data = new Data(true);
                                
data.UID entity.UID;
                                
data.ID Network.GamePackets.Data.AddEntity;
                                
data.wParam1 entity.X;
                                
data.wParam2 entity.Y;
                                foreach (
Client.GameState clllient in Program.Values)
                                {
                                    if (
clllient.Map.ID == entity.MapID)
                                    {
                                        if (
Kernel.GetDistance(clllient.Entity.Xclllient.Entity.Yentity.Xentity.Y) <
                                            
Constants.nScreenDistance)
                                        {
                                            
entity.SendSpawn(clllientfalse);
                                            
clllient.Send(stringPacket);
                                            
clllient.Send(data);
                                            if (
entity.MaxHitpoints 65535)
                                            {
                                                
Update upd = new Update(true) { UID entity.UID };
                                                
upd.Append(Update.MaxHitpointsentity.MaxHitpoints);
                                                
upd.Append(Update.Hitpointsentity.Hitpoints);
                                                
clllient.Send(upd);
                                            }

                                        }
                                    }
                                }
                                foreach (var 
client10 in Program.Values)
                                {
                                    
client10.Entity.SendSysMessage(name " has appeared.  Hurry and go defeat the beast!");
                                    
client10.MessageBox(name " has appeared Would you Want to Kill-Monster?",
                                   (
p) => { p.Entity.Teleport(MapIDxy); }, null20);
                                }
                            }
                        }
                    }
                }
            }
            
#endregion
            #endregion
            #region BigMonster [Stone]
            #region Shanghi
            
if ((DateTime.Now.Minute == 09 && DateTime.Now.Second == 10))
            {
                
ushort x 00;
                
ushort MapID 39990;
                
177;
                
114;
                
uint id 417109;
                
string name "Shanghi";
                if (
Database.DMaps.LoadMap(MapID))
                {
                    if (
Program.Shangi)
                    {
                        if (
Kernel.Maps.ContainsKey(MapID))
                        {
                            var 
Map Kernel.Maps[MapID];
                            if (
Database.MonsterInformation.MonsterInformations.ContainsKey(id))
                            {
                                
Database.MonsterInformation mt Database.MonsterInformation.MonsterInformations[id];
                                
mt.BoundX x;
                                
Program.Shangi false;
                                
mt.BoundY y;
                                
Entity entity = new Entity(EntityFlag.Monsterfalse);
                                
entity.MapObjType MapObjectType.Monster;
                                
entity.MonsterInfo mt.Copy();
                                
entity.MonsterInfo.Owner entity;
                                
entity.Name mt.Name;
                                
entity.MinAttack mt.MinAttack;
                                
entity.MaxAttack entity.MagicAttack mt.MaxAttack;
                                
entity.Hitpoints entity.MaxHitpoints mt.Hitpoints;
                                
entity.Defence mt.Defence;
                                
entity.Body mt.Mesh;
                                
entity.Level mt.Level;
                                
entity.UID Map.EntityUIDCounter.Next;
                                
entity.MapID MapID;
                                
entity.x;
                                
entity.Boss 1;
                                
entity.y;
                                if (
== || == 0)
                                {
                                    var 
cord Map.RandomCoordinates();
                                    
entity.cord.Item1;
                                    
entity.cord.Item2;
                                    do
                                    {
                                        
cord Map.RandomCoordinates();
                                        
entity.cord.Item1;
                                        
entity.cord.Item2;
                                    }
                                    while (!
Map.Floor[entity.Xentity.YMapObjectType.Monster]);
                                }

                                
Map.AddEntity(entity);
                                
Network.GamePackets._String stringPacket =
                new 
Network.GamePackets._String(true);
                                
stringPacket.UID entity.UID;
                                
stringPacket.Type Network.GamePackets._String.Effect;
                                
stringPacket.Texts.Add("MBStandard");
                                
Data data = new Data(true);
                                
data.UID entity.UID;
                                
data.ID Network.GamePackets.Data.AddEntity;
                                
data.wParam1 entity.X;
                                
data.wParam2 entity.Y;
                                foreach (
Client.GameState clllient in Program.Values)
                                {
                                    if (
clllient.Map.ID == entity.MapID)
                                    {
                                        if (
Kernel.GetDistance(clllient.Entity.Xclllient.Entity.Yentity.Xentity.Y) <
                                            
Constants.nScreenDistance)
                                        {
                                            
entity.SendSpawn(clllientfalse);
                                            
clllient.Send(stringPacket);
                                            
clllient.Send(data);
                                            if (
entity.MaxHitpoints 65535)
                                            {
                                                
Update upd = new Update(true) { UID entity.UID };
                                                
upd.Append(Update.MaxHitpointsentity.MaxHitpoints);
                                                
upd.Append(Update.Hitpointsentity.Hitpoints);
                                                
clllient.Send(upd);
                                            }

                                        }
                                    }
                                }
                                foreach (var 
client10 in Program.Values)
                                {
                                    
client10.Entity.SendSysMessage(name " has appeared.  Hurry and go defeat the beast!");
                                    
client10.MessageBox(name " has appeared Would you Want to Kill-Monster?",
                                   (
p) => { p.Entity.Teleport(MapIDxy); }, null20);
                                }
                            }
                        }
                    }
                }
            }
            
#endregion
            //#region Destructive
            //if ((DateTime.Now.Minute == 18 && DateTime.Now.Second == 10))
            //{
            //    ushort x = 0, y = 0;
            //    ushort MapID = 39990;
            //    y = 266;
            //    x = 159;
            //    uint id = 417107;
            //    string name = "destructive";
            //    if (Database.DMaps.LoadMap(MapID))
            //    {
            //        if (Program.Destructive)
            //        {
            //            if (Kernel.Maps.ContainsKey(MapID))
            //            {
            //                var Map = Kernel.Maps[MapID];
            //                if (Database.MonsterInformation.MonsterInformations.ContainsKey(id))
            //                {
            //                    Database.MonsterInformation mt = Database.MonsterInformation.MonsterInformations[id];
            //                    mt.BoundX = x;
            //                    Program.Destructive = false;
            //                    mt.BoundY = y;
            //                    Entity entity = new Entity(EntityFlag.Monster, false);
            //                    entity.MapObjType = MapObjectType.Monster;
            //                    entity.MonsterInfo = mt.Copy();
            //                    entity.MonsterInfo.Owner = entity;
            //                    entity.Name = mt.Name;
            //                    entity.MinAttack = mt.MinAttack;
            //                    entity.MaxAttack = entity.MagicAttack = mt.MaxAttack;
            //                    entity.Hitpoints = entity.MaxHitpoints = mt.Hitpoints;
            //                    entity.Defence = mt.Defence;
            //                    entity.Body = mt.Mesh;
            //                    entity.Level = mt.Level;
            //                    entity.UID = Map.EntityUIDCounter.Next;
            //                    entity.MapID = MapID;
            //                    entity.X = x;
            //                    entity.Boss = 1;
            //                    entity.Y = y;
            //                    if (x == 0 || y == 0)
            //                    {
            //                        var cord = Map.RandomCoordinates();
            //                        entity.X = cord.Item1;
            //                        entity.Y = cord.Item2;
            //                        do
            //                        {
            //                            cord = Map.RandomCoordinates();
            //                            entity.X = cord.Item1;
            //                            entity.Y = cord.Item2;
            //                        }
            //                        while (!Map.Floor[entity.X, entity.Y, MapObjectType.Monster]);
            //                    }

            //                    Map.AddEntity(entity);
            //                    Network.GamePackets._String stringPacket =
            //    new Network.GamePackets._String(true);
            //                    stringPacket.UID = entity.UID;
            //                    stringPacket.Type = Network.GamePackets._String.Effect;
            //                    stringPacket.Texts.Add("MBStandard");
            //                    Data data = new Data(true);
            //                    data.UID = entity.UID;
            //                    data.ID = Network.GamePackets.Data.AddEntity;
            //                    data.wParam1 = entity.X;
            //                    data.wParam2 = entity.Y;
            //                    foreach (Client.GameState clllient in Program.Values)
            //                    {
            //                        if (clllient.Map.ID == entity.MapID)
            //                        {
            //                            if (Kernel.GetDistance(clllient.Entity.X, clllient.Entity.Y, entity.X, entity.Y) <
            //                                Constants.nScreenDistance)
            //                            {
            //                                entity.SendSpawn(clllient, false);
            //                                clllient.Send(stringPacket);
            //                                clllient.Send(data);
            //                                if (entity.MaxHitpoints > 65535)
            //                                {
            //                                    Update upd = new Update(true) { UID = entity.UID };
            //                                    upd.Append(Update.MaxHitpoints, entity.MaxHitpoints);
            //                                    upd.Append(Update.Hitpoints, entity.Hitpoints);
            //                                    clllient.Send(upd);
            //                                }

            //                            }
            //                        }
            //                    }
            //                    foreach (var client10 in Program.Values)
            //                    {
            //                        client10.Entity.SendSysMessage(name + " has appeared.  Hurry and go defeat the beast!");
            //                        client10.MessageBox(name + " has appeared Would you Want to Kill-Monster?",
            //                       (p) => { p.Entity.Teleport(MapID, x, y); }, null, 20);
            //                    }
            //                }
            //            }
            //        }
            //    }
            //}
            //#endregion
            #region DeadLady
            
if ((DateTime.Now.Minute == 27 && DateTime.Now.Second == 10))
            {
                
ushort x 00;
                
ushort MapID 39990;
                
345;
                
289;
                
uint id 417103;
                
string name "DeadLady";
                if (
Database.DMaps.LoadMap(MapID))
                {
                    if (
Program.DeadLady)
                    {
                        if (
Kernel.Maps.ContainsKey(MapID))
                        {
                            var 
Map Kernel.Maps[MapID];
                            if (
Database.MonsterInformation.MonsterInformations.ContainsKey(id))
                            {
                                
Database.MonsterInformation mt Database.MonsterInformation.MonsterInformations[id];
                                
mt.BoundX x;
                                
Program.DeadLady false;
                                
mt.BoundY y;
                                
Entity entity = new Entity(EntityFlag.Monsterfalse);
                                
entity.MapObjType MapObjectType.Monster;
                                
entity.MonsterInfo mt.Copy();
                                
entity.MonsterInfo.Owner entity;
                                
entity.Name mt.Name;
                                
entity.MinAttack mt.MinAttack;
                                
entity.MaxAttack entity.MagicAttack mt.MaxAttack;
                                
entity.Hitpoints entity.MaxHitpoints mt.Hitpoints;
                                
entity.Defence mt.Defence;
                                
entity.Body mt.Mesh;
                                
entity.Level mt.Level;
                                
entity.UID Map.EntityUIDCounter.Next;
                                
entity.MapID MapID;
                                
entity.x;
                                
entity.Boss 1;
                                
entity.y;
                                if (
== || == 0)
                                {
                                    var 
cord Map.RandomCoordinates();
                                    
entity.cord.Item1;
                                    
entity.cord.Item2;
                                    do
                                    {
                                        
cord Map.RandomCoordinates();
                                        
entity.cord.Item1;
                                        
entity.cord.Item2;
                                    }
                                    while (!
Map.Floor[entity.Xentity.YMapObjectType.Monster]);
                                }

                                
Map.AddEntity(entity);
                                
Network.GamePackets._String stringPacket =
                new 
Network.GamePackets._String(true);
                                
stringPacket.UID entity.UID;
                                
stringPacket.Type Network.GamePackets._String.Effect;
                                
stringPacket.Texts.Add("MBStandard");
                                
Data data = new Data(true);
                                
data.UID entity.UID;
                                
data.ID Network.GamePackets.Data.AddEntity;
                                
data.wParam1 entity.X;
                                
data.wParam2 entity.Y;
                                foreach (
Client.GameState clllient in Program.Values)
                                {
                                    if (
clllient.Map.ID == entity.MapID)
                                    {
                                        if (
Kernel.GetDistance(clllient.Entity.Xclllient.Entity.Yentity.Xentity.Y) <
                                            
Constants.nScreenDistance)
                                        {
                                            
entity.SendSpawn(clllientfalse);
                                            
clllient.Send(stringPacket);
                                            
clllient.Send(data);
                                            if (
entity.MaxHitpoints 65535)
                                            {
                                                
Update upd = new Update(true) { UID entity.UID };
                                                
upd.Append(Update.MaxHitpointsentity.MaxHitpoints);
                                                
upd.Append(Update.Hitpointsentity.Hitpoints);
                                                
clllient.Send(upd);
                                            }

                                        }
                                    }
                                }
                                foreach (var 
client10 in Program.Values)
                                {
                                    
client10.Entity.SendSysMessage(name " has appeared.  Hurry and go defeat the beast!");
                                    
client10.MessageBox(name " has appeared Would you Want to Kill-Monster?",
                                   (
p) => { p.Entity.Teleport(MapIDxy); }, null20);
                                }
                            }
                        }
                    }
                }
            }
            
#endregion
            #region DeadMan
            
if ((DateTime.Now.Minute == 36 && DateTime.Now.Second == 10))
            {
                
ushort x 00;
                
ushort MapID 39990;
                
273;
                
368;
                
uint id 417102;
                
string name "DeadMan";
                if (
Database.DMaps.LoadMap(MapID))
                {
                    if (
Program.DeadMan)
                    {
                        if (
Kernel.Maps.ContainsKey(MapID))
                        {
                            var 
Map Kernel.Maps[MapID];
                            if (
Database.MonsterInformation.MonsterInformations.ContainsKey(id))
                            {
                                
Database.MonsterInformation mt Database.MonsterInformation.MonsterInformations[id];
                                
mt.BoundX x;
                                
Program.DeadMan false;
                                
mt.BoundY y;
                                
Entity entity = new Entity(EntityFlag.Monsterfalse);
                                
entity.MapObjType MapObjectType.Monster;
                                
entity.MonsterInfo mt.Copy();
                                
entity.MonsterInfo.Owner entity;
                                
entity.Name mt.Name;
                                
entity.MinAttack mt.MinAttack;
                                
entity.MaxAttack entity.MagicAttack mt.MaxAttack;
                                
entity.Hitpoints entity.MaxHitpoints mt.Hitpoints;
                                
entity.Defence mt.Defence;
                                
entity.Body mt.Mesh;
                                
entity.Level mt.Level;
                                
entity.UID Map.EntityUIDCounter.Next;
                                
entity.MapID MapID;
                                
entity.x;
                                
entity.Boss 1;
                                
entity.y;
                                if (
== || == 0)
                                {
                                    var 
cord Map.RandomCoordinates();
                                    
entity.cord.Item1;
                                    
entity.cord.Item2;
                                    do
                                    {
                                        
cord Map.RandomCoordinates();
                                        
entity.cord.Item1;
                                        
entity.cord.Item2;
                                    }
                                    while (!
Map.Floor[entity.Xentity.YMapObjectType.Monster]);
                                }

                                
Map.AddEntity(entity);
                                
Network.GamePackets._String stringPacket =
                new 
Network.GamePackets._String(true);
                                
stringPacket.UID entity.UID;
                                
stringPacket.Type Network.GamePackets._String.Effect;
                                
stringPacket.Texts.Add("MBStandard");
                                
Data data = new Data(true);
                                
data.UID entity.UID;
                                
data.ID Network.GamePackets.Data.AddEntity;
                                
data.wParam1 entity.X;
                                
data.wParam2 entity.Y;
                                foreach (
Client.GameState clllient in Program.Values)
                                {
                                    if (
clllient.Map.ID == entity.MapID)
                                    {
                                        if (
Kernel.GetDistance(clllient.Entity.Xclllient.Entity.Yentity.Xentity.Y) <
                                            
Constants.nScreenDistance)
                                        {
                                            
entity.SendSpawn(clllientfalse);
                                            
clllient.Send(stringPacket);
                                            
clllient.Send(data);
                                            if (
entity.MaxHitpoints 65535)
                                            {
                                                
Update upd = new Update(true) { UID entity.UID };
                                                
upd.Append(Update.MaxHitpointsentity.MaxHitpoints);
                                                
upd.Append(Update.Hitpointsentity.Hitpoints);
                                                
clllient.Send(upd);
                                            }

                                        }
                                    }
                                }
                                foreach (var 
client10 in Program.Values)
                                {
                                    
client10.Entity.SendSysMessage(name " has appeared.  Hurry and go defeat the beast!");
                                    
client10.MessageBox(name " has appeared Would you Want to Kill-Monster?",
                                   (
p) => { p.Entity.Teleport(MapIDxy); }, null20);
                                }
                            }
                        }
                    }
                }
            }
            
#endregion
            //#region Vampire
            //if ((DateTime.Now.Minute == 45 && DateTime.Now.Second == 10))
            //{
            //    ushort x = 0, y = 0;
            //    ushort MapID = 39990;
            //    y = 104;
            //    x = 226;
            //    uint id = 417114;
            //    string name = "Vampire";
            //    if (Database.DMaps.LoadMap(MapID))
            //    {
            //        if (Program.Vampira)
            //        {
            //            if (Kernel.Maps.ContainsKey(MapID))
            //            {
            //                var Map = Kernel.Maps[MapID];
            //                if (Database.MonsterInformation.MonsterInformations.ContainsKey(id))
            //                {
            //                    Database.MonsterInformation mt = Database.MonsterInformation.MonsterInformations[id];
            //                    mt.BoundX = x;
            //                    Program.Vampira = false;
            //                    mt.BoundY = y;
            //                    Entity entity = new Entity(EntityFlag.Monster, false);
            //                    entity.MapObjType = MapObjectType.Monster;
            //                    entity.MonsterInfo = mt.Copy();
            //                    entity.MonsterInfo.Owner = entity;
            //                    entity.Name = mt.Name;
            //                    entity.MinAttack = mt.MinAttack;
            //                    entity.MaxAttack = entity.MagicAttack = mt.MaxAttack;
            //                    entity.Hitpoints = entity.MaxHitpoints = mt.Hitpoints;
            //                    entity.Defence = mt.Defence;
            //                    entity.Body = mt.Mesh;
            //                    entity.Level = mt.Level;
            //                    entity.UID = Map.EntityUIDCounter.Next;
            //                    entity.MapID = MapID;
            //                    entity.X = x;
            //                    entity.Boss = 1;
            //                    entity.Y = y;
            //                    if (x == 0 || y == 0)
            //                    {
            //                        var cord = Map.RandomCoordinates();
            //                        entity.X = cord.Item1;
            //                        entity.Y = cord.Item2;
            //                        do
            //                        {
            //                            cord = Map.RandomCoordinates();
            //                            entity.X = cord.Item1;
            //                            entity.Y = cord.Item2;
            //                        }
            //                        while (!Map.Floor[entity.X, entity.Y, MapObjectType.Monster]);
            //                    }

            //                    Map.AddEntity(entity);
            //                    Network.GamePackets._String stringPacket =
            //    new Network.GamePackets._String(true);
            //                    stringPacket.UID = entity.UID;
            //                    stringPacket.Type = Network.GamePackets._String.Effect;
            //                    stringPacket.Texts.Add("MBStandard");
            //                    Data data = new Data(true);
            //                    data.UID = entity.UID;
            //                    data.ID = Network.GamePackets.Data.AddEntity;
            //                    data.wParam1 = entity.X;
            //                    data.wParam2 = entity.Y;
            //                    foreach (Client.GameState clllient in Program.Values)
            //                    {
            //                        if (clllient.Map.ID == entity.MapID)
            //                        {
            //                            if (Kernel.GetDistance(clllient.Entity.X, clllient.Entity.Y, entity.X, entity.Y) <
            //                                Constants.nScreenDistance)
            //                            {
            //                                entity.SendSpawn(clllient, false);
            //                                clllient.Send(stringPacket);
            //                                clllient.Send(data);
            //                                if (entity.MaxHitpoints > 65535)
            //                                {
            //                                    Update upd = new Update(true) { UID = entity.UID };
            //                                    upd.Append(Update.MaxHitpoints, entity.MaxHitpoints);
            //                                    upd.Append(Update.Hitpoints, entity.Hitpoints);
            //                                    clllient.Send(upd);
            //                                }

            //                            }
            //                        }
            //                    }
            //                    foreach (var client10 in Program.Values)
            //                    {
            //                        client10.Entity.SendSysMessage(name + " has appeared.  Hurry and go defeat the beast!");
            //                        client10.MessageBox(name + " has appeared Would you Want to Kill-Monster?",
            //                       (p) => { p.Entity.Teleport(MapID, x, y); }, null, 20);
            //                    }
            //                }
            //            }
            //        }
            //    }
            //}
            //#endregion
            //#region SwordMaster
            //if (DateTime.Now.Minute == 54 && DateTime.Now.Second == 05)
            //{
            //    ushort x = 0, y = 0;
            //    ushort MapID = 39990;
            //    y = 83;
            //    x = 130;
            //    uint id = 4170;
            //    string name = "SwordMaster";
            //    if (Database.DMaps.LoadMap(MapID))
            //    {
            //        if (Program.SwordMaster)
            //        {
            //            if (Kernel.Maps.ContainsKey(MapID))
            //            {
            //                var Map = Kernel.Maps[MapID];
            //                if (Database.MonsterInformation.MonsterInformations.ContainsKey(id))
            //                {
            //                    Database.MonsterInformation mt = Database.MonsterInformation.MonsterInformations[id];
            //                    mt.BoundX = x;
            //                    Program.SwordMaster = false;
            //                    mt.BoundY = y;
            //                    Entity entity = new Entity(EntityFlag.Monster, false);
            //                    entity.MapObjType = MapObjectType.Monster;
            //                    entity.MonsterInfo = mt.Copy();
            //                    entity.MonsterInfo.Owner = entity;
            //                    entity.Name = mt.Name;
            //                    entity.MinAttack = mt.MinAttack;
            //                    entity.MaxAttack = entity.MagicAttack = mt.MaxAttack;
            //                    entity.Hitpoints = entity.MaxHitpoints = mt.Hitpoints;
            //                    entity.Defence = mt.Defence;
            //                    entity.Body = mt.Mesh;
            //                    entity.Level = mt.Level;
            //                    entity.UID = Map.EntityUIDCounter.Next;
            //                    entity.MapID = MapID;
            //                    entity.X = x;
            //                    entity.Boss = 1;
            //                    entity.Y = y;
            //                    if (x == 0 || y == 0)
            //                    {
            //                        var cord = Map.RandomCoordinates();
            //                        entity.X = cord.Item1;
            //                        entity.Y = cord.Item2;
            //                        do
            //                        {
            //                            cord = Map.RandomCoordinates();
            //                            entity.X = cord.Item1;
            //                            entity.Y = cord.Item2;
            //                        }
            //                        while (!Map.Floor[entity.X, entity.Y, MapObjectType.Monster]);
            //                    }

            //                    Map.AddEntity(entity);
            //                    Network.GamePackets._String stringPacket =
            //                    new Network.GamePackets._String(true);
            //                    stringPacket.UID = entity.UID;
            //                    stringPacket.Type = Network.GamePackets._String.Effect;
            //                    stringPacket.Texts.Add("MBStandard");
            //                    Data data = new Data(true);
            //                    data.UID = entity.UID;
            //                    data.ID = Network.GamePackets.Data.AddEntity;
            //                    data.wParam1 = entity.X;
            //                    data.wParam2 = entity.Y;
            //                    foreach (Client.GameState clllient in Program.Values)
            //                    {
            //                        if (clllient.Map.ID == entity.MapID)
            //                        {
            //                            if (Kernel.GetDistance(clllient.Entity.X, clllient.Entity.Y, entity.X, entity.Y) <
            //                                Constants.nScreenDistance)
            //                            {
            //                                entity.SendSpawn(clllient, false);
            //                                clllient.Send(stringPacket);
            //                                clllient.Send(data);
            //                                if (entity.MaxHitpoints > 65535)
            //                                {
            //                                    Update upd = new Update(true) { UID = entity.UID };
            //                                    upd.Append(Update.MaxHitpoints, entity.MaxHitpoints);
            //                                    upd.Append(Update.Hitpoints, entity.Hitpoints);
            //                                    clllient.Send(upd);
            //                                }

            //                            }
            //                        }
            //                    }
            //                    foreach (var client10 in Program.Values)
            //                    {
            //                        client10.Entity.SendSysMessage(name + " has appeared.  Hurry and go defeat the beast!");
            //                        client10.MessageBox(name + " has appeared Would you Want to Kill-Monster?",
            //                       (p) => { p.Entity.Teleport(MapID, x, y); }, null, 20);
            //                    }
            //                }
            //            }
            //        }
            //    }
            //}
            //#endregion
            #endregion
            #endregion 


Npc.cs

كود PHP:

#region Boss-Monster
                
case 4716112:
                    {
                        switch (
npcRequest.OptionID)
                        {

                            case 
0:
                                {
                                    
dialog.Text(" Hello " client.Entity.Name " i am the Master of Dark Arts i can know many things players do not know i can help you to kill Monsters  \n");
                                    
dialog.Text("                       let me see if there is any Monster alive now \n");
                                    if (
Program.DeadMan == true && Program.DeadLady == true && Program.Shangi == true && Program.Destructive == true && Program.SwordMaster == true && Program.Vampira == true && Program.LostMan == true && Program.Legendary == true && Program.Nemesis == true && Program.SnowBa == true && Program.ThrillingSpook == true && Program.TeratoDragon == true)
                                        
dialog.Text("So Sorry no Monster Alive Right now Please Come Later");
                                    if (
Program.DeadMan == false)
                                        
dialog.Text("<tip color=0xfff05050 desc=100k#Cps,Stones> DeadMan </tip> \n");
                                    if (
Program.DeadLady == false)
                                        
dialog.Text("<tip color=0xfff05050 desc=100k#Cps,Stones> DeadLady </tip> \n");
                                    if (
Program.Shangi == false)
                                        
dialog.Text("<tip color=0xfff05050 desc=100k#Cps,Stones> Shangi </tip> \n");
                                    if (
Program.Destructive == false)
                                        
dialog.Text("<tip color=0xfff05050 desc=100k#Cps,Stones> Destructive </tip> \n");
                                    if (
Program.SwordMaster == false)
                                        
dialog.Text("<tip color=0xfff05050 desc=100k#Cps,Stones> SwordMaster </tip> \n");
                                    if (
Program.Vampira == false)
                                        
dialog.Text("<tip color=0xfff05050 desc=100k#Cps,Stones> Vampire </tip> \n");
                                    if (
Program.LostMan == false)
                                        
dialog.Text("<tip color=0xfff05050 desc=500k#Cps,Epic.Chi.Token,Moneybags> LostMan </tip> \n");
                                    if (
Program.Legendary == false)
                                        
dialog.Text("<tip color=0xfff05050 desc=500k#Cps,Epic.Jiang.Token,Moneybags> LegendaryWarrior </tip> \n");
                                    if (
Program.Nemesis == false)
                                        
dialog.Text("<tip color=0xfff05050 desc=100#Cps,Savagebone> Nemesis </tip> \n");
                                    if (
Program.SnowBa == false)
                                        
dialog.Text("<tip color=0xfff05050 desc=100k#Cps,Savagebone> SnowBanshee </tip> \n");
                                    if (
Program.ThrillingSpook == false)
                                        
dialog.Text("<tip color=0xfff05050 desc=100k#Cps,Savagebone> ThrillingSpook </tip> \n");
                                    if (
Program.TeratoDragon == false)
                                        
dialog.Text("<tip color=0xfff05050 desc=100k#Cps,Savagebone> TeratoDragon </tip> \n");
                                    
dialog.Text("                                                                           \n");
                                    
dialog.Option("Monster[Stone]"100);
                                    
dialog.Option("Monster[Chi-Jiang]"105);
                                    
dialog.Option("Monster[SavageBone]"110);
                                  
//  dialog.Option("What Monster is Spawned now", 120);
                                    
dialog.Option("No Thanks"255);
                                    
dialog.Option("Side Monsters"130);
                                    
dialog.Avatar(0);
                                    
dialog.Send();
                                    break;
                                }
                            case 
130:
                                {
                                    
dialog.Text("These Monsters are splitted on the cities Which one u wanna go");
                                    
dialog.Option("DesertCity VIP:6 30:35"131);
                                    
dialog.Option("ApeCity 22 : 23"132);
                                    
dialog.Option("Phoneix 20 : 21"133);
                                  
                                    break;
                                }
                            case 
131:
                                {
                                    
client.Entity.Teleport(1000457531);

                                    break;
                                }
                                case 
132:
                                {
                                    
client.Entity.Teleport(1020,563,648);
                                  
                                    break;
                                }
                                case 
133:
                                {
                                    
client.Entity.Teleport(1011200325);

                                    break;
                                }
                            case 
120:
                                {
                                   
                                    
dialog.Text(" Hello " client.Entity.Name " you asked me is there is any spawned monster ");
                                    if (
Program.DeadMan == false)
                                    
dialog.Option("DeadMan is alive u wanna go ?"7);
                                    if (
Program.DeadLady == false)
                                        
dialog.Option("DeadLady is alive u wanna go ?"8);
                                    if (
Program.Shangi == false)
                                        
dialog.Option("Shangi is alive u wanna go ?"9);
                                    if (
Program.Destructive == false)
                                        
dialog.Option("Destructive is alive u wanna go ?"10);
                                    if (
Program.SwordMaster == false)
                                        
dialog.Option("SwordMaster is alive u wanna go ?"11);
                                    if (
Program.Vampira == false)
                                        
dialog.Option("Vampire is alive u wanna go ?"12);
                                    if (
Program.LostMan == false)
                                        
dialog.Option("LostMan is alive u wanna go ?"13);
                                    if (
Program.Legendary == false)
                                        
dialog.Option("LegendaryWarrior is alive u wanna go ?"14);
                                    if (
Program.Nemesis == false)
                                        
dialog.Option("Nemesis is alive u wanna go ?"3);
                                    if (
Program.SnowBa == false)
                                        
dialog.Option("SnowBanshee is alive u wanna go ?"4);
                                    if (
Program.ThrillingSpook == false)
                                        
dialog.Option("ThrillingSpook is alive u wanna go ?"5);
                                    if (
Program.TeratoDragon == false)
                                        
dialog.Option("TeratoDragon is alive u wanna go ?"6);
                                    if (
Program.DeadMan == true && Program.DeadLady == true && Program.Shangi == true && Program.Destructive == true && Program.SwordMaster == true && Program.Vampira == true && Program.LostMan == true && Program.Legendary == true && Program.Nemesis == true && Program.SnowBa == true && Program.ThrillingSpook == true && Program.TeratoDragon == true)
                                        
dialog.Option("Sorry no monster is Spawned now"255);
                                    
dialog.Option("No Thanks"255);
                                    
dialog.Avatar(0);
                                    
dialog.Send();
                                    break;
                                }
                            case 
100:
                                {
                                    
dialog.Text("This all Monster[Stone]");
                                    
dialog.Option("Deadman"7);
                                    
dialog.Option("DeadLady"8);
                                    
dialog.Option("Shanghi"9);
                                    
dialog.Option("Destructive"10);
                                    
dialog.Option("SwordMaster"11);
                                    
dialog.Option("Vampire"12);
                                    break;
                                }
                            case 
105:
                                {
                                    
dialog.Text("This all Monster[Chi-Jiang]");
                                    
dialog.Option("LostMan [War-Chi 400[Betl3 12.10 Al Dohr]"13);
                                    
dialog.Option("Legendarywarrior [War-Jiang Epic[Betl3 12.10 Blel]]"14);
                                    break;
                                }
                            case 
110:
                                {
                                    
dialog.Text("This all Monster[SavageBone]");
                                    
dialog.Option("NemesisTyrant"3);
                                    
dialog.Option("SnowBanshee"4);
                                    
dialog.Option("ThrillingSpook"5);
                                    
dialog.Option("TeratoDragon"6);
                                    break;
                                }
                            
#region Monster[DragonIsland]
                            
case 3:
                                {
                                    if (
Program.Nemesis == false)
                                    {
                                        
client.Entity.Teleport(39984132183);
                                        break;
                                    }
                                    else
                                    {
                                        
dialog.Text("El w74 myt ao lsh mes tl3");
                                        break; 
                                    }
                                }
                            case 
4:
                                {
                                    if (
Program.SnowBa == false)
                                    {
                                        
client.Entity.Teleport(39984360226);
                                        break;
                                    }
                                    else {
                                        
dialog.Text("El w74 myt ao lsh mes tl3");
                                        break; 
                                    }
                                }
                            case 
5:
                                {
                                    if (
Program.ThrillingSpook == false)
                                    {
                                        
client.Entity.Teleport(39984152290);
                                        break;
                                    }
                                    else
                                    {
                                        
dialog.Text("El w74 myt ao lsh mes tl3");
                                        break;
                                    }
                                }
                            case 
6:
                                {
                                    if (
Program.TeratoDragon == false)
                                    {
                                        
client.Entity.Teleport(3998421293);
                                        break;
                                    }
                                    else
                                    {
                                        
dialog.Text("El w74 myt ao lsh mes tl3");
                                        break;
                                    }
                                }
                            
#endregion
                            #region Monster[War]
                            
case 13:
                                {
                                    if (
Program.LostMan == false)
                                    {

                                        
client.Entity.Teleport(1038120132);
                                        break;
                                    }
                                    else
                                    {
                                        
dialog.Text("Sorry EL w74 Myt");
                                        
                                        break;
                                    }
                                }
                            case 
14:
                                {
                                    if (
Program.Legendary == false)
                                    {
                                        
client.Entity.Teleport(1038120132);
                                        break;
                                    }
                                
                            else
                                {
                                    
dialog.Text("Sorry EL w74 Myt");
                                    break;
                                }
                        }
                            
#endregion
                            #region Monster[Stone]
                            
case 7:
                                {
                                    if (
Program.DeadMan == false)
                                {
                                    
client.Entity.Teleport(39990363267);
                                    break;
                                }
                                     else
                                    {
                                        
dialog.Text("El w74 myt ao lsh mes tl3");
                                        break;
                                    }
                                }
                            case 
8:
                                {
                                    if (
Program.DeadLady == false)
                                    {
                                        
client.Entity.Teleport(39990281337);
                                        break;
                                    }
                                    else
                                    {
                                        
dialog.Text("El w74 myt ao lsh mes tl3");
                                        break;
                                    }
                                }
                            case 
9:
                                {
                                    if (
Program.Shangi == false)
                                    {
                                        
client.Entity.Teleport(39990121183);
                                        break;
                                    }
                                    else
                                    {
                                        
dialog.Text("El w74 myt ao lsh mes tl3");
                                        break;
                                    }
                                }
                            case 
10:
                                {
                                    if (
Program.Destructive == false)
                                    {
                                        
client.Entity.Teleport(39990167266);
                                        break;
                                    }
                                    else
                                    {
                                        
dialog.Text("El w74 myt ao lsh mes tl3");
                                        break;
                                    }
                                }
                            case 
11:
                                {
                                    if (
Program.SwordMaster == false)
                                    {
                                        
client.Entity.Teleport(3999013688);
                                        break;
                                    }
                                    else
                                    {
                                        
dialog.Text("El w74 myt ao lsh mes tl3");
                                        break;
                                    }
                                }
                            case 
12:
                                {
                                    if (
Program.Vampira == false)
                                    {
                                        
client.Entity.Teleport(39990234111);
                                        break;
                                    }
                                    else
                                    {
                                        
dialog.Text("El w74 myt ao lsh mes tl3");
                                        break;
                                    }
                                }
                            
#endregion
                        
}
                        break;
                    }
                
#endregion 

program.cs
كود PHP:

public static bool SnowBa true;
        public static 
bool WhiteTiger true;
        public static 
bool Vampira true;
        public static 
bool Nemesis true;
        public static 
bool Legendary true;
        public static 
bool LostMan true;
        public static 
bool DeadLady true;
        public static 
bool Shangi true;
        public static 
bool DeadMan true           ;
        public static 
bool SwordMaster true;
        public static 
bool TeratoDragon true;
        public static 
bool ThrillingSpook true;
        public static 
bool Destructive true;
        public static 
bool SnowSoul true

MonsterTable.cs
كود PHP:

 #region Big-Monsters
            
if (Name == "Vampire")
                
Program.Vampira true;
            if (
Name == "SnowBanshee")
                
Program.SnowBa true;
            if (
Name == "NemesisTyrant")
                
Program.Nemesis true;
            if (
Name == "Legendarywarrior")
                
Program.Legendary true;
            if (
Name == "LostMan")
                
Program.LostMan true;
            if (
Name == "DeadLady")
                
Program.DeadLady true;
            if (
Name == "DeadMan")
                
Program.DeadMan true;
            if (
Name == "Shanghi")
                
Program.Shangi true;
            if (
Name == "SwordMaster")
                
Program.SwordMaster true;
            if (
Name == "TeratoDragon")
                
Program.TeratoDragon true;
            if (
Name == "destructive")
                
Program.Destructive true;
            if (
Name == "SnowBansheeSoul")
                
Program.SnowSoul true;
            if (
Name == "ThrillingSpook")
                
Program.ThrillingSpook true;
            
#endregion 

كود PHP:

  #region TheBigMonster
            #region Boss[Stone]
            
if (Name == "Vampire" || Name == "DeadLady" || Name == "Shanghi" || Name == "DeadMan" || Name == "SnowBansheeSoul" || Name == "destructive" || Name == "SwordMaster")
            {
                
killer.Owner.Entity.ConquerPoints += CPanal.bossstone;
                if (
killer.Owner.Team != null)
                {
                    foreach (
Client.GameState tm in killer.Owner.Team.Teammates)
                    {
                        
tm.Entity.SubClasses.StudyPoints += 150;

                    }
                }
                else
                    
killer.SubClasses.StudyPoints += 150;

                for (
int x 03x++)
                {
                    var 
infoss Database.ConquerItemInformation.BaseInformations[730003];
                    
ushort XX Owner.XYY Owner.Y;
                    
Game.Map MMap Kernel.Maps[Owner.MapID];
                    if (
MMap.SelectCoordonates(ref XXref YY))
                    {
                        
Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true);
                        
floorItem.Item = new Network.GamePackets.ConquerItem(true);
                        
floorItem.Item.Color = (KhaledMohamed.Game.Enums.Color)Kernel.Random.Next(48);
                        
floorItem.Item.ID 730003;
                        
floorItem.Item.Plus 3;
                        
floorItem.Item.MaximDurability infoss.Durability;
                        
floorItem.Item.Durability infoss.Durability;
                        
floorItem.Item.MobDropped true;
                        
floorItem.ValueType Network.GamePackets.FloorItem.FloorValueType.Item;
                        
floorItem.ItemID infoss.ID;
                        
floorItem.MapID Owner.MapID;
                        
floorItem.MapObjType Game.MapObjectType.Item;
                        
floorItem.XX;
                        
floorItem.Item.StackSize 1;
                        
floorItem.Item.MaxStackSize infoss.StackSize;
                        
floorItem.YY;
                        
floorItem.Type Network.GamePackets.FloorItem.Drop;
                        
floorItem.OnFloor Time32.Now;
                        
floorItem.Owner killer.Owner;
                        
floorItem.ItemColor floorItem.Item.Color;
                        
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next;
                        while (
MMap.Npcs.ContainsKey(floorItem.UID))
                            
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next;
                        
MMap.AddFloorItem(floorItem);
                        
SendScreenSpawn(floorItem);
                    }
                }
                for (
int x 03x++)
                {
                    var 
infoss Database.ConquerItemInformation.BaseInformations[730002];
                    
ushort XX Owner.XYY Owner.Y;
                    
Game.Map MMap Kernel.Maps[Owner.MapID];
                    if (
MMap.SelectCoordonates(ref XXref YY))
                    {
                        
Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true);
                        
floorItem.Item = new Network.GamePackets.ConquerItem(true);
                        
floorItem.Item.Color = (KhaledMohamed.Game.Enums.Color)Kernel.Random.Next(48);
                        
floorItem.Item.ID 730002;
                        
floorItem.Item.Plus 2;
                        
floorItem.Item.MaximDurability infoss.Durability;
                        
floorItem.Item.Durability infoss.Durability;
                        
floorItem.Item.MobDropped true;
                        
floorItem.ValueType Network.GamePackets.FloorItem.FloorValueType.Item;
                        
floorItem.ItemID infoss.ID;
                        
floorItem.MapID Owner.MapID;
                        
floorItem.MapObjType Game.MapObjectType.Item;
                        
floorItem.XX;
                        
floorItem.Item.StackSize 1;
                        
floorItem.Item.MaxStackSize infoss.StackSize;
                        
floorItem.YY;
                        
floorItem.Type Network.GamePackets.FloorItem.Drop;
                        
floorItem.OnFloor Time32.Now;
                        
floorItem.Owner killer.Owner;
                        
floorItem.ItemColor floorItem.Item.Color;
                        
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next;
                        while (
MMap.Npcs.ContainsKey(floorItem.UID))
                            
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next;
                        
MMap.AddFloorItem(floorItem);
                        
SendScreenSpawn(floorItem);
                    }
                }
                for (
int x 01x++)
                {
                    var 
infoss Database.ConquerItemInformation.BaseInformations[730004];
                    
ushort XX Owner.XYY Owner.Y;
                    
Game.Map MMap Kernel.Maps[Owner.MapID];
                    if (
MMap.SelectCoordonates(ref XXref YY))
                    {
                        
Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true);
                        
floorItem.Item = new Network.GamePackets.ConquerItem(true);
                        
floorItem.Item.Color = (KhaledMohamed.Game.Enums.Color)Kernel.Random.Next(48);
                        
floorItem.Item.ID 730004;
                        
floorItem.Item.Plus 4;
                        
floorItem.Item.MaximDurability infoss.Durability;
                        
floorItem.Item.Durability infoss.Durability;
                        
floorItem.Item.MobDropped true;
                        
floorItem.ValueType Network.GamePackets.FloorItem.FloorValueType.Item;
                        
floorItem.ItemID infoss.ID;
                        
floorItem.MapID Owner.MapID;
                        
floorItem.MapObjType Game.MapObjectType.Item;
                        
floorItem.XX;
                        
floorItem.Item.StackSize 1;
                        
floorItem.Item.MaxStackSize infoss.StackSize;
                        
floorItem.YY;
                        
floorItem.Type Network.GamePackets.FloorItem.Drop;
                        
floorItem.OnFloor Time32.Now;
                        
floorItem.Owner killer.Owner;
                        
floorItem.ItemColor floorItem.Item.Color;
                        
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next;
                        while (
MMap.Npcs.ContainsKey(floorItem.UID))
                            
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next;
                        
MMap.AddFloorItem(floorItem);
                        
SendScreenSpawn(floorItem);

                    }
                }
                foreach (var 
client in Kernel.GamePool.Values)
                {
                    
KhaledMohamed.Kernel.SendWorldMessage(new KhaledMohamed.Network.GamePackets.Message(" Congratulations " killer.Name " Has Killed " Name " and  Get " CPanal.bossstone " ConquerPoints And Stone "Message.Center));
                }
            }
            
#endregion
            #region Boss[War]
            #region Legendarywarrior
            
if (Name == "Legendarywarrior")
            {
                
killer.Owner.Entity.ConquerPoints += CPanal.bosswar;
                if (
killer.Owner.Team != null)
                {
                    foreach (
Client.GameState tm in killer.Owner.Team.Teammates)
                    {
                        
tm.Entity.SubClasses.StudyPoints += 150;
                    }
                }
                else
                    
killer.SubClasses.StudyPoints += 150;
                for (
int x 01x++)
                {
                    var 
infoss Database.ConquerItemInformation.BaseInformations[729692];
                    
ushort XX Owner.XYY Owner.Y;
                    
Game.Map MMap Kernel.Maps[Owner.MapID];
                    if (
MMap.SelectCoordonates(ref XXref YY))
                    {
                        
Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true);
                        
floorItem.Item = new Network.GamePackets.ConquerItem(true);
                        
floorItem.Item.Color = (KhaledMohamed.Game.Enums.Color)Kernel.Random.Next(48);
                        
floorItem.Item.ID infoss.ID;
                        
floorItem.Item.Plus floorItem.Item.Plus;
                        
floorItem.Item.MaximDurability infoss.Durability;
                        
floorItem.Item.Durability infoss.Durability;
                        
floorItem.Item.MobDropped true;
                        
floorItem.ValueType Network.GamePackets.FloorItem.FloorValueType.Item;
                        
floorItem.ItemID infoss.ID;
                        
floorItem.MapID Owner.MapID;
                        
floorItem.MapObjType Game.MapObjectType.Item;
                        
floorItem.XX;
                        
floorItem.Item.StackSize 1;
                        
floorItem.Item.MaxStackSize infoss.StackSize;
                        
floorItem.YY;
                        
floorItem.OwnerUID killer.UID;
                        
floorItem.Type Network.GamePackets.FloorItem.Drop;
                        
floorItem.OnFloor Time32.Now;
                        
floorItem.Owner killer.Owner;
                        
floorItem.ItemColor floorItem.Item.Color;
                        
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next;
                        while (
MMap.Npcs.ContainsKey(floorItem.UID))
                            
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next;
                        
MMap.AddFloorItem(floorItem);
                        
SendScreenSpawn(floorItem);
                    }
                }
                for (
int x 05x++)
                {
                    var 
infoss Database.ConquerItemInformation.BaseInformations[3004181];
                    
ushort XX Owner.XYY Owner.Y;
                    
Game.Map MMap Kernel.Maps[Owner.MapID];
                    if (
MMap.SelectCoordonates(ref XXref YY))
                    {
                        
Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true);
                        
floorItem.Item = new Network.GamePackets.ConquerItem(true);
                        
floorItem.Item.Color = (KhaledMohamed.Game.Enums.Color)Kernel.Random.Next(48);
                        
floorItem.Item.ID infoss.ID;
                        
floorItem.Item.Plus floorItem.Item.Plus;
                        
floorItem.Item.MaximDurability infoss.Durability;
                        
floorItem.Item.Durability infoss.Durability;
                        
floorItem.Item.MobDropped true;
                        
floorItem.ValueType Network.GamePackets.FloorItem.FloorValueType.Item;
                        
floorItem.ItemID infoss.ID;
                        
floorItem.MapID Owner.MapID;
                        
floorItem.MapObjType Game.MapObjectType.Item;
                        
floorItem.XX;
                        
floorItem.Item.StackSize 1;
                        
floorItem.Item.MaxStackSize infoss.StackSize;
                        
floorItem.YY;
                        
floorItem.Type Network.GamePackets.FloorItem.Drop;
                        
floorItem.OnFloor Time32.Now;
                        
floorItem.Owner killer.Owner;
                        
floorItem.ItemColor floorItem.Item.Color;
                        
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next;
                        while (
MMap.Npcs.ContainsKey(floorItem.UID))
                            
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next;
                        
MMap.AddFloorItem(floorItem);
                        
SendScreenSpawn(floorItem);
                    }
                }
                for (
int x 03x++)
                {
                    var 
infoss Database.ConquerItemInformation.BaseInformations[723723];
                    
ushort XX Owner.XYY Owner.Y;
                    
Game.Map MMap Kernel.Maps[Owner.MapID];
                    if (
MMap.SelectCoordonates(ref XXref YY))
                    {
                        
Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true);
                        
floorItem.Item = new Network.GamePackets.ConquerItem(true);
                        
floorItem.Item.Color = (KhaledMohamed.Game.Enums.Color)Kernel.Random.Next(48);
                        
floorItem.Item.ID infoss.ID;
                        
floorItem.Item.Plus floorItem.Item.Plus;
                        
floorItem.Item.MaximDurability infoss.Durability;
                        
floorItem.Item.Durability infoss.Durability;
                        
floorItem.Item.MobDropped true;
                        
floorItem.ValueType Network.GamePackets.FloorItem.FloorValueType.Item;
                        
floorItem.ItemID infoss.ID;
                        
floorItem.MapID Owner.MapID;
                        
floorItem.MapObjType Game.MapObjectType.Item;
                        
floorItem.XX;
                        
floorItem.Item.StackSize 1;
                        
floorItem.Item.MaxStackSize infoss.StackSize;
                        
floorItem.YY;
                        
floorItem.Type Network.GamePackets.FloorItem.Drop;
                        
floorItem.OnFloor Time32.Now;
                        
floorItem.Owner killer.Owner;
                        
floorItem.ItemColor floorItem.Item.Color;
                        
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next;
                        while (
MMap.Npcs.ContainsKey(floorItem.UID))
                            
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next;
                        
MMap.AddFloorItem(floorItem);
                        
SendScreenSpawn(floorItem);
                    }
                }
                if (
Kernel.Rate(30))
                {
                    
uint ItemID 0;
                    
byte type1 27;
                    
int xxx Kernel.Random.Next(1212);
                    for (
int i 0xxxi++)
                    {
                        
type1 = (byte)Kernel.Random.Next(1228);
                        switch (
type1)
                        {
                            case 
1:
                                
ItemID 729690;
                                break;
                            case 
2:
                                
ItemID 729690;
                                break;
                            case 
3:
                                
ItemID 729690;
                                break;
                            case 
4:
                                
ItemID 729690;
                                break;
                            case 
5:
                                
ItemID 729690;
                                break;
                            case 
6:
                                
ItemID 729690;
                                break;
                            case 
7:
                                
ItemID 729690;
                                break;
                            case 
8:
                                
ItemID 729690;
                                break;
                            case 
9:
                                
ItemID 729690;
                                break;
                            case 
10:
                                
ItemID 729690;
                                break;
                        }
                        var 
infos Database.ConquerItemInformation.BaseInformations[ItemID];
                        
ushort X Owner.XOwner.Y;
                        
Game.Map Map Kernel.Maps[Owner.MapID];
                        if (
Map.SelectCoordonates(ref Xref Y))
                        {
                            
Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true);
                            
floorItem.Item = new Network.GamePackets.ConquerItem(true);
                            
floorItem.Item.Color = (Game.Enums.Color)Kernel.Random.Next(48);
                            
floorItem.Item.ID ItemID;
                            
floorItem.Item.Plus floorItem.Item.Plus;
                            
floorItem.Item.MaximDurability infos.Durability;
                            
floorItem.Item.Durability infos.Durability;
                            
floorItem.Item.StackSize 1;
                            
floorItem.Item.MaxStackSize infos.StackSize;
                            
floorItem.Item.MobDropped true;
                            
floorItem.ValueType Network.GamePackets.FloorItem.FloorValueType.Item;
                            
floorItem.ItemID ItemID;
                            
floorItem.MapID Owner.MapID;
                            
floorItem.MapObjType Game.MapObjectType.Item;
                            
floorItem.X;
                            
floorItem.Y;
                            
floorItem.Owner killer.Owner;
                            
floorItem.Type Network.GamePackets.FloorItem.Drop;
                            
floorItem.OnFloor Time32.Now;
                            
floorItem.ItemColor floorItem.Item.Color;
                            
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next;
                            while (
Map.Npcs.ContainsKey(floorItem.UID))

                                
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next;

                            
Map.AddFloorItem(floorItem);

                            
SendScreenSpawn(floorItem);

                        }
                    }
                }
                foreach (var 
client in Kernel.GamePool.Values)
                {
                    
KhaledMohamed.Kernel.SendWorldMessage(new KhaledMohamed.Network.GamePackets.Message(" Congratulations " killer.Name " Has Killed " Name " and  Get " CPanal.bosswar " ConquerPoints And [5] SvageBone And Token Epic Jiang [1 Stage] And 1.500.000.000 Money "Message.Center));
                }
            }
            
#endregion
            #region LostMan
            
if (Name == "LostMan")
            {
                
killer.Owner.Entity.ConquerPoints += CPanal.bosswar;
                if (
killer.Owner.Team != null)
                {
                    foreach (
Client.GameState tm in killer.Owner.Team.Teammates)
                    {
                        
tm.Entity.SubClasses.StudyPoints += 150;
                    }
                }
                else
                    
killer.SubClasses.StudyPoints += 150;
                for (
int x 01x++)
                {
                    var 
infoss Database.ConquerItemInformation.BaseInformations[729690];
                    
ushort XX Owner.XYY Owner.Y;
                    
Game.Map MMap Kernel.Maps[Owner.MapID];
                    if (
MMap.SelectCoordonates(ref XXref YY))
                    {
                        
Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true);
                        
floorItem.Item = new Network.GamePackets.ConquerItem(true);
                        
floorItem.Item.Color = (KhaledMohamed.Game.Enums.Color)Kernel.Random.Next(48);
                        
floorItem.Item.ID infoss.ID;
                        
floorItem.Item.Plus floorItem.Item.Plus;
                        
floorItem.Item.MaximDurability infoss.Durability;
                        
floorItem.Item.Durability infoss.Durability;
                        
floorItem.Item.MobDropped true;
                        
floorItem.ValueType Network.GamePackets.FloorItem.FloorValueType.Item;
                        
floorItem.ItemID infoss.ID;
                        
floorItem.MapID Owner.MapID;
                        
floorItem.MapObjType Game.MapObjectType.Item;
                        
floorItem.XX;
                        
floorItem.Item.StackSize 1;
                        
floorItem.Item.MaxStackSize infoss.StackSize;
                        
floorItem.YY;
                        
floorItem.OwnerUID killer.UID;
                        
floorItem.Type Network.GamePackets.FloorItem.Drop;
                        
floorItem.OnFloor Time32.Now;
                        
floorItem.Owner killer.Owner;
                        
floorItem.ItemColor floorItem.Item.Color;
                        
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next;
                        while (
MMap.Npcs.ContainsKey(floorItem.UID))
                            
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next;
                        
MMap.AddFloorItem(floorItem);
                        
SendScreenSpawn(floorItem);
                    }
                }
                for (
int x 05x++)
                {
                    var 
infoss Database.ConquerItemInformation.BaseInformations[3004181];
                    
ushort XX Owner.XYY Owner.Y;
                    
Game.Map MMap Kernel.Maps[Owner.MapID];
                    if (
MMap.SelectCoordonates(ref XXref YY))
                    {
                        
Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true);
                        
floorItem.Item = new Network.GamePackets.ConquerItem(true);
                        
floorItem.Item.Color = (KhaledMohamed.Game.Enums.Color)Kernel.Random.Next(48);
                        
floorItem.Item.ID infoss.ID;
                        
floorItem.Item.Plus floorItem.Item.Plus;
                        
floorItem.Item.MaximDurability infoss.Durability;
                        
floorItem.Item.Durability infoss.Durability;
                        
floorItem.Item.MobDropped true;
                        
floorItem.ValueType Network.GamePackets.FloorItem.FloorValueType.Item;
                        
floorItem.ItemID infoss.ID;
                        
floorItem.MapID Owner.MapID;
                        
floorItem.MapObjType Game.MapObjectType.Item;
                        
floorItem.XX;
                        
floorItem.Item.StackSize 1;
                        
floorItem.Item.MaxStackSize infoss.StackSize;
                        
floorItem.YY;
                        
floorItem.Type Network.GamePackets.FloorItem.Drop;
                        
floorItem.OnFloor Time32.Now;
                        
floorItem.Owner killer.Owner;
                        
floorItem.ItemColor floorItem.Item.Color;
                        
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next;
                        while (
MMap.Npcs.ContainsKey(floorItem.UID))
                            
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next;
                        
MMap.AddFloorItem(floorItem);
                        
SendScreenSpawn(floorItem);
                    }
                }
                for (
int x 03x++)
                {
                    var 
infoss Database.ConquerItemInformation.BaseInformations[723723];
                    
ushort XX Owner.XYY Owner.Y;
                    
Game.Map MMap Kernel.Maps[Owner.MapID];
                    if (
MMap.SelectCoordonates(ref XXref YY))
                    {
                        
Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true);
                        
floorItem.Item = new Network.GamePackets.ConquerItem(true);
                        
floorItem.Item.Color = (KhaledMohamed.Game.Enums.Color)Kernel.Random.Next(48);
                        
floorItem.Item.ID infoss.ID;
                        
floorItem.Item.Plus floorItem.Item.Plus;
                        
floorItem.Item.MaximDurability infoss.Durability;
                        
floorItem.Item.Durability infoss.Durability;
                        
floorItem.Item.MobDropped true;
                        
floorItem.ValueType Network.GamePackets.FloorItem.FloorValueType.Item;
                        
floorItem.ItemID infoss.ID;
                        
floorItem.MapID Owner.MapID;
                        
floorItem.MapObjType Game.MapObjectType.Item;
                        
floorItem.XX;
                        
floorItem.Item.StackSize 1;
                        
floorItem.Item.MaxStackSize infoss.StackSize;
                        
floorItem.YY;
                        
floorItem.Type Network.GamePackets.FloorItem.Drop;
                        
floorItem.OnFloor Time32.Now;
                        
floorItem.Owner killer.Owner;
                        
floorItem.ItemColor floorItem.Item.Color;
                        
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next;
                        while (
MMap.Npcs.ContainsKey(floorItem.UID))
                            
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next;
                        
MMap.AddFloorItem(floorItem);
                        
SendScreenSpawn(floorItem);
                    }
                }
                if (
Kernel.Rate(30))
                {
                    
uint ItemID 0;
                    
byte type1 27;
                    
int xxx Kernel.Random.Next(1212);
                    for (
int i 0xxxi++)
                    {
                        
type1 = (byte)Kernel.Random.Next(1228);
                        switch (
type1)
                        {
                            case 
1:
                                
ItemID 729690;
                                break;
                            case 
2:
                                
ItemID 729690;
                                break;
                            case 
3:
                                
ItemID 729690;
                                break;
                            case 
4:
                                
ItemID 729690;
                                break;
                            case 
5:
                                
ItemID 729690;
                                break;
                            case 
6:
                                
ItemID 729690;
                                break;
                            case 
7:
                                
ItemID 729690;
                                break;
                            case 
8:
                                
ItemID 729690;
                                break;
                            case 
9:
                                
ItemID 729690;
                                break;
                            case 
10:
                                
ItemID 729690;
                                break;
                        }
                        var 
infos Database.ConquerItemInformation.BaseInformations[ItemID];
                        
ushort X Owner.XOwner.Y;
                        
Game.Map Map Kernel.Maps[Owner.MapID];
                        if (
Map.SelectCoordonates(ref Xref Y))
                        {
                            
Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true);
                            
floorItem.Item = new Network.GamePackets.ConquerItem(true);
                            
floorItem.Item.Color = (Game.Enums.Color)Kernel.Random.Next(48);
                            
floorItem.Item.ID ItemID;
                            
floorItem.Item.Plus floorItem.Item.Plus;
                            
floorItem.Item.MaximDurability infos.Durability;
                            
floorItem.Item.Durability infos.Durability;
                            
floorItem.Item.StackSize 1;
                            
floorItem.Item.MaxStackSize infos.StackSize;
                            
floorItem.Item.MobDropped true;
                            
floorItem.ValueType Network.GamePackets.FloorItem.FloorValueType.Item;
                            
floorItem.ItemID ItemID;
                            
floorItem.MapID Owner.MapID;
                            
floorItem.MapObjType Game.MapObjectType.Item;
                            
floorItem.X;
                            
floorItem.Y;
                            
floorItem.Owner killer.Owner;
                            
floorItem.Type Network.GamePackets.FloorItem.Drop;
                            
floorItem.OnFloor Time32.Now;
                            
floorItem.ItemColor floorItem.Item.Color;
                            
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next;
                            while (
Map.Npcs.ContainsKey(floorItem.UID))

                                
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next;

                            
Map.AddFloorItem(floorItem);

                            
SendScreenSpawn(floorItem);

                        }
                    }
                }
                foreach (var 
client in Kernel.GamePool.Values)
                {
                    
KhaledMohamed.Kernel.SendWorldMessage(new KhaledMohamed.Network.GamePackets.Message(" Congratulations " killer.Name " Has Killed " Name " and  Get " CPanal.bosswar " ConquerPoints And [5] SvageBone And Token Epic Chi [1 Star] And 1.500.000.000 Money "Message.Center));
                }
            }
            
#endregion
            #endregion
            #region Boss[DragonIsland]
            
if (Name == "SnowBanshee" || Name == "ThrillingSpook" || Name == "NemesisTyrant" || Name == "TeratoDragon")
            {
                
killer.Owner.Entity.ConquerPoints += CPanal.bossisland;
                if (
killer.Owner.Team != null)
                {
                    foreach (
Client.GameState tm in killer.Owner.Team.Teammates)
                    {
                        
tm.Entity.SubClasses.StudyPoints += 150;
                    }
                }
                else
                    
killer.SubClasses.StudyPoints += 150;
                for (
int x 05x++)
                {
                    var 
infoss Database.ConquerItemInformation.BaseInformations[3004181];
                    
ushort XX Owner.XYY Owner.Y;
                    
Game.Map MMap Kernel.Maps[Owner.MapID];
                    if (
MMap.SelectCoordonates(ref XXref YY))
                    {
                        
Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true);
                        
floorItem.Item = new Network.GamePackets.ConquerItem(true);
                        
floorItem.Item.Color = (KhaledMohamed.Game.Enums.Color)Kernel.Random.Next(48);
                        
floorItem.Item.ID infoss.ID;
                        
floorItem.Item.Plus floorItem.Item.Plus;
                        
floorItem.Item.MaximDurability infoss.Durability;
                        
floorItem.Item.Durability infoss.Durability;
                        
floorItem.Item.MobDropped true;
                        
floorItem.ValueType Network.GamePackets.FloorItem.FloorValueType.Item;
                        
floorItem.ItemID infoss.ID;
                        
floorItem.MapID Owner.MapID;
                        
floorItem.MapObjType Game.MapObjectType.Item;
                        
floorItem.XX;
                        
floorItem.Item.StackSize 1;
                        
floorItem.Item.MaxStackSize infoss.StackSize;
                        
floorItem.YY;
                        
floorItem.OwnerUID killer.UID;
                        
floorItem.Type Network.GamePackets.FloorItem.Drop;
                        
floorItem.OnFloor Time32.Now;
                        
floorItem.Owner killer.Owner;
                        
floorItem.ItemColor floorItem.Item.Color;
                        
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next;
                        while (
MMap.Npcs.ContainsKey(floorItem.UID))
                            
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next;
                        
MMap.AddFloorItem(floorItem);
                        
SendScreenSpawn(floorItem);

                    }
                }
                foreach (var 
client in Kernel.GamePool.Values)
                {
                    
KhaledMohamed.Kernel.SendWorldMessage(new KhaledMohamed.Network.GamePackets.Message(" Congratulations " killer.Name " Has Killed " Name " and  Get " CPanal.bossisland " ConquerPoints And SvageBone "Message.Center));
                }
            }
            
#endregion
            #endregion 

packetHandler.cs
كود PHP:

 #region Go To Map [Jiang]
                
case 729692:
                    {
                        
client.Inventory.Remove(itemGame.Enums.ItemUse.RemoveFromStack);
                        
client.Entity.Teleport(118105054);
                       
// client.Inventory.Add(729690, 0,1);
                        
break;
                    }
                
                
#endregion
                #region Go To Map [Chi]
                
case 729690:
                    {
                        
client.Inventory.Remove(itemGame.Enums.ItemUse.RemoveFromStack);
                        
client.Entity.Teleport(85705054);
                        break;
                    }
                
#endregion 

npc.cs
كود PHP:

 #region Chi Npc
                
case 4444:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    if (
client.ChiPowers.Count == 0)
                                    {
                                        
dialog.Text("Sorry But You Don't Have chi Yet.");
                                        
dialog.Option("I'll think about it!"255);
                                        
dialog.Send();
                                        return;
                                    }
                                    
dialog.Text("Hello I'M Mr.online Chi Seller.");
                                    for (
int i 0client.ChiPowers.Counti++)
                                    {
                                        var 
stage client.ChiPowers[i];
                                        
dialog.Option(((Game.Enums.ChiPowerType)(1)).ToString(), (byte)(1));
                                    }
                                    
dialog.Option("I'll think about it!"255);
                                    
dialog.Send();
                                    break;
                                }
                            default:
                                {
                                    
int mStage npcRequest.OptionID;
                                    if (
mStage >= && mStage <= 4)
                                    {
                                        
client.Entity.SelectedStage mStage;
                                        
dialog.Text("You Choose " + ((Game.Enums.ChiPowerType)mStage).ToString() + " stage. please select Attribute you want to change ");
                                        for (
int i 04i++)
                                        {
                                            
dialog.Option("Attribute [" + (byte)(1) + "]", (byte)(4));
                                        }
                                        
dialog.Option("Back"0);
                                        
dialog.Option("I'll think about it!"255);
                                        
dialog.Send();
                                        break;
                                    }
                                    else if (
mStage >= && mStage <= 8)
                                    {
                                        
client.Entity.SelectedAttribute mStage 4;
                                        var 
mychiattribute = new List<Enums.ChiAttribute>();
                                        var 
powers client.ChiPowers[(int)client.Entity.SelectedStage 1];
                                        for (
int i 0powers.Attributes.Lengthi++)
                                        {
                                            var 
Attribute powers.Attributes[i];
                                            
mychiattribute.Add(Attribute.Type);
                                        }
                                        
dialog.Text("You Choose Attribute [" client.Entity.SelectedAttribute "] please select AttributeType you want to change ");
                                        for (
int i 0< (int)Enums.ChiAttribute.MagicDamageDecreasei++)
                                        {
                                            var 
type = ((Enums.ChiAttribute)(1));
                                            if (!
mychiattribute.Contains(type))
                                                
dialog.Option(type.ToString(), (byte)(((1) * 10)));
                                        }
                                        
dialog.Option("Back", (byte)client.Entity.SelectedStage);
                                        
dialog.Option("I'll think about it!"255);
                                        
dialog.Send();
                                        break;
                                    }
                                    else
                                    {
                                       
/* if (client.Entity.ConquerPoints <= 1)
                                        {
                                            dialog.Text("Sorry But You Don't Have 1 cps ");
                                            dialog.Option("I'll think about it!", 255);
                                            dialog.Send();
                                            return;
                                        }*/

                                        
var typex mStage 10;
                                        var 
Mode client.Entity.SelectedStage;
                                        var 
pos client.Entity.SelectedAttribute 1;
                                        var 
powers client.ChiPowers[Mode 1];
                                        var 
attributes powers.Attributes;
                                        foreach (var 
attr in attributes)
                                        {
                                            if (
attr == null) continue;
                                            if (
attr.Type == (Enums.ChiAttribute)typex)
                                            {
                                                
client.MessageBox("Sorry you can't muliplay stats"nullnull);
                                                return;
                                            }
                                        }
                                        
attributes[pos].Type = (Enums.ChiAttribute)typex;
                                        
attributes[pos].Value = (ushort)Game.Enums.ChiMaxValues(attributes[pos].Type);
                                        
powers.CalculatePoints();
                                        
Database.ChiTable.Sort((Enums.ChiPowerType)Mode);
                                        
powers.Power = (Enums.ChiPowerType)Mode;
                                      
//  client.Entity.ConquerPoints -= 1;
                                        
client.Entity.Teleport(1002300278);
                                        
client.Send(new ChiPowers(true).Query(client));
                                        
#region update ranking
                                        
Database.ChiTable.ChiData[] array = null;
                                        switch ((
Enums.ChiPowerType)Mode)
                                        {
                                            case 
Game.Enums.ChiPowerType.Dragon:
                                                array = 
Database.ChiTable.Dragon;
                                                break;
                                            case 
Game.Enums.ChiPowerType.Phoenix:
                                                array = 
Database.ChiTable.Phoenix;
                                                break;
                                            case 
Game.Enums.ChiPowerType.Tiger:
                                                array = 
Database.ChiTable.Tiger;
                                                break;
                                            case 
Game.Enums.ChiPowerType.Turtle:
                                                array = 
Database.ChiTable.Turtle;
                                                break;
                                        }
                                        foreach (var 
chiData in array)
                                        {
                                            if (
Kernel.GamePool.ContainsKey(chiData.UID))
                                            {
                                                var 
pClient Kernel.GamePool[chiData.UID];
                                                if (
pClient == null) continue;
                                                if (
pClient.ChiData == null) continue;
                                                
// make it public instead of private 
                                                
PacketHandler.SendRankingQuery(new GenericRanking(true) { Mode GenericRanking.QueryCount }, pClientGenericRanking.Chi + (uint)ModepClient.ChiData.SelectRank((Enums.ChiPowerType)Mode), pClient.ChiData.SelectPoints((Enums.ChiPowerType)Mode));
                                                if (
pClient.Entity.UID == client.Entity.UID || pClient.ChiData.SelectRank((Enums.ChiPowerType)Mode) < 50)
                                                    
pClient.LoadItemStats();
                                            }
                                        }
                                        
#endregion
                                        
Database.ChiTable.Save(client);
                                    }
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion 

كود PHP:

  #region Jiang Npc
                            
case 88855:
                                {
                                    switch (
npcRequest.OptionID)
                                    {
                                        case 
0:
                                            {
                                                if (
client.Entity.MyJiang == null)
                                                {
                                                    
dialog.Text("Sorry But You Don't Have Jiang Yet.");
                                                    
dialog.Option("I'll think about it!"255);
                                                    
dialog.Send();
                                                    return;
                                                }
                                                
dialog.Text("Hello Messi Jiang Seller.");
                                                for (
int i 0client.Entity.MyJiang.Stagers.Lengthi++)
                                                {
                                                    var 
stage client.Entity.MyJiang.Stagers[i];
                                                    if (
stage.Activate)
                                                        
dialog.Option("Stage [" + (byte)(1) + "]", (byte)(1));

                                                }
                                                
dialog.Option("I'll think about it!"255);
                                                
dialog.Send();
                                                break;
                                            }
                                        default:
                                            {
                                                
int mStage npcRequest.OptionID;
                                                if (
mStage >= && mStage <= 9)
                                                {
                                                    foreach (var 
item in Database.JiangHu.CultivateStatus[(byte)mStage])
                                                    {
                                                        
dialog.Option(((Game.JiangHu.JiangStages.AtributesType)item).ToString(), (byte)((item 10) + mStage));
                                                    }

                                                }
                                                else
                                                {

                                                    
client.Entity.Teleport(1002300278);
                                                    var 
typex mStage 10;
                                                    
mStage mStage 10;
                                                    
byte stageno = (byte)Math.Min(9mStage);
                                                    
byte level 6;
                                                    var 
type = (Game.JiangHu.JiangStages.AtributesType)Math.Min(15typex);
                                                    if (
client.Entity.MyJiang.Stagers.Length >= stageno)
                                                    {
                                                        var 
stage client.Entity.MyJiang.Stagers[(stageno 1)];
                                                        for (
byte i 1stage.Stars.Length 1i++)
                                                        {
                                                            
client.Entity.MyJiang.MyNewStart = new Game.JiangHu.GetNewStar();
                                                            
client.Entity.MyJiang.MyNewStart.PositionStar i;
                                                            
client.Entity.MyJiang.MyNewStart.Stage stageno;
                                                            
client.Entity.MyJiang.MyNewStart.Star = new Game.JiangHu.JiangStages.Star();
                                                            
client.Entity.MyJiang.MyNewStart.Star.Activate true;
                                                            
client.Entity.MyJiang.MyNewStart.Star.Level level;
                                                            
client.Entity.MyJiang.MyNewStart.Star.Typ type;
                                                            
client.Entity.MyJiang.MyNewStart.Star.UID client.Entity.MyJiang.ValueToRoll(client.Entity.MyJiang.MyNewStart.Star.Typclient.Entity.MyJiang.MyNewStart.Star.Level);
                                                            
Network.GamePackets.JiangHuUpdate upd = new Network.GamePackets.JiangHuUpdate();
                                                            
upd.Atribute client.Entity.MyJiang.MyNewStart.Star.UID;
                                                            
upd.FreeCourse client.Entity.MyJiang.FreeCourse;
                                                            
upd.Stage stageno;
                                                            
upd.Star i;
                                                            
upd.FreeTimeTodeyUsed = (byte)client.Entity.MyJiang.FreeTimeTodeyUsed;
                                                            
upd.RoundBuyPoints client.Entity.MyJiang.RoundBuyPoints;
                                                            
client.Send(upd.ToArray());
                                                            
client.Entity.MyJiang.ApplayNewStar(client);
                                                        }
                                                        if (
client.Entity.MyJiang != null)
                                                            
client.Entity.MyJiang.SendStatus(clientclient);
                                                    }

                                                }
                                                break;
                                            }
                                    }
                                    break;
                                }
                            
#endregion 

تشي هتتحطه ف مابه دي
8570
و جيانج ف مابه دي
11810

AbuMaryam 2019-09-12 12:18 AM

رد: Big Monsters full system
 
تسلم ايدك يا صديقي ♥

ALz3em 2019-09-12 12:23 AM

رد: Big Monsters full system
 
عاش تسلم أيدك
بس ملعش فكرة الجيانغ والتشى ينزلوا في مابات معينة أيه الفكره في كده

محمد ياسر 2019-09-12 06:43 AM

رد: Big Monsters full system
 
عاش

Tefa 2019-09-13 12:59 AM

رد: Big Monsters full system
 
حبيبي يا ابو مريم
حبيبي يا حازم

اقتباس:

المشاركة الأصلية كتبت بواسطة alz3em (المشاركة 15948)
عاش تسلم أيدك
بس ملعش فكرة الجيانغ والتشى ينزلوا في مابات معينة أيه الفكره في كده

لان ف وحش بيطلع 12 الصبح و 12 بليل واحد للتشي و واحد للجيانج بيوقعلك توكن بتديك تشي ايبك

ahmedfathy 2019-09-13 02:09 PM

رد: Big Monsters full system
 
الله ينور عليك اهوه كل دا شغل جميل للمبتدائين

Alaa Ghanem 2019-12-21 05:21 PM

رد: Big Monsters full system
 
الله ينور بس سؤال صغير ازاي اتحكم في مواعيد ظهورها من أنهي كود


الساعة الآن 12:25 AM

مرحبا بكم في منتدي اكواد لتطوير الالعاب