|
المشاركات 226 |
+التقييم 0.11 |
تاريخ التسجيل Jul 2019 |
الاقامة |
نظام التشغيل |
رقم العضوية 438 |
#region OneHit
case 18415260:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join OneHit.");
dialog.Option("Yes Please", 1);
dialog.Option("Not now.", 255);
dialog.Send();
break;
}
case 1://tomm210
{
if (DateTime.Now.Minute >= 40 && DateTime.Now.Minute <= 42)
{
Random R = new Random();
int Nr = R.Next(1, 10);
if (Nr == 1) client.Entity.Teleport(1811, 90, 160);
if (Nr == 2) client.Entity.Teleport(1811, 125, 168);
if (Nr == 3) client.Entity.Teleport(1811, 141, 167);
if (Nr == 4) client.Entity.Teleport(1811, 151, 142);
if (Nr == 5) client.Entity.Teleport(1811, 138, 114);
if (Nr == 6) client.Entity.Teleport(1811, 116, 121);
if (Nr == 7) client.Entity.Teleport(1811, 89, 89);
if (Nr == 8) client.Entity.Teleport(1811, 100, 74);
if (Nr == 9) client.Entity.Teleport(1811, 124, 74);
if (Nr == 10) client.Entity.Teleport(1811, 152, 88);
}
else
{//tomm210
dialog.Text("OneHit is held during xx:40 To xx:42 in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Winner OneHit
case 18415250:
{
switch (npcRequest.OptionID)
{
case 0://tomm210
{
dialog.Text("Hey there " + client.Entity.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;
foreach (Conquer_Online_Server.Client.GameClient players in Program.GamePool)
if (players.Entity.MapID == 1811 && (!players.Entity.Dead))
alive++;
Kernel.SendWorldMessage(new Conquer_Online_Server.Network.GamePackets.Message("Players Alive in OneHit: " + alive + " ", System.Drawing.Color.Black, Conquer_Online_Server.Network.GamePackets.Message.FirstRightCorner), Program.GamePool);
if (DateTime.Now.Minute >= 44 && DateTime.Now.Minute <= 50)
{
if (alive == 1)
{
client.Entity.Update(_String.Effect, "break_start", true);
client.Entity.ConquerPoints += rates.LastMan;
Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " Has Won " + rates.LastMan + " Cps For Winning OneHit For This Hour.", System.Drawing.Color.Black, Message.Center), Program.GamePool);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(1002, 429, 378);
EntityTable.SaveEntity(client);
}
else
{
dialog.Text("There are still " + alive + " players in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Entity.Name + "You can only claim the prize when the time on or after xx:44 To xx:50 ");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Life~Pk
case 741230:
{//tomm210
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Life~PK.");
dialog.Option("Yes Please", 1);
dialog.Option("Not now.", 255);
dialog.Send();
break;
}
case 1:
{
if (DateTime.Now.Minute >= 13 && DateTime.Now.Minute <= 15)
{
client.Entity.Teleport(3214,53, 41);
}
else
{
dialog.Text("OneHit is held during xx:13 To xx:15 in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Winner LifePk
case 74130:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.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;
foreach (Conquer_Online_Server.Client.GameClient players in Program.GamePool)
if (players.Entity.MapID == 3214 && (!players.Entity.Dead))
alive++;
Kernel.SendWorldMessage(new Conquer_Online_Server.Network.GamePackets.Message("Players Alive in Life~Pk: " + alive + " ", System.Drawing.Color.Black, Conquer_Online_Server.Network.GamePackets.Message.FirstRightCorner), Program.GamePool);
if (DateTime.Now.Minute >= 16 && DateTime.Now.Minute <= 30)
{
if (alive == 1)//tomm210
{
client.Entity.Update(_String.Effect, "break_start", true);
client.Entity.ConquerPoints += rates.LastMan;
Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " Has Won " + rates.LastMan + " Cps For Winning Life~PK For This Hour.", System.Drawing.Color.Black, Message.Center), Program.GamePool);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(1002, 429, 378);
EntityTable.SaveEntity(client);
}
else
{
dialog.Text("There are still " + alive + " players in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Entity.Name + "You can only claim the prize when the time on or after xx:16 To xx:30 ");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region BigBoss
case 789621:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join BigBosses.");
dialog.Option("Yes Please", 1);
dialog.Option("Not now.", 255);
dialog.Send();
break;
}
case 1:
{
if (DateTime.Now.Minute >= 54 && DateTime.Now.Minute <= 56)
{
client.Entity.Teleport(1707, 50, 50);
}
else
{
dialog.Text("BigBosses is held during xx:54 To xx:56 in every hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Winner BigBosses
case 789622:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.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;
foreach (Conquer_Online_Server.Client.GameClient players in Program.GamePool)
if (players.Entity.MapID == 1707 && (!players.Entity.Dead))
alive++;
Kernel.SendWorldMessage(new Conquer_Online_Server.Network.GamePackets.Message("Players Alive in BigBosses: " + alive + " ", System.Drawing.Color.Black, Conquer_Online_Server.Network.GamePackets.Message.FirstRightCorner), Program.GamePool);
if (DateTime.Now.Minute >= 57 && DateTime.Now.Minute <= 59)
{
if (alive == 1)
{
client.Entity.Update(_String.Effect, "break_start", true);
client.Entity.ConquerPoints += rates.LastMan;
Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " Has Won " + rates.LastMan + " Cps For Winning BigBosses For This Hour.", System.Drawing.Color.Black, Message.Center), Program.GamePool);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(1002, 429, 378);
EntityTable.SaveEntity(client);
}
else
{
dialog.Text("There are still " + alive + " players in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Entity.Name + "You can only claim the prize when the time on or after xx:57 To xx:59 ");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region GentleWar
case 333329:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join the Gentlewar ?.");
dialog.Option("Yes Please", 1);
dialog.Option("Not now.", 255);
dialog.Send();
break;
}
case 1:
{
if (DateTime.Now.Minute >= 18 && DateTime.Now.Minute <= 20)
{
client.Entity.Teleport(9391, 50, 50);
}
else
{
dialog.Text("GentleWar is held during xx:18 To xx:20 in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Winner GentleWar
case 333328:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.Name + "Would you like to claim your Prize?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);//tomm210
dialog.Send();
break;
}
case 1:
{
int alive = 0;
foreach (Conquer_Online_Server.Client.GameClient players in Program.GamePool)
if (players.Entity.MapID == 9391 && (!players.Entity.Dead))
alive++;
Kernel.SendWorldMessage(new Conquer_Online_Server.Network.GamePackets.Message("Players Alive in GentleWar: " + alive + " ", System.Drawing.Color.Black, Conquer_Online_Server.Network.GamePackets.Message.FirstRightCorner), Program.GamePool);
if (DateTime.Now.Minute >= 21 && DateTime.Now.Minute <= 25)
{
if (alive == 1)
{
client.Entity.Update(_String.Effect, ("break_start"), true);
client.Entity.ConquerPoints += rates.LastMan;
Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " Has Won " + rates.LastMan + " Cps For Winning GentleWar For This Hour And Halo.", System.Drawing.Color.Black, Message.Center), Program.GamePool);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(1002, 429, 378);
EntityTable.SaveEntity(client);
}
else
{
dialog.Text("There are still " + alive + " players in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Entity.Name + "You can only claim the prize when the time on or after xx:21 To xx:23 ");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region CrazyWar
case 333377:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join the CrazyWar ?.");
dialog.Option("Yes Please", 1);
dialog.Option("Not now.", 255);
dialog.Send();
break;
}
case 1:
{
if (DateTime.Now.Minute >= 35 && DateTime.Now.Minute <= 37)
{
client.Entity.Teleport(9392, 50, 50);
}
else
{
dialog.Text("CrazyWar is held during xx:35 To xx:37 in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Winner CrazyWar
case 333378:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.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;
foreach (Conquer_Online_Server.Client.GameClient players in Program.GamePool)
if (players.Entity.MapID == 9392 && (!players.Entity.Dead))
alive++;
Kernel.SendWorldMessage(new Conquer_Online_Server.Network.GamePackets.Message("Players Alive in CrazyWar: " + alive + " ", System.Drawing.Color.Black, Conquer_Online_Server.Network.GamePackets.Message.FirstRightCorner), Program.GamePool);
if (DateTime.Now.Minute >= 38 && DateTime.Now.Minute <= 42)
{
if (alive == 1)
{
client.Entity.Update(_String.Effect, ("break_start"), true);
client.Entity.ConquerPoints += rates.LastMan;
Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " Has Won " + rates.LastMan + " Cps For Winning CrazyWar For This Hour And Halo.", System.Drawing.Color.Black, Message.Center), Program.GamePool);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(1002, 429, 378);
EntityTable.SaveEntity(client);
}
else
{
dialog.Text("There are still " + alive + " players in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Entity.Name + "You can only claim the prize when the time on or after xx:38 To xx:40 ");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region ButchersWar
case 1841526:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join ButchersWar.");
dialog.Option("Yes Please", 1);
dialog.Option("Not now.", 255);
dialog.Send();
break;
}
case 1:
{
if (DateTime.Now.Minute >= 45 && DateTime.Now.Minute <= 47)
{
client.Entity.Teleport(9393, 50, 50);
}
else
{
dialog.Text("ButchersWar is held during xx:45 To xx:47 in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
}//tomm210
break;
}
#endregion
#region Winner ButchersWar
case 1841525:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.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;
foreach (Conquer_Online_Server.Client.GameClient players in Program.GamePool)
if (players.Entity.MapID == 9393 && (!players.Entity.Dead))
alive++;
Kernel.SendWorldMessage(new Conquer_Online_Server.Network.GamePackets.Message("Players Alive in ButchersWar: " + alive + " ", System.Drawing.Color.Black, Conquer_Online_Server.Network.GamePackets.Message.FirstRightCorner), Program.GamePool);
if (DateTime.Now.Minute >= 48 && DateTime.Now.Minute <= 52)
{
if (alive == 1)
{
client.Entity.Update(_String.Effect, "break_start", true);
client.Entity.ConquerPoints += rates.LastMan;
Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " Has Won " + rates.LastMan + " Cps For Winning ButchersWar For This Hour And Halo.", System.Drawing.Color.Black, Message.Center), Program.GamePool);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(1002, 429, 378);
EntityTable.SaveEntity(client);
}
else
{
dialog.Text("There are still " + alive + " players in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Entity.Name + "You can only claim the prize when the time on or after xx:48 To xx:50 ");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}//tomm210
}
break;
}
#endregion
#region Last man standing
#region Life~Pk//tomm210
if (client.Entity.MapID == 6000 || client.Entity.MapID == 6001 || client.Entity.MapID == 6002 || client.Entity.MapID == 6003 || client.Entity.MapID == 6004)
return;
if (DateTime.Now.Minute == 13 && DateTime.Now.Second <= 02)
{
Kernel.SendWorldMessage(new Message("Life~Pk event began!", Color.Red, Message.Center));
client.MessageBox("Life~PK Start Wanna Join?",
(p) => { p.Entity.Teleport(1002, 443, 352); }, null, 60);
}
#endregion
#region GentleWar//tomm210
if (client.Entity.MapID == 6000 || client.Entity.MapID == 6001 || client.Entity.MapID == 6002 || client.Entity.MapID == 6003 || client.Entity.MapID == 6004)
return;
if (DateTime.Now.Minute == 18 && DateTime.Now.Second <= 02)
{
Kernel.SendWorldMessage(new Message("GentleWar event began!", Color.Red, Message.Center));
client.MessageBox("GentleWar Start Wanna Join?",
(p) => { p.Entity.Teleport(1002, 449, 353); }, null, 60);
}
#endregion
#region ButchersWar//tomm210
if (client.Entity.MapID == 6000 || client.Entity.MapID == 6001 || client.Entity.MapID == 6002 || client.Entity.MapID == 6003 || client.Entity.MapID == 6004)
return;
if (DateTime.Now.Minute == 45 && DateTime.Now.Second <= 02)
{
Kernel.SendWorldMessage(new Message("ButchersWar event began!", Color.Red, Message.Center));
client.MessageBox("ButchersWar Start Wanna Join?",
(p) => { p.Entity.Teleport(1002, 452, 353); }, null, 60);
}
#endregion
#region CrazyWar//tomm210
if (client.Entity.MapID == 6000 || client.Entity.MapID == 6001 || client.Entity.MapID == 6002 || client.Entity.MapID == 6003 || client.Entity.MapID == 6004)
return;
if (DateTime.Now.Minute == 35 && DateTime.Now.Second <= 02)
{
Kernel.SendWorldMessage(new Message("CrazyWar event began!", Color.Red, Message.Center));
client.MessageBox("CrazyWar Start Wanna Join?",
(p) => { p.Entity.Teleport(1002, 455, 353); }, null, 60);
}
#endregion
#region BigBoss
if (client.Entity.MapID == 6000 || client.Entity.MapID == 6001 || client.Entity.MapID == 6002 || client.Entity.MapID == 6003 || client.Entity.MapID == 6004)
return;
if (DateTime.Now.Minute == 54 && DateTime.Now.Second == 00)
{//tomm210
Kernel.SendWorldMessage(new Message("BigBoss event began!", Color.Red, Message.Center));
client.MessageBox("BigBoss Start Wanna Join?",
(p) => { p.Entity.Teleport(1002, 446, 352); }, null, 60);
}
#endregion
#region OneHit//tomm210
if (client.Entity.MapID == 6000 || client.Entity.MapID == 6001 || client.Entity.MapID == 6002 || client.Entity.MapID == 6003 || client.Entity.MapID == 6004)
return;
{
if (Now64.Minute == 40 && Now64.Second <= 02)
{
Kernel.SendWorldMessage(new Message("OneHit event began!", Color.Red, Message.Center));
client.MessageBox("OneHit Has Started! Would you like to join?",
(p) => { p.Entity.Teleport(1002, 464, 352); }, null, 60);//tomm210
}
}
#endregion //tomm210
public static readonly System.Collections.Generic.List<ushort> PKFreeMaps
3214,
1707,
1811,
9393,
9392,
9391,
1707 700 7 0
9393 1787 7 0
9392 700 7 0
9391 700 7 0
1811 1508 7 0
3214 1732 7 0
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
حاجه خفيفه للسيرفرات الصعبه يا رجاله | 7amoStarHell | تطوير سيرفرات كونكر | 73 | 2024-09-03 04:31 AM |
فكره كويسه لسورسات الصعبه | Mero | تطوير سيرفرات كونكر | 3 | 2024-08-06 06:33 PM |
>[شوية انبيسهات للسيرفرات الصعبه]< | 7amoStarHell | تطوير سيرفرات كونكر | 5 | 2023-10-09 08:54 PM |
ان بى سى اصطف بلص 8 فرى لسورسات الصعبه | Mr. Co | تطوير سيرفرات كونكر | 7 | 2019-07-27 02:45 PM |
npc اسطفات +4 مقيده لسيرفيرات الصعبه | محمد ياسر | تطوير سيرفرات كونكر | 0 | 2019-04-18 10:30 AM |