Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #region QuestBy HarryPotter With Tops For 1 Hour
- #region TwinPk
- case 333399:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join TwinPk?.");
- dialog.Option("Yes Please", 1);
- dialog.Option("Not now.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Minute >= 10 && DateTime.Now.Minute <= 12)
- {
- client.Entity.Teleport(5540, 46, 50);
- }
- else
- {
- dialog.Text("[TwinPk] War is held during xx:10 To xx:12 in every Hour");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region TwinPk Prize
- case 333300:
- 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 Need To Leave", 2);
- // dialog.Option("Potions HP / Magic", 3);
- dialog.Option("I don't care.", 0xff);
- dialog.Send();
- break;
- }
- case 1:
- {
- int alive = 0;
- foreach (GameState players in Kernel.GamePool.Values)
- if (players.Entity.MapID == 5540 && (!players.Entity.Dead))
- alive++;
- if (DateTime.Now.Minute >= 12 && DateTime.Now.Minute <= 14)
- {
- if (alive == 1)
- {
- client.Entity.ConquerPoints += CPanel.PoleTwin;
- client.Entity.RemoveFlag(Update.Flags.Ride);
- // client.Entity.AddTopStatus(Update.Flags.TopArcher, DateTime.Now.AddHours(1));
- HarryPotter.Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + "You Winner Quest TwinPk Prize 100000 CPs.", System.Drawing.Color.Black, Message.Center), Program.Values);
- client.Entity.SendSpawn(client, true);
- client.Entity.Teleport(1002, 428, 378);
- EntityTable.SaveEntity(client);
- }
- else
- {
- dialog.Text("There are still " + Daily.howmanyinmap + " players in the map kill it first to claim prize!");
- dialog.Option("okay", 0xff);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("Hey there " + client.Entity.Name + "You can only claim the prize when the time on or after xx:12");
- dialog.Option("okay", 0xff);
- dialog.Send();
- }
- break;
- }
- case 2:
- {
- {
- client.Entity.Teleport(1002, 429, 378);
- }
- break;
- }
- case 3:
- {
- INpc npc = null;
- if (client.Map.Npcs.TryGetValue(client.ActiveNpc, out npc))
- {
- Data data = new Data(true);
- data.ID = Data.OpenWindow;
- data.UID = client.Entity.UID;
- data.TimeStamp = Time32.Now;
- data.dwParam = 0x1FA;
- data.wParam1 = npc.X;
- data.wParam2 = npc.Y;
- client.Send(data);
- }
- break;
- }
- }
- break;
- #endregion
- #region PhoeinxPk
- case 25810:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join PhoeinxPk?.");
- dialog.Option("Yes Please", 1);
- dialog.Option("Not now.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Minute >= 16 && DateTime.Now.Minute <= 18)
- {
- client.Entity.Teleport(5452, 83, 112);
- }
- else
- {
- dialog.Text("[PhoeinxPk] War is held during xx:16 To xx:18 in every Hour");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region PhoeinxPk Prize
- case 258100:
- 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 Need To Leave", 2);
- dialog.Option("I don't care.", 0xff);
- dialog.Send();
- break;
- }
- case 1:
- {
- int alive = 0;
- foreach (HarryPotter.Client.GameState players in HarryPotter.Kernel.GamePool.Values)
- if (players.Entity.MapID == 5452 && (!players.Entity.Dead))
- alive++;
- if (DateTime.Now.Minute >= 18 && DateTime.Now.Minute <= 20)
- {
- if (alive == 1)
- {
- client.Entity.ConquerPoints += CPanel.PolePhoenix;
- client.Entity.RemoveFlag(Update.Flags.Ride);
- client.Entity.AddTopStatus(Update.Flags.TopTrojan, DateTime.Now.AddHours(1));
- HarryPotter.Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + "You Wenner Quest PhoeinxPk Prize 100000 CPs.", System.Drawing.Color.Black, Message.Center), Program.Values);
- client.Entity.SendSpawn(client, true);
- client.Entity.Teleport(1002, 428, 378);
- EntityTable.SaveEntity(client);
- }
- else
- {
- dialog.Text("There are still " + Daily.howmanyinmap + " players in the map kill it first to claim prize!");
- dialog.Option("okay", 0xff);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("Hey there " + client.Entity.Name + "You can only claim the prize when the time on or after xx:18");
- dialog.Option("okay", 0xff);
- dialog.Send();
- }
- break;
- }
- case 2:
- {
- {
- client.Entity.Teleport(1002, 429, 378);
- }
- break;
- }
- }
- break;
- #endregion
- #region ApePk
- case 3333990:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join ApePk?.");
- dialog.Option("Yes Please", 1);
- dialog.Option("Not now.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Minute >= 26 && DateTime.Now.Minute <= 28)
- {
- client.Entity.Teleport(5560, 107, 120);
- }
- else
- {
- dialog.Text("[ApePk] War is held during xx:26 To xx:28 in every Hour");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region ApePk Prize
- case 3333000:
- 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 Need To Leave", 2);
- dialog.Option("I don't care.", 0xff);
- dialog.Send();
- break;
- }
- case 1:
- {
- int alive = 0;
- foreach (HarryPotter.Client.GameState players in HarryPotter.Kernel.GamePool.Values)
- if (players.Entity.MapID == 5560 && (!players.Entity.Dead))
- alive++;
- if (DateTime.Now.Minute >= 28 && DateTime.Now.Minute <= 30)
- {
- if (alive == 1)
- {
- client.Entity.ConquerPoints += CPanel.PoleApe;
- client.Entity.RemoveFlag(Update.Flags.Ride);
- // client.Entity.AddTopStatus(Update.Flags.TopNinja, DateTime.Now.AddHours(1));
- HarryPotter.Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + "You Wenner Quest ApePk Prize 100000 CPs.", System.Drawing.Color.Black, Message.Center), Program.Values);
- client.Entity.SendSpawn(client, true);
- client.Entity.Teleport(1002, 428, 378);
- EntityTable.SaveEntity(client);
- }
- else
- {
- dialog.Text("There are still " + Daily.howmanyinmap + " players in the map kill it first to claim prize!");
- dialog.Option("okay", 0xff);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("Hey there " + client.Entity.Name + "You can only claim the prize when the time on or after xx:28");
- dialog.Option("okay", 0xff);
- dialog.Send();
- }
- break;
- }
- case 2:
- {
- {
- client.Entity.Teleport(1002, 429, 378);
- }
- break;
- }
- }
- break;
- #endregion
- #region BirdPk
- case 252810:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join BirdPk?.");
- 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(5450, 94, 113);
- }
- else
- {
- dialog.Text("[BirdPk] War is held during xx:45 To xx:47 in every Hour");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region BirdPk Prize
- case 252100:
- 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 Need To Leave", 2);
- dialog.Option("I don't care.", 0xff);
- dialog.Send();
- break;
- }
- case 1:
- {
- int alive = 0;
- foreach (HarryPotter.Client.GameState players in HarryPotter.Kernel.GamePool.Values)
- if (players.Entity.MapID == 5450 && (!players.Entity.Dead))
- alive++;
- if (DateTime.Now.Minute >= 47 && DateTime.Now.Minute <= 48)
- {
- if (alive == 1)
- {
- client.Entity.ConquerPoints += CPanel.PoleBird;
- client.Entity.RemoveFlag(Update.Flags.Ride);
- client.Entity.AddTopStatus(Update.Flags.TopTrojan, DateTime.Now.AddHours(1));
- HarryPotter.Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + "You Wenner Quest BirdPk Prize 100000 CPs.", System.Drawing.Color.Black, Message.Center), Program.Values);
- client.Entity.SendSpawn(client, true);
- client.Entity.Teleport(1002, 428, 378);
- EntityTable.SaveEntity(client);
- }
- else
- {
- dialog.Text("There are still " + Daily.howmanyinmap + " players in the map kill it first to claim prize!");
- dialog.Option("okay", 0xff);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("Hey there " + client.Entity.Name + "You can only claim the prize when the time on or after xx:47");
- dialog.Option("okay", 0xff);
- dialog.Send();
- }
- break;
- }
- case 2:
- {
- {
- client.Entity.Teleport(1002, 429, 378);
- }
- break;
- }
- }
- break;
- #endregion
- #region NightPK
- case 1234561:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Night PK?.");
- dialog.Option("Yes Please", 1);
- dialog.Option("Not now.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Minute >= 47 && DateTime.Now.Minute <= 49)
- {
- client.Entity.Teleport(5541, 67, 34);
- }
- else
- {
- dialog.Text("[Night PK] War is held during xx:47 To xx:49 in every Hour");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region NightPK Prize
- case 12345611:
- 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.", 0xff);
- dialog.Send();
- break;
- }
- case 1:
- {
- int alive = 0;
- foreach (GameState players in Kernel.GamePool.Values)
- if (players.Entity.MapID == 5541 && (!players.Entity.Dead))
- alive++;
- if (DateTime.Now.Minute >= 49 && DateTime.Now.Minute <= 50)
- {
- if (alive == 1)
- {
- client.Entity.ConquerPoints += CPanel.LasTMan;
- client.Entity.RemoveFlag(Update.Flags.Ride);
- // client.Entity.AddTopStatus(Update.Flags.TopNinja, DateTime.Now.AddDays(1));
- HarryPotter.Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + "You Wenner Quest NightPK Prize" + CPanel.LasTMan + " CPs.", System.Drawing.Color.Black, Message.Center), Program.Values);
- client.Entity.SendSpawn(client, true);
- client.Entity.Teleport(1002, 428, 378);
- EntityTable.SaveEntity(client);
- }
- else
- {
- dialog.Text("There are still " + Daily.howmanyinmap + " players in the map kill it first to claim prize!");
- dialog.Option("okay", 0xff);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("Hey there " + client.Entity.Name + "You can only claim the prize when the time on or after xx:16");
- dialog.Option("okay", 0xff);
- dialog.Send();
- }
- break;
- }
- case 2:
- {
- {
- client.Entity.Teleport(1002, 429, 378);
- }
- break;
- }
- case 3:
- {
- INpc npc = null;
- if (client.Map.Npcs.TryGetValue(client.ActiveNpc, out npc))
- {
- Data data = new Data(true);
- data.ID = Data.OpenWindow;
- data.UID = client.Entity.UID;
- data.TimeStamp = Time32.Now;
- data.dwParam = 0x1FA;
- data.wParam1 = npc.X;
- data.wParam2 = npc.Y;
- client.Send(data);
- }
- break;
- }
- }
- break;
- #endregion
- #region MorningPK
- case 1234562:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join MorningPK?.");
- dialog.Option("Yes Please", 1);
- dialog.Option("Not now.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Minute >= 34 && DateTime.Now.Minute <= 36)
- {
- client.Entity.Teleport(5453, 67, 34);
- }
- else
- {
- dialog.Text("[MorningPK] War is held during xx:34 To xx:36 in every Hour");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region MorningPK Prize
- case 12345622:
- 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 Need To Leave", 2);
- dialog.Option("I don't care.", 0xff);
- dialog.Send();
- break;
- }
- case 1:
- {
- int alive = 0;
- foreach (HarryPotter.Client.GameState players in HarryPotter.Kernel.GamePool.Values)
- if (players.Entity.MapID == 5453 && (!players.Entity.Dead))
- alive++;
- if (DateTime.Now.Minute >= 36 && DateTime.Now.Minute <= 37)
- {
- if (alive == 1)
- {
- client.Entity.ConquerPoints += CPanel.LasTMan;
- client.Entity.RemoveFlag(Update.Flags.Ride);
- client.Entity.AddFlag3(HarryPotter.Network.GamePackets.Update.Flags3.ConuqerSuperYellow);
- HarryPotter.Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + "You Winner Quest MorningPK Prize 100000 CPs.", System.Drawing.Color.Black, Message.Center), Program.Values);
- client.Entity.SendSpawn(client, true);
- client.Entity.Teleport(1002, 428, 378);
- EntityTable.SaveEntity(client);
- }
- else
- {
- dialog.Text("There are still " + Daily.howmanyinmap + " players in the map kill it first to claim prize!");
- dialog.Option("okay", 0xff);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("Hey there " + client.Entity.Name + "You can only claim the prize when the time on or after xx:36");
- dialog.Option("okay", 0xff);
- dialog.Send();
- }
- break;
- }
- case 2:
- {
- {
- client.Entity.Teleport(1002, 429, 378);
- }
- break;
- }
- }
- break;
- #endregion
- #region ClassicPK
- case 1234563:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join ClassicPK?.");
- dialog.Option("Yes Please", 1);
- dialog.Option("Not now.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Minute >= 37 && DateTime.Now.Minute <= 39)
- {
- client.Entity.Teleport(5561, 67, 34);
- }
- else
- {
- dialog.Text("[ClassicPK] War is held during xx:39 To xx:39 in every Hour");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region ClassicPK Prize
- case 12345633:
- 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 Need To Leave", 2);
- dialog.Option("I don't care.", 0xff);
- dialog.Send();
- break;
- }
- case 1:
- {
- int alive = 0;
- foreach (HarryPotter.Client.GameState players in HarryPotter.Kernel.GamePool.Values)
- if (players.Entity.MapID == 5561 && (!players.Entity.Dead))
- alive++;
- if (DateTime.Now.Minute >= 39 && DateTime.Now.Minute <= 40)
- {
- if (alive == 1)
- {
- client.Entity.ConquerPoints += CPanel.LasTMan;
- client.Entity.RemoveFlag(Update.Flags.Ride);
- client.Entity.AddFlag3(HarryPotter.Network.GamePackets.Update.Flags3.ConuqerSuperYellow);
- HarryPotter.Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + "You winner Quest ClassicPK Prize 100000 CPs.", System.Drawing.Color.Black, Message.Center), Program.Values);
- client.Entity.SendSpawn(client, true);
- client.Entity.Teleport(1002, 428, 378);
- EntityTable.SaveEntity(client);
- }
- else
- {
- dialog.Text("There are still " + Daily.howmanyinmap + " players in the map kill it first to claim prize!");
- dialog.Option("okay", 0xff);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("Hey there " + client.Entity.Name + "You can only claim the prize when the time on or after xx:39");
- dialog.Option("okay", 0xff);
- dialog.Send();
- }
- break;
- }
- case 2:
- {
- {
- client.Entity.Teleport(1002, 429, 378);
- }
- break;
- }
- }
- break;
- #endregion
- #region OldPK
- case 1234565:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join OldPK?.");
- dialog.Option("Yes Please", 1);
- dialog.Option("Not now.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Minute >= 43 && DateTime.Now.Minute <= 45)
- {
- client.Entity.Teleport(5451, 67, 34);
- }
- else
- {
- dialog.Text("[OldPK] War is held during xx:43 To xx:45 in every Hour");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region OldPK Prize
- case 12345655:
- 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 Need To Leave", 2);
- dialog.Option("I don't care.", 0xff);
- dialog.Send();
- break;
- }
- case 1:
- {
- int alive = 0;
- foreach (HarryPotter.Client.GameState players in HarryPotter.Kernel.GamePool.Values)
- if (players.Entity.MapID == 5451 && (!players.Entity.Dead))
- alive++;
- if (DateTime.Now.Minute >= 45 && DateTime.Now.Minute <= 46)
- {
- if (alive == 1)
- {
- client.Entity.ConquerPoints += CPanel.LasTMan;
- client.Entity.RemoveFlag(Update.Flags.Ride);
- client.Entity.AddFlag3(HarryPotter.Network.GamePackets.Update.Flags3.ConuqerSuperBlue);
- HarryPotter.Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + "You Winner Quest OldPK Prize 100000 CPs.", System.Drawing.Color.Black, Message.Center), Program.Values);
- client.Entity.SendSpawn(client, true);
- client.Entity.Teleport(1002, 428, 378);
- EntityTable.SaveEntity(client);
- }
- else
- {
- dialog.Text("There are still " + Daily.howmanyinmap + " players in the map kill it first to claim prize!");
- dialog.Option("okay", 0xff);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("Hey there " + client.Entity.Name + "You can only claim the prize when the time on or after xx:45");
- dialog.Option("okay", 0xff);
- dialog.Send();
- }
- break;
- }
- case 2:
- {
- {
- client.Entity.Teleport(1002, 429, 378);
- }
- break;
- }
- }
- break;
- #endregion
- #region LastMan
- case 54238:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join LastManStanding PKWar?.");
- dialog.Option("Yes Please", 1);
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- DateTime Now64 = DateTime.Now;
- if (Now64.Minute >= 30 && Now64.Minute <= 33)
- {
- Random R = new Random();
- int Nr = R.Next(1, 10);
- if (Nr == 1) client.Entity.Teleport(3333, 51, 73);
- if (Nr == 2) client.Entity.Teleport(3333, 33, 34);
- if (Nr == 3) client.Entity.Teleport(3333, 67, 34);
- if (Nr == 4) client.Entity.Teleport(3333, 51, 73);
- if (Nr == 5) client.Entity.Teleport(3333, 33, 34);
- if (Nr == 6) client.Entity.Teleport(3333, 67, 34);
- if (Nr == 7) client.Entity.Teleport(3333, 51, 73);
- if (Nr == 8) client.Entity.Teleport(3333, 33, 34);
- if (Nr == 9) client.Entity.Teleport(3333, 67, 34);
- if (Nr == 10) client.Entity.Teleport(3333, 68, 57);
- }
- else
- {
- dialog.Text("LastManStanding Pk War is held during xx:30 to xx:33 you have 3 min to signup ");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Winner of LastMan
- case 54235:
- {
- 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.CheackAlive2();
- DateTime Now64 = DateTime.Now;
- if (DateTime.Now.Minute >= 34 && DateTime.Now.Minute <= 35)
- {
- if (Daily.howmanyinmap2 == 1)
- {
- //#warning LAST MAN PRIZE
- client.Entity.ConquerPoints += CPanel.LasTMan;
- HarryPotter.Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " claimed the prize 100,000 ConquerPoints for winning the LastManStanding for this Hour.", System.Drawing.Color.Black, Message.Center), Program.Values);
- client.Entity.SendSpawn(client, true);
- client.Entity.AddTopStatus(Network.GamePackets.Update.Flags2.Top8Trojan, DateTime.Now.AddHours(1));
- client.Entity.Teleport(1002, 429, 378);
- }
- else
- {
- dialog.Text("There are still " + Daily.howmanyinmap + " 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:34");
- dialog.Option("okay", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region DailyPkWar
- case 231400:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join the Daily PKWar?.");
- dialog.Option("Yes Please", 1);
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- var Now64 = DateTime.Now;
- if (Now64.Minute >= 39 && Now64.Minute <= 41)
- {
- client.Entity.Teleport(8877, 150, 162);
- }
- else
- {
- dialog.Text("Daily Pk War is held during xx:39 in every day");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Winner of DailyPk NPC 231500
- case 231500:
- {
- 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.CheackAlive();
- var Now64 = DateTime.Now;
- if (DateTime.Now.Minute >= 41 && DateTime.Now.Minute <= 43)
- {
- if (Daily.howmanyinmap == 1)
- {
- //#warning DAILY PK PRIZE
- client.Entity.ConquerPoints += CPanel.DailyPk;
- //client.Entity.Status3 = 1;
- HarryPotter.Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " claimed the prize 100,000 ConquerPoints for winning the DailyPk for this Hour.", System.Drawing.Color.Black, Message.Center), Program.Values);
- client.Entity.AddTopStatus(Network.GamePackets.Update.Flags2.Top3Trojan, DateTime.Now.AddHours(1));
- client.Entity.SendSpawn(client, true);
- client.Entity.Teleport(1002, 429, 378);
- //EntityTable.SaveEntity(client);
- }
- else
- {
- dialog.Text("There are still " + Daily.howmanyinmap + " 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:41");
- dialog.Option("okay", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region top guild
- #region Sign up
- case 1478569:
- {//MeToOo
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("HI its the new war for guild Deputy will play with themself and leaders and members");
- dialog.Option("i want to join it please", 1);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Minute >= 40 && DateTime.Now.Minute <= 45)
- {
- if (client.Entity.GuildRank == (ushort)Game.Enums.GuildMemberRank.GuildLeader)
- {//MeToOo
- client.Entity.Teleport(1458, 96, 113);
- }//MeToOo
- else if (client.Entity.GuildRank == (ushort)Game.Enums.GuildMemberRank.DeputyLeader)
- {
- client.Entity.Teleport(1459, 96, 113);
- }
- else
- {//MeToOo
- client.Entity.Teleport(1460, 96, 113);
- }//MeToOo
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Winner for leader
- case 15165:
- {
- switch (npcRequest.OptionID)
- {//MeToOo
- 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://MeToOo
- {
- int alive = 0;
- foreach (HarryPotter.Client.GameState players in Program.Values)
- if (players.Entity.MapID == 1458 && (!players.Entity.Dead))
- alive++;
- client.Send(new Message("there are in map" + alive + "", System.Drawing.Color.Azure, Message.TopLeft));
- if (DateTime.Now.Minute >= 46 && DateTime.Now.Minute <= 48)
- {//MeToOo
- if (alive == 1)
- {
- client.Entity.ConquerPoints += rates.DragonBall;
- Kernel.SendWorldMessage(new Message("Congratulations! GuildLeader " + client.Entity.Name + " claimed the prize 215 ConquerPoints for winning the Top Guild Man for this Hour. ", System.Drawing.Color.Black, Message.Center), Program.Values);
- client.Entity.Teleport(1002, 429, 378);
- //MeToOo
- }
- else
- {
- dialog.Text("There are still " + alive + " players in the map kill it first to claim prize!");
- dialog.Option("okay", 255);
- dialog.Send();
- break;
- }
- }//MeToOo
- else
- {
- dialog.Text("Hey there " + client.Entity.Name + "You can only claim the prize when the time on or after 46 To 48 ");
- dialog.Option("okay", 255);
- dialog.Send();
- break;
- }//MeToOo
- break;
- }
- }
- break;
- }
- #endregion
- #region Winner for debuty
- case 151652:
- {
- switch (npcRequest.OptionID)
- {
- case 0://MeToOo
- {
- 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:
- {//for debuty
- int alive = 0;
- foreach (HarryPotter.Client.GameState players in Program.Values)
- if (players.Entity.MapID == 1459 && (!players.Entity.Dead))
- alive++;
- client.Send(new Message("there are in map" + alive + "", System.Drawing.Color.Azure, Message.TopLeft));
- if (DateTime.Now.Minute >= 46 && DateTime.Now.Minute <= 48)
- {
- if (alive == 1)
- {//MeToOo
- client.Entity.ConquerPoints += rates.DeathMatchs;
- Kernel.SendWorldMessage(new Message("Congratulations! DeputyLeader " + client.Entity.Name + " claimed the prize " + rates.DeathMatchs + " ConquerPoints for winning the Top Guild Man for this Hour. ", System.Drawing.Color.Black, Message.Center), Program.Values);
- client.Entity.Teleport(1002, 429, 378);
- }//MeToOo
- 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 46 To 48 ");
- dialog.Option("okay", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Winner for members
- case 151653://MeToOo
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {//MeToOo
- 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;
- }//MeToOo
- case 1:
- {//for members
- int alive = 0;
- foreach (HarryPotter.Client.GameState players in Program.Values)
- if (players.Entity.MapID == 1460 && (!players.Entity.Dead))
- alive++;
- client.Send(new Message("there are in map" + alive + "", System.Drawing.Color.Azure, Message.TopLeft));
- if (DateTime.Now.Minute >= 46 && DateTime.Now.Minute <= 48)
- {
- if (alive == 1)
- {//MeToOo
- client.Entity.ConquerPoints += rates.Shit;
- Kernel.SendWorldMessage(new Message("Congratulations! Member " + client.Entity.Name + " claimed the prize 500k ConquerPoints for winning the Top Guild Man for this Hour. ", System.Drawing.Color.Black, Message.Center), Program.Values);
- client.Entity.Teleport(1002, 428, 380);
- }
- else//MeToOo
- {
- dialog.Text("There are still " + alive + " players in the map kill it first to claim prize!");
- dialog.Option("okay", 255);
- dialog.Send();
- break;
- }//MeToOo
- }
- else
- {
- dialog.Text("Hey there " + client.Entity.Name + "You can only claim the prize when the time on or after 46 To 48 ");
- dialog.Option("okay", 255);
- dialog.Send();
- break;
- }//MeToOo
- break;
- }
- }
- break;
- }
- #endregion
- #endregion
- #region LastTeam Fight
- case 16416:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hello " + client.Entity.Name + " This Is LastTeam Standing join now And Get Honer For Ur Team");
- dialog.Option("let me join", 1);
- break;
- }
- case 1:
- DateTime Now64 = DateTime.Now;
- if (Now64.Minute >= 10 && Now64.Minute <= 15)
- {
- if (client.Team != null)
- {
- if (client.Team.TeamLeader)
- {
- foreach (GameState clients in client.Team.Teammates)
- {
- clients.Entity.Teleport(16414, 50, 50);
- }
- }
- else
- client.Entity.Teleport(16414, 50, 50);
- client.Entity.PKMode = Game.Enums.PKMode.Team;
- client.Send(new Network.GamePackets.Data(true) { UID = client.Entity.UID, ID = Network.GamePackets.Data.ChangePKMode, dwParam = (uint)client.Entity.PKMode });
- }
- else
- {
- dialog.Text("You Are Not In Team");
- dialog.Option("okay", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("This is not the right time Come Later at xx:10 in every hour");
- dialog.Option("okay", 255);
- dialog.Send();
- }
- break;
- }
- break;
- }
- #region LastTeam Fight Winer
- case 16417:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- foreach (GameState clients in Program.Values)
- {
- if (clients.Entity.MapID == 6414)
- clients.Entity.SendScoreLAstTeam(clients);
- }
- dialog.Text("Hello " + client.Entity.Name + " There Are : " + Entity.Leadrinmap + " Team Leader In Map And " + Entity.Memberrinmap + " Normal Player In Map");
- dialog.Option("Give ME My Prize", 1);
- dialog.Send();
- break;
- }
- case 1:
- DateTime Now64 = DateTime.Now;
- if (Now64.Minute >= 17 && Now64.Minute <= 19)
- {
- client.Entity.SendScoreLAstTeam(client);
- Game.Attacking.Handle.cheakteam(client, dialog);
- }
- else
- {
- dialog.Text("Not Yet wait to ");
- dialog.Option("okay", 255);
- dialog.Send();
- }
- break;
- }
- break;
- }
- #endregion
- #endregion
- #region Altar Top
- case 963262:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Altar Top.");
- 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(3221, 50, 50);
- }
- else
- {
- dialog.Text("PAltar Top is Start on this time xx:13 To xx:15 in every Hour");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Winner Altar Top
- case 963263:
- {
- 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 (HarryPotter.Client.GameState players in HarryPotter.Kernel.GamePool.Values)
- if (players.Entity.MapID == 3221 && (!players.Entity.Dead))
- alive++;
- Kernel.SendWorldMessage(new HarryPotter.Network.GamePackets.Message("Players Alive in Altar Top: " + alive + " ", System.Drawing.Color.Black, HarryPotter.Network.GamePackets.Message.FirstRightCorner), Program.Values);
- if (DateTime.Now.Minute >= 15 && DateTime.Now.Minute <= 16)
- {
- if (alive == 1)
- {
- client.Entity.Update(_String.Effect, "cortege", true);
- client.Entity.ConquerPoints += CPanel.HQuests;
- client.Entity.AddTopStatus2(Update.Flags2.Top8Fire, DateTime.Now.AddHours(1));
- Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " has got " + CPanel.HQuests + " Cps For Winning Altar Top For This Hour.", System.Drawing.Color.Black, Message.Center), Program.Values);
- 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 him 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:15 To xx:16 ");
- dialog.Option("okay", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Speed Top
- case 963260:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Speed Top.");
- dialog.Option("Yes Please", 1);
- dialog.Option("Not now.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Minute >= 28 && DateTime.Now.Minute <= 30)
- {
- client.Entity.Teleport(3218, 50, 50);
- }
- else
- {
- dialog.Text("PSpeed Top is Start on this time xx:28 To xx:30 in every Hour");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Winner Speed Top
- case 963261:
- {
- 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 (HarryPotter.Client.GameState players in HarryPotter.Kernel.GamePool.Values)
- if (players.Entity.MapID == 3218 && (!players.Entity.Dead))
- alive++;
- Kernel.SendWorldMessage(new HarryPotter.Network.GamePackets.Message("Players Alive in Speed Top: " + alive + " ", System.Drawing.Color.Black, HarryPotter.Network.GamePackets.Message.FirstRightCorner), Program.Values);
- if (DateTime.Now.Minute >= 30 && DateTime.Now.Minute <= 31)
- {
- if (alive == 1)
- {
- client.Entity.Update(_String.Effect, "cortege", true);
- client.Entity.ConquerPoints += CPanel.HQuests;
- client.Entity.AddTopStatus2(Network.GamePackets.Update.Flags2.Top8Ninja, DateTime.Now.AddHours(1));
- Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " has got " + CPanel.HQuests + " Cps For Winning Speed Top For This Hour.", System.Drawing.Color.Black, Message.Center), Program.Values);
- 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 him 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:30 To xx31 ");
- dialog.Option("okay", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Assassin Top
- case 963258:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Assassin Top.");
- dialog.Option("Yes Please", 1);
- dialog.Option("Not now.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Minute >= 55 && DateTime.Now.Minute <= 56)
- {
- client.Entity.Teleport(3217, 50, 50);
- }
- else
- {
- dialog.Text("PAssassin Top is Start on this time xx:55 To xx:56 in every Hour");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Winner Assassin Top
- case 963259:
- {
- 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 (HarryPotter.Client.GameState players in HarryPotter.Kernel.GamePool.Values)
- if (players.Entity.MapID == 3217 && (!players.Entity.Dead))
- alive++;
- Kernel.SendWorldMessage(new HarryPotter.Network.GamePackets.Message("Players Alive in Assassin Top: " + alive + " ", System.Drawing.Color.Black, HarryPotter.Network.GamePackets.Message.FirstRightCorner), Program.Values);
- if (DateTime.Now.Minute >= 56 && DateTime.Now.Minute <= 58)
- {
- if (alive == 1)
- {
- client.Entity.Update(_String.Effect, "cortege", true);
- client.Entity.ConquerPoints += CPanel.HQuests;
- client.Entity.AddTopStatus2(Network.GamePackets.Update.Flags2.Top3Fire, DateTime.Now.AddHours(1));
- Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " has got " + CPanel.HQuests + " Cps For Winning Assassin Top For This Hour.", System.Drawing.Color.Black, Message.Center), Program.Values);
- 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 him 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:56 To xx:58 ");
- dialog.Option("okay", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Fastest Top
- case 9632581:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Fastest Top.");
- dialog.Option("Yes Please", 1);
- dialog.Option("Not now.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Minute >= 18 && DateTime.Now.Minute <= 19)
- {
- client.Entity.Teleport(3235, 50, 50);
- }
- else
- {
- dialog.Text("Fastet Top is Start on this time xx:18 to xx:19 in every Hour");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Winner Fastet Top
- case 9632591:
- {
- 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 (HarryPotter.Client.GameState players in HarryPotter.Kernel.GamePool.Values)
- if (players.Entity.MapID == 3235 && (!players.Entity.Dead))
- alive++;
- Kernel.SendWorldMessage(new HarryPotter.Network.GamePackets.Message("Players Alive in Fastest Top: " + alive + " ", System.Drawing.Color.Black, HarryPotter.Network.GamePackets.Message.FirstRightCorner), Program.Values);
- if (DateTime.Now.Minute >= 19 && DateTime.Now.Minute <= 20)
- {
- if (alive == 1)
- {
- client.Entity.Update(_String.Effect, "cortege", true);
- client.Entity.ConquerPoints += CPanel.HQuests;
- client.Entity.AddTopStatus2(Network.GamePackets.Update.Flags2.Top8Trojan, DateTime.Now.AddHours(1));
- Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " has got " + CPanel.HQuests + " Cps For Winning Fastest Top For This Hour.", System.Drawing.Color.Black, Message.Center), Program.Values);
- 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 him 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:19 To xx:20 ");
- dialog.Option("okay", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Dragon Top
- case 9632582:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Dragon Top.");
- dialog.Option("Yes Please", 1);
- dialog.Option("Not now.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Minute >= 56 && DateTime.Now.Minute <= 57)
- {
- client.Entity.Teleport(3219, 50, 50);
- }
- else
- {
- dialog.Text("Dragon Top is Start on this time xx:56 To xx:57 in every Hour");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Winner Dragon Top
- case 9632592:
- {
- 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 (HarryPotter.Client.GameState players in HarryPotter.Kernel.GamePool.Values)
- if (players.Entity.MapID == 3219 && (!players.Entity.Dead))
- alive++;
- Kernel.SendWorldMessage(new HarryPotter.Network.GamePackets.Message("Players Alive in Dragon Top: " + alive + " ", System.Drawing.Color.Black, HarryPotter.Network.GamePackets.Message.FirstRightCorner), Program.Values);
- if (DateTime.Now.Minute >= 57 && DateTime.Now.Minute <= 58)
- {
- if (alive == 1)
- {
- client.Entity.Update(_String.Effect, "cortege", true);
- client.Entity.ConquerPoints += CPanel.HQuests;
- client.Entity.AddTopStatus2(Network.GamePackets.Update.Flags2.Top2Trojan, DateTime.Now.AddHours(1));
- Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " has got " + CPanel.HQuests + " Cps For Winning Dragon Top For This Hour.", System.Drawing.Color.Black, Message.Center), Program.Values);
- 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 him 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:58 ");
- dialog.Option("okay", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Crazy Fighter Top
- case 9632583:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Crazy Fighter War.");
- dialog.Option("Yes Please", 1);
- dialog.Option("Not now.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Minute >= 57 && DateTime.Now.Minute <= 58)
- {
- client.Entity.Teleport(3229, 50, 50);
- }
- else
- {
- dialog.Text("Crazy Fighter War is Start on this time xx:57 To xx:58 in every Hour");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Winner Crazy Fighter Top
- case 9632593:
- {
- 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 (HarryPotter.Client.GameState players in HarryPotter.Kernel.GamePool.Values)
- if (players.Entity.MapID == 3229 && (!players.Entity.Dead))
- alive++;
- Kernel.SendWorldMessage(new HarryPotter.Network.GamePackets.Message("Players Alive in Crazy Fighter War: " + alive + " ", System.Drawing.Color.Black, HarryPotter.Network.GamePackets.Message.FirstRightCorner), Program.Values);
- if (DateTime.Now.Minute >= 58 && DateTime.Now.Minute <= 59)
- {
- if (alive == 1)
- {
- client.Entity.Update(_String.Effect, "cortege", true);
- client.Entity.ConquerPoints += CPanel.CrazyFight;
- client.Entity.AddTopStatus2(Network.GamePackets.Update.Flags2.Top8Pirate, DateTime.Now.AddHours(1));
- Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " has got " + CPanel.HQuests + " Cps For Winning Crazy Fighter War For This Hour.", System.Drawing.Color.Black, Message.Center), Program.Values);
- 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 him 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:58 To xx:59 ");
- dialog.Option("okay", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Forgtten World Top
- case 9632585:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Forgtten World Top.");
- dialog.Option("Yes Please", 1);
- dialog.Option("Not now.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Minute >= 58 && DateTime.Now.Minute <= 59)
- {
- client.Entity.Teleport(3231, 50, 50);
- }
- else
- {
- dialog.Text("Forgtten World Top is Start on this time xx:58 To xx:59 in every Hour");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Winner Forgtten World Top
- case 9632595:
- {
- 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 (HarryPotter.Client.GameState players in HarryPotter.Kernel.GamePool.Values)
- if (players.Entity.MapID == 3231 && (!players.Entity.Dead))
- alive++;
- Kernel.SendWorldMessage(new HarryPotter.Network.GamePackets.Message("Players Alive in Forgtten World Top: " + alive + " ", System.Drawing.Color.Black, HarryPotter.Network.GamePackets.Message.FirstRightCorner), Program.Values);
- if (DateTime.Now.Minute >= 00 && DateTime.Now.Minute <= 01)
- {
- if (alive == 1)
- {
- client.Entity.Update(_String.Effect, "cortege", true);
- client.Entity.ConquerPoints += CPanel.HQuests;
- client.Entity.AddTopStatus2(Network.GamePackets.Update.Flags2.Top3Ninja, DateTime.Now.AddHours(1));
- Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " has got " + CPanel.HQuests + " Cps For Winning Forgtten World Top For This Hour.", System.Drawing.Color.Black, Message.Center), Program.Values);
- 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 him 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:00 To xx:01 ");
- dialog.Option("okay", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Snow White Top
- case 9632586:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Snow White Top.");
- dialog.Option("Yes Please", 1);
- dialog.Option("Not now.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Minute >= 00 && DateTime.Now.Minute <= 01)
- {
- client.Entity.Teleport(3222, 50, 50);
- }
- else
- {
- dialog.Text("Snow White Top is Start on this time xx:00 To xx:01 in every Hour");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Winner Snow White Top
- case 9632596:
- {
- 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 (HarryPotter.Client.GameState players in HarryPotter.Kernel.GamePool.Values)
- if (players.Entity.MapID == 3222 && (!players.Entity.Dead))
- alive++;
- Kernel.SendWorldMessage(new HarryPotter.Network.GamePackets.Message("Players Alive in Snow White Top: " + alive + " ", System.Drawing.Color.Black, HarryPotter.Network.GamePackets.Message.FirstRightCorner), Program.Values);
- if (DateTime.Now.Minute >= 01 && DateTime.Now.Minute <= 02)
- {
- if (alive == 1)
- {
- client.Entity.Update(_String.Effect, "cortege", true);
- client.Entity.ConquerPoints += CPanel.HQuests;
- client.Entity.AddTopStatus2(Network.GamePackets.Update.Flags2.Top2Pirate, DateTime.Now.AddHours(1));
- Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " has got " + CPanel.HQuests + " Cps For Winning Snow White Top For This Hour.", System.Drawing.Color.Black, Message.Center), Program.Values);
- 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 him 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:01 To xx:02 ");
- dialog.Option("okay", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Cps War Top
- case 9632587:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Cps War.");
- dialog.Option("Yes Please", 1);
- dialog.Option("Not now.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Minute >= 02 && DateTime.Now.Minute <= 03)
- {
- client.Entity.Teleport(3223, 50, 50);
- }
- else
- {
- dialog.Text("Cps War Top is Start on this time xx:02 To xx:03 in every Hour");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Winner Cps War Top
- case 9632597:
- {
- 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 (HarryPotter.Client.GameState players in HarryPotter.Kernel.GamePool.Values)
- if (players.Entity.MapID == 3223 && (!players.Entity.Dead))
- alive++;
- Kernel.SendWorldMessage(new HarryPotter.Network.GamePackets.Message("Players Alive in Cps War: " + alive + " ", System.Drawing.Color.Black, HarryPotter.Network.GamePackets.Message.FirstRightCorner), Program.Values);
- if (DateTime.Now.Minute >= 03 && DateTime.Now.Minute <= 04)
- {
- if (alive == 1)
- {
- client.Entity.Update(_String.Effect, "cortege", true);
- client.Entity.ConquerPoints += 300000;
- client.Entity.AddTopStatus2(Network.GamePackets.Update.Flags2.Top3Fire, DateTime.Now.AddHours(1));
- Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " has got " + CPanel.HQuests + " Cps For Winning Cps War Top For This Hour.", System.Drawing.Color.Black, Message.Center), Program.Values);
- 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 him 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:03 To xx:04 ");
- dialog.Option("okay", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region MemperPK Top
- case 9632588:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join MemperPK Top.");
- dialog.Option("Yes Please", 1);
- dialog.Option("Not now.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Minute >= 04 && DateTime.Now.Minute <= 05)
- {
- client.Entity.Teleport(3224, 50, 50);
- }
- else
- {
- dialog.Text("MemperPK Top is Start on this time xx:04 To xx:05 in every Hour");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Winner MemperPK Top
- case 9632598:
- {
- 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 (HarryPotter.Client.GameState players in HarryPotter.Kernel.GamePool.Values)
- if (players.Entity.MapID == 3224 && (!players.Entity.Dead))
- alive++;
- Kernel.SendWorldMessage(new HarryPotter.Network.GamePackets.Message("Players Alive in MemperPK Top: " + alive + " ", System.Drawing.Color.Black, HarryPotter.Network.GamePackets.Message.FirstRightCorner), Program.Values);
- if (DateTime.Now.Minute >= 05 && DateTime.Now.Minute <= 06)
- {
- if (alive == 1)
- {
- client.Entity.Update(_String.Effect, "cortege", true);
- client.Entity.ConquerPoints += CPanel.TopMember;
- client.Entity.AddTopStatus2(Network.GamePackets.Update.Flags2.Top2Monk, DateTime.Now.AddHours(1));
- Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " has got " + CPanel.HQuests + " Cps For Winning MemperPK Top For This Hour.", System.Drawing.Color.Black, Message.Center), Program.Values);
- 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 him 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:05 To xx:06 ");
- dialog.Option("okay", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Money Top
- case 9632589:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Money Top.");
- dialog.Option("Yes Please", 1);
- dialog.Option("Not now.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Minute >= 06 && DateTime.Now.Minute <= 07)
- {
- client.Entity.Teleport(3225, 50, 50);
- }
- else
- {
- dialog.Text("Money Top is Start on this time xx:06 To xx:07 in every Hour");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Winner Money Top
- case 9632599:
- {
- 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 (HarryPotter.Client.GameState players in HarryPotter.Kernel.GamePool.Values)
- if (players.Entity.MapID == 3225 && (!players.Entity.Dead))
- alive++;
- Kernel.SendWorldMessage(new HarryPotter.Network.GamePackets.Message("Players Alive in Money Top: " + alive + " ", System.Drawing.Color.Black, HarryPotter.Network.GamePackets.Message.FirstRightCorner), Program.Values);
- if (DateTime.Now.Minute >= 07 && DateTime.Now.Minute <= 08)
- {
- if (alive == 1)
- {
- client.Entity.Update(_String.Effect, "cortege", true);
- client.Entity.ConquerPoints += 100000;
- client.Entity.AddTopStatus2(Network.GamePackets.Update.Flags2.Top3Monk, DateTime.Now.AddHours(1));
- Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " has got " + CPanel.HQuests + " Cps For Winning Money Top For This Hour.", System.Drawing.Color.Black, Message.Center), Program.Values);
- 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 him 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:07 To xx:08 ");
- dialog.Option("okay", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Winner Top MRConquerHost
- case 301052:
- {
- 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 (HarryPotter.Client.GameState players in Program.Values)
- if (players.Entity.MapID == 1598 && (!players.Entity.Dead))
- alive++;
- Kernel.SendWorldMessage(new HarryPotter.Network.GamePackets.Message("Players Alive in Top Top MRConquerHost: " + alive + " ", System.Drawing.Color.Black, HarryPotter.Network.GamePackets.Message.FirstRightCorner), Program.Values);
- if (DateTime.Now.Minute == 26 && DateTime.Now.Minute <= 28)
- {
- if (alive == 1)
- {
- // client.Entity.Update(_String.Effect, "cortege", true);
- client.Entity.ConquerPoints += CPanel.MrConquer;
- client.Entity.AddTopStatus2(Network.GamePackets.Update.Flags3.MrConquer, DateTime.Now.AddHours(1));
- Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " has got " + CPanel.MrConquer + " Cps For Winning Top MRConquerHost For This Hour.", System.Drawing.Color.Black, Message.Center), Program.Values);
- 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 him 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:26 To xx:28 ");
- dialog.Option("okay", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- case 301053:
- {
- 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 (HarryPotter.Client.GameState players in Program.Values)
- if (players.Entity.MapID == 1599 && (!players.Entity.Dead))
- alive++;
- Kernel.SendWorldMessage(new HarryPotter.Network.GamePackets.Message("Players Alive in Top Top MSConquerHost: " + alive + " ", System.Drawing.Color.Black, HarryPotter.Network.GamePackets.Message.FirstRightCorner), Program.Values);
- if (DateTime.Now.Minute == 26 && DateTime.Now.Minute <= 28)
- {
- if (alive == 1)
- {
- // client.Entity.Update(_String.Effect, "cortege", true);
- client.Entity.ConquerPoints += CPanel.MsConquer;
- client.Entity.AddTopStatus2(Network.GamePackets.Update.Flags3.MsConquerHostess, DateTime.Now.AddHours(1));
- Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " has got " + CPanel.MsConquer + " Cps For Winning Top MsConquerHost For This Hour.", System.Drawing.Color.Black, Message.Center), Program.Values);
- 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 him 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:26 To xx:28 ");
- dialog.Option("okay", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region MSConquer And MRConquer
- case 21: // MS
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- if (client.Entity.Body == 2001 || client.Entity.Body == 2002)
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Ms Conquer Quest ?.");
- dialog.Option("Yes Please", 1);
- dialog.Option("No ThanQ ", 255);
- dialog.Avatar(120);
- dialog.Send();
- }
- else
- {
- {
- dialog.Text("Sorry you can Join Quest this only For Girl !.");
- dialog.Option("I see.", 255);
- dialog.Avatar(120);
- dialog.Send();
- }
- }
- break;
- }
- case 1:
- {
- DateTime Now64 = DateTime.Now;
- if (Now64.Minute >= 23 && Now64.Minute <= 25)
- {
- Random R = new Random();
- int Nr = R.Next(1, 10);
- if (Nr == 1) client.Entity.Teleport(1599, 51, 73);
- if (Nr == 2) client.Entity.Teleport(1599, 33, 34);
- if (Nr == 3) client.Entity.Teleport(1599, 67, 34);
- if (Nr == 4) client.Entity.Teleport(1599, 51, 73);
- if (Nr == 5) client.Entity.Teleport(1599, 33, 34);
- if (Nr == 6) client.Entity.Teleport(1599, 67, 34);
- if (Nr == 7) client.Entity.Teleport(1599, 51, 73);
- if (Nr == 8) client.Entity.Teleport(1599, 33, 34);
- if (Nr == 9) client.Entity.Teleport(1599, 67, 34);
- if (Nr == 10) client.Entity.Teleport(1599, 68, 57);
- client.Entity.Update(_String.Effect, "zf2-e360", true);
- }
- else
- {
- dialog.Text("MsConquer Pk War is held during xx:23 to xx:25 you have 2 min to signup ");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- }
- break;
- }
- }
- break;
- }
- case 22: // MR
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- if (client.Entity.Body == 1003 || client.Entity.Body == 1004)
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join MR Conquer Quest ?.");
- dialog.Option("Yes Please", 1);
- dialog.Option("No ThanQ ", 255);
- dialog.Avatar(120);
- dialog.Send();
- }
- else
- {
- {
- dialog.Text("Sorry you can Join Quest this only For Boy !.");
- dialog.Option("I see.", 255);
- dialog.Avatar(120);
- dialog.Send();
- }
- }
- break;
- }
- case 1:
- {
- DateTime Now64 = DateTime.Now;
- if (Now64.Minute >= 23 && Now64.Minute <= 25)
- {
- Random R = new Random();
- int Nr = R.Next(1, 10);
- if (Nr == 1) client.Entity.Teleport(1598, 51, 73);
- if (Nr == 2) client.Entity.Teleport(1598, 33, 34);
- if (Nr == 3) client.Entity.Teleport(1598, 67, 34);
- if (Nr == 4) client.Entity.Teleport(1598, 51, 73);
- if (Nr == 5) client.Entity.Teleport(1598, 33, 34);
- if (Nr == 6) client.Entity.Teleport(1598, 67, 34);
- if (Nr == 7) client.Entity.Teleport(1598, 51, 73);
- if (Nr == 8) client.Entity.Teleport(1598, 33, 34);
- if (Nr == 9) client.Entity.Teleport(1598, 67, 34);
- if (Nr == 10) client.Entity.Teleport(1598, 68, 57);
- client.Entity.Update(_String.Effect, "zf2-e360", true);
- }
- else
- {
- dialog.Text("MRConquer Pk War is held during xx:23 to xx:25 you have 2 min to signup ");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- }
- break;
- }
- }
- break;
- }
- #endregion
- #endregion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement