View Full Version : Quest dialogs work, but not item turn-ins
bigg0
09-10-2012, 07:57 PM
Hi guys,
I've set up a public server using
EQEmu-Rev2098-Bots,
peqdb_rev2197
all updates done, and all maps & quest are in their appropriate folders. Merchants work and so does quest dialogue, but quests that reqire an item turn-in don't seem to work. The NPC just eats the quest items and looks at me. its the only thing I can't seem to get right. Any suggestions?
Randymarsh9
09-10-2012, 09:00 PM
Can you post the script you're using?
lerxst2112
09-10-2012, 09:07 PM
How about the plugins folder?
bigg0
09-10-2012, 09:18 PM
plugins folder is in the server folder, not the quests folder
bigg0
09-10-2012, 09:20 PM
Kurron Ni's script (beginning SK epic 1.0)
# Part of SK Epic 1.0
sub EVENT_SAY {
if ($text=~/Hail/i) {
quest::say("Out of my way, stranger! I am on a delicate mission; interfere with my search and I shall relieve you of your head! Bother me no more.");
}
if($text=~/mission/i) {
$faction = $client->GetCharacterFactionLevel(342);
if ($faction < 7) {
quest::say("My mission is none of your concern! Now you die, pitiful fool!");
quest::attack("$name");
}
else {
quest::say("My mission was to find a pathetic shadowknight and bring him closer to Innoruuk. You volunteered. By exercising my superior powers of persuasion, I have now taken from you a fine suit of armor and enough coin to ensure that I will be sleeping neither soberly nor alone for quite some time! Now I ask you, worthy shadowknight, do you not feel the fires of hatred coursing through your veins like never before? That is the very reward I spoke of! You have been brought closer to my master. My mission is complete! You foolish excuse for a dark knight, I shall take your head and tell all of your generous donation to the mighty Teir'Dal rogues!");
quest::attack("$name");
}
}
if ($text=~/seek/i) {
quest::say("I have traveled here in hopes of finding a soul worthy of assisting me in completing my mission.");
}
if ($text=~/i am worthy/i) {
quest::say("I doubt it, but I have been wrong before. Before I share with you the details of my mission, however, you must first prove your worthiness. Agreed?");
}
if($text=~/agreed/i) {
quest::say("Very well then, my new friend. I have an acquaintance that stands in need of three pieces of Darkforge Armor. He requires the breast, greaves and helm to complete his set. I also must pay back a loan that has come due in the amount of 900 platinum. Return this to me and I shall share with you my dark mission, and the immeasurable reward that will be earned at its completion. Show your face here without fulfilling my request and I will offer you on the altar to Innoruuk himself. Be off!");
}
}
sub EVENT_ITEM {
if (($platinum >= 900) && plugin::check_handin(\%itemcount, 3141 => 1, 3145 => 1, 3140 => 1)) { #Platinum x 900, Darkforge Breastplate, Darkforge Greaves, Darkforge Helm
quest::say("Well done, $name, I honestly didn't expect to see you again. Yes, yes, this is perfect! My mission is nearly complete!");
quest::faction(342,7);
$npc->AddItem(18099, 1);
}
else {
quest::say("I do not need this.");
plugin::return_items(\%itemcount);
}
}
# Quest by mystic414
lerxst2112
09-10-2012, 09:45 PM
plugins folder is in the server folder, not the quests folder
Right, but does it actually contain all the plugins? You can sync it with svn from here: http://projecteqquests.googlecode.com/svn/trunk/quests/plugins to be sure.
bigg0
09-10-2012, 10:07 PM
I moved the plugins folder out of the server folder, created a new one and did the svn checkout, restarted the server...no change :(
hails works, dialogue works...dumb looks when i turn in items...
cavedude
09-10-2012, 11:02 PM
You have to use EQEmu Rev 2197 or newer with the newest handin plugin due to the multiquest code.
Or, in your quests/plugins directory, open up check_handin.pl and remove both lines that say:
quest::clearhandin();
bigg0
09-10-2012, 11:12 PM
ill have to see if theres a precompile out...
i always get errors when i try to do my own
bigg0
09-11-2012, 01:06 PM
edited the plugin
everything work great
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.