تيم تهيس
الكويست عبارة عن المهمات اللى بناخدها من التون و الفونيكس والبيرد اليومية … هتكلم انبى سى المهمة فى اى مدينة هيديلك
كويست عشوائى هتقتل 1000 من الوحش اللى هيحددهولك وترجعله هيديلك مهمة تانية وكدة
ملحوظة (( انا عامل انبى سى واحد ومشغل عليه المدن كلها لو انت حابب تعمل اكتر من انبى سى انت ومزاجك ))
الكويست شغال تمام ب اذن الله
الاول اتروح علي
Entity.cs او player.cs
اتحبث عن
public unsafe class Entity : Writer, IBaseEntity, IMapObject {
تحت القوس حط دول
public bool StartEpic = false; public uint JarsCount = 0; public uint Pheasant = 0; public uint Poltergeist = 0; public uint Bandit = 0; public uint SandMonster = 0; public uint BladeGhost = 0; public uint BlizzardBat = 0; public uint BloodyBat = 0; public uint Birdman = 0; public uint BullMonster = 0; public uint WingedSnake = 0;
بعد كده تروح
MonsterTable.cs
بعد كده تحبث عن ايmonster بيدبا كده ياعني ذي النميس اي حاجه
#region
او ابحثوا عن
#region SnowBansheie
اقفله من السالب وحط تحته او فوقه
#region NewQuset #region CloudSaintJar Quest if (Owner.Name.Contains("Pheasant")) { if (killer.StartEpic) { killer.JarsCount++; killer.Pheasant++; if (killer.Pheasant >= 1000) killer.Owner.MessageBox("okay You Finesh Quest Go Get Prize", p => { p.Entity.Teleport(1002, 309, 338); }, null); } } #endregion #region CloudSaintJar Quest if (Owner.Name.Contains("Poltergeist")) { if (killer.StartEpic) { killer.JarsCount++; killer.Poltergeist++; if (killer.Poltergeist >= 1000) killer.Owner.MessageBox("okay You Finesh Quest Go Get Prize", p => { p.Entity.Teleport(1002, 309, 338); }, null); } } #endregion #region CloudSaintJar Quest if (Owner.Name.Contains("Bandit")) { if (killer.StartEpic) { killer.JarsCount++; killer.Bandit++; if (killer.Bandit >= 1000) killer.Owner.MessageBox("okay You Finesh Quest Go Get Prize", p => { p.Entity.Teleport(1002, 309, 338); }, null); } } #endregion #region CloudSaintJar Quest if (Owner.Name.Contains("SandMonster")) { if (killer.StartEpic) { killer.JarsCount++; killer.SandMonster++; if (killer.SandMonster >= 1000) killer.Owner.MessageBox("okay You Finesh Quest Go Get Prize", p => { p.Entity.Teleport(1002, 309, 338); }, null); } } #endregion #region CloudSaintJar Quest if (Owner.Name.Contains("BladeGhost")) { if (killer.StartEpic) { killer.JarsCount++; killer.BladeGhost++; if (killer.BladeGhost >= 1000) killer.Owner.MessageBox("okay You Finesh Quest Go Get Prize", p => { p.Entity.Teleport(1002, 309, 338); }, null); } } #endregion #region CloudSaintJar Quest if (Owner.Name.Contains("BlizzardBat")) { if (killer.StartEpic) { killer.JarsCount++; killer.BlizzardBat++; if (killer.BlizzardBat >= 1000) killer.Owner.MessageBox("okay You Finesh Quest Go Get Prize", p => { p.Entity.Teleport(1002, 309, 338); }, null); } } #endregion #region CloudSaintJar Quest if (Owner.Name.Contains("BloodyBat")) { if (killer.StartEpic) { killer.JarsCount++; killer.BloodyBat++; if (killer.BloodyBat >= 1000) killer.Owner.MessageBox("okay You Finesh Quest Go Get Prize", p => { p.Entity.Teleport(1002, 309, 338); }, null); } } #endregion #region CloudSaintJar Quest if (Owner.Name.Contains("Birdman")) { if (killer.StartEpic) { killer.JarsCount++; killer.Birdman++; if (killer.Birdman >= 1000) killer.Owner.MessageBox("okay You Finesh Quest Go Get Prize", p => { p.Entity.Teleport(1002, 309, 338); }, null); } } #endregion #region CloudSaintJar Quest if (Owner.Name.Contains("BullMonster")) { if (killer.StartEpic) { killer.JarsCount++; killer.BullMonster++; if (killer.BullMonster >= 1000) killer.Owner.MessageBox("okay You Finesh Quest Go Get Prize", p => { p.Entity.Teleport(1002, 309, 338); }, null); } } #endregion #region CloudSaintJar Quest if (Owner.Name.Contains("WingedSnake")) { if (killer.StartEpic) { killer.JarsCount++; killer.WingedSnake++; if (killer.WingedSnake >= 1000) killer.Owner.MessageBox("okay You Finesh Quest Go Get Prize", p => { p.Entity.Teleport(1002, 309, 338); }, null); } } #endregion #endregion
بعدين اخر حاجه روح للnpc
#region CloudSaintJar case 2000://CloudSaintJar case 2001: case 2002: case 2003: case 2004: case 2005: { switch (npcRequest.OptionID) { case 0: { dialog.Text("Hello Hero im CouldSaint , i can help you to obtain a good gift but you must help me to kill some monsters,"); dialog.Text("i will give you A jar will help you in That. after you done come back and change it with A 5000 Cps, "); dialog.Text("you can try this quest 1 time a day"); dialog.Option("Accept!", 1); dialog.Option("Done Mission!", 2); dialog.Option("JustPassingBy!", 255); dialog.Avatar(51); dialog.Send(); break; } case 1: { if (!client.Entity.StartEpic) { client.Inventory.Remove(750000, 1); client.Entity.StartEpic = true; ConquerItem item = new Network.GamePackets.ConquerItem(true); item = new ConquerItem(true); item.ID = 750000; item.Durability = 1000; Random R = new Random(); int Nr = R.Next(1, 10); if (Nr == 1) { item.MaximDurability = 1;//Pheasant item.Color = (Game.Enums.Color)3; item.StackSize = 1; client.Inventory.Add(item, Game.Enums.ItemUse.CreateAndAdd); client.MessageBox("Go Kill 50 Pheasant And Come Back ", p => { p.Entity.Teleport(1002, 329, 393); }, null); } if (Nr == 2) { item.MaximDurability = 5;//Poltergeist item.Color = (Game.Enums.Color)3; item.StackSize = 1; client.Inventory.Add(item, Game.Enums.ItemUse.CreateAndAdd); client.MessageBox("Go Kill 1000 Poltergeist And Come Back ", p => { p.Entity.Teleport(1002, 86, 297); }, null); } if (Nr == 3) { item.MaximDurability = 7;//Bandit item.Color = (Game.Enums.Color)3; item.StackSize = 1; client.Inventory.Add(item, Game.Enums.ItemUse.CreateAndAdd); client.MessageBox("Go Kill 1000 Bandit And Come Back ", p => { p.Entity.Teleport(1011, 240, 391); }, null); } if (Nr == 4) { item.MaximDurability = 6;//WingedSnake item.Color = (Game.Enums.Color)3; item.StackSize = 1; client.Inventory.Add(item, Game.Enums.ItemUse.CreateAndAdd); client.MessageBox("Go Kill 1000 WingedSnake And Come Back ", p => { p.Entity.Teleport(1011, 335, 101); }, null); } if (Nr == 5) { item.MaximDurability = 3564;//SandMonster item.Color = (Game.Enums.Color)3; item.StackSize = 1; client.Inventory.Add(item, Game.Enums.ItemUse.CreateAndAdd); client.MessageBox("Go Kill 1000 SandMonster And Come Back ", p => { p.Entity.Teleport(1000, 605, 737); }, null); } if (Nr == 6) { item.MaximDurability = 17;//BladeGhost item.Color = (Game.Enums.Color)3; item.StackSize = 1; client.Inventory.Add(item, Game.Enums.ItemUse.CreateAndAdd); client.MessageBox("Go Kill 1000 BladeGhost And Come Back ", p => { p.Entity.Teleport(1000, 179, 288); }, null); } if (Nr == 7) { item.MaximDurability = 2179;//BlizzardBat item.Color = (Game.Enums.Color)3; item.StackSize = 1; client.Inventory.Add(item, Game.Enums.ItemUse.CreateAndAdd); client.MessageBox("Go Kill 1000 BlizzardBat And Come Back ", p => { p.Entity.Teleport(1000, 191, 245); }, null); } if (Nr == 8) { item.MaximDurability = 56;//BloodyBat item.Color = (Game.Enums.Color)3; item.StackSize = 1; client.Inventory.Add(item, Game.Enums.ItemUse.CreateAndAdd); client.MessageBox("Go Kill 1000 BloodyBat And Come Back ", p => { p.Entity.Teleport(1001, 236, 352); }, null); } if (Nr == 9) { item.MaximDurability = 18;//Birdman item.Color = (Game.Enums.Color)3; item.StackSize = 1; client.Inventory.Add(item, Game.Enums.ItemUse.CreateAndAdd); client.MessageBox("Go Kill 1000 Birdman And Come Back ", p => { p.Entity.Teleport(1015, 754, 709); }, null); } if (Nr == 10) { item.MaximDurability = 57;//BullMonster item.Color = (Game.Enums.Color)3; item.StackSize = 1; client.Inventory.Add(item, Game.Enums.ItemUse.CreateAndAdd); client.MessageBox("Go Kill 1000 BullMonster And Come Back ", p => { p.Entity.Teleport(1001, 172, 329); }, null); } } break; } case 2: { if (client.Entity.Pheasant >= 1000 || client.Entity.Poltergeist >= 1000 || client.Entity.Bandit >= 1000 || client.Entity.SandMonster >= 1000 || client.Entity.BladeGhost >= 1000 || client.Entity.BlizzardBat >= 1000 || client.Entity.BloodyBat >= 1000 || client.Entity.Birdman >= 1000 || client.Entity.BullMonster >= 1000 || client.Entity.WingedSnake >= 1000) { client.Entity.JarsCount = 0; client.Inventory.Remove(710000, 1); client.Entity.StartEpic = false; client.Entity.Pheasant = 0; client.Entity.Poltergeist = 0; client.Entity.Bandit = 0; client.Entity.SandMonster = 0; client.Entity.BladeGhost = 0; client.Entity.BlizzardBat = 0; client.Entity.BloodyBat = 0; client.Entity.Birdman = 0; client.Entity.BullMonster = 0; client.Entity.WingedSnake = 0; client.Entity.ConquerPoints += 5000; client.Entity.MonstersPoints += 5000; client.Entity.OnlinePoints += 10; dialog.Text("Gratz You Fineshed Stage "); dialog.Option("Next Stage", 1); } else { dialog.Text("You Stell must kill more monster"); } dialog.Option("I see", 255); } dialog.Send(); break; } break; } #endregion
بصوا لو عايزين تغير الجايزه
client.Entity.ConquerPoints += 5000;
لو عايزين تغيروا عدد الوحوش الي اتموتوهم
if (client.Entity.Pheasant >= 1000 || client.Entity.Poltergeist >= 1000 || client.Entity.Bandit >= 1000 || client.Entity.SandMonster >= 1000 || client.Entity.BladeGhost >= 1000 || client.Entity.BlizzardBat >= 1000 || client.Entity.BloodyBat >= 1000 || client.Entity.Birdman >= 1000 || client.Entity.BullMonster >= 1000 || client.Entity.WingedSnake >= 1000) {
ال1000 ده عدد الوحوش الي اتموتهم
ياريت دعوه حلوه علشان الامتحان
محمد ياسر