Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Completed

Quests::Completed This is where Completed quests are.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-13-2008, 10:51 PM
Andrew80k
Dragon
 
Join Date: Feb 2007
Posts: 659
Default

I have a question. I have created a quest version of Gash, that spawns in the room and doesn't roam. How do I depop the current one, and once the quest is complete how do I depop the quest version and pop the regular version? I know how to spawn a quest npc.
Reply With Quote
  #2  
Old 04-14-2008, 04:30 AM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

Quote:
Originally Posted by Andrew80k View Post
I have a question. I have created a quest version of Gash, that spawns in the room and doesn't roam. How do I depop the current one, and once the quest is complete how do I depop the quest version and pop the regular version? I know how to spawn a quest npc.
You should be able to depop using a signal from one to the other. You can use Seilaen's Plight as an example.
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote
  #3  
Old 04-14-2008, 10:03 AM
Andrew80k
Dragon
 
Join Date: Feb 2007
Posts: 659
Default

Quote:
Originally Posted by AndMetal View Post
You should be able to depop using a signal from one to the other. You can use Seilaen's Plight as an example.
I didn't even think about doing it that way. Thanks for the tip!
Reply With Quote
  #4  
Old 04-16-2008, 12:16 AM
Andrew80k
Dragon
 
Join Date: Feb 2007
Posts: 659
Default Finally!

Raffel_Minnmorn.pl

Code:
#######################################
#  NPC:  Raffel Minnmorn
#  Zone: qeynos
#  Quest:  Nitrates and the Assassin
#  Loot:  Black Wood Chip (12141) 100%
#  Author:  Andrew80k
#######################################

sub EVENT_AGGRO {
    quest::say("I shall chop you down as your people chopped down the beauty of the forests!!");
}
sub EVENT_DEATH {
    quest::say("Long live the green ..");
}
sub EVENT_SPAWN {
   quest::settimer("talk",60);
   
}
sub EVENT_TIMER {
   if ($timer eq "talk") {  
      quest::say("Pardon me.  Have you seen a man named Gash Flockwalker?  He hails from Surefall Glade.");
      quest::stoptimer("talk");
      quest::signalwith(1104,2);
   }
}
Reply With Quote
  #5  
Old 04-16-2008, 12:17 AM
Andrew80k
Dragon
 
Join Date: Feb 2007
Posts: 659
Default

Captain_Tillin.pl

qeynos

Code:
###############################################
# NPC:  Captain Tillin
# Zone:  qeynos
# Author:  Andrew80k, and others.
###############################################

sub EVENT_SAY { 
if($text=~/Hail/i){
quest::say("Hail, $name!  Spend your time wisely in the city of Qeynos.  Do not let your mind wander to thoughts of bravado or crime.  My guards can easily put to rest any outbreaks.  Good day to you, citizen!"); }
}
sub EVENT_ITEM { 
 if(plugin::check_handin(\%itemcount,13915 => 1)){
	quest::say("Very good!  One less gnoll the people of Qeynos need to fear.  Here is your bounty as promised.");
	quest::summonitem("10070","1");
	quest::faction("10102","-1");
	quest::faction("10108","-1");
 } elsif(plugin::check_handin(\%itemcount,13915 => 2)){
	quest::say("Very good!  One less gnoll the people of Qeynos need to fear.  Here is your bounty as promised.");
	quest::summonitem("10070","1");
	quest::faction("10102","-1");
	quest::faction("10108","-1");
 } elsif(plugin::check_handin(\%itemcount,13915 => 4)){
	quest::say("Very good!  One less gnoll the people of Qeynos need to fear.  Here is your bounty as promised.");
	quest::summonitem("10070","1");
	quest::faction("10102","-1");
	quest::faction("10108","-1");
 } elsif(plugin::check_handin(\%itemcount,10070 => 2) && plugin::check_handin(\%itemcount,13915 => 3)){
	quest::say("Very good!  One less gnoll the people of Qeynos need to fear.  Here is your bounty as promised.");
	quest::summonitem("10070","1");
	quest::faction("10102","-1");
	quest::faction("10108","-1");
 } elsif(plugin::check_handin(\%itemcount,6012 => 1)){
	quest::say("Very good!  One less gnoll the people of Qeynos need to fear.  Here is your bounty as promised.");
	quest::summonitem("10070","1");
	quest::faction("10102","-1");
	quest::faction("10108","-1");
 } elsif(plugin::check_handin(\%itemcount,3053 => 4)){
	quest::say("Very good!  One less gnoll the people of Qeynos need to fear.  Here is your bounty as promised.");
	quest::summonitem("10070","1");
	quest::faction("10102","-1");
	quest::faction("10108","-1");
 } elsif(plugin::check_handin(\%itemcount,20104 => 4)){
	quest::say("Very good!  One less gnoll the people of Qeynos need to fear.  Here is your bounty as promised.");
	quest::summonitem("10070","1");
	quest::faction("10102","-1");
	quest::faction("10108","-1");
 } elsif(plugin::check_handin(\%itemcount,18800 => 1)){
        quest::say("I heard you were on your way. I have called for the state executioner. She should be on her way now. She will deal with our friend, McNeal Jocub. Thank you for your help, citizen.");
        quest::faction("9","10");
        quest::faction("33","-10");
        quest::faction("53","-10");
        quest::faction("135","10");
        quest::faction("217","10");
        quest::givecash(int(rand(10)),int(rand(10)),int(rand(10)),int(rand(10)));
   } elsif(plugin::check_handin(\%itemcount,18912=>1)){
        quest::say("So, an assassin has been sent to Qeynos!  I shall have my guards keep an eye out for any suspicious looking visitors.  As for you... you should speak with the Surefall Glade ambassador.  Ambassador Gash is staying at the Lion's Mane Inn here in South Qeynos.  Inform him that [an assassin has been sent to kill] him.  Do not let the assassin near him!");
        quest::faction("9","10");
        quest::faction("33","-10");
        quest::faction("53","-10");
        quest::faction("135","10");
        quest::faction("217","10");
        quest::givecash(int(rand(10)),int(rand(10)),int(rand(10)),int(rand(10)));
        quest::spawn2(1303,0,0, -86.88,368.88,3.38,75.5);
} else {
  #do all other handins first with plugin, then let it do disciplines
  plugin::try_tome_handins(\%itemcount, $class, 'Warrior');
  plugin::return_items(\%itemcount);
 }
}
#END of FILE Zone:qeynos  ID:1077 -- Captain_Tillin
Reply With Quote
  #6  
Old 04-16-2008, 12:20 AM
Andrew80k
Dragon
 
Join Date: Feb 2007
Posts: 659
Default

#Gash_Flockwalker.pl

I have him as 1303 in my DB. Captain_Tillin.pl has this ID in his script.

Code:
####################################
# NPC:  #Gash Flockwalker.pl
# zone: qeynos
# Quest: Nitrates and the Assassin
# Author:  Andrew80k
####################################
sub EVENT_SPAWN {
   quest::signal(1138);
}
sub EVENT_SAY { 

   if($text=~/Hail/i){

       quest::say("Good day to you. Your city of stone walls is quite magnificent. Still, the glory of Surefall Glade puts this city to shame."); 
   }
   if ($text=~/an assassin has been sent to kill you/) {
       quest::say("What!!?  Must be an Unkempt Druid Assassin nearby!!  Find him and slay him.  I am sure he stands to make a FORTUNE!  I believe the assassin may be carrying some sort of [black wood chip].");
       quest::spawn2(1179,0,0,-100,222,2.3,127.1);
   }
   if ($text=~/black wood chip/i){
       quest::say("That is the mark of an Unkempt Druid.  Long ago there was a tree in Norrath we called the Great Tunarbos.  Legend says it spawned all the woodlands of Norrath.  Many centuries ago, long before the Combine Era, the Great Tunarbos was burned to the ground by unknown means.  The ancient rangers kept what little of the great tree they could find.  To make it short, all Unkempt Druids now carry burned wood chips to represent the great tree.  They are not real.  Take any black wood chips to Gerael Woodone in Surefall Glade.");
       quest::spawn2(1138,39,0,-86.88,368.88,3.4,75.5);
       quest::depop();
   }
}

#END of FILE Zone:qeynos  ID:1303 -- #Gash_Flockwalker
Reply With Quote
  #7  
Old 04-16-2008, 12:22 AM
Andrew80k
Dragon
 
Join Date: Feb 2007
Posts: 659
Default

Tasya_Huntlan.pl

Code:
###########################################
# NPC:  Tasya Huntlan
# Quest: Nitrates and the Assassin
# Author: Unknown
# Updated:  Andrew80k
###########################################

sub EVENT_SAY { 

   if($text=~/Hail/i){

      quest::say("Hail, $name!  Are you just visiting Qeynos?  We have plenty of rooms available or, if your throat is parched, you can always visit Earron in our pub."); 
   }

}
sub EVENT_SIGNAL {
    if ($signal==2) {
        quest::say("Yes.  He is staying here at the Lion's Mane Inn, but it is against regulations to give out room numbers.  I can tell you that he loves to see the sun rise over the ocean.");
    }
}

#END of FILE Zone:qeynos  ID:1104 -- Tasya_Huntlan
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 01:16 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3