|
#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 <= 04)
{
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 >= 07 && DateTime.Now.Minute <= 11)
{
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 >= 14 && DateTime.Now.Minute <= 18)
{
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 >= 21 && DateTime.Now.Minute <= 25)
{
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 >= 28 && DateTime.Now.Minute <= 32)
{
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 >= 35 && DateTime.Now.Minute <= 39)
{
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 >= 42 && DateTime.Now.Minute <= 46)
{
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();
}
break;
}
case 100:
{
if (DateTime.Now.Minute >= 00 && DateTime.Now.Minute <= 04)
{
client.Player.RemoveFlag(Update.Flags.Ride);
client.Player.Teleport(1991, 48, 48);
client.Player.PKMode = Game.Enums.PKMode.Team;
client.Send(new Data(true) { UID = client.Player.UID, ID = Data.ChangePKMode, dwParam = (uint)client.Player.PKMode });
}
else
{
dialog.Text("ConquerPK War is held during 10:15 To 10:19 in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 101:
{
if (DateTime.Now.Minute >= 07 && DateTime.Now.Minute <= 11)
{
client.Player.RemoveFlag(Update.Flags.Ride);
client.Player.Teleport(1992, 48, 48);
client.Player.PKMode = Game.Enums.PKMode.Team;
client.Send(new Data(true) { UID = client.Player.UID, ID = Data.ChangePKMode, dwParam = (uint)client.Player.PKMode });
}
else
{
dialog.Text("DemonHellPK War is held during 11:15 To 11:19 in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 102:
{
if (DateTime.Now.Minute >= 14 && DateTime.Now.Minute <= 18)
{
client.Player.RemoveFlag(Update.Flags.Ride);
client.Player.Teleport(1993, 48, 48);
client.Player.PKMode = Game.Enums.PKMode.Team;
client.Send(new Data(true) { UID = client.Player.UID, ID = Data.ChangePKMode, dwParam = (uint)client.Player.PKMode });
}
else
{
dialog.Text("HorsePK War is held during 12:15 To 12:18 in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 103:
{
if (DateTime.Now.Minute >= 21 && DateTime.Now.Minute <= 25)
{
client.Player.RemoveFlag(Update.Flags.Ride);
client.Player.Teleport(1994, 48, 48);
client.Player.PKMode = Game.Enums.PKMode.Team;
client.Send(new Data(true) { UID = client.Player.UID, ID = Data.ChangePKMode, dwParam = (uint)client.Player.PKMode });
}
else
{
dialog.Text("SpeedPK War is held during 13:15 To 13:19 in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 104:
{
if (DateTime.Now.Minute >= 28 && DateTime.Now.Minute <= 32)
{
client.Player.RemoveFlag(Update.Flags.Ride);
client.Player.Teleport(1995, 48, 48);
client.Player.PKMode = Game.Enums.PKMode.Team;
client.Send(new Data(true) { UID = client.Player.UID, ID = Data.ChangePKMode, dwParam = (uint)client.Player.PKMode });
}
else
{
dialog.Text("The Prince War is held during 14:15 To 18:19 in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 105:
{
if (DateTime.Now.Minute >= 35 && DateTime.Now.Minute <= 39)
{
client.Player.RemoveFlag(Update.Flags.Ride);
client.Player.Teleport(1996, 48, 48);
client.Player.PKMode = Game.Enums.PKMode.Team;
client.Send(new Data(true) { UID = client.Player.UID, ID = Data.ChangePKMode, dwParam = (uint)client.Player.PKMode });
}
else
{
dialog.Text("The Duke War is held during 15:15 To 15:19 in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 106:
{
if (DateTime.Now.Minute >= 42 && DateTime.Now.Minute <= 46)
{
client.Player.RemoveFlag(Update.Flags.Ride);
client.Player.Teleport(1997, 48, 48);
client.Player.PKMode = Game.Enums.PKMode.Team;
client.Send(new Data(true) { UID = client.Player.UID, ID = Data.ChangePKMode, dwParam = (uint)client.Player.PKMode });
}
else
{
dialog.Text("ChampionPK War is held during 16:15 To 16:19 in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Mr/Ms Conquer
if (DateTime.Now.Hour == 19 && DateTime.Now.Minute == 31 && Now64.Second == 15)
{
Kernel.SendWorldMessage(new Message("Mr/Ms Conquer War began! Go Twin city ", Color.Red, Message.BroadcastMessage), Program.Values);
foreach (var client in Program.Values)
client.MessageBox("Mr/Ms Conquer began! Would you like to join Priz ?",
p => { p.Player.Teleport(1002, 290, 193); }, null, 60);
}
#endregion
#region Fb&SS
if (Now64.Minute == 25 && Now64.Second == 10)
{
Kernel.SendWorldMessage(new Message(" Fast blade and ScentSword war is began ", Color.White, Message.TopLeft), Program.Values);
foreach (var client in Program.Values)
client.MessageBox("Fast blade and ScentSword began Would you like to join?",
p => { p.Player.Teleport(1002, 295, 230); }, null, 20);
}
#endregion
-------------------------
#region Fb&SS
if (Now64.Minute == 25 && Now64.Second == 10)
{
Kernel.SendWorldMessage(new Message(" Fast blade and ScentSword war is began ", Color.White, Message.TopLeft), Program.Values);
foreach (var client in Program.Values)
client.MessageBox("Fast blade and ScentSword began Would you like to join?",
p => { p.Player.Teleport(1002, 295, 230); }, null, 20);
}
#endregion
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
طلب بسيط واتمنا الرد بسرعه | karem010 | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2020-05-09 02:07 AM |
تعديل بسيط | Omar | مشكلات السيرفيرات كونكر الشخصيه | 5 | 2020-01-25 02:45 AM |
محتاج شرح كما حاجة كده بسيط | اسلام | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2019-09-26 07:13 AM |
استفسار بسيط | ابو مروان | مشكلات السيرفيرات كونكر الشخصيه | 3 | 2019-09-26 04:11 AM |
ياجدعان الموضوع بسيط npc توب بس | MeGoo | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2019-07-27 11:08 PM |