|
#region Questesr Join
case 141198:
{
switch (npcRequest.OptionID)
{
case 0:
{
{
dialog.Text("Hey there > " + client.Player.Name + " < No Questes for now -_-");
dialog.Option("Ok Thanks.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 00 && DateTime.Now.Minute <= 03)
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to join the top?.");
dialog.Option("Yea Please !!", 100);
dialog.Option("Thx.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 04 && DateTime.Now.Minute <= 07)
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to join the top?.");
dialog.Option("Yea Please !!", 101);
dialog.Option("Thx.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 08 && DateTime.Now.Minute <= 11)
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to join top?.");
dialog.Option("Yea Please !!", 102);
dialog.Option("Thx.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 12 && DateTime.Now.Minute <= 15)
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to join the top?.");
dialog.Option("Yea Please !!", 103);
dialog.Option("Thx.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 16 && DateTime.Now.Minute <= 19)
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to join the top ?.");
dialog.Option("Yea Please !!", 104);
dialog.Option("Thx.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 20 && DateTime.Now.Minute <= 23)
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to join the top ?.");
dialog.Option("Yea Please !!", 105);
dialog.Option("Thx.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 24 && DateTime.Now.Minute <= 27)
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to join the top?.");
dialog.Option("Yea Please !!", 106);
dialog.Option("Thx.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 28 && DateTime.Now.Minute <= 31)
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to join the top?.");
dialog.Option("Yea Please !!", 107);
dialog.Option("Thx.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 32 && DateTime.Now.Minute <= 35)
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to join the top?.");
dialog.Option("Yea Please !!", 108);
dialog.Option("Thx.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 36 && DateTime.Now.Minute <= 39)
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to join top?.");
dialog.Option("Yea Please !!", 109);
dialog.Option("Thx.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 40 && DateTime.Now.Minute <= 43)
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to join the top?.");
dialog.Option("Yea Please !!", 110);
dialog.Option("Thx.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 44 && DateTime.Now.Minute <= 47)
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to join the top ?.");
dialog.Option("Yea Please !!", 111);
dialog.Option("Thx.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 48 && DateTime.Now.Minute <= 51)
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to join the top ?.");
dialog.Option("Yea Please !!", 112);
dialog.Option("Thx.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 52 && DateTime.Now.Minute <= 55)
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to join the top?.");
dialog.Option("Yea Please !!", 113);
dialog.Option("Thx.", 255);
dialog.Send();
}
break;
}
case 100:
{
if (DateTime.Now.Minute >= 00 && DateTime.Now.Minute <= 03)
{
client.Player.Teleport(1991, 45, 45);
client.Player.RemoveFlag(Update.Flags.Ride);
}
else
{
dialog.Text("ConquerPK War is held during xx:00 To xx:03 in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 101:
{
if (DateTime.Now.Minute >= 04 && DateTime.Now.Minute <= 07)
{
client.Player.Teleport(1992, 45, 45);
client.Player.RemoveFlag(Update.Flags.Ride);
}
else
{
dialog.Text("DemonHellPK War is held during xx:04 To xx:07 in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 102:
{
if (DateTime.Now.Minute >= 08 && DateTime.Now.Minute <= 11)
{
client.Player.Teleport(1993, 45, 45);
client.Player.RemoveFlag(Update.Flags.Ride);
}
else
{
dialog.Text("HorsePK War is held during xx:08 To xx:11 in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 103:
{
if (DateTime.Now.Minute >= 12 && DateTime.Now.Minute <= 15)
{
client.Player.Teleport(1994, 45, 45);
client.Player.RemoveFlag(Update.Flags.Ride);
}
else
{
dialog.Text("SpeedPK War is held during xx:12 To xx:15 in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 104:
{
if (DateTime.Now.Minute >= 16 && DateTime.Now.Minute <= 19)
{
client.Player.Teleport(1995, 45, 45);
client.Player.RemoveFlag(Update.Flags.Ride);
}
else
{
dialog.Text("The Prince War is held during xx:16 To xx:19 in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 105:
{
if (DateTime.Now.Minute >= 20 && DateTime.Now.Minute <= 23)
{
client.Player.Teleport(1996, 45, 45);
client.Player.RemoveFlag(Update.Flags.Ride);
}
else
{
dialog.Text("The Duke War is held during xx:20 To xx:23 in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 106:
{
if (DateTime.Now.Minute >= 24 && DateTime.Now.Minute <= 27)
{
client.Player.Teleport(1997, 45, 45);
client.Player.RemoveFlag(Update.Flags.Ride);
}
else
{
dialog.Text("ChampionPK War is held during xx:24 To xx:27 in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 107:
{
if (DateTime.Now.Minute >= 28 && DateTime.Now.Minute <= 31)
{
client.Player.Teleport(1998, 45, 45);
client.Player.RemoveFlag(Update.Flags.Ride);
}
else
{
dialog.Text("Final-WaR War is held during xx:28 To xx:31 in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 108:
{
if (DateTime.Now.Minute >= 32 && DateTime.Now.Minute <= 35)
{
client.Player.Teleport(2005, 45, 45);
client.Player.RemoveFlag(Update.Flags.Ride);
}
else
{
dialog.Text("SuperPK War is held during xx:32 To xx:35 in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 109:
{
if (DateTime.Now.Minute >= 36 && DateTime.Now.Minute <= 39)
{
client.Player.Teleport(2000, 45, 45);
client.Player.RemoveFlag(Update.Flags.Ride);
}
else
{
dialog.Text("The C.P.S War is held during xx:36 To xx:39 in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 110:
{
if (DateTime.Now.Minute >= 40 && DateTime.Now.Minute <= 43)
{
client.Player.Teleport(1989, 45, 45);
client.Player.RemoveFlag(Update.Flags.Ride);
}
else
{
dialog.Text("Hendy-Star War is held during xx:40 To xx:43 in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 111:
{
if (DateTime.Now.Minute >= 44 && DateTime.Now.Minute <= 47)
{
client.Player.Teleport(1990, 45, 45);
client.Player.RemoveFlag(Update.Flags.Ride);
}
else
{
dialog.Text("Class PK War is held during xx:44 To xx:47 in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 112:
{
if (DateTime.Now.Minute >= 48 && DateTime.Now.Minute <= 51)
{
client.Player.Teleport(1988, 45, 45);
client.Player.RemoveFlag(Update.Flags.Ride);
}
else
{
dialog.Text("Dead World War is held during xx:48 To xx:51 in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 113:
{
if (DateTime.Now.Minute >= 52 && DateTime.Now.Minute <= 55)
{
client.Player.Teleport(1987, 45, 45);
client.Player.RemoveFlag(Update.Flags.Ride);
}
else
{
dialog.Text("WhtenamePK War is held during xx:52 To xx:55 in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Prize [1]
case 1991:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to claim your Prize?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
DateTime Now64 = DateTime.Now;
foreach (Client.GameState Entitys in Kernel.GamePool.Values)
if (Entitys.Player.MapID == 1991 && (!Entitys.Player.Dead))
alive++;
if (DateTime.Now.Minute >= 04)
{
if (alive == 1)
{
client.Player.Teleport(1002, 300, 278);
client.Player.AddTopStatus(Update.Flags2.Top2Ninja, 2, DateTime.Now.AddMinutes(45));
client.Player.ConquerPoints += 30000;
client.Inventory.Add(730004, 4, 1);
//client.Inventory.Add(3009001, 0, 2);
Mr_Panda.Kernel.SendWorldMessage(new Message(" Congratulations ! " + client.Player.Name + " claimed the prize [30k] ConquerPoints for winning Quest for this Minute #45#45.", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Player.SendSpawn(client, true);
foreach (var clients in Program.Values)
{
if (clients.Player.MapID == 1991)
{
clients.Player.Teleport(1002, 300, 278);
clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Entity God Luck Next Time ;) "));
}
}
}
else
{
dialog.Text("There are still " + alive + " Entitys in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Player.Name + "You can only claim the prize when the time on or after xx:04");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Prize [2]
case 1992:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to claim your Prize?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
DateTime Now64 = DateTime.Now;
foreach (Client.GameState Entitys in Kernel.GamePool.Values)
if (Entitys.Player.MapID == 1992 && (!Entitys.Player.Dead))
alive++;
if (DateTime.Now.Minute >= 08)
{
if (alive == 1)
{
client.Player.Teleport(1002, 300, 278);
client.Player.AddTopStatus(Update.Flags2.Top2Water, 2, DateTime.Now.AddMinutes(45));
client.Player.ConquerPoints += 30000;
client.Inventory.Add(730004, 4, 1);
//client.Inventory.Add(3009001, 0, 2);
Mr_Panda.Kernel.SendWorldMessage(new Message(" Congratulations ! " + client.Player.Name + " claimed the prize [30k] ConquerPoints for winning Quest for this Minute #45#45.", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Player.SendSpawn(client, true);
foreach (var clients in Program.Values)
{
if (clients.Player.MapID == 1992)
{
clients.Player.Teleport(1002, 300, 278);
clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Entity God Luck Next Time ;) "));
}
}
}
else
{
dialog.Text("There are still " + alive + " Entitys in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Player.Name + "You can only claim the prize when the time on or after xx:08");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Prize [3]
case 1993:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to claim your Prize?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
DateTime Now64 = DateTime.Now;
foreach (Client.GameState Entitys in Kernel.GamePool.Values)
if (Entitys.Player.MapID == 1993 && (!Entitys.Player.Dead))
alive++;
if (DateTime.Now.Minute >= 12)
{
if (alive == 1)
{
client.Player.Teleport(1002, 300, 278);
client.Player.AddTopStatus(Update.Flags2.Top2Trojan, 2, DateTime.Now.AddMinutes(45));
client.Player.ConquerPoints += 30000;
client.Inventory.Add(730004, 4, 1);
//client.Inventory.Add(3009001, 0, 2);
Mr_Panda.Kernel.SendWorldMessage(new Message(" Congratulations ! " + client.Player.Name + " claimed the prize [30k] ConquerPoints for winning Quest for this Minute #45#45.", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Player.SendSpawn(client, true);
foreach (var clients in Program.Values)
{
if (clients.Player.MapID == 1993)
{
clients.Player.Teleport(1002, 300, 278);
clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Entity God Luck Next Time ;) "));
}
}
}
else
{
dialog.Text("There are still " + alive + " Entitys in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Player.Name + "You can only claim the prize when the time on or after xx:12");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Prize [4]
case 1994:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to claim your Prize?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
DateTime Now64 = DateTime.Now;
foreach (Client.GameState Entitys in Kernel.GamePool.Values)
if (Entitys.Player.MapID == 1994 && (!Entitys.Player.Dead))
alive++;
if (DateTime.Now.Minute >= 16)
{
if (alive == 1)
{
client.Player.Teleport(1002, 300, 278);
client.Player.AddTopStatus(Update.Flags2.Top2Fire, 2, DateTime.Now.AddMinutes(45));
client.Player.ConquerPoints += 30000;
client.Inventory.Add(730004, 4, 1);
//client.Inventory.Add(3009001, 0, 2);
Mr_Panda.Kernel.SendWorldMessage(new Message(" Congratulations ! " + client.Player.Name + " claimed the prize [30k] ConquerPoints for winning Quest for this Minute #45#45.", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Player.SendSpawn(client, true);
foreach (var clients in Program.Values)
{
if (clients.Player.MapID == 1994)
{
clients.Player.Teleport(1002, 300, 278);
clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Entity God Luck Next Time ;) "));
}
}
}
else
{
dialog.Text("There are still " + alive + " Entitys in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Player.Name + "You can only claim the prize when the time on or after xx:16");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Prize [5]
case 1995:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to claim your Prize?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
DateTime Now64 = DateTime.Now;
foreach (Client.GameState Entitys in Kernel.GamePool.Values)
if (Entitys.Player.MapID == 1995 && (!Entitys.Player.Dead))
alive++;
if (DateTime.Now.Minute >= 20)
{
if (alive == 1)
{
client.Player.Teleport(1002, 300, 278);
client.Player.AddTopStatus(Update.Flags2.Top2Warrior, 2, DateTime.Now.AddMinutes(45));
client.Player.ConquerPoints += 30000;
client.Inventory.Add(730004, 4, 1);
//client.Inventory.Add(3009001, 0, 2);
Mr_Panda.Kernel.SendWorldMessage(new Message(" Congratulations ! " + client.Player.Name + " claimed the prize [30k] ConquerPoints for winning Quest for this Minute #45#45.", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Player.SendSpawn(client, true);
foreach (var clients in Program.Values)
{
if (clients.Player.MapID == 1995)
{
clients.Player.Teleport(1002, 300, 278);
clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Entity God Luck Next Time ;) "));
}
}
}
else
{
dialog.Text("There are still " + alive + " Entitys in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Player.Name + "You can only claim the prize when the time on or after xx:20");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Prize [6]
case 199006:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to claim your Prize?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
DateTime Now64 = DateTime.Now;
foreach (Client.GameState Entitys in Kernel.GamePool.Values)
if (Entitys.Player.MapID == 1996 && (!Entitys.Player.Dead))
alive++;
if (DateTime.Now.Minute >= 24)
{
if (alive == 1)
{
client.Player.Teleport(1002, 300, 278);
client.Player.AddTopStatus(Update.Flags2.Top2Monk, 2, DateTime.Now.AddMinutes(45));
client.Player.ConquerPoints += 30000;
client.Inventory.Add(730004, 4, 1);
//client.Inventory.Add(3009001, 0, 2);
Mr_Panda.Kernel.SendWorldMessage(new Message(" Congratulations ! " + client.Player.Name + " claimed the prize [30k] ConquerPoints for winning Quest for this Minute #45#45.", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Player.SendSpawn(client, true);
foreach (var clients in Program.Values)
{
if (clients.Player.MapID == 1996)
{
clients.Player.Teleport(1002, 300, 278);
clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Entity God Luck Next Time ;) "));
}
}
}
else
{
dialog.Text("There are still " + alive + " Entitys in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Player.Name + "You can only claim the prize when the time on or after xx:24");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Prize [7]
case 199007:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to claim your Prize?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
DateTime Now64 = DateTime.Now;
foreach (Client.GameState Entitys in Kernel.GamePool.Values)
if (Entitys.Player.MapID == 1997 && (!Entitys.Player.Dead))
alive++;
if (DateTime.Now.Minute >= 28)
{
if (alive == 1)
{
client.Player.Teleport(1002, 300, 278);
client.Player.AddTopStatus(Update.Flags2.Top2Archer, 2, DateTime.Now.AddMinutes(45));
client.Player.ConquerPoints += 30000;
client.Inventory.Add(730004, 4, 1);
//client.Inventory.Add(3009001, 0, 2);
Mr_Panda.Kernel.SendWorldMessage(new Message(" Congratulations ! " + client.Player.Name + " claimed the prize [30k] ConquerPoints for winning Quest for this Minute #45#45.", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Player.SendSpawn(client, true);
foreach (var clients in Program.Values)
{
if (clients.Player.MapID == 1997)
{
clients.Player.Teleport(1002, 300, 278);
clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Entity God Luck Next Time ;) "));
}
}
}
else
{
dialog.Text("There are still " + alive + " Entitys in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Player.Name + "You can only claim the prize when the time on or after xx:28");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Prize [8]
case 199008:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to claim your Prize?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
DateTime Now64 = DateTime.Now;
foreach (Client.GameState Entitys in Kernel.GamePool.Values)
if (Entitys.Player.MapID == 1998 && (!Entitys.Player.Dead))
alive++;
if (DateTime.Now.Minute >= 32)
{
if (alive == 1)
{
client.Player.Teleport(1002, 300, 278);
client.Player.AddTopStatus(Update.Flags2.TopPirate, 2, DateTime.Now.AddMinutes(45));
client.Player.ConquerPoints += 30000;
client.Inventory.Add(730004, 4, 1);
//client.Inventory.Add(3009001, 0, 2);
Mr_Panda.Kernel.SendWorldMessage(new Message(" Congratulations ! " + client.Player.Name + " claimed the prize [30k] ConquerPoints for winning Quest for this Minute #45#45.", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Player.SendSpawn(client, true);
foreach (var clients in Program.Values)
{
if (clients.Player.MapID == 1998)
{
clients.Player.Teleport(1002, 300, 278);
clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Entity God Luck Next Time ;) "));
}
}
}
else
{
dialog.Text("There are still " + alive + " Entitys in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Player.Name + "You can only claim the prize when the time on or after xx:32");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Prize [9]
case 199009:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to claim your Prize?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
DateTime Now64 = DateTime.Now;
foreach (Client.GameState Entitys in Kernel.GamePool.Values)
if (Entitys.Player.MapID == 2005 && (!Entitys.Player.Dead))
alive++;
if (DateTime.Now.Minute >= 36)
{
if (alive == 1)
{
client.Player.Teleport(1002, 300, 278);
client.Player.AddTopStatus(Update.Flags2.Top2Warrior, 2, DateTime.Now.AddMinutes(45));
client.Player.ConquerPoints += 30000;
client.Inventory.Add(730004, 4, 1);
//client.Inventory.Add(3009001, 0, 2);
Mr_Panda.Kernel.SendWorldMessage(new Message(" Congratulations ! " + client.Player.Name + " claimed the prize [30k] ConquerPoints for winning Quest for this Minute #45#45.", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Player.SendSpawn(client, true);
foreach (var clients in Program.Values)
{
if (clients.Player.MapID == 1999)
{
clients.Player.Teleport(1002, 300, 278);
clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Entity God Luck Next Time ;) "));
}
}
}
else
{
dialog.Text("There are still " + alive + " Entitys in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Player.Name + "You can only claim the prize when the time on or after xx:36");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Prize [10]
case 2000:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to claim your Prize?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
DateTime Now64 = DateTime.Now;
foreach (Client.GameState Entitys in Kernel.GamePool.Values)
if (Entitys.Player.MapID == 2000 && (!Entitys.Player.Dead))
alive++;
if (DateTime.Now.Minute >= 40)
{
if (alive == 1)
{
client.Player.Teleport(1002, 300, 278);
client.Player.AddTopStatus(Update.Flags2.Top2Monk, 2, DateTime.Now.AddMinutes(45));
client.Player.ConquerPoints += 30000;
client.Inventory.Add(730004, 4, 1);
//client.Inventory.Add(3009001, 0, 2);
Mr_Panda.Kernel.SendWorldMessage(new Message(" Congratulations ! " + client.Player.Name + " claimed the prize [30k] ConquerPoints for winning Quest for this Minute #45#45.", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Player.SendSpawn(client, true);
foreach (var clients in Program.Values)
{
if (clients.Player.MapID == 2000)
{
clients.Player.Teleport(1002, 300, 278);
clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Entity God Luck Next Time ;) "));
}
}
}
else
{
dialog.Text("There are still " + alive + " Entitys in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Player.Name + "You can only claim the prize when the time on or after xx:40");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Prize [11]
case 1989:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to claim your Prize?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
DateTime Now64 = DateTime.Now;
foreach (Client.GameState Entitys in Kernel.GamePool.Values)
if (Entitys.Player.MapID == 1989 && (!Entitys.Player.Dead))
alive++;
if (DateTime.Now.Minute >= 44)
{
if (alive == 1)
{
client.Player.Teleport(1002, 300, 278);
client.Player.AddTopStatus(Update.Flags2.Top2Archer, 2, DateTime.Now.AddMinutes(45));
client.Player.ConquerPoints += 30000;
client.Inventory.Add(730004, 4, 1);
//client.Inventory.Add(3009001, 0, 2);
Mr_Panda.Kernel.SendWorldMessage(new Message(" Congratulations ! " + client.Player.Name + " claimed the prize [30k] ConquerPoints for winning Quest for this Minute #45#45.", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Player.SendSpawn(client, true);
foreach (var clients in Program.Values)
{
if (clients.Player.MapID == 1989)
{
clients.Player.Teleport(1002, 300, 278);
clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Entity God Luck Next Time ;) "));
}
}
}
else
{
dialog.Text("There are still " + alive + " Entitys in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Player.Name + "You can only claim the prize when the time on or after xx:44");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Prize [12]
case 1990:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to claim your Prize?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
DateTime Now64 = DateTime.Now;
foreach (Client.GameState Entitys in Kernel.GamePool.Values)
if (Entitys.Player.MapID == 1990 && (!Entitys.Player.Dead))
alive++;
if (DateTime.Now.Minute >= 48)
{
if (alive == 1)
{
client.Player.Teleport(1002, 300, 278);
client.Player.AddTopStatus(Update.Flags2.TopPirate, 2, DateTime.Now.AddMinutes(45));
client.Player.ConquerPoints += 30000;
client.Inventory.Add(730004, 4, 1);
//client.Inventory.Add(3009001, 0, 2);
Mr_Panda.Kernel.SendWorldMessage(new Message(" Congratulations ! " + client.Player.Name + " claimed the prize [30k] ConquerPoints for winning Quest for this Minute #45#45.", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Player.SendSpawn(client, true);
foreach (var clients in Program.Values)
{
if (clients.Player.MapID == 1990)
{
clients.Player.Teleport(1002, 300, 278);
clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Entity God Luck Next Time ;) "));
}
}
}
else
{
dialog.Text("There are still " + alive + " Entitys in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Player.Name + "You can only claim the prize when the time on or after xx:48");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Prize [13]
case 1988:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to claim your Prize?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
DateTime Now64 = DateTime.Now;
foreach (Client.GameState Entitys in Kernel.GamePool.Values)
if (Entitys.Player.MapID == 1988 && (!Entitys.Player.Dead))
alive++;
if (DateTime.Now.Minute >= 52)
{
if (alive == 1)
{
client.Player.Teleport(1002, 300, 278);
client.Player.AddTopStatus(Update.Flags2.Top3SpouseYellow, 2, DateTime.Now.AddMinutes(45));
client.Player.ConquerPoints += 30000;
client.Inventory.Add(730004, 4, 1);
//client.Inventory.Add(3009001, 0, 2);
Mr_Panda.Kernel.SendWorldMessage(new Message(" Congratulations ! " + client.Player.Name + " claimed the prize [30k] ConquerPoints for winning Quest for this Minute #45#45.", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Player.SendSpawn(client, true);
foreach (var clients in Program.Values)
{
if (clients.Player.MapID == 1988)
{
clients.Player.Teleport(1002, 300, 278);
clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Entity God Luck Next Time ;) "));
}
}
}
else
{
dialog.Text("There are still " + alive + " Entitys in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Player.Name + "You can only claim the prize when the time on or after xx:52");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Prize [14]
case 1987:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to claim your Prize?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
DateTime Now64 = DateTime.Now;
foreach (Client.GameState Entitys in Kernel.GamePool.Values)
if (Entitys.Player.MapID == 1987 && (!Entitys.Player.Dead))
alive++;
if (DateTime.Now.Minute >= 56)
{
if (alive == 1)
{
client.Player.Teleport(1002, 300, 278);
client.Player.AddTopStatus(Update.Flags2.Top2SpouseBlue, 2, DateTime.Now.AddMinutes(45));
client.Player.ConquerPoints += 30000;
client.Inventory.Add(730004, 4, 1);
//client.Inventory.Add(3009001, 0, 2);
Mr_Panda.Kernel.SendWorldMessage(new Message(" Congratulations ! " + client.Player.Name + " claimed the prize [30k] ConquerPoints for winning Quest for this Minute #45#45.", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Player.SendSpawn(client, true);
foreach (var clients in Program.Values)
{
if (clients.Player.MapID == 1987)
{
clients.Player.Teleport(1002, 300, 278);
clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Entity God Luck Next Time ;) "));
}
}
}
else
{
dialog.Text("There are still " + alive + " Entitys in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Player.Name + "You can only claim the prize when the time on or after xx:56");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Tops
#region ConquerPK
if (Now64.Minute == 00 && Now64.Second == 05)
{
Kernel.SendWorldMessage(new Message("ConquerPK began ", Color.White, Message.TopLeft), Program.Values);
foreach (var client in Program.Values)
client.MessageBox("ConquerPK began! Would you like to join?",
p => { p.Player.Teleport(1002, 301, 271); }, null, 20);
}
#endregion
#region DemonHellPK
if (Now64.Minute == 04 && Now64.Second == 05)
{
Kernel.SendWorldMessage(new Message("DemonHellPK began ", Color.White, Message.TopLeft), Program.Values);
foreach (var client in Program.Values)
client.MessageBox("DemonHellPK began! Would you like to join?",
p => { p.Player.Teleport(1002, 301, 271); }, null, 20);
}
#endregion
#region HorsePK
if (Now64.Minute == 08 && Now64.Second == 05)
{
Kernel.SendWorldMessage(new Message("HorsePK began ", Color.White, Message.TopLeft), Program.Values);
foreach (var client in Program.Values)
client.MessageBox("HorsePK began! Would you like to join?",
p => { p.Player.Teleport(1002, 301, 271); }, null, 20);
}
#endregion
#region SpeedPK
if (Now64.Minute == 12 && Now64.Second == 05)
{
Kernel.SendWorldMessage(new Message("SpeedPK began ", Color.White, Message.TopLeft), Program.Values);
foreach (var client in Program.Values)
client.MessageBox("SpeedPK began! Would you like to join?",
p => { p.Player.Teleport(1002, 301, 271); }, null, 20);
}
#endregion
#region The Prince
if (Now64.Minute == 16 && Now64.Second == 05)
{
Kernel.SendWorldMessage(new Message("The Prince began ", Color.White, Message.TopLeft), Program.Values);
foreach (var client in Program.Values)
client.MessageBox("The Prince began! Would you like to join?",
p => { p.Player.Teleport(1002, 301, 271); }, null, 20);
}
#endregion
#region The Duke
if (Now64.Minute == 20 && Now64.Second == 05)
{
Kernel.SendWorldMessage(new Message("The Duke began ", Color.White, Message.TopLeft), Program.Values);
foreach (var client in Program.Values)
client.MessageBox("The Duke began! Would you like to join?",
p => { p.Player.Teleport(1002, 301, 271); }, null, 20);
}
#endregion
#region ChampionPK
if (Now64.Minute == 24 && Now64.Second == 05)
{
Kernel.SendWorldMessage(new Message("ChampionPK began ", Color.White, Message.TopLeft), Program.Values);
foreach (var client in Program.Values)
client.MessageBox("ChampionPK began! Would you like to join?",
p => { p.Player.Teleport(1002, 301, 271); }, null, 20);
}
#endregion
#region Final-WaR
if (Now64.Minute == 28 && Now64.Second == 05)
{
Kernel.SendWorldMessage(new Message("Final-WaR began ", Color.White, Message.TopLeft), Program.Values);
foreach (var client in Program.Values)
client.MessageBox("Final-WaR began! Would you like to join?",
p => { p.Player.Teleport(1002, 301, 271); }, null, 20);
}
#endregion
#region SuperPK
if (Now64.Minute == 32 && Now64.Second == 05)
{
Kernel.SendWorldMessage(new Message("SuperPK began ", Color.White, Message.TopLeft), Program.Values);
foreach (var client in Program.Values)
client.MessageBox("SuperPK began! Would you like to join?",
p => { p.Player.Teleport(1002, 301, 271); }, null, 20);
}
#endregion
#region The C.P.S
if (Now64.Minute == 36 && Now64.Second == 05)
{
Kernel.SendWorldMessage(new Message("The C.P.S began ", Color.White, Message.TopLeft), Program.Values);
foreach (var client in Program.Values)
client.MessageBox("The C.P.S began! Would you like to join?",
p => { p.Player.Teleport(1002, 301, 271); }, null, 20);
}
#endregion
#region Hendy-Star
if (Now64.Minute == 40 && Now64.Second == 05)
{
Kernel.SendWorldMessage(new Message("Hendy-Star began ", Color.White, Message.TopLeft), Program.Values);
foreach (var client in Program.Values)
client.MessageBox("Hendy-Star began! Would you like to join?",
p => { p.Player.Teleport(1002, 301, 271); }, null, 20);
}
#endregion
#region Class PK
if (Now64.Minute == 44 && Now64.Second == 05)
{
Kernel.SendWorldMessage(new Message("Class PK began ", Color.White, Message.TopLeft), Program.Values);
foreach (var client in Program.Values)
client.MessageBox("Class PK began! Would you like to join?",
p => { p.Player.Teleport(1002, 301, 271); }, null, 20);
}
#endregion
#region Dead World
if (Now64.Minute == 48 && Now64.Second == 05)
{
Kernel.SendWorldMessage(new Message("Dead World began ", Color.White, Message.TopLeft), Program.Values);
foreach (var client in Program.Values)
client.MessageBox("Dead World began! Would you like to join?",
p => { p.Player.Teleport(1002, 301, 271); }, null, 20);
}
#endregion
#region WhtenamePK
if (Now64.Minute == 52 && Now64.Second == 05)
{
Kernel.SendWorldMessage(new Message("WhtenamePK began ", Color.White, Message.TopLeft), Program.Values);
foreach (var client in Program.Values)
client.MessageBox("WhtenamePK began! Would you like to join?",
p => { p.Player.Teleport(1002, 301, 271); }, null, 20);
}
#endregion
#region HeroOFGame [30]
if (DateTime.Now.Minute == 30)
{
HeroOfGame.CheakUp();
}
#endregion
#endregion
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
خش هنا لو عايز تعمل دومين | ElSaher | تطوير سيرفرات كونكر | 47 | 2024-07-26 10:56 PM |
انا حولت السورس بتاعي من 3دي لي 2دي خوش شوف المشكله | toteo3344 | مشكلات السيرفيرات كونكر الشخصيه | 5 | 2020-05-16 08:24 AM |
سيستم تحدد مين ياخد سبيس من في اي بي 1 لي 8 | zezonever | تطوير سيرفرات كونكر | 5 | 2020-04-13 04:53 AM |
لو سمحتم محتاج كودر يطور السرفر بتاعى ويشاركنى فى | EslamNaser | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2020-02-18 01:05 PM |
خلي الي يكسب الجلد 5 مرات ياخد الكاس | محمد ياسر | تطوير سيرفرات كونكر | 1 | 2019-07-27 01:08 PM |