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

Quests::Completed This is where Completed quests are.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-23-2009, 08:41 PM
Loftus
Sarnak
 
Join Date: Feb 2009
Location: New Mexico
Posts: 34
Default

Sadly, that did not work :(
Reply With Quote
  #2  
Old 02-23-2009, 08:55 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

Did you make the changes while the server was still running? If so, make sure you #reloadpl
Is your check_handin plugin in the proper plugin folder?
Reply With Quote
  #3  
Old 02-23-2009, 09:01 PM
Loftus
Sarnak
 
Join Date: Feb 2009
Location: New Mexico
Posts: 34
Default

Woot! That did it!

Thank you so much, J.

Now with my test GM character, the experience that was returned was a value other than 2500. It was 356875 - how do I account for that?

Also, where do I get the plugin "plugin::return_items(\%itemcount)"?
Reply With Quote
  #4  
Old 02-23-2009, 09:05 PM
Andrew80k
Dragon
 
Join Date: Feb 2007
Posts: 659
Default

You don't really get experience as a GM so you can pretty much ignore that value. I've never looked at the code to see why it spits out those numbers though. They can be pretty huge.
Reply With Quote
  #5  
Old 02-23-2009, 09:06 PM
Loftus
Sarnak
 
Join Date: Feb 2009
Location: New Mexico
Posts: 34
Default

Thanks Andrew! Any guidance on the return_items plugin?
Reply With Quote
  #6  
Old 02-23-2009, 09:14 PM
Andrew80k
Dragon
 
Join Date: Feb 2007
Posts: 659
Default

Quote:
Originally Posted by Loftus View Post
Thanks Andrew! Any guidance on the return_items plugin?
I believe it is part of the check_items plugin. It's part of one of them. I looked it up once but don't recall which one it is in. You can search for it in the plugin folder if you check for contents(ie grep).
Reply With Quote
  #7  
Old 02-23-2009, 09:19 PM
Loftus
Sarnak
 
Join Date: Feb 2009
Location: New Mexico
Posts: 34
Default

Oh gotcha.

So as long as I have the handin plugin I do not need to add a 5th file in the plugin directory for this?

Also, someone else noted in another thread that they prefer to NOT put the return_items in an else statement, but rather at the end as stand-alone. This apparently would return any unused/incorrect items if at least some of the items were what the NPC was looking for?

So,

Code:
sub EVENT_ITEM
{
if(plugin::check_handin(\%itemcount, 54001 => 1))
  {
  quest::say("Alas, my poor Sethena! Thank you for this trinket, $name. Please, take this as a token of my gratitude.");
  quest::faction(264,100);
  quest::exp(18000);
  quest::summonitem(54002);
  }
}

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 03:12 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