Mr.Sheko
10-11-2014, 03:18 AM
بسم الله الرحمن الرحيم
بصراحة انا قولت لزم الناس اللى شحنة منى فى اى بى 6 يكونو متسهل ليهم حاجات زى مثلن كوستات زى كدة لما الكوستة تيجى كل ساعة وتديك مليون سى بى اس عكس الكوستات التانية اللى بتدى 150 الف بس فرق التوب الفى اى بى دى للفى اى بس يعنى واحد مش فى اى بى مش هيدخلها
ندخل اول حاجة الان بى سى
#region VIP PkWar /// By Maskar
case 7412369:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join the VIP PKWar If you VIP6 Only?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
var Now64 = DateTime.Now;
if (DateTime.Now.Minute >= 10 && DateTime.Now.Minute < 15)
{
if (client.Entity.VIPLevel >= 6)
client.Entity.Teleport(8899, 52, 44);
}
else
{
dialog.Text("VIP Pk War is held between xx:10 and xx:15 every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregionوالتانى
#region Winner of VIP PK /// BY Maskar
case 7412357:
{
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:
{
Daily.CheackAlive3();
DateTime Now64 = DateTime.Now;
if (DateTime.Now.Minute >= 18 && DateTime.Now.Minute <= 30)
{
if (Daily.howmanyinmap2 == 1)
{
//#warning LAST MAN PRIZE
client.Entity.ConquerPoints += 1000000;
client.Entity.AddFlag2(Network.GamePackets.Update. Flags2.WeeklyTop8Pk);
Conquer_Online_Server.Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " claimed the prize " + rates.LastMan + " ConquerPoints for winning VipPk for this Hour.", System.Drawing.Color.Black, Message.Center), Program.GamePool);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(1002, 300, 280);
EntityTable.SaveEntity(client);
}
else
{
dialog.Text("Have A 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:18 to xx:30");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregionبعد كدة خش على ال World
#region VIP PK ///MR// Maskar
{
foreach (var client in Program.GamePool)
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 == 00 && Now64.Second == 4)
{
Kernel.SendWorldMessage(new Message("VIPPk Has Began!", Color.White, Message.TopLeft), Program.GamePool);
foreach (var client in Program.GamePool)
client.MessageBox("VIP Pk[VIP6] Only Started! Would you like to join?",
p => { p.Entity.Teleport(1002, 279, 381); }, null, 3);
}
}
#endregionبعد كدة maps اهوت
8899 1787 7 0
بعد كدة npcاهوت
7412369 0 0 VIP Pk 2 2222 -1 1002 280 386 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
7412357 0 0 VIPPK Prize 2 20880 -1 8899 50 50 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
بس كدة حاجة بسيطة
استنا مش هوصيك زى كل مرة تنقل وتخلع كالعادة
:patch_sal::patch_sal::patch_sal::patch_sal:
بصراحة انا قولت لزم الناس اللى شحنة منى فى اى بى 6 يكونو متسهل ليهم حاجات زى مثلن كوستات زى كدة لما الكوستة تيجى كل ساعة وتديك مليون سى بى اس عكس الكوستات التانية اللى بتدى 150 الف بس فرق التوب الفى اى بى دى للفى اى بس يعنى واحد مش فى اى بى مش هيدخلها
ندخل اول حاجة الان بى سى
#region VIP PkWar /// By Maskar
case 7412369:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join the VIP PKWar If you VIP6 Only?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
var Now64 = DateTime.Now;
if (DateTime.Now.Minute >= 10 && DateTime.Now.Minute < 15)
{
if (client.Entity.VIPLevel >= 6)
client.Entity.Teleport(8899, 52, 44);
}
else
{
dialog.Text("VIP Pk War is held between xx:10 and xx:15 every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregionوالتانى
#region Winner of VIP PK /// BY Maskar
case 7412357:
{
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:
{
Daily.CheackAlive3();
DateTime Now64 = DateTime.Now;
if (DateTime.Now.Minute >= 18 && DateTime.Now.Minute <= 30)
{
if (Daily.howmanyinmap2 == 1)
{
//#warning LAST MAN PRIZE
client.Entity.ConquerPoints += 1000000;
client.Entity.AddFlag2(Network.GamePackets.Update. Flags2.WeeklyTop8Pk);
Conquer_Online_Server.Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " claimed the prize " + rates.LastMan + " ConquerPoints for winning VipPk for this Hour.", System.Drawing.Color.Black, Message.Center), Program.GamePool);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(1002, 300, 280);
EntityTable.SaveEntity(client);
}
else
{
dialog.Text("Have A 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:18 to xx:30");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregionبعد كدة خش على ال World
#region VIP PK ///MR// Maskar
{
foreach (var client in Program.GamePool)
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 == 00 && Now64.Second == 4)
{
Kernel.SendWorldMessage(new Message("VIPPk Has Began!", Color.White, Message.TopLeft), Program.GamePool);
foreach (var client in Program.GamePool)
client.MessageBox("VIP Pk[VIP6] Only Started! Would you like to join?",
p => { p.Entity.Teleport(1002, 279, 381); }, null, 3);
}
}
#endregionبعد كدة maps اهوت
8899 1787 7 0
بعد كدة npcاهوت
7412369 0 0 VIP Pk 2 2222 -1 1002 280 386 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
7412357 0 0 VIPPK Prize 2 20880 -1 8899 50 50 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
بس كدة حاجة بسيطة
استنا مش هوصيك زى كل مرة تنقل وتخلع كالعادة
:patch_sal::patch_sal::patch_sal::patch_sal: