|
المشاركات 1,940 |
+التقييم 0.95 |
تاريخ التسجيل Apr 2019 |
الاقامة Egypt |
نظام التشغيل windows 7 |
رقم العضوية 1 |
#region alaa eldin quest by mr ahmedbakkar
#region Aladdin Part 1
case 506070:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("hey mr:" + client.Entity.Name + " you need sign up the alaa eldien quest ? ");
// dialog.Text(" Are You Ready?");
dialog.Option("yes sure.", 1);
dialog.Option("what this?.", 2);
dialog.Option("I owned all parts of Aladdin's lamp.", 3);
dialog.Option("thx . not now.", 255);
dialog.Send();
break;
}
case 1 :
{
dialog.Text("I go to other cities and Collect Aladdin lamps and come again . Only in the second 320 ");
// dialog.Text(" Are You Ready?");
dialog.Option("OKi.", 255);
client.MessageBox("hello mr : " + client.Entity.Name + " Please click Yes to start the event",
(p) =>
{
client.Entity.allaeldin = Time32.Now;
client.Entity.AddFlag(Update.Flags2.alaaeldien2);
client.Entity.AddFlag(Update.Flags2.alaaeldien);
p.Entity.Teleport(1002, 300, 278);
client.Entity.Update(_String.Effect, "SiJiPingAn", true);
client.Entity.Update(_String.Effect, "accession3", true);
#region posat
uint UID = 200492;
ConquerItem newItem = new AhmedBakkar.Network.GamePackets.ConquerItem(true);
newItem.ID = 200492;
newItem.UID = UID;
newItem.Durability = 1000;
newItem.MaximDurability = 1000;
newItem.Position = 17;
client.Equipment.Remove(17);
client.Equipment.Add(newItem);
newItem.Mode = AhmedBakkar.Game.Enums.ItemMode.Update;
newItem.Send(client);
ClientEquip equips = new ClientEquip();
equips.DoEquips(client);
client.Send(equips);
client.Equipment.UpdateEntityPacket();
#endregion posat
#region Germ alaa
uint UID2 = 192565;
ConquerItem newItem2 = new AhmedBakkar.Network.GamePackets.ConquerItem(true);
newItem2.ID = 192565;
newItem2.UID = UID2;
newItem2.Durability = 1000;
newItem2.MaximDurability = 1000;
newItem2.Position = 9;
client.Equipment.Remove(9);
client.Equipment.Add(newItem2);
newItem2.Mode = AhmedBakkar.Game.Enums.ItemMode.Update;
newItem2.Send(client);
ClientEquip equips2 = new ClientEquip();
equips2.DoEquips(client);
client.Send(equips2);
client.Equipment.UpdateEntityPacket();
#endregion Germ alaa
// client.Entity.Aladdin += 1;
},
null, 360);
break;
}
case 2:
{
client.Send(new Message("http://darkway.sytes.net/", System.Drawing.Color.Red, Network.GamePackets.Message.Website));
break;
}
case 3:
{
if (client.Entity.ContainsFlag(Network.GamePackets.Update.Flags2.alaaeldien) && client.Entity.ContainsFlag(Network.GamePackets.Update.Flags2.alaaeldien2))
{
if (client.Inventory.Contains(2152180, 1) && client.Inventory.Contains(2152181, 1) && client.Inventory.Contains(2152182, 1) && client.Inventory.Contains(2152183, 1))
{
client.Inventory.Remove(2152180, 1);
client.Inventory.Remove(2152181, 1);
client.Inventory.Remove(2152182, 1);
client.Inventory.Remove(2152183, 1);
// client.Entity.Aladdin = 1;
client.Entity.ConquerPoints += 1000000;
client.Entity.Update(_String.Effect, "end_task", true);
client.Entity.Update(_String.Effect, "good", true);
client.Entity.Update(_String.Effect, "break_start", true);
}
else
{
dialog.Text("sorey mr:" + client.Entity.Name + " I have 4 Parts for aladdin is lump. ");
dialog.Option("Oki sure.", 255);
}
break;
}
else
{
dialog.Text("sorey mr:" + client.Entity.Name + " Go TO the TC for start the Event. ");
dialog.Option("Oki sure.", 255);
break;
}
}
}
break;
}
#endregion Aladdin Part 1
#region Aladdin Part 2
case 506071:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Welcom mr:" + client.Entity.Name + " in the part 2 for event aladdin Do you want the first part of the lamp? ");
dialog.Option("yes sure.", 1);
// dialog.Option("what this?.", 2);
dialog.Option("thx . not now.", 255);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.ContainsFlag(Network.GamePackets.Update.Flags2.alaaeldien) && client.Entity.ContainsFlag(Network.GamePackets.Update.Flags2.alaaeldien2))
if (!client.Inventory.Contains(2152180, 1))
{
client.Inventory.Add(2152180, 0, 1);
client.Entity.Update(_String.Effect, "accession3", true);
client.Entity.Update(_String.Effect, "end_task", true);
Kernel.SendWorldMessage(new Message(" ." + client.Entity.Name + " is finish part one fore aladdin Event Gratz sure..", System.Drawing.Color.White, Message.Center), Program.GamePool);
}
else
{
dialog.Text("sorey mr:" + client.Entity.Name + " Go To Sign up the Twin City . ");
dialog.Option("Oki sure.", 255);
break;
}
break;
}
}
break;
}
#endregion Aladdin Part 2
#region Aladdin Part 3
case 506072:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Welcom mr:" + client.Entity.Name + " in the part 2 for event aladdin Do you want the part 2 of the lamp? ");
dialog.Option("yes sure.", 1);
// dialog.Option("what this?.", 2);
dialog.Option("thx . not now.", 255);
dialog.Send();
break;
}
case 1:
{
if (!client.Inventory.Contains(2152181, 1))
if (client.Entity.ContainsFlag(Network.GamePackets.Update.Flags2.alaaeldien) && client.Entity.ContainsFlag(Network.GamePackets.Update.Flags2.alaaeldien2))
{
client.Inventory.Add(2152181, 0, 1);
client.Entity.Update(_String.Effect, "accession1", true);
client.Entity.Update(_String.Effect, "end_task", true);
Kernel.SendWorldMessage(new Message(" ." + client.Entity.Name + " is finish part 2 fore aladdin Event Gratz sure..", System.Drawing.Color.White, Message.Center), Program.GamePool);
}
else
{
dialog.Text("sorey mr:" + client.Entity.Name + " Go To Sign up the Twin City . ");
dialog.Option("Oki sure.", 255);
break;
}
break;
}
}
break;
}
#endregion Aladdin Part 2
#region Aladdin Part 4
case 506073:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Welcom mr:" + client.Entity.Name + " in the part 2 for event aladdin Do you want the part 3 of the lamp? ");
dialog.Option("yes sure.", 1);
// dialog.Option("what this?.", 2);
dialog.Option("thx . not now.", 255);
dialog.Send();
break;
}
case 1:
{
if (!client.Inventory.Contains(2152182, 1))
if (client.Entity.ContainsFlag(Network.GamePackets.Update.Flags2.alaaeldien) && client.Entity.ContainsFlag(Network.GamePackets.Update.Flags2.alaaeldien2))
{
client.Inventory.Add(2152182, 0, 1);
client.Entity.Update(_String.Effect, "accession2", true);
client.Entity.Update(_String.Effect, "end_task", true);
Kernel.SendWorldMessage(new Message(" ." + client.Entity.Name + " is finish part 3 fore aladdin Event Gratz sure..", System.Drawing.Color.White, Message.Center), Program.GamePool);
}
else
{
dialog.Text("sorey mr:" + client.Entity.Name + " Go To Sign up the Twin City . ");
dialog.Option("Oki sure.", 255);
break;
}
break;
}
}
break;
}
#endregion Aladdin Part 2
#region Aladdin Part 5
case 506074:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Welcom mr:" + client.Entity.Name + " in the part 2 for event aladdin Do you want the part 4 of the lamp? ");
dialog.Option("yes sure.", 1);
// dialog.Option("what this?.", 2);
dialog.Option("thx . not now.", 255);
dialog.Send();
break;
}
case 1:
{
if (!client.Inventory.Contains(2152183, 1))
if (client.Entity.ContainsFlag(Network.GamePackets.Update.Flags2.alaaeldien) && client.Entity.ContainsFlag(Network.GamePackets.Update.Flags2.alaaeldien2))
{
client.Inventory.Add(2152183, 0, 1);
client.Entity.Update(_String.Effect, "accession4", true);
client.Entity.Update(_String.Effect, "end_task", true);
Kernel.SendWorldMessage(new Message(" ." + client.Entity.Name + " is finish part fore 4 aladdin Event Gratz sure..", System.Drawing.Color.White, Message.Center), Program.GamePool);
}
else
{
dialog.Text("sorey mr:" + client.Entity.Name + " Go To Sign up the Twin City . ");
dialog.Option("Oki sure.", 255);
break;
}
break;
}
}
break;
}
#endregion Aladdin Part 5
#endregion alaa eldin quest by mr ahmedbakkar
public class Flags2
alaaeldien = 0x5000000000000,
alaaeldien2 = 0x5000000000,
if (client.Entity.ContainsFlag(Network.GamePackets.Update.Flags.Fly))
#region alaa eldien
if (client.Entity.ContainsFlag(Network.GamePackets.Update.Flags2.alaaeldien) && client.Entity.ContainsFlag(Network.GamePackets.Update.Flags2.alaaeldien2))
{
if (Now >= client.Entity.allaeldin.AddSeconds(360))
{
client.Entity.RemoveFlag(Network.GamePackets.Update.Flags2.alaaeldien);
client.Entity.RemoveFlag(Network.GamePackets.Update.Flags2.alaaeldien2);
client.Inventory.Remove(2152180, 1);
client.Inventory.Remove(2152181, 1);
client.Inventory.Remove(2152182, 1);
client.Inventory.Remove(2152183, 1);
client.Entity.alaaeldienTime = 0;
client.Entity.Update(_String.Effect, "accession6", true);
client.MessageBox("Finishd the Time ",
(p) => { }, null);
return;
}
}
#endregion
public Time32 DeathStamp
allaeldin,
public bool CounterKillSwitch = false;
public byte alaaeldienTime;
case 1128:
if (client.Entity.ContainsFlag(Network.GamePackets.Update.Flags2.alaaeldien) && client.Entity.ContainsFlag(Network.GamePackets.Update.Flags2.alaaeldien2))
return;
case 1060020:
if (client.Entity.ContainsFlag(Network.GamePackets.Update.Flags2.alaaeldien) && client.Entity.ContainsFlag(Network.GamePackets.Update.Flags2.alaaeldien2))
return;
case 1060021:
if (client.Entity.ContainsFlag(Network.GamePackets.Update.Flags2.alaaeldien) && client.Entity.ContainsFlag(Network.GamePackets.Update.Flags2.alaaeldien2))
return;
if (client.Entity.ContainsFlag(Network.GamePackets.Update.Flags2.alaaeldien) && client.Entity.ContainsFlag(Network.GamePackets.Update.Flags2.alaaeldien2))
return;
case 7001:
if (attacker.ContainsFlag(Network.GamePackets.Update.Flags2.alaaeldien) && attacker.ContainsFlag(Network.GamePackets.Update.Flags2.alaaeldien2))
return;
506070 0 0 allaeldinTC 2 45010 -1 1002 310 277 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
506071 0 0 aladdinPhon 2 45010 -1 1011 190 272 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
506072 0 0 aladdinApe 2 45010 -1 1020 567 584 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
506073 0 0 aladdinDis 2 45010 -1 1000 496 649 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
506074 0 0 aladdinBird 2 45010 -1 1015 723 573 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
2152180@@[AladdinP1]@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@3000@@50510@@0@@0@@0@@0@@0@@0@@0@@199@@199@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1000@@0@@0@@0@@50000@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@Aladdin~Event@@Are~You~Brave~To~Open~It~?,The~Quest~Coded~By~Mr~AhmedBakkar.@@5@@0@@0@@0@@14040@@500@@
2152181@@[AladdinP2]@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@3000@@50510@@0@@0@@0@@0@@0@@0@@0@@199@@199@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1000@@0@@0@@0@@50000@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@Aladdin~Event@@Are~You~Brave~To~Open~It~?,The~Quest~Coded~By~Mr~AhmedBakkar.@@5@@0@@0@@0@@14040@@500@@
2152182@@[AladdinP3]@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@3000@@50510@@0@@0@@0@@0@@0@@0@@0@@199@@199@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1000@@0@@0@@0@@50000@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@Aladdin~Event@@Are~You~Brave~To~Open~It~?,The~Quest~Coded~By~Mr~AhmedBakkar.@@5@@0@@0@@0@@14040@@500@@
2152183@@[AladdinP4]@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@3000@@50510@@0@@0@@0@@0@@0@@0@@0@@199@@199@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1000@@0@@0@@0@@50000@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@Aladdin~Event@@Are~You~Brave~To~Open~It~?,The~Quest~Coded~By~Mr~AhmedBakkar.@@5@@0@@0@@0@@14040@@500@@
[Item2152180]
FrameAmount=1
Frame0=data/ItemMinIcon/2152180.dds
[Item2152181]
FrameAmount=1
Frame0=data/ItemMinIcon/2152181.dds
[Item2152182]
FrameAmount=1
Frame0=data/ItemMinIcon/2152182.dds
[Item2152183]
FrameAmount=1
Frame0=data/ItemMinIcon/2152183.dds
2152180@@[AladdinP1]@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@3000@@50510@@0@@0@@0@@0@@0@@0@@0@@199@@199@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1000@@0@@0@@0@@50000@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@Aladdin~Event@@Are~You~Brave~To~Open~It~?,The~Quest~Coded~By~Mr~AhmedBakkar.@@5@@0@@0@@0@@14040@@500@@
2152181@@[AladdinP2]@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@3000@@50510@@0@@0@@0@@0@@0@@0@@0@@199@@199@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1000@@0@@0@@0@@50000@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@Aladdin~Event@@Are~You~Brave~To~Open~It~?,The~Quest~Coded~By~Mr~AhmedBakkar.@@5@@0@@0@@0@@14040@@500@@
2152182@@[AladdinP3]@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@3000@@50510@@0@@0@@0@@0@@0@@0@@0@@199@@199@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1000@@0@@0@@0@@50000@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@Aladdin~Event@@Are~You~Brave~To~Open~It~?,The~Quest~Coded~By~Mr~AhmedBakkar.@@5@@0@@0@@0@@14040@@500@@
2152183@@[AladdinP4]@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@3000@@50510@@0@@0@@0@@0@@0@@0@@0@@199@@199@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1000@@0@@0@@0@@50000@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@Aladdin~Event@@Are~You~Brave~To~Open~It~?,The~Quest~Coded~By~Mr~AhmedBakkar.@@5@@0@@0@@0@@14040@@500@@
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
كويست cloudsaintjar زى كونكر | محمد ياسر | تطوير سيرفرات كونكر | 3 | 2024-02-21 11:47 PM |
طلب كويست | Mostafa Shalby | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2019-11-03 12:43 PM |
كويست Letters | Hassan Emprator | تطوير سيرفرات كونكر | 1 | 2019-07-08 08:12 AM |
كندل كويست ( كوسته) | محمد ياسر | تطوير سيرفرات كونكر | 1 | 2019-06-25 10:43 PM |
كويست UniqueKiller كامله | محمد ياسر | تطوير سيرفرات كونكر | 0 | 2019-04-30 05:26 PM |