The Lost Trinket
Ok, I am starting to get in the swing. I have found a quest that doesn't appear to be in the PEQ quest repositoty: The Lost Trinket. *EDIT* This is actually called "The Lost Snake".
The NPC name is Animal_Trainer_Visop. Here is the code: Code:
#zone - rathemtn Can anyone help? |
Incidentally, everything in the EVENT_SAY section works fine. So there is just something wrong with the turn-in section, EVENT_ITEM.
|
=> instead of ==
|
Thank you so much, J!
|
Sadly, that did not work :(
|
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? |
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)"? |
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.
|
Thanks Andrew! Any guidance on the return_items plugin?
|
Quote:
|
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 |
Correct on both.
|
You have it outside of the sub..
Personally, I like having the return items in the elsif statement just so I feel better that the hand-in item won't accidentally be returned along with the reward. |
Quote:
Good catch on the placement of the return too. I didn't look at the code real close. |
All times are GMT -4. The time now is 02:13 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.