Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #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:
- {
- if (DateTime.Now.Minute >= 40 && DateTime.Now.Minute <= 42)
- {
- if (client.Entity.ContainsFlag(Update.Flags.Ride))
- {
- client.Entity.RemoveFlag(Update.Flags.Ride);
- }
- 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
- {
- 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:
- {
- 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 (Manboy00_ASD.Client.GameClient players in Program.GamePool)
- if (players.Entity.MapID == 1811 && (!players.Entity.Dead))
- alive++;
- Kernel.SendWorldMessage(new Manboy00_ASD.Network.GamePackets.Message("Players Alive in OneHit: " + alive + " ", System.Drawing.Color.Black, Manboy00_ASD.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;
- //Game.Flags.AddTopConquer(client);
- //client.Entity.AddFlag2(Manboy00_ASD.Network.GamePackets.Update.Flags2.WeeklyTop8Pk);
- 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, 300, 280);
- 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 LordsWar
- case 45720:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hello " + client.Entity.Name + " I'm The WarLord I Can let you Join the LordsWar Event 1 time .");
- dialog.Text("Everyday u can signup and enjoy the event for 30 Minutes at this time [<20.30> FoR <21.00>].");
- dialog.Text("you need to have Join 1kk cps in your inventory if you killed any player u will drop 1kk from him also if u died u will lose 1Kk cps [Warning ThiS QuesT JusT FoR Men]");
- dialog.Option("Leme Join.", 1);
- dialog.Option("Just Passing By!.", 255);
- dialog.Avatar(116);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Hour == 20 && DateTime.Now.Minute >= 30 && DateTime.Now.Minute < 59)
- {
- if (client.Entity.ConquerPoints >= 1000000)
- {
- if (client.Entity.ContainsFlag(Update.Flags.Ride))
- {
- client.Entity.RemoveFlag(Update.Flags.Ride);
- }
- client.Entity.Teleport(5555, 39, 35);
- dialog.Text("Defeat other players to gain cps and be carefull if u died u will lose 1Kk cps GoodLuck!.");
- dialog.Option("Thanks.", 255);
- dialog.Avatar(116);
- dialog.Send();
- }
- else
- {
- dialog.Text("Sorry you dont have 1Kk Cps i Cant let u Join LordsWar Tourment");
- dialog.Option("Okay sorry.", 255);
- dialog.Avatar(116);
- dialog.Send();
- }
- break;
- }
- else
- {
- dialog.Text("Sorry i cant let you join the event now come again later at the event times.");
- dialog.Option("Okay sorry.", 255);
- dialog.Avatar(116);
- dialog.Send();
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Winner LordsWar
- case 741301:
- {
- 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 (Manboy00_ASD.Client.GameClient players in Program.GamePool)
- if (players.Entity.MapID == 3214 && (!players.Entity.Dead))
- alive++;
- Kernel.SendWorldMessage(new Manboy00_ASD.Network.GamePackets.Message("Players Alive in Life~Pk: " + alive + " ", System.Drawing.Color.Black, Manboy00_ASD.Network.GamePackets.Message.FirstRightCorner), Program.GamePool);
- if (DateTime.Now.Minute >= 00 && DateTime.Now.Minute <= 59)
- {
- if (alive == 100)
- {
- client.Entity.Update(_String.Effect, "break_start", true);
- client.Entity.ConquerPoints += rates.LastMan;
- //Game.Flags.AddTopConquer(client);
- //client.Entity.AddFlag2(Manboy00_ASD.Network.GamePackets.Update.Flags2.WeeklyTop8Pk);
- // 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, 300, 280);
- 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:00 To xx:59 ");
- dialog.Option("okay", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- //----------------------//
- #region PeoplesChampion War
- case 333329:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join the PeoplesChampion War ?.");
- 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("PeoplesChampion War 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 PeoplesChampion War
- 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);
- dialog.Send();
- break;
- }
- case 1:
- {
- int alive = 0;
- foreach (Manboy00_ASD.Client.GameClient players in Program.GamePool)
- if (players.Entity.MapID == 9391 && (!players.Entity.Dead))
- alive++;
- Kernel.SendWorldMessage(new Manboy00_ASD.Network.GamePackets.Message("Players Alive in PeoplesChampion War: " + alive + " ", System.Drawing.Color.Black, Manboy00_ASD.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;
- Game.Flags.AddTopGentle(client);
- client.Entity.AddFlag2(Manboy00_ASD.Network.GamePackets.Update.Flags2.Top3Water);
- Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " Has Won " + rates.LastMan + " Cps For Winning PeoplesChampion War For This Hour And Halo.", 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("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 The Eral War
- case 333377:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join the The Eral War ?.");
- dialog.Option("Yes Please", 1);
- dialog.Option("Not now.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Minute >= 35 && DateTime.Now.Minute <= 37)
- {
- if (client.Entity.ContainsFlag(Update.Flags.Ride))
- {
- client.Entity.RemoveFlag(Update.Flags.Ride);
- }
- client.Entity.Teleport(9392, 50, 50);
- }
- else
- {
- dialog.Text("The Eral War 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 The Eral War
- 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 (Manboy00_ASD.Client.GameClient players in Program.GamePool)
- if (players.Entity.MapID == 9392 && (!players.Entity.Dead))
- alive++;
- Kernel.SendWorldMessage(new Manboy00_ASD.Network.GamePackets.Message("Players Alive in The Eral War: " + alive + " ", System.Drawing.Color.Black, Manboy00_ASD.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;
- Game.Flags.AddTopCrazy(client);
- client.Entity.AddFlag2(Manboy00_ASD.Network.GamePackets.Update.Flags2.Top3Warrior);
- Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " Has Won " + rates.LastMan + " Cps For Winning The Eral War For This Hour And Halo.", 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("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 First Events
- #region TopDonation Event Daily ID =95550
- case 95550:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hello hero [" + client.Entity.Name + "] There is new Event it Called TopDonation like its war betten nobiles ranks every Kings there is map for Them and Princes have another map");
- dialog.Text("..etc as ranks This. Tournoment Starts every Day at 6:00PM and Finish at 6:10PM You Will Get Auto Invite and Can Die and Revive and Join etc untill it finished GOOOOOOOOOD Luck :)");
- dialog.Text("Note: Kings Prizes is [100000 Cps] ,Princes Prizes [50000 Cps] ,Ducke Prizes [20000 Cps] , Earls,Barno and kinghts Prizes [10000 Cps]");
- dialog.Option("Join The Tournoment ", 1);
- dialog.Option("Blah, boring.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Hour == 18 && DateTime.Now.Minute >= 00 && DateTime.Now.Minute <= 10)
- {
- if (client.Entity.ContainsFlag(Update.Flags.Ride))
- {
- client.Entity.RemoveFlag(Update.Flags.Ride);
- }
- if (client.Entity.NobilityRank == Game.ConquerStructures.NobilityRank.King)//TopKings
- {
- _String str = new _String(true);
- str.UID = client.Entity.UID;
- str.TextsCount = 1;
- str.Type = _String.Effect;
- str.Texts.Add("good");
- Manboy00Effects.good(client);
- client.Entity.Owner.SendScreen(str, true);
- client.Entity.Teleport(9992, 50, 50);
- client.Send(new Network.GamePackets.NpcReply(6, "Gratz You have joined TopKings Map Just Wait Untile it Start ."));
- }
- else if (client.Entity.NobilityRank == Game.ConquerStructures.NobilityRank.Prince)//TopPrince
- {
- _String str = new _String(true);
- str.UID = client.Entity.UID;
- str.TextsCount = 1;
- str.Type = _String.Effect;
- str.Texts.Add("good");
- Manboy00Effects.good(client);
- client.Entity.Owner.SendScreen(str, true);
- client.Entity.Teleport(9993, 50, 50);
- client.Send(new Network.GamePackets.NpcReply(6, "Gratz You have joined TopPrince Map Just Wait Untile it Start ."));
- }
- else if (client.Entity.NobilityRank == Game.ConquerStructures.NobilityRank.Duke)//TopDucke
- {
- _String str = new _String(true);
- str.UID = client.Entity.UID;
- str.TextsCount = 1;
- str.Type = _String.Effect;
- str.Texts.Add("good");
- Manboy00Effects.good(client);
- client.Entity.Owner.SendScreen(str, true);
- client.Entity.Teleport(9994, 50, 50);
- client.Send(new Network.GamePackets.NpcReply(6, "Gratz You have joined TopDucke Map Just Wait Untile it Start ."));
- }
- else if (client.Entity.NobilityRank == Game.ConquerStructures.NobilityRank.Knight)//TopKinght
- {
- _String str = new _String(true);
- str.UID = client.Entity.UID;
- str.TextsCount = 1;
- str.Type = _String.Effect;
- str.Texts.Add("good");
- Manboy00Effects.good(client);
- client.Entity.Owner.SendScreen(str, true);
- client.Entity.Teleport(9995, 50, 50);
- client.Send(new Network.GamePackets.NpcReply(6, "Gratz You have joined TopKinght Map Just Wait Untile it Start ."));
- }
- else if (client.Entity.NobilityRank == Game.ConquerStructures.NobilityRank.Earl)//TopEarl
- {
- _String str = new _String(true);
- str.UID = client.Entity.UID;
- str.TextsCount = 1;
- str.Type = _String.Effect;
- str.Texts.Add("good");
- Manboy00Effects.good(client);
- client.Entity.Owner.SendScreen(str, true);
- client.Entity.Teleport(9996, 50, 50);
- client.Send(new Network.GamePackets.NpcReply(6, "Gratz You have joined TopEarl Map Just Wait Untile it Start ."));
- }
- else if (client.Entity.NobilityRank == Game.ConquerStructures.NobilityRank.Baron)//TopBaron
- {
- _String str = new _String(true);
- str.UID = client.Entity.UID;
- str.TextsCount = 1;
- str.Type = _String.Effect;
- str.Texts.Add("good");
- Manboy00Effects.good(client);
- client.Entity.Owner.SendScreen(str, true);
- client.Entity.Teleport(9997, 50, 50);
- client.Send(new Network.GamePackets.NpcReply(6, "Gratz You have joined TopBaron Map Just Wait Untile it Start ."));
- }
- else
- {
- client.Send(new Network.GamePackets.NpcReply(6, "Sorry Bro You Are not In Nobiles Rank only can Join (Kings,Princes,Duke,Earl,Baron,Kinght)"));
- }
- }
- else
- {
- client.Send(new Network.GamePackets.NpcReply(6, "Sorry Bro There is No Tournpment Now Come On 6:00PM."));
- }
- break;
- }
- }
- break;
- }
- #endregion TopDonation Event Daily ID =95550
- #region TopDonation Prize ID =95551 KINgs
- case 95551:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hello hero [" + client.Entity.Name + "] Are you Still Alive you need your prize ?????????? yah you can take it after event finish");
- dialog.Text("Note: Kings Prizes is [100000 Cps] ,Princes Prizes [50000 Cps] ,Ducke Prizes [20000 Cps] , Earls,Barno and kinghts Prizes [10000 Cps]");
- dialog.Option("Claim Prize ", 1);
- dialog.Option("Blah, boring.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- int alive = 0;
- foreach (Manboy00_ASD.Client.GameClient players in Kernel.GamePool.Values)
- if (players.Entity.MapID == 9992 && (!players.Entity.Dead))
- alive++;
- if (DateTime.Now.Hour == 18 && DateTime.Now.Minute >= 11 && DateTime.Now.Minute <= 15)
- {
- if (alive == 1)
- {
- _String str = new _String(true);
- str.UID = client.Entity.UID;
- str.TextsCount = 1;
- str.Type = _String.Effect;
- str.Texts.Add("break_start");
- Manboy00Effects.break_start(client);
- client.Entity.Owner.SendScreen(str, true);
- client.Entity.Teleport(1002, 427, 387);
- client.Entity.ConquerPoints += 100000;
- client.Entity.TopKing = 1;
- client.Send(new Network.GamePackets.NpcReply(6, "Gratz You have got 100000 CPs and TopKing halo gooood Luck ."));
- }
- else
- {
- client.Send(new Network.GamePackets.NpcReply(6, "Sorry Bro You Are not alone there is " + alive.ToString() + " Players Alive"));
- }
- }
- else
- {
- client.Send(new Network.GamePackets.NpcReply(6, "Sorry Bro The Torunoment Not FInished Yet Come After It Finished (6:11 PM) ."));
- }
- break;
- }
- }
- break;
- }
- #endregion TopDonation Prize ID =95551 KINgs
- #region TopDonation Prize ID =95551 Princes
- case 95552:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hello hero [" + client.Entity.Name + "] Are you Still Alive you need your prize ?????????? yah you can take it after event finish");
- dialog.Text("Note: Kings Prizes is [100000 Cps] ,Princes Prizes [50000 Cps] ,Ducke Prizes [20000 Cps] , Earls,Barno and kinghts Prizes [10000 Cps]");
- dialog.Option("Claim Prize ", 1);
- dialog.Option("Blah, boring.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- int alive = 0;
- foreach (Manboy00_ASD.Client.GameClient players in Kernel.GamePool.Values)
- if (players.Entity.MapID == 9993 && (!players.Entity.Dead))
- alive++;
- if (DateTime.Now.Hour == 18 && DateTime.Now.Minute >= 11 && DateTime.Now.Minute <= 15)
- {
- if (alive == 1)
- {
- _String str = new _String(true);
- str.UID = client.Entity.UID;
- str.TextsCount = 1;
- str.Type = _String.Effect;
- str.Texts.Add("break_start");
- Manboy00Effects.break_start(client);
- client.Entity.Owner.SendScreen(str, true);
- client.Entity.Teleport(1002, 427, 387);
- client.Entity.TopPrince = 1;
- client.Entity.ConquerPoints += 50000;
- client.Send(new Network.GamePackets.NpcReply(6, "Gratz You have got 50000 CPs and TopPrince halo gooood Luck ."));
- }
- else
- {
- client.Send(new Network.GamePackets.NpcReply(6, "Sorry Bro You Are not alone there is " + alive.ToString() + " Players Alive"));
- break;
- }
- }
- else
- {
- client.Send(new Network.GamePackets.NpcReply(6, "Sorry Bro The Torunoment Not FInished Yet Come After It Finished (6:11 PM) ."));
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion TopDonation Prize ID =95551 Princes
- #region TopDonation Prize ID =95551 Ducke
- case 95553:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hello hero [" + client.Entity.Name + "] Are you Still Alive you need your prize ?????????? yah you can take it after event finish");
- dialog.Text("Note: Kings Prizes is [100000 Cps] ,Princes Prizes [50000 Cps] ,Ducke Prizes [20000 Cps] , Earls,Barno and kinghts Prizes [10000 Cps]");
- dialog.Option("Claim Prize ", 1);
- dialog.Option("Blah, boring.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- int alive = 0;
- foreach (Manboy00_ASD.Client.GameClient players in Kernel.GamePool.Values)
- if (players.Entity.MapID == 9994 && (!players.Entity.Dead))
- alive++;
- if (DateTime.Now.Hour == 18 && DateTime.Now.Minute >= 11 && DateTime.Now.Minute <= 15)
- {
- if (alive == 1)
- {
- _String str = new _String(true);
- str.UID = client.Entity.UID;
- str.TextsCount = 1;
- str.Type = _String.Effect;
- str.Texts.Add("break_start");
- Manboy00Effects.break_start(client);
- client.Entity.Owner.SendScreen(str, true);
- client.Entity.Teleport(1002, 427, 387);
- client.Entity.TopDucke = 1;
- client.Entity.ConquerPoints += 20000;
- client.Send(new Network.GamePackets.NpcReply(6, "Gratz You have got 20000 CPs and TopDucke halo gooood Luck ."));
- }
- else
- {
- client.Send(new Network.GamePackets.NpcReply(6, "Sorry Bro You Are not alone there is " + alive.ToString() + " Players Alive"));
- }
- }
- else
- {
- client.Send(new Network.GamePackets.NpcReply(6, "Sorry Bro The Torunoment Not FInished Yet Come After It Finished (6:11 PM) ."));
- }
- break;
- }
- }
- break;
- }
- #endregion TopDonation Prize ID =95551 Ducke
- #region TopDonation Prize ID =95551 to Earl
- case 95554:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hello hero [" + client.Entity.Name + "] Are you Still Alive you need your prize ?????????? yah you can take it after event finish");
- dialog.Text("Note: Kings Prizes is [100000 Cps] ,Princes Prizes [50000 Cps] ,Ducke Prizes [20000 Cps] , Earls,Barno and kinghts Prizes [10000 Cps]");
- dialog.Option("Claim Prize ", 1);
- dialog.Option("Blah, boring.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- int alive = 0;
- foreach (Manboy00_ASD.Client.GameClient players in Kernel.GamePool.Values)
- if (players.Entity.MapID == 9995 && (!players.Entity.Dead))
- alive++;
- if (DateTime.Now.Hour == 18 && DateTime.Now.Minute >= 11 && DateTime.Now.Minute <= 15)
- {
- if (alive == 1)
- {
- _String str = new _String(true);
- str.UID = client.Entity.UID;
- str.TextsCount = 1;
- str.Type = _String.Effect;
- str.Texts.Add("break_start");
- Manboy00Effects.break_start(client);
- client.Entity.Owner.SendScreen(str, true);
- client.Entity.Teleport(1002, 427, 387);
- client.Entity.TopEarl = 1;
- client.Entity.ConquerPoints += 10000;
- client.Send(new Network.GamePackets.NpcReply(6, "Gratz You have got 10000 CPs and TopEarl halo gooood Luck ."));
- }
- else
- {
- client.Send(new Network.GamePackets.NpcReply(6, "Sorry Bro You Are not alone there is " + alive.ToString() + " Players Alive"));
- }
- }
- else
- {
- client.Send(new Network.GamePackets.NpcReply(6, "Sorry Bro The Torunoment Not FInished Yet Come After It Finished (6:11 PM) ."));
- }
- break;
- }
- }
- break;
- }
- #endregion TopDonation Prize ID =95551 to Earl
- #region TopDonation Prize ID =95551 to Baron
- case 95555:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hello hero [" + client.Entity.Name + "] Are you Still Alive you need your prize ?????????? yah you can take it after event finish");
- dialog.Text("Note: Kings Prizes is [100000 Cps] ,Princes Prizes [50000 Cps] ,Ducke Prizes [20000 Cps] , Earls,Barno and kinghts Prizes [10000 Cps]");
- dialog.Option("Claim Prize ", 1);
- dialog.Option("Blah, boring.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- int alive = 0;
- foreach (Manboy00_ASD.Client.GameClient players in Kernel.GamePool.Values)
- if (players.Entity.MapID == 9996 && (!players.Entity.Dead))
- alive++;
- if (DateTime.Now.Hour == 18 && DateTime.Now.Minute >= 11 && DateTime.Now.Minute <= 15)
- {
- if (alive == 1)
- {
- _String str = new _String(true);
- str.UID = client.Entity.UID;
- str.TextsCount = 1;
- str.Type = _String.Effect;
- str.Texts.Add("break_start");
- Manboy00Effects.break_start(client);
- client.Entity.Owner.SendScreen(str, true);
- client.Entity.Teleport(1002, 427, 387);
- client.Entity.TopBaron = 1;
- client.Entity.ConquerPoints += 10000;
- client.Send(new Network.GamePackets.NpcReply(6, "Gratz You have got 10000 CPs and TopBaron halo gooood Luck ."));
- }
- else
- {
- client.Send(new Network.GamePackets.NpcReply(6, "Sorry Bro You Are not alone there is " + alive.ToString() + " Players Alive"));
- }
- }
- else
- {
- client.Send(new Network.GamePackets.NpcReply(6, "Sorry Bro The Torunoment Not FInished Yet Come After It Finished (6:11 PM) ."));
- }
- break;
- }
- }
- break;
- }
- #endregion TopDonation Prize ID =95551 to Baron
- #region TopDonation Prize ID =95551 to Kinght
- case 95556:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hello hero [" + client.Entity.Name + "] Are you Still Alive you need your prize ?????????? yah you can take it after event finish");
- dialog.Text("Note: Kings Prizes is [100000 Cps] ,Princes Prizes [50000 Cps] ,Ducke Prizes [20000 Cps] , Earls,Barno and kinghts Prizes [10000 Cps]");
- dialog.Option("Claim Prize ", 1);
- dialog.Option("Blah, boring.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- int alive = 0;
- foreach (Manboy00_ASD.Client.GameClient players in Kernel.GamePool.Values)
- if (players.Entity.MapID == 9997 && (!players.Entity.Dead))
- alive++;
- if (DateTime.Now.Hour == 18 && DateTime.Now.Minute >= 11 && DateTime.Now.Minute <= 15)
- {
- if (alive == 1)
- {
- _String str = new _String(true);
- str.UID = client.Entity.UID;
- str.TextsCount = 1;
- str.Type = _String.Effect;
- str.Texts.Add("break_start");
- Manboy00Effects.break_start(client);
- client.Entity.Owner.SendScreen(str, true);
- client.Entity.Teleport(1002, 427, 387);
- client.Entity.TopKinght = 1;
- client.Entity.ConquerPoints += 10000;
- client.Send(new Network.GamePackets.NpcReply(6, "Gratz You have got 10000 CPs and TopKnight halo gooood Luck ."));
- }
- else
- {
- client.Send(new Network.GamePackets.NpcReply(6, "Sorry Bro You Are not alone there is " + alive.ToString() + " Players Alive"));
- }
- }
- else
- {
- client.Send(new Network.GamePackets.NpcReply(6, "Sorry Bro The Torunoment Not FInished Yet Come After It Finished (6:11 PM) ."));
- }
- break;
- }
- }
- break;
- }
- #endregion TopDonation Prize ID =95551 to Kinght
- #endregion First Events
- #region Scend Events
- #region TopPk RedName -- BlackNAme Event Daily ID =82121
- case 82121:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hello hero [" + client.Entity.Name + "] There is new Event it Called TopRedName -- BlackName like its war betten PkPonints ranks every Top White PkPoints [ 0 -- 29 ] there is map for Them and TopRedName PkPoints [ 30 -- 99 ] have another map");
- dialog.Text("And TopBlackName PkPoints [ 100 -- 199 ] ..etc as ranks This. Tournoment Starts every Day at 4:00PM and Finish at 4:11PM You Will Get Auto Invite and Can Die and Revive and Join etc untill it finished GOOOOOOOOOD Luck :)");
- dialog.Text("Note: Blackname Prizes is [100000 Cps] ,Redname Prizes [50000 Cps] ,Whitename Prizes [20000 Cps] ;");
- dialog.Option("Join The Tournoment ", 1);
- dialog.Option("Blah, boring.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Hour == 16 && DateTime.Now.Minute >= 00 && DateTime.Now.Minute <= 10)
- {
- if (client.Entity.ContainsFlag(Update.Flags.Ride))
- {
- client.Entity.RemoveFlag(Update.Flags.Ride);
- }
- if (client.Entity.PKPoints >= 100 && client.Entity.PKPoints <= 199)//BlackName
- {
- _String str = new _String(true);
- str.UID = client.Entity.UID;
- str.TextsCount = 1;
- str.Type = _String.Effect;
- str.Texts.Add("good");
- Manboy00Effects.good(client);
- client.Entity.Owner.SendScreen(str, true);
- client.Entity.Teleport(3320, 50, 50);
- client.Send(new Network.GamePackets.NpcReply(6, "Gratz You have joined TopBlackname Map Just Wait Untile it Start ."));
- }
- if (client.Entity.PKPoints >= 30 && client.Entity.PKPoints <= 99)//TopRedname
- {
- _String str = new _String(true);
- str.UID = client.Entity.UID;
- str.TextsCount = 1;
- str.Type = _String.Effect;
- str.Texts.Add("good");
- Manboy00Effects.good(client);
- client.Entity.Owner.SendScreen(str, true);
- client.Entity.Teleport(3321, 50, 50);
- client.Send(new Network.GamePackets.NpcReply(6, "Gratz You have joined TopRedname Map Just Wait Untile it Start ."));
- }
- if (client.Entity.PKPoints >= 00 && client.Entity.PKPoints <= 29)//TopWithename
- {
- _String str = new _String(true);
- str.UID = client.Entity.UID;
- str.TextsCount = 1;
- str.Type = _String.Effect;
- str.Texts.Add("good");
- Manboy00Effects.good(client);
- client.Entity.Owner.SendScreen(str, true);
- client.Entity.Teleport(3322, 50, 50);
- client.Send(new Network.GamePackets.NpcReply(6, "Gratz You have joined TopWhitename Map Just Wait Untile it Start ."));
- }
- }
- else
- {
- client.Send(new Network.GamePackets.NpcReply(6, "Sorry Bro There is No Tournpment Now COme On 4:00PM."));
- }
- break;
- }
- }
- break;
- }
- #endregion TopPkPoints Event Daily
- #region TopPkPoints Prize BlackName
- case 82122:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hello hero [" + client.Entity.Name + "] There is new Event it Called TopRedName -- BlackName like its war betten PkPonints ranks every Top White PkPoints [ 0 -- 29 ] there is map for Them and TopRedName PkPoints [ 30 -- 99 ] have another map");
- dialog.Text("And TopBlackName PkPoints [ 100 -- 199 ] ..etc as ranks This. Tournoment Starts every Day at 4:00PM and Finish at 4:11PM You Will Get Auto Invite and Can Die and Revive and Join etc untill it finished GOOOOOOOOOD Luck :)");
- dialog.Text("Note: Blackname Prizes is [100000 Cps] ,Redname Prizes [50000 Cps] ,Whitename Prizes [20000 Cps] ;");
- dialog.Option("Claim Prize ", 1);
- dialog.Option("Blah, boring.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- int alive = 0;
- foreach (Manboy00_ASD.Client.GameClient players in Kernel.GamePool.Values)
- if (players.Entity.MapID == 3320 && (!players.Entity.Dead))
- alive++;
- if (DateTime.Now.Hour == 16 && DateTime.Now.Minute >= 11 && DateTime.Now.Minute <= 15)
- {
- if (alive == 1)
- {
- _String str = new _String(true);
- str.UID = client.Entity.UID;
- str.TextsCount = 1;
- str.Type = _String.Effect;
- str.Texts.Add("break_start");
- Manboy00Effects.break_start(client);
- client.Entity.Owner.SendScreen(str, true);
- client.Entity.Teleport(1002, 427, 387);
- client.Entity.ConquerPoints += 100000;
- client.Entity.TopBlackname = 1;
- client.Send(new Network.GamePackets.NpcReply(6, "Gratz You have got 100000 CPs and TopBlackname halo gooood Luck ."));
- }
- else
- {
- client.Send(new Network.GamePackets.NpcReply(6, "Sorry Bro You Are not alone there is " + alive.ToString() + " Players Alive"));
- }
- }
- else
- {
- client.Send(new Network.GamePackets.NpcReply(6, "Sorry Bro The Torunoment Not FInished Yet Come After It Finished (4:11 PM) ."));
- }
- break;
- }
- }
- break;
- }
- #endregion TopDonation
- #region TopDonation Prize Redname
- case 82123:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hello hero [" + client.Entity.Name + "] There is new Event it Called TopRedName -- BlackName like its war betten PkPonints ranks every Top White PkPoints [ 0 -- 29 ] there is map for Them and TopRedName PkPoints [ 30 -- 99 ] have another map");
- dialog.Text("And TopBlackName PkPoints [ 100 -- 199 ] ..etc as ranks This. Tournoment Starts every Day at 4:00PM and Finish at 4:11PM You Will Get Auto Invite and Can Die and Revive and Join etc untill it finished GOOOOOOOOOD Luck :)");
- dialog.Text("Note: Blackname Prizes is [100000 Cps] ,Redname Prizes [50000 Cps] ,Whitename Prizes [20000 Cps] ;");
- dialog.Option("Claim Prize ", 1);
- dialog.Option("Blah, boring.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- int alive = 0;
- foreach (Manboy00_ASD.Client.GameClient players in Kernel.GamePool.Values)
- if (players.Entity.MapID == 3321 && (!players.Entity.Dead))
- alive++;
- if (DateTime.Now.Hour == 16 && DateTime.Now.Minute >= 11 && DateTime.Now.Minute <= 15)
- {
- if (alive == 1)
- {
- _String str = new _String(true);
- str.UID = client.Entity.UID;
- str.TextsCount = 1;
- str.Type = _String.Effect;
- str.Texts.Add("break_start");
- Manboy00Effects.break_start(client);
- client.Entity.Owner.SendScreen(str, true);
- client.Entity.Teleport(1002, 427, 387);
- client.Entity.TopRedname = 1;
- client.Entity.ConquerPoints += 50000;
- client.Send(new Network.GamePackets.NpcReply(6, "Gratz You have got 50000 CPs and TopRedname halo gooood Luck ."));
- }
- else
- {
- client.Send(new Network.GamePackets.NpcReply(6, "Sorry Bro You Are not alone there is " + alive.ToString() + " Players Alive"));
- break;
- }
- }
- else
- {
- client.Send(new Network.GamePackets.NpcReply(6, "Sorry Bro The Torunoment Not FInished Yet Come After It Finished (4:11 PM) ."));
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion TopDonation Prize
- #region TopDonation Prize TopWitheName
- case 82124:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hello hero [" + client.Entity.Name + "] There is new Event it Called TopRedName -- BlackName like its war betten PkPonints ranks every Top White PkPoints [ 0 -- 29 ] there is map for Them and TopRedName PkPoints [ 30 -- 99 ] have another map");
- dialog.Text("And TopBlackName PkPoints [ 100 -- 199 ] ..etc as ranks This. Tournoment Starts every Day at 4:00PM and Finish at 4:11PM You Will Get Auto Invite and Can Die and Revive and Join etc untill it finished GOOOOOOOOOD Luck :)");
- dialog.Text("Note: Blackname Prizes is [100000 Cps] ,Redname Prizes [50000 Cps] ,Whitename Prizes [20000 Cps] ;");
- dialog.Option("Claim Prize ", 1);
- dialog.Option("Blah, boring.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- int alive = 0;
- foreach (Manboy00_ASD.Client.GameClient players in Kernel.GamePool.Values)
- if (players.Entity.MapID == 3322 && (!players.Entity.Dead))
- alive++;
- if (DateTime.Now.Hour == 16 && DateTime.Now.Minute >= 10 && DateTime.Now.Minute <= 15)
- {
- if (alive == 1)
- {
- _String str = new _String(true);
- str.UID = client.Entity.UID;
- str.TextsCount = 1;
- str.Type = _String.Effect;
- str.Texts.Add("break_start");
- Manboy00Effects.break_start(client);
- client.Entity.Owner.SendScreen(str, true);
- client.Entity.Teleport(1002, 427, 387);
- client.Entity.TopWithename = 1;
- client.Entity.ConquerPoints += 20000;
- client.Send(new Network.GamePackets.NpcReply(6, "Gratz You have got 20000 CPs and Withename halo gooood Luck ."));
- }
- else
- {
- client.Send(new Network.GamePackets.NpcReply(6, "Sorry Bro You Are not alone there is " + alive.ToString() + " Players Alive"));
- }
- }
- else
- {
- client.Send(new Network.GamePackets.NpcReply(6, "Sorry Bro The Torunoment Not FInished Yet Come After It Finished (4:11 PM) ."));
- }
- break;
- }
- }
- break;
- }
- #endregion TopDonation Prize
- #endregion First Events
- //--------------------------//
- #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 <= 32)
- {
- if (client.Entity.ContainsFlag(Update.Flags.Ride))
- {
- client.Entity.RemoveFlag(Update.Flags.Ride);
- }
- 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 2 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 ((Now64.Minute >= 34) && (Now64.Minute <= 50))
- {
- if (Daily.howmanyinmap2 == 1)
- {
- //#warning LAST MAN PRIZE
- client.Entity.ConquerPoints += rates.LastMan;
- Game.Flags.AddTopLastMan(client);
- client.Entity.AddFlag2(Network.GamePackets.Update.Flags2.Top2Warrior);
- Manboy00_ASD.Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " claimed the prize " + rates.LastMan + " ConquerPoints for winning the LastManStanding for this Hour.", System.Drawing.Color.Black, Message.Center), Program.GamePool);
- client.Entity.SendSpawn(client, true);
- client.Entity.Teleport(1002, 300, 280);
- client.Entity.Update(_String.Effect, "break_start", true);
- 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:34");
- dialog.Option("okay", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- //---------------------------------//
- #region MonthlyPk
- case 2316:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join the Monthly PKWar?.");
- dialog.Option("Yes Please", 1);
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- var Now64 = DateTime.Now;
- if (Program.World.MonthlyPKWar && Now64.Minute <= 5)
- {
- if (client.Entity.ContainsFlag(Update.Flags.Ride))
- {
- client.Entity.RemoveFlag(Update.Flags.Ride);
- }
- Random R = new Random();
- int Nr = R.Next(1, 10);
- if (Nr == 1) client.Entity.Teleport(1518, 114, 078);
- if (Nr == 2) client.Entity.Teleport(1518, 96, 87);
- if (Nr == 3) client.Entity.Teleport(1518, 142, 88);
- if (Nr == 4) client.Entity.Teleport(1518, 115, 115);
- if (Nr == 5) client.Entity.Teleport(1518, 98, 130);
- if (Nr == 6) client.Entity.Teleport(1518, 96, 153);
- if (Nr == 7) client.Entity.Teleport(1518, 112, 162);
- if (Nr == 8) client.Entity.Teleport(1518, 130, 166);
- if (Nr == 9) client.Entity.Teleport(1518, 139, 114);
- if (Nr == 10) client.Entity.Teleport(1518, 156, 119);
- }
- else
- {
- dialog.Text("You may sign up during the first 5 minutes of the event! Monthly Pk War is held during the first Sunday of each month! This month's is held on " + Program.World.MonthlyPKDate.ToString("dd MMMM yyyy") + " at 14:00. Next month is held on " + Program.World.NextMonthlyPKDate.ToString("dd MMMM yyyy") + ".");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Winner of MonthlyPk NPC 2315
- case 2317:
- {
- 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 (Manboy00_ASD.Client.GameClient players in Program.GamePool)
- if (players.Entity.MapID == 1518 && (!players.Entity.Dead))
- alive++;
- var Now64 = DateTime.Now;
- if (Now64.DayOfYear == 1 && Now64.Hour >= 14 && Now64.Minute >= 8)
- {
- if (alive == 1)
- {
- //#warning MONTHLY PK PRIZE
- client.Entity.ConquerPoints += rates.MonthlyPk;
- Manboy00_ASD.Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " claimed the prize " + rates.MonthlyPk + " ConquerPoints for winning the Monthly Pk War and Receive Monthly PkWar Halo.", System.Drawing.Color.Black, Message.Talk), Program.GamePool);
- Game.Flags.AddMonthly(client);
- client.Entity.AddFlag(Update.Flags.MonthlyPKChampion);
- client.Entity.SendSpawn(client, true);
- client.Entity.Teleport(1002, 300, 280);
- client.Entity.Update(_String.Effect, "break_start", true);
- 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 14:25");
- dialog.Option("okay", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- //-------------------------------//
- #region Killers War
- case 23114:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join the Killers War?.");
- dialog.Option("Yes Please", 1);
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Minute >= 8 && DateTime.Now.Minute <= 10)
- {
- if (client.Entity.ContainsFlag(Update.Flags.Ride))
- {
- client.Entity.RemoveFlag(Update.Flags.Ride);
- }
- Random R = new Random();
- int Nr = R.Next(1, 10);
- if (Nr == 1) client.Entity.Teleport(1601, 114, 078);
- if (Nr == 2) client.Entity.Teleport(1601, 96, 87);
- if (Nr == 3) client.Entity.Teleport(1601, 142, 88);
- if (Nr == 4) client.Entity.Teleport(1601, 115, 115);
- if (Nr == 5) client.Entity.Teleport(1601, 98, 130);
- if (Nr == 6) client.Entity.Teleport(1601, 96, 153);
- if (Nr == 7) client.Entity.Teleport(1601, 112, 162);
- if (Nr == 8) client.Entity.Teleport(1601, 130, 166);
- if (Nr == 9) client.Entity.Teleport(1601, 139, 114);
- if (Nr == 10) client.Entity.Teleport(1601, 156, 119);
- }
- else
- {
- dialog.Text("Killers War is held during at xx:08 to xx:10 ");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region Winner of Killers War
- case 54233:
- {
- 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 >= 11 && DateTime.Now.Minute <= 25)
- {
- if (Daily.howmanyinmap2 == 1)
- {
- //#warning LAST MAN PRIZE
- client.Entity.ConquerPoints += rates.LastMan;
- Game.Flags.AddTopConquer(client);
- client.Entity.AddFlag2(Network.GamePackets.Update.Flags2.WeeklyTop8Pk);
- Manboy00_ASD.Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " claimed the prize " + rates.LastMan + " ConquerPoints for winning Killers War 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:11 to xx:15");
- 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 (DateTime.Now.Minute >= 00 && DateTime.Now.Minute < 05)
- {
- if (client.Entity.ContainsFlag(Update.Flags.Ride))
- {
- client.Entity.RemoveFlag(Update.Flags.Ride);
- }
- client.Entity.Teleport(8877, 52, 44);
- }
- else
- {
- dialog.Text("Daily Pk War is held between xx:00 and xx:05 every Hour");
- 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 (Now64.Minute >= 08 && Now64.Minute <= 30)
- {
- if (Daily.howmanyinmap == 1)
- {
- //#warning DAILY PK PRIZE
- client.Entity.ConquerPoints += rates.DailyPk;
- //client.Entity.Status3 = 1;
- Manboy00_ASD.Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " claimed the prize " + rates.DailyPk + " ConquerPoints for winning the DailyPk for this Hour.", System.Drawing.Color.Black, Message.Center), Program.GamePool);
- //client.Entity.AddFlag(Update.Flags.WeeklyPKChampion);
- client.Entity.SendSpawn(client, true);
- client.Entity.Teleport(1002, 300, 280);
- //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:08");
- dialog.Option("okay", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- //-------------------------------//
- #region TopSpouse Join
- case 2314006:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join TopSpouse PKWar?.");
- dialog.Text("you should make Team and Join your Spouse in it so i can let you Join?.");
- dialog.Option("Yes Please", 1);
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- DateTime Now64 = DateTime.Now;
- if (Now64.DayOfWeek == DayOfWeek.Friday && Now64.Hour == 18 && Now64.Minute == 00 && Now64.Minute < 05)
- {
- if (client.Team != null && client.Team.TeamLeader && (client.Entity.Body == 1003 || client.Entity.Body == 1004))
- {
- if (client.Team.SpouseWarFull)
- {
- if (client.Entity.ContainsFlag(Update.Flags.Ride))
- {
- client.Entity.RemoveFlag(Update.Flags.Ride);
- }
- client.Team.Teammates[0].Entity.Teleport(1090, 40, 50);
- client.Team.Teammates[1].Entity.Teleport(1090, 40, 50);
- }
- }
- }
- else
- {
- dialog.Text("TopSpouse Pk War is held during 17:00 to 17:05 and End 17:30 in every day");
- dialog.Text("and to let you Join you must be Team leader and have your spouse in the team");
- dialog.Text(" Note: only you and your Spouse in the Team so you can Join");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region TopSpouse Claim
- case 2314007:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to claim TopSpouse PKWar reward?.");
- dialog.Text("you should be the only man here your claim 50k cps and 2 lover book dont forget to give?.");
- dialog.Text(" A loveBook to your Spouse and claim halo from here?.");
- dialog.Option("ClaimPrize", 1);
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Hour >= 18 && DateTime.Now.Minute >= 5)
- {
- Game.ConquerStructures.Daily.CheackSpouse();
- if (Game.ConquerStructures.Daily.howmanyinmap3 == 1)
- {
- foreach (Client.GameClient Teammate in client.Team.Teammates)
- {
- if (client.Team != null)
- {
- client.Entity.AddTopStatus(Update.Flags.TopSpouse, DateTime.Now.AddDays(7));
- client.Entity.Teleport(1002, 301, 278);
- Teammate.Entity.Teleport(1002, 301, 278);
- Teammate.Entity.AddTopStatus(Update.Flags.TopSpouse, DateTime.Now.AddDays(7));
- GameClient spouse = Program.FindClient(client.Entity.Spouse);
- if (spouse != null)
- {
- spouse.Entity.AddTopStatus(Update.Flags.TopSpouse, DateTime.Now.AddDays(7));
- spouse.Entity.Teleport(1002, 429, 378);
- }
- #warning SPOUSE PK PRIZE ( COUPLES PK )
- client.Entity.ConquerPoints += rates.TopSpouse;
- client.Inventory.Add(722269, 0, 2);
- Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " has claimed Prize for Couples pk for this day " + rates.TopSpouse + " cps and 2 LoveBook!.", System.Drawing.Color.White, Message.Center), Program.GamePool);
- }
- }
- }
- }
- else
- {
- dialog.Text("Sorry you can claim TopSpouse Prize if you the last man Here in The Map");
- dialog.Option("oh i see!.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- //----------------------------------//
- #region SkillPk
- case 5090:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Skill PKWar?.");
- dialog.Text("you can SignUp during 18:05 to 18:20 and first 8 Players will get 10 Points.");
- dialog.Text("faster than any player else will be in the Top8Champions and obtain Rewards GoodLuck!");
- dialog.Option("Yes Please", 1);
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Hour == 18 && DateTime.Now.Minute >= 5 && DateTime.Now.Minute < 20)
- {
- if (client.Entity.ContainsFlag(Update.Flags.Ride))
- {
- client.Entity.RemoveFlag(Update.Flags.Ride);
- }
- if (!Game.Tournaments.SkillTournament.Top8.ContainsKey(client.Entity.UID))
- {
- Game.Tournaments.SkillTournament.AddMap(client);
- }
- else
- {
- dialog.Text("SORRY you cant signup again you already in top8 List ");
- dialog.Option("Woow thanks!", 255);
- dialog.Send();
- break;
- }
- }
- else
- {
- dialog.Text("Skill Pk War is held during 18:05 to 18:20 you have 15 min to signup ");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region SkillPkWinner
- case 5017:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to Claim Skill PKWar Prize?.");
- dialog.Text("You Should Have 10 SkillPoints so u can be in the top 8Th Champion.");
- dialog.Text("faster than any player else will be in the Top8Champions and obtain Rewards GoodLuck!");
- dialog.Option("Yes Please", 1);
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;//TQ
- }
- case 1:
- {
- if (DateTime.Now.Hour == 18 && DateTime.Now.Minute >= 5 && DateTime.Now.Minute < 20)
- {
- if (client.skillpoints >= 10)
- {
- if (Program.SkillPkRank < 8)
- {
- Program.SkillPkRank++;
- Game.Tournaments.SkillTournament.ObtinedReward(client);
- client.Entity.Teleport(1002, 391, 371);
- }
- else
- {
- client.Entity.ConquerPoints += 5000000;
- client.Entity.Teleport(1002, 391, 371);
- dialog.Text("Sorry you late there was Top8Champions Already but u got 5kk cps as gift ");
- dialog.Option("Thanks.", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("Sorry you dont have 10 Skill Points yet come again later ");
- dialog.Option("sorry.", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("sorry you can only claim prize btw 19:05 to 19:20 ");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- //------------------------------//
- #region TeamPkWinner
- case 50160:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to Claim Team PKWar Prize?.");
- dialog.Text("You Should Have 20 TeamPoints so u can be in the top 8Th Champion.");
- dialog.Text("faster than any player else will be in the Top8Champions and obtain Rewards GoodLuck!");
- dialog.Option("Yes Please", 1);
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Hour == 16 && DateTime.Now.Minute >= 5 && DateTime.Now.Minute < 20)
- {
- if (client.teampoints >= 20)
- {
- if (Program.TeamRank < 8)
- {
- Program.TeamRank++;
- Game.Tournaments.TeamTournament.ObtinedReward(client);
- client.Entity.Teleport(1002, 391, 371);
- }
- else
- {
- client.Entity.ConquerPoints += 5000000;
- client.Entity.Teleport(1002, 391, 371);
- dialog.Text("Sorry you late there was Top8Champions Already but u got 5kk cps as gift ");
- dialog.Option("Thanks.", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("Sorry you dont have 20 Elite Points yet come again later ");
- dialog.Option("sorry.", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("sorry you can only claim prize btw 16:05 to 16:20 ");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- #region TeamPk
- case 50150:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Team PKWar?.");
- dialog.Text("you can SignUp during 16:05 to 16:20 and first 8 Players will get 20 Points.");
- dialog.Text("faster than any player else will be in the Top8Champions and obtain Rewards GoodLuck!");
- dialog.Option("Yes Please", 1);
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- case 1:
- {
- if (DateTime.Now.Hour == 16 && DateTime.Now.Minute >= 5 && DateTime.Now.Minute < 20)
- {
- if (client.Entity.ContainsFlag(Update.Flags.Ride))
- {
- client.Entity.RemoveFlag(Update.Flags.Ride);
- }
- if (!Game.Tournaments.TeamTournament.Top8.ContainsKey(client.Entity.UID))
- {
- Game.Tournaments.TeamTournament.AddMap(client);
- }
- else
- {
- dialog.Text("SORRY you cant signup again you already in top8 List ");
- dialog.Option("Woow thanks!", 255);
- dialog.Send();
- break;
- }
- }
- else
- {
- dialog.Text("TeamPk War is held during 16:05 to 16:20 you have 15 min to signup ");
- dialog.Option("I don't care.", 255);
- dialog.Send();
- break;
- }
- break;
- }
- }
- break;
- }
- #endregion
- //------------------------------//
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement