.png)
السلام عليكم ورحمة الله وبركاته
الفكرة عباره عن
هيا شبه كويستة Conquer7
بس معمولة بطريقه مختلفة
الفكره عباره عن ان حضرتك بتروح تقتل في وحوش برد بتجمع 7 بيضات بالوان مختلفة واسامي مختلفة
وبعدين بتروح لراجل الساعه 0.45 بيديك 100 الف سي بي اس
وفي الجايزا الكبرا وهيا من الاسبوك بيضة بتاخدها لما حضرتك بتقتل اسبوك واحده
بتروح تسلمها وتاخد 200 الف سي بي اس ولما الوقت يجي 0.45 علشان تسلم البيض
بيجي لحضرتك اوتو انفيت بينبهك انه جه وقت التسليم لو حضرتك عايز تروح
نيجي بقي لطريقة التركيب والاضافة
اولا حضرتك هتفتح السورس ملف NPC
وتحت اي انبسي تضيف الاكواد دي
تمام كده وبعد كده خش
Database/MonsterTable.cs
وبعد كده ابحث علي
وبعدين ضيف تحته الكود ده
لحد كده تمام
نروح
نفتح السورس ونفتح ملف world.cs
ونضيف الكود ده
تمام كده وبعدين نفتح Sorce/Bin/Dug/Item
ونضيف الاكواد دي
وبعد
كده نضيف ده في النافي كات
وكده تم الانتهاء 
الفكرة عباره عن
هيا شبه كويستة Conquer7
بس معمولة بطريقه مختلفة
الفكره عباره عن ان حضرتك بتروح تقتل في وحوش برد بتجمع 7 بيضات بالوان مختلفة واسامي مختلفة
وبعدين بتروح لراجل الساعه 0.45 بيديك 100 الف سي بي اس
وفي الجايزا الكبرا وهيا من الاسبوك بيضة بتاخدها لما حضرتك بتقتل اسبوك واحده
بتروح تسلمها وتاخد 200 الف سي بي اس ولما الوقت يجي 0.45 علشان تسلم البيض
بيجي لحضرتك اوتو انفيت بينبهك انه جه وقت التسليم لو حضرتك عايز تروح
نيجي بقي لطريقة التركيب والاضافة
اولا حضرتك هتفتح السورس ملف NPC
وتحت اي انبسي تضيف الاكواد دي
كود PHP:
#region VigoQuestEgg
case 250:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("hello that quest egg if you have egg.");
dialog.Text("if you have all egg will finsh quest");
dialog.Option("Yes I Have Give My Prize.", 1);
dialog.Option("Yes I Have BigEgg.", 2);
dialog.Option("Sorry I Don't Have All Items.", 255);
dialog.Avatar(116);
dialog.Send();
break;
}
case 1:
{
if (DateTime.Now.Minute == 45)
{
if (client.Inventory.Contains(710060, 1))//egg
{
if (client.Inventory.Contains(710061, 1))//Vigo
{
if (client.Inventory.Contains(710062, 1))//egg2
{
if (client.Inventory.Contains(710063, 1))//Vigo
{
if (client.Inventory.Contains(710064, 1))//Vigo-gg
{
client.Inventory.Remove(710060, 1);
client.Inventory.Remove(710061, 1);
client.Inventory.Remove(710062, 1);
client.Inventory.Remove(710063, 1);
client.Inventory.Remove(710064, 1);
client.Inventory.Add(710065, 0, 1);
client.Entity.ConquerPoints += 10000;
Conquer_Online_Server.Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " Has finshed Quest [Vigo] And Reward SmallPrice.", System.Drawing.Color.DarkGray, Message.Center), Program.GamePool);
}
else
{
dialog.Text("Sorry But You Don't Have All Things You Can't finish The Quest");
dialog.Option("Ahh sorry.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
else
{
dialog.Text("Sorry But You Don't Have All Things You Can't finish The Quest");
dialog.Option("Ahh sorry.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
else
{
dialog.Text("Sorry But You Don't Have All Things You Can't finish The Quest.");
dialog.Option("Ahh sorry.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
else
{
dialog.Text("Sorry But You Don't Have All Things You Can't finish The Quest.");
dialog.Option("Ahh sorry.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
else
{
dialog.Text("Sorry But You Don't Have All Things You Can't finish The Quest.");
dialog.Option("Ahh sorry.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
else
{
dialog.Text("Sorry You Can Only Claim Your Reward At Minute 45.");
dialog.Option("Okay sorry Iam Will Waiting.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 2:
{
if (client.Inventory.Contains(710067, 1))
{
client.Inventory.Remove(710067, 1);
client.Entity.ConquerPoints += 20000;
}
else
{
dialog.Text("You do not have a BigEgg");
dialog.Send();
}
break;
}
}
break;
}
#endregion Database/MonsterTable.cs
وبعد كده ابحث علي
كود PHP:
if (Name == "Naga")
كود PHP:
#region Vigo
if (Name == "Birdman")
{
byte times = (byte)Kernel.Random.Next(1, 3);
byte ref_times = (byte)Kernel.Random.Next(1, 6);
for (byte i = 0; i < times; i++)
{
uint Uid = 0;
byte type = (byte)Kernel.Random.Next(1, 40);
switch (type)
{
case 1: Uid = 710060; break;
case 2: Uid = 710061; break;
case 3: Uid = 710062; break;
case 4: Uid = 710063; break;
case 5: Uid = 710064; break;
case 6: Uid = 710065; break;
}
if (Uid != 0)
{
ushort X = Owner.X, Y = Owner.Y;
Game.Map Map = Kernel.Maps[Owner.MapID];
if (Map.SelectCoordonates(ref X, ref Y))
{
Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true);
floorItem.Item = new Network.GamePackets.ConquerItem(true);
floorItem.Item.Color = (Conquer_Online_Server.Game.Enums.Color)Kernel.Random.Next(4, 8);
floorItem.Item.ID = Uid;
floorItem.Item.MaximDurability = floorItem.Item.Durability = 65535;
floorItem.Item.UID = Network.GamePackets.ConquerItem.ItemUID.Next;
floorItem.ValueType = Network.GamePackets.FloorItem.FloorValueType.Item;
floorItem.ItemID = Uid;
floorItem.MapID = Owner.MapID;
floorItem.MapObjType = Game.MapObjectType.Item;
floorItem.X = X;
floorItem.Y = Y;
floorItem.Type = Network.GamePackets.FloorItem.Drop;
floorItem.OnFloor = Time32.Now;
floorItem.ItemColor = floorItem.Item.Color;
floorItem.UID = Network.GamePackets.FloorItem.FloorUID.Next;
while (Map.Npcs.ContainsKey(floorItem.UID))
floorItem.UID = Network.GamePackets.FloorItem.FloorUID.Next;
Map.AddFloorItem(floorItem);
SendScreenSpawn(floorItem);
}
}
}
}
#endregion نروح
نفتح السورس ونفتح ملف world.cs
ونضيف الكود ده
كود PHP:
#region VigoEggQuest
if ((Now64.Minute == 45) && (Now64.Second == 01))
{
Kernel.SendWorldMessage(new Message("VigoEggQuest has now you can Give Egg", Color.White, Message.TopLeft), Program.GamePool);
client.MessageBox("VigoEggQuest want Join?",
p => { p.Entity.Teleport(267, 217, 217); }, null, 60);
}
#endregion ونضيف الاكواد دي
كود PHP:
710060@@RedEasterEgg@@0@@0@@0@@0@@0@@0@@0@@0@@3@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@[2010Easter]@@It`s~used~in~the~Lucky~Box~Quest.@@5@@0@@0@@0@@0@@500@@0@@0@@0@@0@@
710061@@GreenEasterEgg@@0@@0@@0@@0@@0@@0@@0@@0@@3@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@[2010Easter]@@It`s~used~in~the~Lucky~Box~Quest.@@5@@0@@0@@0@@0@@500@@0@@0@@0@@0@@ 710062@@BlueEasterEgg@@0@@0@@0@@0@@0@@0@@0@@0@@3@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@[2010Easter]@@It`s~used~in~the~Lucky~Box~Quest.@@5@@0@@0@@0@@0@@500@@0@@0@@0@@0@@
710063@@YellowEasterEgg@@0@@0@@0@@0@@0@@0@@0@@0@@3@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@[2010Easter]@@It`s~used~in~the~Lucky~Box~Quest.@@5@@0@@0@@0@@0@@500@@0@@0@@0@@0@@ 710064@@WhiteEgg@@0@@0@@0@@0@@0@@0@@0@@0@@3@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@[2010Easter]@@It`s~got~from~Tracy~and~used~for~exchange~for~other~Striped~Eggs.@@5@@0@@0@@0@@0@@500@@0@@0@@0@@0@@
710065@@RedStripedEgg@@0@@0@@0@@0@@0@@0@@0@@0@@3@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@[2010Easter]@@It`s~used~in~the~Easter~Egg~Exchange~Quest.@@5@@0@@0@@0@@0@@500@@0@@0@@0@@0@@ 710066@@PurpleStripedEgg@@0@@0@@0@@0@@0@@0@@0@@0@@3@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@[2010Easter]@@It`s~used~in~the~Easter~Egg~Exchange~Quest.@@5@@0@@0@@0@@0@@500@@0@@0@@0@@0@@
710067@@YellowStripedEgg@@0@@0@@0@@0@@0@@0@@0@@0@@3@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0 كده نضيف ده في النافي كات
كود PHP:
10020 0 0 Beautician 5 250 -1 1002 331 231 0 0 0 0 0 0 0 0 0 0 0 0 None 0 0 0 0 0
هل أعجبك الموضوع؟! ↓

0 التعليقات