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

Question to <TurnIn> Quests Order

aprisma

New Member
Joined
Feb 25, 2011
Messages
359
Reaction score
0
Hello,

is it possible that the toon do 6 quests from different NPCs and after the 6 are done turn them in to the quest givers? So that it dont make a quest turn in, make another turn in ...........

TB again :-) I have about 20 quests in the profile. 6 of them are choosen for random dailys. So the toon starts to do the quests (all 6) and then go back to the camp and should turn in all 6 quests.

thanx a lot,
cheers,
 
You just have to implement for every single possible Quest something like this:
PHP:
<If Condition="HasQuest(11035) &amp;&amp; IsQuestCompleted(11035)">
    <TurnIn QuestName="The Not-So-Friendly Skies..." TurnInName="Yarzill the Merc" QuestId="11035" TurnInId="23141" />
</If>

Then he will only return a Quest if he has it and the Quest is completed
 
aprisma said:
I have about 20 quests in the profile. 6 of them are choosen for random dailys. So the toon starts to do the quests (all 6) and then go back to the camp and should turn in all 6 quests.

Affording this kind of control to the Profile Writer was precisely why <QuestOrder> was implemented in preference to the older <ForcedQuestList>.

More info here...
[wiki]Honorbuddy Profile Tag: TurnIn[/wiki]

cheers,
chinajade
 
Chinajade: So you mean that I only have to put the 20 Bring In Orders for the quests at the end of the questorder tag?

Katzerle: This is exact the problem. When I do it for every single quest like in your example. The quest is forfilled and so the bring in will happen. But it should wait till all TB Quest are forfilled and THEN bring in the quests.

So its a kind of .... if quest 1,2,3,4,5,6 are forfilled then do ..........

any idea?
cheers,
 
OK better example:

this is from the wiki:
Code:
 <Objective QuestName="Plants of Zangarmarsh" QuestId="9802" Type="CollectItem" ItemId="24401" CollectCount="10" />
       <Objective QuestName="A Damp, Dark Place" QuestId="9788" Type="CollectItem" ItemId="24411" CollectCount="1" />
       <TurnIn QuestName="Plants of Zangarmarsh" QuestId="9802" TurnInId="17909" />
       <TurnIn QuestName="A Damp, Dark Place" QuestId="9788" TurnInId="17956" />
I take the quest manually. So when I havve taken the Quest "Plants of Zangarmarsh" but NOT the other quest, will it still turnin the first quest because the 2nd is not available?
thanx a lot
cheers,
 
Last edited by a moderator:
no...

it does exactly what you tell it to do

Pickup
Pickup
objective
objective
turnin
turnin

now if you want to keep plants of zangarmarsh until later, that's fine. but if you want to turn it in with AD, DP quest there... then i suggest you set an override to farm them somewhere so the bot doesn't go around the zone killing stuff
 
OK better example:

this is from the wiki:
Code:
<Objective QuestName="Plants of Zangarmarsh" QuestId="9802" Type="CollectItem" ItemId="24401" CollectCount="10" />
<Objective QuestName="A Damp, Dark Place" QuestId="9788" Type="CollectItem" ItemId="24411" CollectCount="1" />
<TurnIn QuestName="Plants of Zangarmarsh" QuestId="9802" TurnInId="17909" />
<TurnIn QuestName="A Damp, Dark Place" QuestId="9788" TurnInId="17956" />
I take the quest manually. So when I havve taken the Quest "Plants of Zangarmarsh" but NOT the other quest, will it still turnin the first quest because the 2nd is not available?
thanx a lot
cheers,

Some little explanations to Questorder and so on :)
The Bot will do exactly what you tell him to do and exactly in this order:

For example:
<Questorder>
Finish Quest 23456
Finish Quest 45677
Turnin Quest 23456
Turnin Quest 45677
</Questorder>
Will exactly do that-> finish both Quests and then turn them in, first 23456 then 45677. If you don't have Quest 23456 this might result in a failure.

So you have to wrap around some if-cases, so that he only finishes the Quests and turn them in if he really has them:
If Condition="HasQuest(23456) &amp;&amp; !IsQuestCompleted(23456)"
finish Quest 23456
end if
If Condition="HasQuest(45677) &amp;&amp; !IsQuestCompleted(23456)"
finish Quest 23456
end if
If Condition="HasQuest(23456) &amp;&amp; IsQuestCompleted(23456)"
Turnin Quest 23456
end if
If Condition="HasQuest(45677) &amp;&amp; IsQuestCompleted(45677)"
turnin Quest 45766
end if

Then he will only try to solve the Quest if he has them and they ar not completed and only turn Quests in which he has and which are completed

Hint: The ! before IsQuestCompleted(45677) means if this is not completed
! is a negation
 
Last edited:
My postet Code means:

PHP:
<If Condition="HasQuest(11035) &amp;&amp; IsQuestCompleted(11035)">
    <TurnIn QuestName="Whatever" TurnInName="Yarzill the Merc" QuestId="11035" TurnInId="23141" />
</If>

If Condition = Myself ----- has the Quest (with QuestID 11035)
&amp;&amp; means "and"
The Quest is Completed (with QuestID 11035)
then do "Turnin Quest with Name ..... to NPC with Name .... The Quest has the ID ... and the NPC the ID .....
/If means this special if is ended

But you also can just use my Code, copy it 20 times to your Questorder at last position (to turn in after he solved all Quests) and insert the right Quest- and NPC-IDs and -Names for every 20 Quests

Playing a little bit around with this is quite a good beginning with profilewriting ;)
 
Last edited:
Yes indeed. I found out that the Gathering Profiles are the easiest to make ..... but the quest profiles are more difficult. Trying a CC makes me suicide at the moment ^^ -- Future will show.
cheers,
 
:) I started Profile writing with a Tol Barat Remake, too.
Then I wrote a Questprofile myself and now I write Plugins :D
welcome to the scripter :)

The bad thing on this is, this makes a lot more fun then playing WOW. :p
 
you are right .... making the profiles makes more fun than using them. Yesterday I watched my bot doing TB allone and was totally fascinated ^^
 
BotTV is *most* addicting--even better than soaps! :D

cheers,
chinajade
 
Back
Top