Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 04-23-2008, 10:54 PM
erik_llewellyn
Sarnak
 
Join Date: Dec 2006
Posts: 98
Cool

Thanks for the tip on ignoring the player.pl errors Aramid. Since the quest started working I didn't think it could be that bad to see them still, but you never know As for the plugins, they are already in both, and appear to be functioning.
Reply With Quote
  #2  
Old 04-23-2008, 11:05 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Just noting that you have a typo again in the new one you posted this last time. Check the following line:

Quote:
quest::say("You have done it $name! May you be graced with the strength of Brell Seliris!");Brell!");
That definitely won't work lol! I imagine it is just a copy and paste mistake when you posted it here. But I wanted to note it in case someone else sees it and wants to use some of the script.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 04-23-2008, 11:09 PM
erik_llewellyn
Sarnak
 
Join Date: Dec 2006
Posts: 98
Default

you are correct about a copy and paste error. I have been up for too many hours and it's showing lol. thanks Trevius for the spot. Third times a charm....hopefully...zzzzzzzz

sub EVENT_SAY {
if($text =~ /Hail/i) {
quest::say("Greetings $name. Have you come to [rid] us of the vile Emperor?");
}
if($text =~ /rid/i) {
quest::say("Outstanding! All you have to do is kill Emperor Crushbone then bring me the proof in the form of his head.");
}
}
sub EVENT_ITEM{
#Taskmaster earring
if($item1== 1001){
quest::say("You have done it $name! May you be graced with the strength of Brell Seliris!");
quest::exp(25000);
quest::ding();
quest::set_zone_flag(58 );
$client->Message(15, "You received a character flag!");
}
}
Reply With Quote
  #4  
Old 04-24-2008, 01:02 PM
LordKahel
Fire Beetle
 
Join Date: Sep 2007
Posts: 22
Default

Personnally i prefer not to put the return item in a else . That way if they give you the right item with another item , the other items will be returned ...

Example:
Code:
sub EVENT_ITEM {

if (plugin::check_handin(\%itemcount, 1001=>1)) {
quest::say("You have done it $name! May you be graced with the strength of Brell Seliris!");
quest::exp(25000);
quest::ding();
quest::set_zone_flag(58 );
$client->Message(15, "You received a character flag!"); 
}


plugin::return_items(\%itemcount);

}
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 02:02 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