• Visit Rebornbuddy
  • Don't know how to solve this.

    Discussion in 'Archives' started by Megser, May 22, 2011.

    1. Megser

      Megser Well-Known Member

      Joined:
      Apr 17, 2010
      Messages:
      1,389
      Likes Received:
      73
      Trophy Points:
      48
      Okay so I want it to pickup a quest called "Rescuing Evanor". It picks up the quest without any problems but then you get auto-mounted and it flies you to a location, the problem is that HB doesn't register the quest as picked up. So when the taxi is done it will try to pick it up when it already is in the log. But since I'm dropped on a platform in the sky, and when I'm dropped of it will mount but when it goes off the platform it will just say "loading tiles" since it's flying. And then the NPC thanks you for rescuing her and teleports you back to camp but it will just keep saying "loading tiles".

      How the f* do you solve this?

      PHP:
                     <TurnIn QuestName="A Race Against Time" QuestId="11671" TurnInName="Librarian Donathan" TurnInId="25262" />
             <
      PickUp QuestName="Reforging the Key" QuestId="11679" GiverName="Librarian Donathan" GiverId="25262" />
                     <
      TurnIn QuestName="Reforging the Key" QuestId="11679" TurnInName="Surristrasz" TurnInId="24795" />
             <
      PickUp QuestName="Taking Wing" QuestId="11680" GiverName="Surristrasz" GiverId="24795" />

       <If 
      Condition="((HasQuest(11680)) &amp;&amp; (IsQuestCompleted(11680)))">
           <
      CustomBehavior File="ForcedDismount" QuestId="11680" />
           <
      CustomBehavior File="UserSettings" UseMount="false" />
      </If>
                     <
      TurnIn QuestName="Taking Wing" QuestId="11680" TurnInName="Warmage Anzim" TurnInId="25356" />

       <If 
      Condition="((HasQuest(11879)) &amp;&amp; (!IsQuestCompleted(11879)))">
           <
      CustomBehavior File="BasicInteractWith" MobId="25356" MoveTo="true" />
           <
      CustomBehavior File="RunMacro" Macro="/script SelectGossipAvailableQuest(1)" NumOfTimes="1" WaitTime="1000" />
           <
      CustomBehavior File="RunMacro" Macro="/run AcceptQuest()" NumOfTimes="1" WaitTime="1000" />
           <
      CustomBehavior File="WaitTimer" WaitTime="60000"/>
      </If>

                     <
      TurnIn QuestName="Rescuing Evanor" QuestId="11681" TurnInName="Archmage Evanor" TurnInId="25785" />
             <
      PickUp QuestName="Dragonspeak" QuestId="11682" GiverName="Archmage Evanor" GiverId="25785" />
                     <
      TurnIn QuestName="Dragonspeak" QuestId="11682" TurnInName="Surristrasz" TurnInId="24795" />
      I have tried with this code above and it worked, but if you stop this and then start again it will try to interact with the mob again. No idea what to do.
       
      Last edited: May 22, 2011
    2. Kickazz006

      Kickazz006 Well-Known Member Moderator

      Joined:
      Jan 15, 2010
      Messages:
      20,567
      Likes Received:
      302
      Trophy Points:
      83
      PHP:
                  <If Condition="((!HasQuest()) &amp;&amp; (!IsQuestCompleted()))" >
                      <
      CustomBehavior File="FlyTo" 
                      
      <CustomBehavior File="ForcedDismount" />
                  </If>
      PHP:
                  <!-- This is the MobIdnot QuestId -->
                  <While 
      Condition="HasQuestAvailable(48250)" >
                      <
      CustomBehavior File="InteractWith"  MobId="48250" NumOfTimes="1" CollectionDistance="200" WaitTime="1000" X="-351.8438" Y="1050.149" Z="22.00145" />
                      <
      CustomBehavior File="RunMacro" Macro="/click GossipTitleButton1" NumOfTimes="1" WaitTime="1000" />
                      <
      CustomBehavior File="RunMacro" Macro="/click QuestFrameAcceptButton" NumOfTimes="1" WaitTime="1000" />
                  </While>
      so:

      PHP:
                  <If Condition="((!HasQuest()) &amp;&amp; (!IsQuestCompleted()))" >
                      <
      CustomBehavior File="FlyTo" 
                      
      <CustomBehavior File="ForcedDismount" />
                   <!-- 
      This is the MobIdnot QuestId -->
                   <While 
      Condition="HasQuestAvailable(48250)" >
                      <
      CustomBehavior File="InteractWith"  MobId="48250" NumOfTimes="1" CollectionDistance="200" WaitTime="1000" X="-351.8438" Y="1050.149" Z="22.00145" />
                      <
      CustomBehavior File="RunMacro" Macro="/click GossipTitleButton1" NumOfTimes="1" WaitTime="1000" />
                      <
      CustomBehavior File="RunMacro" Macro="/click QuestFrameAcceptButton" NumOfTimes="1" WaitTime="1000" />
                   </While>
                  </If>

      ^^ I hope those make sense


      actually, upload your log here for that quest only and i'm sure I have your solution, if it's not the above code, it may not be registering that you have it in your log (sometimes happens) and i'll need to add click complete quests
       
      Last edited: May 22, 2011
    3. Megser

      Megser Well-Known Member

      Joined:
      Apr 17, 2010
      Messages:
      1,389
      Likes Received:
      73
      Trophy Points:
      48
      Unfortunately I have turned in the quest : /. I'll try with your code.

      Edit:

      Right... I can't test it if it works. I remembered that I had previous logs, it could be this one, not sure.

      Edit:

      Oh yes I can test. And it worked! Thanks so much as always Kickazz! How do you know all this? Like this:
      PHP:
      <While Condition="HasQuestAvailable(48250)" >
      It doesn't exist in the Wiki or anything.
       

      Attached Files:

      Last edited: May 22, 2011
    4. chinajade

      chinajade Well-Known Member Moderator Buddy Core Dev

      Joined:
      Jul 20, 2010
      Messages:
      17,540
      Likes Received:
      172
      Trophy Points:
      63
      Don't be silly, of course it does...
      [wiki]Honorbuddy Profile Tag Attribute: Condition[/wiki]

      This page is used so heavily, there is a shortcut to it right off the main Wiki landing page (in the References / Profile Writing table).

      cheers,
      chinajade
       
    5. Megser

      Megser Well-Known Member

      Joined:
      Apr 17, 2010
      Messages:
      1,389
      Likes Received:
      73
      Trophy Points:
      48
      Oh there it is :D. Thanks for the page.
       

    Share This Page