Why Release it?
- It is fairly easy to figure out, and if you have decent knowledge of C# and of the source you use, then you can figure it out.
- Also, I believe that open source coding for servers is a lot more efficient, and produces better/more advanced results.
What is the Monster Hunter Quest?
- It is the quest where you talk to the Captain in each city, and then you kill a certain amount (100 or 300) of monsters, then you get exp worth 1/2 and ExpBall and a Meteor.
What will I need?
- Brain w/ common sense
- LOTF source [Link: ]
How to Setup the Monster Hunter Quest
Database:
- To access the database:
- You need to create 3 new tables in Characters:
QuestKO, QuestMob, QuestFrom
Definition of these tables:
QuestMob - The monster you are supposed to kill for the quest.
QuestKO - Records how many QuestMob's you have killed.
QuestFrom - Where you got the quest from (TC, BI, etc)
- Now, you need to add 6 new NPCs.
Click the link below to view/download the table for all the NPCs (includes everything to make the NPC location)
Link:
Source:
Define our Variables, etc
In Character.cs:
Code:
public string QuestFrom = ""; public string QuestMob = ""; public uint QuestKO = 0;
In World.cs, search for: if (Mob.GetDamage(Damage)), under that, add this:
Code:
if (Mob.Name == User.QuestMob) { User.QuestKO++; User.MyClient.SendPacket(General.MyPackets.SendMsg(User.MyClient.MessageId, "SYSTEM", User.Name, " " + User.QuestMob + "s Killed: " + User.QuestKO + ". Target: 300. From: " + User.QuestFrom + "Captain.", 2005)); if (User.QuestKO >= 300) { User.MyClient.SendPacket(General.MyPackets.SendMsg(User.MyClient.MessageId, "SYSTEM", User.Name, "You have killed enough monsters for the quest. Go report to the " + User.QuestFrom + "Captain.", 2005)); } }
Code:
if (MobTarget.Name == QuestMob) { QuestKO++; MyClient.SendPacket(General.MyPackets.SendMsg(MyClient.MessageId, "SYSTEM", Name, " " + QuestMob + "s Killed: " + QuestKO + ". Target: 300. From: " + QuestFrom + "Captain.", 2005)); if (QuestKO >= 300) { MyClient.SendPacket(General.MyPackets.SendMsg(MyClient.MessageId, "SYSTEM", Name, "You have killed enough monsters for the quest. Go report to the " + QuestFrom + "Captain.", 2005)); } }
- Now we will add the NPCs:
These go into Client.cs, under case 2031: where all the other NPCs are =P
Code:
#region TC Monster Hunter Quest if (CurrentNPC == 280)//TC CloudSaint'sJar Quest { if (MyChar.QuestFrom == "") { if (MyChar.Level <= 24) { SendPacket(General.MyPackets.NPCSay("Glad to see you are here! Twin City is being besieged by monsters recently. If you can help us out, your reward will be EXP worth a ExpBall and Meteor. But remember you can only get 3 opportunities everyday.")); SendPacket(General.MyPackets.NPCLink("Go kill Turtledoves (Level 7)", 1)); SendPacket(General.MyPackets.NPCLink("Go kill Robins (Level 12)", 2)); SendPacket(General.MyPackets.NPCLink("Go kill Apparitions (Level 17)", 3)); SendPacket(General.MyPackets.NPCLink("Go kill Poltergeists (Level 22)", 4)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 44) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Phoenix City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Phoenix City.", 10)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 64) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Ape Mountain, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Ape Mountain.", 11)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 84) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Desert City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Desert City.", 12)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 99) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Bird Island, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Bird Island.", 13)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 119) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Mystic Castle, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Mystic Castle.", 14)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level >= 120) { SendPacket(General.MyPackets.NPCSay("You have made the land peaceful! There is nothing left for you to do!")); SendPacket(General.MyPackets.NPCLink("Okay.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } } else if (MyChar.QuestFrom == "TC") { if (MyChar.QuestKO >= 300 && MyChar.InventoryContains(750000, 1)) { MyChar.RemoveItem(MyChar.ItemNext(750000)); MyChar.QuestKO = 0; MyChar.QuestMob = ""; MyChar.QuestFrom = ""; MyChar.AddExp((ulong)(1295000 + MyChar.Level * 100000), false); MyChar.AddItem("1088001-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836)); SendPacket(General.MyPackets.NPCSay("Good job! You killed 300 Monsters! Here is your Exp worth 2 ExpBalls and a Meteor.")); SendPacket(General.MyPackets.NPCLink("Thanks.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestKO >= 0) { if (MyChar.InventoryContains(750000, 1)) { SendPacket(General.MyPackets.NPCSay("Why do you hurry to come back? What happened? How about your quest to kill 300 " + MyChar.QuestMob + "?")); SendPacket(General.MyPackets.NPCLink("I'll get to it.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else { SendPacket(General.MyPackets.NPCSay("Alas! Where is the CloudSaint'sJar that I lent you? If you can't find it, I suggest you to give up the quest. But don't worry, you can get a new quest again.")); SendPacket(General.MyPackets.NPCLink("Sorry its my fault.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } } } else if (MyChar.QuestFrom == "PC") { SendPacket(General.MyPackets.NPCSay("The quest you got from PCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestFrom == "AC") { SendPacket(General.MyPackets.NPCSay("The quest you got from ACCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestFrom == "DC") { SendPacket(General.MyPackets.NPCSay("The quest you got from DCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestFrom == "BI") { SendPacket(General.MyPackets.NPCSay("The quest you got from BICaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestFrom == "MC") { SendPacket(General.MyPackets.NPCSay("The quest you got from MCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } } #endregion #region PC Monster Hunter Quest if (CurrentNPC == 281)//PC CloudSaint'sJar Quest { if (MyChar.QuestFrom == "") { if (MyChar.Level <= 24) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Twin City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Twin City.", 9)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 44) { SendPacket(General.MyPackets.NPCSay("Glad to see you are here! Phoenix City is being besieged by monsters recently. If you can help us out, your reward will be EXP worth a ExpBall and Meteor. But remember you can only get 3 opportunities everyday.")); SendPacket(General.MyPackets.NPCLink("Go kill WingedSnakes (Level 27)", 1)); SendPacket(General.MyPackets.NPCLink("Go kill Bandits (Level 32)", 2)); SendPacket(General.MyPackets.NPCLink("Go kill FireRats (Level 42)", 3)); SendPacket(General.MyPackets.NPCLink("Go kill FireSpirits (Level 47)", 4)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 64) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Ape Mountain, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Ape Mountain.", 11)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 84) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Desert City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Desert City.", 12)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 99) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Bird Island, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Bird Island.", 13)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 119) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Mystic Castle, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Mystic Castle.", 14)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level >= 120) { SendPacket(General.MyPackets.NPCSay("You have made the land peaceful! There is nothing left for you to do!")); SendPacket(General.MyPackets.NPCLink("Okay.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } } else if (MyChar.QuestFrom == "PC") { if (MyChar.QuestKO >= 300 && MyChar.InventoryContains(750000, 1)) { MyChar.RemoveItem(MyChar.ItemNext(750000)); MyChar.QuestKO = 0; MyChar.QuestMob = ""; MyChar.QuestFrom = ""; MyChar.AddExp((ulong)(1295000 + MyChar.Level * 50000), false); MyChar.AddItem("1088001-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836)); SendPacket(General.MyPackets.NPCSay("Good job! You killed 300 Monsters! Here is your Exp and Meteor.")); SendPacket(General.MyPackets.NPCLink("Thanks.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestKO >= 0) { if (MyChar.InventoryContains(750000, 1)) { SendPacket(General.MyPackets.NPCSay("Why do you hurry to come back? What happened? How about your quest to kill 300 " + MyChar.QuestMob + "?")); SendPacket(General.MyPackets.NPCLink("I'll get to it.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else { SendPacket(General.MyPackets.NPCSay("Alas! Where is the CloudSaint'sJar that I lent you? If you can't find it, I suggest you to give up the quest. But don't worry, you can get a new quest again.")); SendPacket(General.MyPackets.NPCLink("Sorry its my fault.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } } } else if (MyChar.QuestFrom == "TC") { SendPacket(General.MyPackets.NPCSay("The quest you got from TCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestFrom == "AC") { SendPacket(General.MyPackets.NPCSay("The quest you got from ACCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestFrom == "DC") { SendPacket(General.MyPackets.NPCSay("The quest you got from DCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestFrom == "BI") { SendPacket(General.MyPackets.NPCSay("The quest you got from BICaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestFrom == "MC") { SendPacket(General.MyPackets.NPCSay("The quest you got from MCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } } #endregion #region AC Monster Hunter Quest if (CurrentNPC == 282)//AC CloudSaint'sJar Quest { if (MyChar.QuestFrom == "") { if (MyChar.Level <= 24) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Twin City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Twin City.", 9)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 44) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Pheonix City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Pheonix City.", 10)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 64) { SendPacket(General.MyPackets.NPCSay("Glad to see you are here! Ape Mountain is being besieged by monsters recently. If you can help us out, your reward will be EXP worth a ExpBall and Meteor. But remember you can only get 3 opportunities everyday.")); SendPacket(General.MyPackets.NPCLink("Go kill Macaquees (Level 47)", 1)); SendPacket(General.MyPackets.NPCLink("Go kill GiantAps (Level 52)", 2)); SendPacket(General.MyPackets.NPCLink("Go kill ThunderApes (Level 57)", 3)); SendPacket(General.MyPackets.NPCLink("Go kill SnakeMen (Level 62)", 4)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 84) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Desert City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Desert City.", 12)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 99) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Bird Island, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Bird Island.", 13)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 119) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Mystic Castle, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Mystic Castle.", 14)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level >= 120) { SendPacket(General.MyPackets.NPCSay("You have made the land peaceful! There is nothing left for you to do!")); SendPacket(General.MyPackets.NPCLink("Okay.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } } else if (MyChar.QuestFrom == "AC") { if (MyChar.QuestKO >= 300 && MyChar.InventoryContains(750000, 1)) { MyChar.RemoveItem(MyChar.ItemNext(750000)); MyChar.QuestKO = 0; MyChar.QuestMob = ""; MyChar.QuestFrom = ""; MyChar.AddExp((ulong)(1295000 + MyChar.Level * 50000), false); MyChar.AddItem("1088001-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836)); SendPacket(General.MyPackets.NPCSay("Good job! You killed 300 Monsters! Here is your Exp and Meteor.")); SendPacket(General.MyPackets.NPCLink("Thanks.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestKO >= 0) { if (MyChar.InventoryContains(750000, 1)) { SendPacket(General.MyPackets.NPCSay("Why do you hurry to come back? What happened? How about your quest to kill 300 " + MyChar.QuestMob + "?")); SendPacket(General.MyPackets.NPCLink("I'll get to it.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else { SendPacket(General.MyPackets.NPCSay("Alas! Where is the CloudSaint'sJar that I lent you? If you can't find it, I suggest you to give up the quest. But don't worry, you can get a new quest again.")); SendPacket(General.MyPackets.NPCLink("Sorry its my fault.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } } } else if (MyChar.QuestFrom == "TC") { SendPacket(General.MyPackets.NPCSay("The quest you got from TCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestFrom == "PC") { SendPacket(General.MyPackets.NPCSay("The quest you got from PCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestFrom == "DC") { SendPacket(General.MyPackets.NPCSay("The quest you got from DCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestFrom == "BI") { SendPacket(General.MyPackets.NPCSay("The quest you got from BICaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestFrom == "MC") { SendPacket(General.MyPackets.NPCSay("The quest you got from MCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } } #endregion #region DC Monster Hunter Quest if (CurrentNPC == 283)//DC CloudSaint'sJar Quest { if (MyChar.QuestFrom == "") { if (MyChar.Level <= 24) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Twin City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Twin City.", 9)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 44) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Phoenix City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Phoenix City.", 10)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 64) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Ape Mountain, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Ape Mountain.", 11)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 84) { SendPacket(General.MyPackets.NPCSay("Glad to see you are here! Desert City is being besieged by monsters recently. If you can help us out, your reward will be EXP worth a ExpBall and Meteor. But remember you can only get 3 opportunities everyday.")); SendPacket(General.MyPackets.NPCLink("Go kill SandMonsters (Level 67)", 1)); SendPacket(General.MyPackets.NPCLink("Go kill HillMonsters (Level 72)", 2)); SendPacket(General.MyPackets.NPCLink("Go kill RockMonsters (Level 77)", 3)); SendPacket(General.MyPackets.NPCLink("Go kill BladeGhosts (Level 82)", 4)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 99) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Bird Island, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Bird Island.", 13)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 119) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Mystic Castle, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Mystic Castle.", 14)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level >= 120) { SendPacket(General.MyPackets.NPCSay("You have made the land peaceful! There is nothing left for you to do!")); SendPacket(General.MyPackets.NPCLink("Okay.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } } else if (MyChar.QuestFrom == "DC") { if (MyChar.QuestKO >= 300 && MyChar.InventoryContains(750000, 1)) { MyChar.RemoveItem(MyChar.ItemNext(750000)); MyChar.QuestKO = 0; MyChar.QuestMob = ""; MyChar.QuestFrom = ""; MyChar.AddExp((ulong)(1295000 + MyChar.Level * 50000), false); MyChar.AddItem("1088001-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836)); SendPacket(General.MyPackets.NPCSay("Good job! You killed 300 Monsters! Here is your Exp and Meteor.")); SendPacket(General.MyPackets.NPCLink("Thanks.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestKO >= 0) { if (MyChar.InventoryContains(750000, 1)) { SendPacket(General.MyPackets.NPCSay("Why do you hurry to come back? What happened? How about your quest to kill 300 " + MyChar.QuestMob + "?")); SendPacket(General.MyPackets.NPCLink("I'll get to it.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else { SendPacket(General.MyPackets.NPCSay("Alas! Where is the CloudSaint'sJar that I lent you? If you can't find it, I suggest you to give up the quest. But don't worry, you can get a new quest again.")); SendPacket(General.MyPackets.NPCLink("Sorry its my fault.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } } } else if (MyChar.QuestFrom == "TC") { SendPacket(General.MyPackets.NPCSay("The quest you got from TCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestFrom == "PC") { SendPacket(General.MyPackets.NPCSay("The quest you got from PCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestFrom == "AC") { SendPacket(General.MyPackets.NPCSay("The quest you got from ACCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestFrom == "BI") { SendPacket(General.MyPackets.NPCSay("The quest you got from BICaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestFrom == "MC") { SendPacket(General.MyPackets.NPCSay("The quest you got from MCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } } #endregion #region BI Monster Hunter Quest if (CurrentNPC == 284)//BI CloudSaint'sJar Quest { if (MyChar.QuestFrom == "") { if (MyChar.Level <= 24) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Twin City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Twin City.", 9)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 44) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Pheonix City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Pheonix City.", 10)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 64) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Ape Mountain, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Ape Mountain.", 11)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 84) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Desert City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Desert City.", 12)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 99) { SendPacket(General.MyPackets.NPCSay("Glad to see you are here! Bird Island is being besieged by monsters recently. If you can help us out, your reward will be EXP worth a ExpBall and Meteor. But remember you can only get 3 opportunities everyday.")); SendPacket(General.MyPackets.NPCLink("Go kill Birdmen (Level 87)", 1)); SendPacket(General.MyPackets.NPCLink("Go kill Hawkings (Level 92)", 2)); SendPacket(General.MyPackets.NPCLink("Go kill BanditL97, BanditL98, or Robbers (Level 97)", 3)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 119) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Mystic Castle, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Mystic Castle.", 14)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level >= 120) { SendPacket(General.MyPackets.NPCSay("You have made the land peaceful! There is nothing left for you to do!")); SendPacket(General.MyPackets.NPCLink("Okay.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } } else if (MyChar.QuestFrom == "BI") { if (MyChar.QuestKO >= 300 && MyChar.InventoryContains(750000, 1)) { MyChar.RemoveItem(MyChar.ItemNext(750000)); MyChar.QuestKO = 0; MyChar.QuestMob = ""; MyChar.QuestFrom = ""; MyChar.AddExp((ulong)(1295000 + MyChar.Level * 50000), false); MyChar.AddItem("1088001-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836)); SendPacket(General.MyPackets.NPCSay("Good job! You killed 300 Monsters! Here is your Exp and Meteor.")); SendPacket(General.MyPackets.NPCLink("Thanks.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestKO >= 0) { if (MyChar.InventoryContains(750000, 1)) { SendPacket(General.MyPackets.NPCSay("Why do you hurry to come back? What happened? How about your quest to kill 300 " + MyChar.QuestMob + "?")); SendPacket(General.MyPackets.NPCLink("I'll get to it.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else { SendPacket(General.MyPackets.NPCSay("Alas! Where is the CloudSaint'sJar that I lent you? If you can't find it, I suggest you to give up the quest. But don't worry, you can get a new quest again.")); SendPacket(General.MyPackets.NPCLink("Sorry its my fault.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } } } else if (MyChar.QuestFrom == "TC") { SendPacket(General.MyPackets.NPCSay("The quest you got from TCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestFrom == "PC") { SendPacket(General.MyPackets.NPCSay("The quest you got from PCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestFrom == "AC") { SendPacket(General.MyPackets.NPCSay("The quest you got from ACCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestFrom == "DC") { SendPacket(General.MyPackets.NPCSay("The quest you got from DCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestFrom == "MC") { SendPacket(General.MyPackets.NPCSay("The quest you got from MCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } } #endregion #region MC Monster Hunter Quest if (CurrentNPC == 285)//MC CloudSaint'sJar Quest { if (MyChar.QuestFrom == "") { if (MyChar.Level <= 24) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Twin City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Twin City.", 9)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 44) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Phoenix City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Phoenix City.", 10)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 64) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Ape Mountain, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Ape Mountain.", 11)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 84) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Desert City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Desert City.", 12)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 99) { SendPacket(General.MyPackets.NPCSay("You are powerful now. I suggest you go to the Captain of Bird Island, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.")); SendPacket(General.MyPackets.NPCLink("Please send me to Bird Island.", 13)); SendPacket(General.MyPackets.NPCLink("I don't want to go there.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level <= 119) { SendPacket(General.MyPackets.NPCSay("Glad to see you are here! Mystic Castle is being besieged by monsters recently. If you can help us out, your reward will be EXP worth a ExpBall and Meteor. But remember you can only get 3 opportunities everyday.")); SendPacket(General.MyPackets.NPCLink("Go kill Tombats (Level 102)", 1)); SendPacket(General.MyPackets.NPCLink("Go kill Bloodybats (Level 107)", 2)); SendPacket(General.MyPackets.NPCLink("Go kill BullMonsters (Level 112)", 3)); SendPacket(General.MyPackets.NPCLink("Go kill RedDevils (Level 117)", 4)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.Level >= 120) { SendPacket(General.MyPackets.NPCSay("You have made the land peaceful! There is nothing left for you to do!")); SendPacket(General.MyPackets.NPCLink("Okay.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } } else if (MyChar.QuestFrom == "MC") { if (MyChar.QuestKO >= 300 && MyChar.InventoryContains(750000, 1)) { MyChar.RemoveItem(MyChar.ItemNext(750000)); MyChar.QuestKO = 0; MyChar.QuestMob = ""; MyChar.QuestFrom = ""; MyChar.AddExp((ulong)(1295000 + MyChar.Level * 50000), false); MyChar.AddItem("1088001-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836)); SendPacket(General.MyPackets.NPCSay("Good job! You killed 300 Monsters! Here is your Exp and Meteor.")); SendPacket(General.MyPackets.NPCLink("Thanks.", 255)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestKO >= 0) { if (MyChar.InventoryContains(750000, 1)) { SendPacket(General.MyPackets.NPCSay("Why do you hurry to come back? What happened? How about your quest to kill 300 " + MyChar.QuestMob + "?")); SendPacket(General.MyPackets.NPCLink("I'll get to it.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else { SendPacket(General.MyPackets.NPCSay("Alas! Where is the CloudSaint'sJar that I lent you? If you can't find it, I suggest you to give up the quest. But don't worry, you can get a new quest again.")); SendPacket(General.MyPackets.NPCLink("Sorry its my fault.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } } } else if (MyChar.QuestFrom == "TC") { SendPacket(General.MyPackets.NPCSay("The quest you got from TCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestFrom == "PC") { SendPacket(General.MyPackets.NPCSay("The quest you got from PCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestFrom == "AC") { SendPacket(General.MyPackets.NPCSay("The quest you got from ACCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestFrom == "DC") { SendPacket(General.MyPackets.NPCSay("The quest you got from DCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } else if (MyChar.QuestFrom == "BI") { SendPacket(General.MyPackets.NPCSay("The quest you got from BICaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.")); SendPacket(General.MyPackets.NPCLink("I'm going to finish it right away.", 255)); SendPacket(General.MyPackets.NPCLink("I want to end the Quest.", 9)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } } #endregion