|
المشاركات 1,940 |
+التقييم 0.95 |
تاريخ التسجيل Apr 2019 |
الاقامة https://www.facebook.com/daany |
نظام التشغيل |
رقم العضوية 1 |
#region Ramadan lantern
#region Ramadan
case 15518:// انبي سي بداء المهمه
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hello " + client.Entity.Name + " every year and you are fine on the occasion of Ramadan, the Holy month. Do you want to start the mission and get the blessings of Ramadan?.");
dialog.Option("Starting lanterns.", 1);
dialog.Option("How to complete the mission?", 2);
dialog.Option("Get the prize.", 3);
dialog.Option("I'll think it over.", 255);
dialog.Avatar(51);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.event2 == 0)
{
client.Entity.Teleport(1002, 332, 551);
}
else
{
dialog.Text("You have completed the mission today. Please wait until 12 pm.");
dialog.Option("OK thanks.", 255);
dialog.Avatar(51);
dialog.Send();
}
break;
}
case 2:
{
dialog.Text("You will go to all 6 cities and light the lanterns by killing the required monsters.");
dialog.Option("Oh It's Ok Thanks.", 255);
dialog.Avatar(51);
dialog.Send();
break;
}
case 3:
{
if (client.Entity.prizeLantern == 5)
{
dialog.Text("Congratulations, I got 50,000 cps");
dialog.Option("Thanks.", 255);
client.Entity.ConquerPoints += 50000;
client.Entity.prizeLantern = 0;
client.Entity.event2 = 1;
_String str = new _String(true);
str.UID = client.Entity.UID;
str.Type = _String.Effect;
str.Texts.Add("break_start");
str.TextsCount = 1;
client.Entity.SendScreen(str);
}
else {
dialog.Text("You must complete the lighting tasks of the lamps first.");
dialog.Option("Oh It's Ok Thanks.", 255);
}
dialog.Avatar(51);
dialog.Send();
break;
}
}
break;
}
#endregion
#region lantern1
case 1555:
{
switch (npcRequest.OptionID)
{
case 0:
{
if (client.Entity.event2 == 0)
{
dialog.Text("Hello " + client.Entity.Name + " your kill " + client.Entity.Lantern1 + " you need 50 kill Pheasant.");
dialog.Option("Next Lantern.", 1);
dialog.Option("Go to kill?", 2);
dialog.Option("I'll think it over.", 255);
dialog.Avatar(51);
dialog.Send();
break;
}
else
{
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "You have completed the mission today!");
client.Send(npc.ToArray());
}
break;
}
case 1:
{
if (client.Entity.Lantern1 >= 50)
{
if (client.Entity.prizeLantern == 0)
{
client.Entity.Teleport(1011, 190, 268);
client.Entity.prizeLantern = 1;
}
else {
dialog.Text("You can not complete this delusion now.");
}
}
else {
dialog.Text("You have not yet completed the 50 killed.");
dialog.Option("Oh yes, I'm sorry.", 255);
}
dialog.Avatar(51);
dialog.Send();
break;
}
case 2:
{
client.Entity.Teleport(1002, 561, 371);
break;
}
}
break;
}
#endregion
#region lantern2
case 1556:
{
switch (npcRequest.OptionID)
{
case 0:
{
if (client.Entity.event2 == 0)
{
dialog.Text("Hello " + client.Entity.Name + " your kill " + client.Entity.Lantern2 + " you need 50 kill Bandit.");
dialog.Option("Next Lantern.", 1);
dialog.Option("Go to kill?", 2);
dialog.Option("I'll think it over.", 255);
dialog.Avatar(51);
dialog.Send();
break;
}
else
{
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "You have completed the mission today!");
client.Send(npc.ToArray());
}
break;
}
case 1:
{
if (client.Entity.Lantern2 >= 50)
{
if (client.Entity.prizeLantern == 1)
{
client.Entity.Teleport(1020, 567, 589);
client.Entity.prizeLantern = 2;
}
else
{
dialog.Text("You can not complete this delusion now.");
}
}
else
{
dialog.Text("You have not yet completed the 50 killed.");
dialog.Option("Oh yes, I'm sorry.", 255);
}
dialog.Avatar(51);
dialog.Send();
break;
}
case 2:
{
client.Entity.Teleport(1011, 206, 361);
break;
}
}
break;
}
#endregion
#region lantern3
case 1557:
{
switch (npcRequest.OptionID)
{
case 0:
{
if (client.Entity.event2 == 0)
{
dialog.Text("Hello " + client.Entity.Name + " your kill " + client.Entity.Lantern3 + " you need 50 kill Macaque.");
dialog.Option("Next Lantern.", 1);
dialog.Option("Go to kill?", 2);
dialog.Option("I'll think it over.", 255);
dialog.Avatar(51);
dialog.Send();
break;
}
else
{
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "You have completed the mission today!");
client.Send(npc.ToArray());
}
break;
}
case 1:
{
if (client.Entity.Lantern3 >= 50)
{
if (client.Entity.prizeLantern == 2)
{
client.Entity.Teleport(1000, 471, 649);
client.Entity.prizeLantern = 3;
}
else
{
dialog.Text("You can not complete this delusion now.");
}
}
else
{
dialog.Text("You have not yet completed the 50 killed.");
dialog.Option("Oh yes, I'm sorry.", 255);
}
dialog.Avatar(51);
dialog.Send();
break;
}
case 2:
{
client.Entity.Teleport(1020, 583, 647);
break;
}
}
break;
}
#endregion
#region lantern4
case 1558:
{
switch (npcRequest.OptionID)
{
case 0:
{
if (client.Entity.event2 == 0)
{
dialog.Text("Hello " + client.Entity.Name + " your kill " + client.Entity.Lantern4 + " you need 50 kill SandMonster.");
dialog.Option("Next Lantern.", 1);
dialog.Option("Go to kill?", 2);
dialog.Option("I'll think it over.", 255);
dialog.Avatar(51);
dialog.Send();
break;
}
else
{
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "You have completed the mission today!");
client.Send(npc.ToArray());
}
break;
}
case 1:
{
if (client.Entity.Lantern4 >= 50)
{
if (client.Entity.prizeLantern == 3)
{
client.Entity.Teleport(1015, 722, 576);
client.Entity.prizeLantern = 4;
}
else
{
dialog.Text("You can not complete this delusion now.");
}
}
else
{
dialog.Text("You have not yet completed the 50 killed.");
dialog.Option("Oh yes, I'm sorry.", 255);
}
dialog.Avatar(51);
dialog.Send();
break;
}
case 2:
{
client.Entity.Teleport(1000, 618, 650);
break;
}
}
break;
}
#endregion
#region lantern5
case 1559:
{
switch (npcRequest.OptionID)
{
case 0:
{
if (client.Entity.event2 == 0)
{
dialog.Text("Hello " + client.Entity.Name + " your kill " + client.Entity.Lantern5 + " you need 50 kill Bridman.");
dialog.Option("Next Lantern.", 1);
dialog.Option("Go to kill?", 2);
dialog.Option("I'll think it over.", 255);
dialog.Avatar(51);
dialog.Send();
break;
}
else
{
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "You have completed the mission today!");
client.Send(npc.ToArray());
}
break;
}
case 1:
{
if (client.Entity.Lantern5 >= 50)
{
if (client.Entity.prizeLantern == 4)
{
client.Entity.Teleport(1002, 365, 363);
client.Entity.prizeLantern = 5;
}
else
{
dialog.Text("You can not complete this delusion now.");
dialog.Option("Oh yes, I'm sorry.", 255);
}
}
else
{
dialog.Text("You have not yet completed the 50 killed.");
dialog.Option("Oh yes, I'm sorry.", 255);
}
dialog.Avatar(51);
dialog.Send();
break;
}
case 2:
{
client.Entity.Teleport(1015, 748, 720);
break;
}
}
break;
}
#endregion
#endregion
public void Drop(Game.Entity killer)
#region quest Lantern
if (Name == "Pheasant" && killer.MapID == 1002)
{
killer.Lantern1 += 1;
}
if (Name == "Bandit")
{
killer.Lantern2 += 1;
}
if (Name == "Macaque")
{
killer.Lantern3 += 1;
}
if (Name == "SandMonster")
{
killer.Lantern4 += 1;
}
if (Name == "Birdman")
{
killer.Lantern5 += 1;
}
#endregion
#region Ramadan lantern
public uint event2;
public Time32 event2Stamp;
public uint Lantern1 = 0;
public uint Lantern2 = 0;
public uint Lantern3 = 0;
public uint Lantern4 = 0;
public uint Lantern5 = 0;
// public uint Lantern6 = 0;
public uint prizeLantern = 0;
#endregion
client.Entity.BoundCps = reader.ReadUInt32("boundcps");
client.Entity.event2 = reader.ReadByte("event2");
.Set("Money", e.Money)
.Set("event2", e.event2)
client.ExpBalls = 0;
client.Entity.event2 = 0;
private void WorldTournaments(int time)
if (Now64.Hour == 00 && Now64.Minute == 00 && Now64.Second <= 00)
{
Program.CommandsAI("@restart");
}
15518 Ramadan lanterns 2 8460 1002 364 358
1555 RamdanTwinCity 2 34410 1002 332 547
1556 RamdanPhoenix 2 34410 1011 189 271
1557 RamdanApy 2 34410 1020 568 586
1558 RamdanDesert 2 34410 1000 471 643
1559 Ramdanlast 2 34410 1015 722 574
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
طلب كوسته بسبطه | Amr Khalid | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2020-05-09 11:08 PM |
عاوز كوسته | احمد التركي | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2020-05-07 09:47 AM |
طلب كوسته | Amr Khalid | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2020-05-06 04:25 AM |
[طلب] تون سيتي رمضان + مسابقات رمضان | AhmedGadd | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2020-04-08 09:32 PM |
طلب كوسته | Amr Khalid | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2019-11-26 08:52 AM |