قديم 2020-03-31, 07:44 AM
المشاركة 2
Users
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: مشكله ف الوحوش الكبيره
عيب باتش غير ملف مونستر من ini

قديم 2020-03-31, 03:10 PM
المشاركة 3
Amr Khalid
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: مشكله ف الوحوش الكبيره
عيب باتش غير ملف مونستر من ini
طب لو عوز اغير المابه اعمل اي

قديم 2020-03-31, 04:25 PM
المشاركة 4
Avengers-Co
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: مشكله ف الوحوش الكبيره
من monsterspwan.cs
هتلاقي كل وحش مكتوب فية سطر زي كدة

كود:
 Kernel.Maps[1002].Spawnthiskingdom(mobConvert.ToUInt16(370), Convert.ToUInt16(368)); 

في السطر دة هيطلع في المابة 1002 التاون سيتي احداثيات 370 و 368
عدلة بالمابة اللي انت عاوزها
ولو شكل الوحش مش ظاهر اتأكد انك ضايفة في الكلينت او غير شكلة خالص من

كود:
Database.MonsterInformation.MonsterInformations.TryGetValue

هتلاقي ال id بتاعة مكتوب غيرة بعد السطر دة عند كل وحش بايدي اي وحش ظاهر عندك

طب لو عوز اغير المابه اعمل اي

قديم 2020-03-31, 07:10 PM
المشاركة 5
Tefa
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: مشكله ف الوحوش الكبيره
من monsterspwan.cs
هتلاقي كل وحش مكتوب فية سطر زي كدة

كود:
 kernel.maps[1002].spawnthiskingdom(mobconvert.touint16(370), convert.touint16(368)); 

في السطر دة هيطلع في المابة 1002 التاون سيتي احداثيات 370 و 368
عدلة بالمابة اللي انت عاوزها
ولو شكل الوحش مش ظاهر اتأكد انك ضايفة في الكلينت او غير شكلة خالص من

كود:
database.monsterinformation.monsterinformations.trygetvalue

هتلاقي ال id بتاعة مكتوب غيرة بعد السطر دة عند كل وحش بايدي اي وحش ظاهر عندك
زي ما افنجر قالك هتغير المابه مشكله انك في مكان بعيد في مابه مش الوحش مش ظاهر ولا حاج يعني مابه علي شكل مربع انته بره المربع انته و الوحش

قديم 2020-03-31, 09:58 PM
المشاركة 6
Amr Khalid
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: مشكله ف الوحوش الكبيره
زي ما افنجر قالك هتغير المابه مشكله انك في مكان بعيد في مابه مش الوحش مش ظاهر ولا حاج يعني مابه علي شكل مربع انته بره المربع انته و الوحش
مش موجوده ي شق بوص كدا الصوره مش موجوده

قديم 2020-04-01, 01:10 AM
المشاركة 7
Tefa
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: مشكله ف الوحوش الكبيره
مش موجوده ي شق بوص كدا الصوره مش موجوده
أنته واقف عند كود جايزه كود اسبون في world.cs

قديم 2020-04-01, 07:58 AM
المشاركة 8
ElSaher
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: مشكله ف الوحوش الكبيره
يا حوب خود الوحوش اهي كاملة علشان مش يجيلك مشاكل

امسح الاضاقت الي عندك وضيف دول

اول حاجا كلاس MonsterTable.cs

هتضيف فيه
دول

كود:
            #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 

ودول

كود:
            #region TheBigMonster
            #region Boss[Stone-Perf]
            
if (Name == "Vampire" || Name == "destructive" || Name == "SwordMaster")
            {
                
killer.Owner.Player.ConquerPoints += 15000000;
                
killer.Owner.Player.OnlinePoints += 200;
                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 = (Mr_Panda.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);
                    }
                }
                foreach (var 
client in Kernel.GamePool.Values)
                {
                    
Mr_Panda.Kernel.SendWorldMessage(new Mr_Panda.Network.GamePackets.Message(" Congratulations " killer.Name " Has Killed " Name " and  Get [15.000.000] ConquerPoints.The And Online Points 200 "Message.Center));
                }
            }
            
#endregion
            #region Boss[Stone]
            
if (Name == "DeadLady" || Name == "Shanghi" || Name == "DeadMan" || Name == "SnowBansheeSoul")
            {
                
killer.Owner.Player.ConquerPoints += 15000000;
                
killer.Owner.Player.OnlinePoints += 200;
                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 = (Mr_Panda.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);
                    }
                }
                foreach (var 
client in Kernel.GamePool.Values)
                {
                    
Mr_Panda.Kernel.SendWorldMessage(new Mr_Panda.Network.GamePackets.Message(" Congratulations " killer.Name " Has Killed " Name " and  Get [15.000.000] ConquerPoints .The And Online Points 200 "Message.Center));
                }
            }
            
#endregion
            #region Boss[War]
            #region Legendarywarrior
            
if (Name == "Legendarywarrior" || Name == "LostMan" )
            {
                
killer.Owner.Player.ConquerPoints += 15000000;
                
killer.Owner.Player.OnlinePoints += 200;
                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 = (Mr_Panda.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)
                {
                    
Mr_Panda.Kernel.SendWorldMessage(new Mr_Panda.Network.GamePackets.Message(" Congratulations " killer.Name " Has Killed " Name " and  Get [15.000.000] ConquerPoints .The And Online Points 200 "Message.Center));
                }
            }
            
#endregion
            #endregion
            #region Boss[DragonIsland]
            
if (Name == "SnowBanshee" || Name == "ThrillingSpook" || Name == "NemesisTyrant" || Name == "TeratoDragon")
            {
                
killer.Owner.Player.ConquerPoints += 15000000;
                
killer.Owner.Player.OnlinePoints += 200;
                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 = (Mr_Panda.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);
                        
//killer.Owner.Player.ConquerPoints += 50000;
                    
}
                }
                foreach (var 
client in Kernel.GamePool.Values)
                {
                    
Mr_Panda.Kernel.SendWorldMessage(new Mr_Panda.Network.GamePackets.Message(" Congratulations " killer.Name " Has Killed " Name " and  Get [15.000.000] ConquerPoints .The And Online Points 200"Message.Center));
                }
            }
            
#endregion
            #endregion 

تاني حاجا كلاس npc.cs
ضيف دول

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

                                case 
0:
                                    {
                                        
dialog.Text(" Hello " client.Player.Name " Do You Want Kill Dangerous Monsters ");
                                        
dialog.Option("Deadman[xx:00]"7);
                                        
dialog.Option("DeadLady[xx:05]"8);
                                        
dialog.Option("Shanghi[xx:10]"9);
                                        
dialog.Option("Destructive[xx:15]"10);
                                        
dialog.Option("SwordMaster[xx:20]"11);
                                        
dialog.Option("Vampire[xx:25]"12);
                                        
dialog.Option("LostMan[xx:30]"13);
                                        
dialog.Option("Legendarywarrior[xx:35]"14);
                                        
dialog.Option("NemesisTyrant[xx:40]"3);
                                        
dialog.Option("SnowBanshee[xx:45]"4);
                                        
dialog.Option("ThrillingSpook[xx:50]"5);
                                        
dialog.Option("TeratoDragon[xx:55]"6);                           
                                        
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);
                                        break;
                                    }
                                case 
102:
                                    {
                                        
dialog.Text("This all Monster[Stone-Perf]");
                                        
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-Stone +7[Betl3 12.10 Al Dohr]"13);
                                        
dialog.Option("Legendarywarrior [War-Stone +7[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:
                                    {
                                        
client.Player.RemoveFlag(Update.Flags.Ride);
                                        
client.Player.Teleport(39984132183);
                                        
client.Player.PKMode Game.Enums.PKMode.Team;
                                        
client.Send(new Data(true) { UID client.Player.UIDID Data.ChangePKModedwParam = (uint)client.Player.PKMode });
                                        break;
                                    }
                                case 
4:
                                    {
                                        
client.Player.RemoveFlag(Update.Flags.Ride);
                                        
client.Player.Teleport(39984360226);
                                        
client.Player.PKMode Game.Enums.PKMode.Team;
                                        
client.Send(new Data(true) { UID client.Player.UIDID Data.ChangePKModedwParam = (uint)client.Player.PKMode });
                                        break;
                                    }
                                case 
5:
                                    {
                                        
client.Player.RemoveFlag(Update.Flags.Ride);
                                        
client.Player.Teleport(39984152290);
                                        
client.Player.PKMode Game.Enums.PKMode.Team;
                                        
client.Send(new Data(true) { UID client.Player.UIDID Data.ChangePKModedwParam = (uint)client.Player.PKMode });
                                        break;
                                    }
                                case 
6:
                                    {
                                        
client.Player.RemoveFlag(Update.Flags.Ride);
                                        
client.Player.Teleport(3998421293);
                                        
client.Player.PKMode Game.Enums.PKMode.Team;
                                        
client.Send(new Data(true) { UID client.Player.UIDID Data.ChangePKModedwParam = (uint)client.Player.PKMode });
                                        break;
                                    }
                                
#endregion
                                #region Monster[War]
                                
case 13:
                                    {
                                        
DateTime Now64 DateTime.Now;
                                        if (
DateTime.Now.Hour == 12 && DateTime.Now.Minute >= 10 && DateTime.Now.Minute <= 30)
                                        {
                                            
client.Player.RemoveFlag(Update.Flags.Ride);
                                            
client.Player.Teleport(1038120132);
                                            
client.Player.PKMode Game.Enums.PKMode.Team;
                                            
client.Send(new Data(true) { UID client.Player.UIDID Data.ChangePKModedwParam = (uint)client.Player.PKMode });
                                        }
                                        else
                                        {
                                            
dialog.Text("The LostMan is held during 12:10 to 12:30 you have 20 min to signup ");
                                            
dialog.Option("I don't care."255);
                                            
dialog.Send();
                                            break;
                                        }
                                        break;
                                    }
                                case 
14:
                                    {
                                        
DateTime Now64 DateTime.Now;
                                        if (
DateTime.Now.Hour == 00 && DateTime.Now.Minute >= 10 && DateTime.Now.Minute <= 30)
                                        {
                                            
client.Player.RemoveFlag(Update.Flags.Ride);
                                            
client.Player.Teleport(1038120132);
                                            
client.Player.PKMode Game.Enums.PKMode.Team;
                                            
client.Send(new Data(true) { UID client.Player.UIDID Data.ChangePKModedwParam = (uint)client.Player.PKMode });
                                        }
                                        else
                                        {
                                            
dialog.Text("The Legendarywarrior is held during 00:10 to 00:30 you have 20 min to signup ");
                                            
dialog.Option("I don't care."255);
                                            
dialog.Send();
                                            break;
                                        }
                                        break;
                                    }
                                
#endregion
                                #region Monster[Stone]
                                
case 7:
                                    {
                                        
client.Player.RemoveFlag(Update.Flags.Ride);
                                        
client.Player.Teleport(39990363267);
                                        
client.Player.PKMode Game.Enums.PKMode.Team;
                                        
client.Send(new Data(true) { UID client.Player.UIDID Data.ChangePKModedwParam = (uint)client.Player.PKMode });
                                        break;
                                    }
                                case 
8:
                                    {
                                        
client.Player.RemoveFlag(Update.Flags.Ride);
                                        
client.Player.Teleport(39990281337);
                                        
client.Player.PKMode Game.Enums.PKMode.Team;
                                        
client.Send(new Data(true) { UID client.Player.UIDID Data.ChangePKModedwParam = (uint)client.Player.PKMode });
                                        break;
                                    }
                                case 
9:
                                    {
                                        
client.Player.RemoveFlag(Update.Flags.Ride);
                                        
client.Player.Teleport(39990121183);
                                        
client.Player.PKMode Game.Enums.PKMode.Team;
                                        
client.Send(new Data(true) { UID client.Player.UIDID Data.ChangePKModedwParam = (uint)client.Player.PKMode });
                                        break;
                                    }
                                case 
10:
                                    {
                                        
client.Player.RemoveFlag(Update.Flags.Ride);
                                        
client.Player.Teleport(39990167266);
                                        
client.Player.PKMode Game.Enums.PKMode.Team;
                                        
client.Send(new Data(true) { UID client.Player.UIDID Data.ChangePKModedwParam = (uint)client.Player.PKMode });
                                        break;
                                    }
                                case 
11:
                                    {
                                        
client.Player.RemoveFlag(Update.Flags.Ride);
                                        
client.Player.Teleport(3999013688);
                                        
client.Player.PKMode Game.Enums.PKMode.Team;
                                        
client.Send(new Data(true) { UID client.Player.UIDID Data.ChangePKModedwParam = (uint)client.Player.PKMode });
                                        break;
                                    }
                                case 
12:
                                    {
                                        
client.Player.RemoveFlag(Update.Flags.Ride);
                                        
client.Player.Teleport(39990234111);
                                        
client.Player.PKMode Game.Enums.PKMode.Team;
                                        
client.Send(new Data(true) { UID client.Player.UIDID Data.ChangePKModedwParam = (uint)client.Player.PKMode });
                                        break;
                                    }
                                
#endregion
                            
}
                            break;
                        }
                    
#endregion 

خوش علي كلاس World.cs
ضيف دول

كود:
            #region The-Monster
            #region BigMonster [War]
            #region LostMan
            
if (DateTime.Now.Minute == 30 && DateTime.Now.Second == 35)
            {
                
ushort x 00;
                
ushort MapID 39984;
                
150;
                
187;
                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.Player.Xclllient.Player.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.Player.SendSysMessage("LostMan has appeared.  Hurry and go defeat the beast");
                                    
client10.MessageBox("LostMan has appeared Would you Want to Kill-Monster?",
                                   (
p) => { p.Player.Teleport(MapIDxy); }, null20);
                                }
                            }
                        }
                    }
                }
            }
            
#endregion
            #region Legendarywarrior
            
if (DateTime.Now.Minute == 35 && DateTime.Now.Second == 35)
            {
                
ushort x 00;
                
ushort MapID 39984;
                
266;
                
159;
                
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.Player.Xclllient.Player.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.Player.SendSysMessage(name " has appeared.  Hurry and go defeat the beast!");
                                    
client10.MessageBox(name " has appeared Would you Want to Kill-Monster?",
                                   (
p) => { p.Player.Teleport(MapIDxy); }, null20);
                                }
                            }
                        }
                    }
                }
            }
            
#endregion
            #endregion
            #region BigMonster [SavageBone]
            #region ThrillingSpook
            
if (DateTime.Now.Minute == 50 && DateTime.Now.Second == 35)
            {
                
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.Player.Xclllient.Player.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.Player.SendSysMessage(name " has appeared.  Hurry and go defeat the beast!");
                                    
client10.MessageBox(name " has appeared Would you Want to Kill-Monster?",
                                   (
p) => { p.Player.Teleport(MapIDxy); }, null20);
                                }
                            }
                        }
                    }
                }
            }
            
#endregion
            #region SnowBanshee
            
if (DateTime.Now.Minute == 45 && DateTime.Now.Second == 35)
            {
                
ushort x 00;
                
ushort MapID 39984;
                
226;
                
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.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.Player.Xclllient.Player.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.Player.SendSysMessage(name " has appeared.  Hurry and go defeat the beast!");
                                    
client10.MessageBox(name " has appeared Would you Want to Kill-Monster?",
                                   (
p) => { p.Player.Teleport(MapIDxy); }, null20);
                                }
                            }
                        }
                    }
                }
            }
            
#endregion
            #region NemesisTyrant
            
if (DateTime.Now.Minute == 40 && DateTime.Now.Second == 35)
            {
                
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.Player.Xclllient.Player.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.Player.SendSysMessage(name " has appeared.  Hurry and go defeat the beast!");
                                    
client10.MessageBox(name " has appeared Would you Want to Kill-Monster?",
                                   (
p) => { p.Player.Teleport(MapIDxy); }, null20);
                                }
                            }
                        }
                    }
                }
            }
            
#endregion
            #region TeratoDragon
            
if ((DateTime.Now.Minute == 55 && DateTime.Now.Second == 35))
            {
                
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.Player.Xclllient.Player.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.Player.SendSysMessage(name " has appeared.  Hurry and go defeat the beast!");
                                    
client10.MessageBox(name " has appeared Would you Want to Kill-Monster?",
                                   (
p) => { p.Player.Teleport(MapIDxy); }, null20);
                                }
                            }
                        }
                    }
                }
            }
            
#endregion
            #endregion
            #region BigMonster [Stone]
            #region Shanghi
            
if ((DateTime.Now.Minute == 10 && DateTime.Now.Second == 35))
            {
                
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.Player.Xclllient.Player.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.Player.SendSysMessage(name " has appeared.  Hurry and go defeat the beast!");
                                    
client10.MessageBox(name " has appeared Would you Want to Kill-Monster?",
                                   (
p) => { p.Player.Teleport(MapIDxy); }, null20);
                                }
                            }
                        }
                    }
                }
            }
            
#endregion
            #region Destructive
            
if ((DateTime.Now.Minute == 15 && DateTime.Now.Second == 35))
            {
                
ushort x 00;
                
ushort MapID 39990;
                
266;
                
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.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.Player.Xclllient.Player.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.Player.SendSysMessage(name " Dah W7sh al Stone-Perf Low htro7 Dos Ok!");
                                    
client10.MessageBox(name " Dah W7sh al Stone-Perf Low htro7 Dos Ok?",
                                   (
p) => { p.Player.Teleport(MapIDxy); }, null20);
                                }
                            }
                        }
                    }
                }
            }
            
#endregion
            #region DeadLady
            
if ((DateTime.Now.Minute == 05 && DateTime.Now.Second == 35))
            {
                
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.Player.Xclllient.Player.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.Player.SendSysMessage(name " has appeared.  Hurry and go defeat the beast!");
                                    
client10.MessageBox(name " has appeared Would you Want to Kill-Monster?",
                                   (
p) => { p.Player.Teleport(MapIDxy); }, null20);
                                }
                            }
                        }
                    }
                }
            }
            
#endregion
            #region DeadMan
            
if ((DateTime.Now.Minute == 00 && DateTime.Now.Second == 35))
            {
                
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.Player.Xclllient.Player.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.Player.SendSysMessage(name " has appeared.  Hurry and go defeat the beast!");
                                    
client10.MessageBox(name " has appeared Would you Want to Kill-Monster?",
                                   (
p) => { p.Player.Teleport(MapIDxy); }, null20);
                                }
                            }
                        }
                    }
                }
            }
            
#endregion
            #region Vampire
            
if ((DateTime.Now.Minute == 25 && DateTime.Now.Second == 35))
            {
                
ushort x 00;
                
ushort MapID 39990;
                
104;
                
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.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.Player.Xclllient.Player.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.Player.SendSysMessage(name " Dah W7sh al Stone-Perf Low htro7 Dos Ok!");
                                    
client10.MessageBox(name " Dah W7sh al Stone-Perf Low htro7 Dos Ok?",
                                   (
p) => { p.Player.Teleport(MapIDxy); }, null20);
                                }
                            }
                        }
                    }
                }
            }
            
#endregion
            #region SwordMaster
            
if (DateTime.Now.Minute == 20 && DateTime.Now.Second == 35)
            {
                
ushort x 00;
                
ushort MapID 39990;
                
83;
                
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.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.Player.Xclllient.Player.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.Player.SendSysMessage(name " Dah W7sh al Stone-Perf Low htro7 Dos Ok!");
                                    
client10.MessageBox(name " Dah W7sh al Stone-Perf Low htro7 Dos Ok?",
                                   (
p) => { p.Player.Teleport(MapIDxy); }, null20);
                                }
                            }
                        }
                    }
                }
            }
            
#endregion
            #endregion
            #endregion 

بس كدا ياريت يكون اتحلت عندك امسح الاضاقت الي عندك وضيف دول

قديم 2020-04-01, 02:02 PM
المشاركة 9
عادل عصام
.:: عضو جديد ::.
  • غير متواجد
افتراضي رد: مشكله ف الوحوش الكبيره
تغيير المابة من جوة monsterspawn.cs او world علي حسب انت عامل الاستدعاء بتاعهم فين مش من هنا ياريس ,
لو كان monsterspawn.cs ادخل جوة وابحث عن ,

كود:
SpawnSnowBanshee 

هتلاقي كود زي كدة ,

كود:
        public static void SpawnSnowBanshee()
        {
            
Kernel.SpawnBanshee true;
            
LastSnowBanshee Time32.Now;
            
Database.MonsterInformation mob;
            
Database.MonsterInformation.MonsterInformations.TryGetValue(4212out mob);
            
Kernel.Maps[10137].Spawnthiskingdom(mobConvert.ToUInt16(717), Convert.ToUInt16(681));
        } 

عدل علي السطر دة بمكان المابة اللي انت عاوزها ,


كود:
Kernel.Maps[10137].Spawnthiskingdom(mobConvert.ToUInt16(717), Convert.ToUInt16(681)); 

ونفس الشىء مع باقي الوحوش ابحث عن اسمها وهتلاقي لها كود زي اللي فوق ,
مش موجوده ي شق بوص كدا الصوره مش موجوده

قديم 2020-04-01, 02:07 PM
المشاركة 10
ElSaher
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: مشكله ف الوحوش الكبيره
تغيير المابة من جوة monsterspawn.csمش من هنا ياريس ,
ادخل جوة monsterspawn.cs وابحث عن ,

كود:
spawnsnowbanshee 

هتلاقي كود زي كدة ,

كود:
        public static void spawnsnowbanshee()
        {
            
kernel.spawnbanshee true;
            
lastsnowbanshee time32.now;
            
database.monsterinformation mob;
            
database.monsterinformation.monsterinformations.trygetvalue(4212out mob);
            
kernel.maps[10137].spawnthiskingdom(mobconvert.touint16(717), convert.touint16(681));
        } 

عدل علي السطر دة بمكان المابة اللي انت عاوزها ,


كود:
kernel.maps[10137].spawnthiskingdom(mobconvert.touint16(717), convert.touint16(681)); 

ونفس الشىء مع باقي الوحوش ابحث عن اسمها وهتلاقي لها كود زي اللي فوق ,
انا بعتلو الوحوش كاملة ومش هيجلو فيها مشاكل


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



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

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

المواضيع المتشابهه للموضوع: مشكله ف الوحوش الكبيره
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
مشلكة في الوحوش الكبيره ahmedhamedd555e تطوير سيرفرات كونكر 3 2021-08-19 02:39 AM
مشكلة في الوحوش الكبيره سورس رايزو محمودمحمدسالم مشكلات السيرفيرات كونكر الشخصيه 1 2020-04-05 03:49 PM
عايز حل الوحوش الكبيره في سورس رايزو محمودمحمدسالم مشكلات السيرفيرات كونكر الشخصيه 10 2020-03-16 05:59 PM
كيفيه تحكم في ليفل الوحوش الكبيره Hassan Emprator تطوير سيرفرات كونكر 0 2019-09-19 12:34 PM
مشكله رخمه في الوحوش الكبيره AliNasser مشكلات السيرفيرات كونكر الشخصيه 9 2019-08-28 05:07 AM


الساعة الآن 04:15 AM

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