This one just ignores me and hes one of a bunch that do - seems like half the npcs work
and others dont, the quest im posting is one that pretty much came with the server too,
should work - could this be a problem with the server itself and not the perl script?
merchants work fine that i know of though.
Both of these npcs ignore me for some reason :
Code:
# begin -- quests/qeytoqrg/Axe_Broadsmith.pl
# Axe Broadsmith, Qeynos Hills, Steel Warrior Initiation quest
# BatCountry
sub EVENT_SAY {
if($text=~/Hail/i){
quest::say("Greetings. The fishing is sparse here. You would fare better at [Lake Rathe].");
}
if($text=~/Lake Rathe/i){
quest::say("Beyond the Plains of Karana can be found a pass to Lake Rathe. I have heard stories of a giant water beast and underwater cities. I wish I knew how to swim.");
}
}
sub EVENT_ITEM {
if(plugin::check_handin(\%itemcount, 18893 => 1)) #A Sealed Letter
{
quest::unique_spawn(4192,0,0,1055,3858,-19); # a_strange_skeleton
quest::say("So you are the new warrior. Let us test your skill. Across the pond is a skeleton. See him? Engage him in combat. He awaits. Return his skull to me and I shall call you a Steel Warrior. Be quick. He will dissipate soon.");
quest::settimer(86,60 * 10); #depop in 10 minutes... it's a 6th level mob a few feet away. kill it faster
quest::faction(311,15); # Steel Warriors better
quest::faction(135,15); # Guards of Qeynos better
quest::faction(53,-15); # Corrupt Qeynos Guards worse
quest::faction(105,-15); # Freeport Militia worse
quest::faction(184,15); # Knights of Truth better
quest::exp(2000);
}
if(plugin::check_handin(\%itemcount, 13397 => 1)) # Skull
{
quest::say("So you have returned. Victory is yours, young Steel Warrior. Take this letter of recommendation to Brin Stolunger at the arena in Qeynos. You have passed.");
quest::summonitem(18895); # Letter of Recommendation
quest::faction(311,15); # Steel Warriors better
quest::faction(135,15); # Guards of Qeynos better
quest::faction(53,-15); # Corrupt Qeynos Guards worse
quest::faction(105,-15); # Freeport Militia worse
quest::faction(184,15); # Knights of Truth better
quest::exp(6000);
quest::givecash(7,0,0,0);
}
plugin::return_items(\%itemcount);
}
sub EVENT_TIMER {
if($timer == 86)
{
quest::depopall(2700052);
}
}
# end -- quests/qeytoqrg/Axe_Broadsmith.pl
Guard Youlrin or whatnot below
Code:
sub EVENT_SAY {
if($text=~/Hail/i){
quest::say("We recieved reports of an unusually large gnoll around here that was supposedly attacking other gnolls as well as locals. If you see it, Eliminate it for it is the will of the people.");
}