|
المشاركات 1,940 |
+التقييم 0.95 |
تاريخ التسجيل Apr 2019 |
الاقامة https://www.facebook.com/daany |
نظام التشغيل |
رقم العضوية 1 |
#region Hero Of VipConquer-A
#region Hero Of VipConquer-A TC
case 12000:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hello " + client.Entity.Name + " This Is Hero Of " + Program.NameGame + " join now And Get Top VipConquer-A and 500,000,000 CPs");
dialog.Option("Join my Class Battle", 1);
// dialog.Option("Ninja Battle", 2);
// dialog.Option("Monk Battle", 3);
// dialog.Option("Archer Battle", 4);
// dialog.Option("WaterTaoist Battle", 5);
// dialog.Option("Pirate Battle", 6);
// dialog.Option("Windwalker Battle", 7);
// dialog.Option("D.Warrior Battle", 8);
// dialog.Option("Warrior Battle", 9);
//dialog.Option("FireTaoist Battle", 10);
break;
}
case 1:
DateTime Now64 = DateTime.Now;
if (DateTime.Now.Minute >= 51 && DateTime.Now.Minute <= 54)
{
if (client.Entity.Class >= 10 && client.Entity.Class <= 15)
{
client.Entity.Teleport(12015, 50, 50);
}
if (client.Entity.Class >= 20 && client.Entity.Class <= 25)
{
client.Entity.Teleport(12025, 50, 50);
}
if (client.Entity.Class >= 40 && client.Entity.Class <= 45)
{
client.Entity.Teleport(12045, 50, 50);
}
if (client.Entity.Class >= 50 && client.Entity.Class <= 55)
{
client.Entity.Teleport(12055, 50, 50);
}
if (client.Entity.Class >= 60 && client.Entity.Class <= 65)
{
client.Entity.Teleport(12065, 50, 50);
}
if (client.Entity.Class >= 70 && client.Entity.Class <= 75)
{
client.Entity.Teleport(12075, 50, 50);
}
if (client.Entity.Class >= 80 && client.Entity.Class <= 85)
{
client.Entity.Teleport(12085, 50, 50);
}
if (client.Entity.Class >= 132 && client.Entity.Class <= 135)
{
client.Entity.Teleport(12135, 50, 50);
}
if (client.Entity.Class >= 142 && client.Entity.Class <= 145)
{
client.Entity.Teleport(12145, 50, 50);
}
if (client.Entity.Class >= 160 && client.Entity.Class <= 165)
{
client.Entity.Teleport(12165, 50, 50);
}
else
{
dialog.Text("Kill all Entitys to reach Final Stage to win the prize");
dialog.Option("okay", 255);
dialog.Send();
}
}
else
{
dialog.Text("This is not the right time Come Later at xx:51 to xx:54 in every hour");
dialog.Option("okay", 255);
dialog.Send();
}
break;
}
break;
}
#endregion
#region NPCs In Stages
#region Winner Trojan
case 12015:
{
switch (npcRequest.OptionID)
{
case 0://tomm210
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to go to Final Stage ?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
foreach (Client.GameState Entitys in Program.Values)
if (Entitys.Entity.MapID == 12015 && (!Entitys.Entity.Dead))
alive++;
if (DateTime.Now.Minute >= 55 && DateTime.Now.Minute <= 58)
{
if (alive == 1)
{
Kernel.SendWorldMessage(new Message("Congratulations! Entity " + client.Entity.Name + " Won top Trojan Stage and Reached Final Stage . ", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(12200, 50, 50);
EntityTable.SaveEntity(client);
}
else
{
dialog.Text("There are still " + alive + " Entitys in the map kill it first to enter Final Stage!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Entity.Name + "You can only go to Final Stage when the time on or after xx:55 To xx:58 ");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Winner Warrior
case 12025:
{
switch (npcRequest.OptionID)
{
case 0://tomm210
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to go to Final Stage ?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
foreach (Client.GameState Entitys in Program.Values)
if (Entitys.Entity.MapID == 12025 && (!Entitys.Entity.Dead))
alive++;
if (DateTime.Now.Minute >= 55 && DateTime.Now.Minute <= 58)
{
if (alive == 1)
{
Kernel.SendWorldMessage(new Message("Congratulations! Entity " + client.Entity.Name + " Won top Warrior Stage and Reached Final Stage . ", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(12200, 50, 50);
EntityTable.SaveEntity(client);
}
else
{
dialog.Text("There are still " + alive + " Entitys in the map kill it first to enter Final Stage!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Entity.Name + "You can only go to Final Stage when the time on or after xx:55 To xx:58 ");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Winner Archer
case 12045:
{
switch (npcRequest.OptionID)
{
case 0://tomm210
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to go to Final Stage ?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
foreach (Client.GameState Entitys in Program.Values)
if (Entitys.Entity.MapID == 12045 && (!Entitys.Entity.Dead))
alive++;
if (DateTime.Now.Minute >= 55 && DateTime.Now.Minute <= 58)
{
if (alive == 1)
{
Kernel.SendWorldMessage(new Message("Congratulations! Entity " + client.Entity.Name + " Won top Archer Stage and Reached Final Stage . ", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(12200, 50, 50);
EntityTable.SaveEntity(client);
}
else
{
dialog.Text("There are still " + alive + " Entitys in the map kill it first to enter Final Stage!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Entity.Name + "You can only go to Final Stage when the time on or after xx:55 To xx:58 ");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Winner Ninja
case 12055:
{
switch (npcRequest.OptionID)
{
case 0://tomm210
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to go to Final Stage ?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
foreach (Client.GameState Entitys in Program.Values)
if (Entitys.Entity.MapID == 12055 && (!Entitys.Entity.Dead))
alive++;
if (DateTime.Now.Minute >= 55 && DateTime.Now.Minute <= 58)
{
if (alive == 1)
{
Kernel.SendWorldMessage(new Message("Congratulations! Entity " + client.Entity.Name + " Won top Ninja Stage and Reached Final Stage . ", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(12200, 50, 50);
EntityTable.SaveEntity(client);
}
else
{
dialog.Text("There are still " + alive + " Entitys in the map kill it first to enter Final Stage!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Entity.Name + "You can only go to Final Stage when the time on or after xx:55 To xx:58 ");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Winner Monk
case 12065:
{
switch (npcRequest.OptionID)
{
case 0://tomm210
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to go to Final Stage ?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
foreach (Client.GameState Entitys in Program.Values)
if (Entitys.Entity.MapID == 12065 && (!Entitys.Entity.Dead))
alive++;
if (DateTime.Now.Minute >= 55 && DateTime.Now.Minute <= 58)
{
if (alive == 1)
{
Kernel.SendWorldMessage(new Message("Congratulations! Entity " + client.Entity.Name + " Won top Monk Stage and Reached Final Stage . ", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(12200, 50, 50);
EntityTable.SaveEntity(client);
}
else
{
dialog.Text("There are still " + alive + " Entitys in the map kill it first to enter Final Stage!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Entity.Name + "You can only go to Final Stage when the time on or after xx:55 To xx:58 ");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Winner Pirate
case 12075:
{
switch (npcRequest.OptionID)
{
case 0://tomm210
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to go to Final Stage ?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
foreach (Client.GameState Entitys in Program.Values)
if (Entitys.Entity.MapID == 12075 && (!Entitys.Entity.Dead))
alive++;
if (DateTime.Now.Minute >= 55 && DateTime.Now.Minute <= 58)
{
if (alive == 1)
{
Kernel.SendWorldMessage(new Message("Congratulations! Entity " + client.Entity.Name + " Won top Pirate Stage and Reached Final Stage . ", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(12200, 50, 50);
EntityTable.SaveEntity(client);
}
else
{
dialog.Text("There are still " + alive + " Entitys in the map kill it first to enter Final Stage!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Entity.Name + "You can only go to Final Stage when the time on or after xx:55 To xx:58 ");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Winner D.Warrior
case 12085:
{
switch (npcRequest.OptionID)
{
case 0://tomm210
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to go to Final Stage ?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
foreach (Client.GameState Entitys in Program.Values)
if (Entitys.Entity.MapID == 12085 && (!Entitys.Entity.Dead))
alive++;
if (DateTime.Now.Minute >= 55 && DateTime.Now.Minute <= 58)
{
if (alive == 1)
{
Kernel.SendWorldMessage(new Message("Congratulations! Entity " + client.Entity.Name + " Won top D.Warrior Stage and Reached Final Stage . ", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(12200, 50, 50);
EntityTable.SaveEntity(client);
}
else
{
dialog.Text("There are still " + alive + " Entitys in the map kill it first to enter Final Stage!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Entity.Name + "You can only go to Final Stage when the time on or after xx:55 To xx:58 ");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Winner Windwalker
case 12165:
{
switch (npcRequest.OptionID)
{
case 0://tomm210
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to go to Final Stage ?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
foreach (Client.GameState Entitys in Program.Values)
if (Entitys.Entity.MapID == 12165 && (!Entitys.Entity.Dead))
alive++;
if (DateTime.Now.Minute >= 55 && DateTime.Now.Minute <= 58)
{
if (alive == 1)
{
Kernel.SendWorldMessage(new Message("Congratulations! Entity " + client.Entity.Name + " Won top Windwlaker Stage and Reached Final Stage . ", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(12200, 50, 50);
EntityTable.SaveEntity(client);
}
else
{
dialog.Text("There are still " + alive + " Entitys in the map kill it first to enter Final Stage!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Entity.Name + "You can only go to Final Stage when the time on or after xx:55 To xx:58 ");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Winner WaterTaoist
case 12135:
{
switch (npcRequest.OptionID)
{
case 0://tomm210
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to go to Final Stage ?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
foreach (Client.GameState Entitys in Program.Values)
if (Entitys.Entity.MapID == 12135 && (!Entitys.Entity.Dead))
alive++;
if (DateTime.Now.Minute >= 55 && DateTime.Now.Minute <= 58)
{
if (alive == 1)
{
Kernel.SendWorldMessage(new Message("Congratulations! Entity " + client.Entity.Name + " Won top WaterTaoist Stage and Reached Final Stage . ", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(12200, 50, 50);
EntityTable.SaveEntity(client);
}
else
{
dialog.Text("There are still " + alive + " Entitys in the map kill it first to enter Final Stage!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Entity.Name + "You can only go to Final Stage when the time on or after xx:55 To xx:58 ");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Winner FireTaoist
case 12145:
{
switch (npcRequest.OptionID)
{
case 0://tomm210
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to go to Final Stage ?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
foreach (Client.GameState Entitys in Program.Values)
if (Entitys.Entity.MapID == 12145 && (!Entitys.Entity.Dead))
alive++;
if (DateTime.Now.Minute >= 55 && DateTime.Now.Minute <= 58)
{
if (alive == 1)
{
Kernel.SendWorldMessage(new Message("Congratulations! Entity " + client.Entity.Name + " Won top FireTaoist Stage and Reached Final Stage . ", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(12200, 50, 50);
EntityTable.SaveEntity(client);
}
else
{
dialog.Text("There are still " + alive + " Entitys in the map kill it first to enter Final Stage!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Entity.Name + "You can only go to Final Stage when the time on or after xx:55 To xx:58 ");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#endregion
#region Winner VipConquer-A
case 12200:
{
switch (npcRequest.OptionID)
{
case 0://tomm210
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to go to Final Stage ?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
foreach (Client.GameState Entitys in Program.Values)
if (Entitys.Entity.MapID == 12200 && (!Entitys.Entity.Dead))
alive++;
if (DateTime.Now.Minute >= 01 && DateTime.Now.Minute <= 10)
{
if (alive == 1)
{
client.Entity.ConquerPoints += 500000000;
client.Entity.AddTopStatus((ulong)Update.Flags2.Top2Ninja, 2, DateTime.Now.AddHours(1));
Random R = new Random();
int Nr = R.Next(1, 1);
if (Nr == 1) client.Inventory.Add(727319, 0, 2);
// client.Entity.AddTopStatus((ulong)MsgUpdate.Flags2.Top8Water, 2, DateTime.Now.AddMinutes(59)); ;
Kernel.SendWorldMessage(new Message("Congratulations! Entity " + client.Entity.Name + " Won " + Program.NameGame + " Battle and He is the Hero for This Hour and he got 100,000,000 CPs + Top Hero Of The Game . ", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(1002, 300, 295);
EntityTable.SaveEntity(client);
}
else
{
dialog.Text("There are still " + alive + " Entitys in the map kill it first to Win!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Entity.Name + "You can only go to Final Stage when the time on or after xx:02 To xx:05 ");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#endregion
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
أدوات الموضوع | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
كوسته الارانب | محمد ياسر | تطوير سيرفرات كونكر | 1 | 2023-10-09 07:30 AM |
عاوز كوسته | احمد التركي | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2020-05-07 09:47 AM |
طلب كوسته | Amr Khalid | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2020-05-06 04:25 AM |
طلب كوسته | Amr Khalid | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2019-11-26 08:52 AM |
كوسته حرب التيمات | محمد ياسر | تطوير سيرفرات كونكر | 0 | 2019-05-07 12:56 PM |