What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Pickup Quest From Item

eddie4

New Member
Joined
Sep 16, 2010
Messages
296
Reaction score
8
Am making a profile to pickup a few quests from quest items that drop while levelling. But am running into a weird error I have 10 quests which 4 of them give the error that the quest item has not been found. But it has been encapsulated in an if statement in the same way as the other quests are.

Code:
Could not pickup quest from item with id:24559 the item was not found!
Honorbuddy Stopped!

I have added the profile all quests that are commented are the ones that have the problem. Note that you don't need to have quest items it should just skip them if you don't have them in your inventory.
 

Attachments

Last edited:
Hmm I was being stupid. Ever had that moment when you can't get a piece of code to work and then the next day when you take a look and are like WTF was I thinking.

Working code for those who ever need help. code is missing <
PHP:
<If Condition="HasItem(23338)">
<PickUp QuestName="Missing Missive" GiverType="Item" QuestId="9373" GiverId="23338" />
<TurnIn QuestName="Missing Missive" TurnInName="Thiah Redmane" QuestId="9373" TurnInId="16991" />
</If>
 
Last edited by a moderator:
Hmm I was being stupid. Ever had that moment when you can't get a piece of code to work and then the next day when you take a look and are like WTF was I thinking.

Working code for those who ever need help. code is missing <
PHP:
<If Condition="HasItem(23338)">
<PickUp QuestName="Missing Missive" GiverType="Item" QuestId="9373" GiverId="23338" />
<TurnIn QuestName="Missing Missive" TurnInName="Thiah Redmane" QuestId="9373" TurnInId="16991" />
</If>

actually that is correct, but sometimes the item disappears after you accept the quest (i've seen this in classic a lot). so you'll want to add a
PHP:
 <if con hasquest() > 
<turnin /> 
</if>
there for the turnin
 
Back
Top