
في الانبي سي ضيف
#region EliteGw
case 115522:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to Join Elite GW?.");
dialog.Text("or claim the Prize?, you can join Every day At 1:15 To 2:15 [ 00:15 To 00:30 ] .");
dialog.Text("and the winner Guild Leader will get 100.000.000 cps after it finish u have 5 minutes to claim?.");
dialog.Option("Join Elite GW!", 1);
dialog.Option("Claim Prize.", 5);
dialog.Send();
break;
}
case 1:
{
if (EliteGuildWar.IsWar)
{
client.Entity.Teleport(2071, 47, 131);
}
else
{
dialog.Text("The war is not held now!.");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
case 5:
{
if (!EliteGuildWar.IsWar)
{
if (client.Guild != null)
{
if (EliteGuildWar.KeeperID != 0)
{
if (EliteGuildWar.Claim &&
client.AsMember.Rank == Game.Enums.GuildMemberRank.GuildLeader &&
client.Guild.ID == EliteGuildWar.KeeperID)
{
EliteGuildWar.Claim = false;
EliteGuildWar.KeeperID = 0;
Conquer_Online_Server.Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " claimed the prize 100.000.000 CPs for winning the Elite GuildWar.", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Entity.ConquerPoints += 100000000;
client.Entity.AddTopStatus(Update.Flags3.ConuqerSuperYellow, 3, DateTime.Now.AddMinutes(59));
Program.AddWarLog("EliteGuildWar", "", client.Entity.Name);
}
else
{
dialog.Text("sorry u dont have any prize to claim....");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
}
else
{
dialog.Text("sorry u dont have any prize to claim");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Entity.Name + " You can't get the prize while the war is on!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
في الworld
ضيف دول
#region Elite GW
if (!Game.EliteGuildWar.IsWar)
{
if (Now64.Minute == 14 && Now64.Second == 59)
{
Game.EliteGuildWar.Start();
foreach (var client in Program.Values)
client.MessageBox("EliteGuildWar Begin Want Join [Prize : 100.000.000] CPs] ?",
p => { p.Entity.Teleport(1002, 263, 140); }, null);
}
}
if (Game.EliteGuildWar.IsWar)
{
if (Time32.Now > Game.EliteGuildWar.ScoreSendStamp.AddSeconds(3))
{
Game.EliteGuildWar.ScoreSendStamp = Time32.Now;
Game.EliteGuildWar.SendScores();
}
if (Now64.Minute == 25 && Now64.Second <= 02)
{
Kernel.SendWorldMessage(new Network.GamePackets.Message("Elite GuildWar will closed 5 Minutes left till End Hurry kick other Guild's.", System.Drawing.Color.White, Network.GamePackets.Message.Center), Program.Values);
}
}
if (Game.EliteGuildWar.IsWar)
{
if (Now64.Minute == 29 && Now64.Second == 58)
{
Game.EliteGuildWar.End();
{
Kernel.SendWorldMessage(new Network.GamePackets.Message("EliteGuiLD War Ended.", System.Drawing.Color.White, Network.GamePackets.Message.Center), Program.Values);
}
}
}
#endregion

![]()
