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 08-08-2010, 04:18 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Also, it is generally a good idea to put quest::saylink() inside the sub EVENT, instead of outside of it like you have them. If it works as you have it though, probably no need to change it.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #2  
Old 08-08-2010, 04:23 PM
Bellos
Hill Giant
 
Join Date: Jul 2007
Posts: 111
Default

Quote:
Originally Posted by trevius View Post
Also, it is generally a good idea to put quest::saylink() inside the sub EVENT, instead of outside of it like you have them. If it works as you have it though, probably no need to change it.
yeah it works. I just wanted to keep my script organized as best i could. I could probably seperate it in to functions huh? and have the function called. I may try that, im sure that would be needed for larger scripts
Reply With Quote
  #3  
Old 08-08-2010, 05:04 PM
Bellos
Hill Giant
 
Join Date: Jul 2007
Posts: 111
Default

question, This isnt working. I cant find any good item turn in quest examples.

The NPC does nothing when he is handed the item.

Code:
sub EVENT_ITEM {

	if (plugin::check_handin(\%itemcount, 1391 => 1)) {
	quest::say("It seems the orcs are trying to summon an Ancient Demon. Please go and stop them before its to late!!");
	}

	else {
 	    plugin::return_items(\%itemcount);
    	quest::say("I have no use for this item, $name.  Take it back.");
	}  
}
Reply With Quote
  #4  
Old 08-08-2010, 05:16 PM
Bellos
Hill Giant
 
Join Date: Jul 2007
Posts: 111
Default

figured it out, it was in the wrong folder by default
Reply With Quote
  #5  
Old 08-08-2010, 05:18 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

The plugins probably need to be copied from your eqemu\quests\plugins folder to the eqemu\plugins folder.

i.e. the folder that has your world.exe, zone.exe etc, in it should have a subfolder called 'plugins' with these in it:

Code:
entwisd@rama ~/eqemu $ dir plugins
check_handin.pl   commands.pl         default.pl  guildmasters.pl  plugin.pl       worldui.pl
check_hasitem.pl  default-actions.pl  globals.pl  npc_tools.pl     soulbinders.pl  zone_tools.pl
EDIT: The PEQ quest repo (including the plugins) is here: http://code.google.com/p/projecteqqu...ource/checkout
Reply With Quote
Reply


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 04:29 AM.


 

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