• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Official] Tanaan Jungle Dailies - Fully Customizable with UI

    Discussion in 'Honorbuddy Profiles' started by EchoTiger, Sep 3, 2015.

    1. EchoTiger

      EchoTiger Official Profile and Singular Developer Staff Member Moderator

      Joined:
      Nov 28, 2012
      Messages:
      6,810
      Likes Received:
      631
      Trophy Points:
      113
      This profile primarily focuses on the dailies in Tanaan Jungle. The logic which makes it go after rares is a very minute secondary logic.
      Given this, this profile couldn't be set to just farm rares.

      If you want to farm rares, then you would need to extract the rare logic that's used in this profile and build it into a new profile.
      Here's the hook that's used:

      HTML:
      <CustomBehavior File="Hooks\DoWhen" LogExecution="false" AllowExecutionWhileNotAlive="false" ActivityName="Kill Rares" UseWhen="Me.IsAlive &amp;&amp; Me.DurabilityPercent &gt;= .2 &amp;&amp; ((HasQuest(39432) &amp;&amp; !IsQuestCompleted(39432)) || (HasQuest(39433) &amp;&amp; !IsQuestCompleted(39433))) &amp;&amp; ObjectManager.GetObjectsOfType&lt;WoWUnit&gt;().Where(u =&gt; new[]{92552, 90884, 90936, 92429, 93264, 93076, 90434, 90519, 89675, 90887, 93028, 90888, 91727, 92647, 93125, 92941, 91695, 90094, 90777, 90429, 90437, 93279, 90438, 93002, 90442, 91374, 92194, 90885, 90024, 93236, 92887, 92606, 92694, 92977, 92574, 91087, 90122}.Contains((int)u.Entry) &amp;&amp; Navigator.CanNavigateFully(Me.Location, u.Location) &amp;&amp; Navigator.PathDistance(Me.Location, u.Location) &lt;= 50 &amp;&amp; u.IsAlive).OrderBy(u =&gt; Navigator.PathDistance(Me.Location, u.Location)).FirstOrDefault() != null" >
      	<CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.Yellow, &quot;[Notification]: Killing a rare.&quot;);" />
      	<CustomBehavior File="InteractWith" IgnoreMobsInBlackspots="true" MovementBy="NavigatorOnly" PreInteractMountStrategy="Dismount" WaitForNpcs="false" ProactiveCombatStrategy="ClearMobsTargetingUs" MobState="Alive" InteractByLooting="true" CollectionDistance="500"
      	MobIds="92552, 90884, 90936, 92429, 93264, 93076, 90434, 90519, 89675, 90887, 93028, 90888, 91727, 92647, 93125, 92941, 91695, 90094, 90777, 90429, 90437, 93279, 90438, 93002, 90442, 91374, 92194, 90885, 90024, 93236, 92887, 92606, 92694, 92977, 92574, 91087, 90122" TerminateWhen="Me.IsDead" />
      </CustomBehavior>

      One important thing to point out - there's no Hotspots provided in this code.
      All this code is - is merely code to tell the bot to engage a rare when it detects one near our location.

      You could use this in a profile, then have the profile loop a bunch of <MoveTo /> lines that makes the bot traverse Tanaan Jungle.
      The hook should activate when a rare is detected and attack it.


      Example profile:

      HTML:
      <HBProfile>
      
      	<DefaultNavType>Fly</DefaultNavType>
      
      	<!-- Other Profile settings -->
      
      	<QuestOrder>
      
      		<CustomBehavior File="Hooks\DoWhen" LogExecution="false" AllowExecutionWhileNotAlive="false" ActivityName="Kill Rares" UseWhen="Me.IsAlive &amp;&amp; Me.DurabilityPercent &gt;= .2 &amp;&amp; ((HasQuest(39432) &amp;&amp; !IsQuestCompleted(39432)) || (HasQuest(39433) &amp;&amp; !IsQuestCompleted(39433))) &amp;&amp; ObjectManager.GetObjectsOfType&lt;WoWUnit&gt;().Where(u =&gt; new[]{92552, 90884, 90936, 92429, 93264, 93076, 90434, 90519, 89675, 90887, 93028, 90888, 91727, 92647, 93125, 92941, 91695, 90094, 90777, 90429, 90437, 93279, 90438, 93002, 90442, 91374, 92194, 90885, 90024, 93236, 92887, 92606, 92694, 92977, 92574, 91087, 90122}.Contains((int)u.Entry) &amp;&amp; Navigator.CanNavigateFully(Me.Location, u.Location) &amp;&amp; Navigator.PathDistance(Me.Location, u.Location) &lt;= 50 &amp;&amp; u.IsAlive).OrderBy(u =&gt; Navigator.PathDistance(Me.Location, u.Location)).FirstOrDefault() != null" >
      			<CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.Yellow, &quot;[Notification]: Killing a rare.&quot;);" />
      			<CustomBehavior File="InteractWith" IgnoreMobsInBlackspots="true" MovementBy="NavigatorOnly" PreInteractMountStrategy="Dismount" WaitForNpcs="false" ProactiveCombatStrategy="ClearMobsTargetingUs" MobState="Alive" InteractByLooting="true" CollectionDistance="500"
      				MobIds="92552, 90884, 90936, 92429, 93264, 93076, 90434, 90519, 89675, 90887, 93028, 90888, 91727, 92647, 93125, 92941, 91695, 90094, 90777, 90429, 90437, 93279, 90438, 93002, 90442, 91374, 92194, 90885, 90024, 93236, 92887, 92606, 92694, 92977, 92574, 91087, 90122" TerminateWhen="Me.IsDead" />
      		</CustomBehavior>
      
      
      		<While Condition="true" > <!-- Put your XYZs here that makes the bot run around Tanaan -->
      			<MoveTo X="..." Y="..." Z="..." />
      			<MoveTo X="..." Y="..." Z="..." />
      			<MoveTo X="..." Y="..." Z="..." />
      		</While>
      
      	</QuestOrder>
      
      </HBProfile>
       
    2. Thunderball

      Thunderball New Member

      Joined:
      Oct 24, 2012
      Messages:
      195
      Likes Received:
      2
      Trophy Points:
      0
      Hi Echo, you said in your posts from september that you won't do the Tanaan unlocking quest because Kickz was about to do it.

      Is it done ? I tried to load both tanaan diplomat questing profile and it seems that it's doesn't work until you have unlocked Tanaan

      Edit : I'm retarded it's under reputation folder
       
      Last edited: Jan 27, 2016
    3. EchoTiger

      EchoTiger Official Profile and Singular Developer Staff Member Moderator

      Joined:
      Nov 28, 2012
      Messages:
      6,810
      Likes Received:
      631
      Trophy Points:
      113
      Yea, sometimes they can be hard to find since there's soo many profiles.
      Azhemoth lists out all the locations here in this thread:

       
    4. inslain

      inslain New Member

      Joined:
      Dec 4, 2014
      Messages:
      2
      Likes Received:
      0
      Trophy Points:
      0
      After Daily Quests are completed BOT gets stuck at Fel Forge Bonus objective with a 10s repeating timer.

      *RESOLVED*

      Gotta do it atleast once first.
       
      Last edited: Jan 28, 2016
    5. EchoTiger

      EchoTiger Official Profile and Singular Developer Staff Member Moderator

      Joined:
      Nov 28, 2012
      Messages:
      6,810
      Likes Received:
      631
      Trophy Points:
      113
      While the timer is looping, do you have any 'Assault on Fel Forge' quests?
      Is the 'progress bar' there to the right of your screen?
       
    6. CKTisdale

      CKTisdale Member

      Joined:
      Oct 16, 2013
      Messages:
      118
      Likes Received:
      0
      Trophy Points:
      16
      I am getting this error when attempting to start this profile

      [Compiler Error]: C:\Users\kayne\OneDrive\Documents\HB\Quest Behaviors\InteractWith.cs(698,11) : error CS0246: The type or namespace name 'UtilityCoroutine' could not be found (are you missing a using directive or an assembly reference?)
      [Compiler Error]: C:\Users\kayne\OneDrive\Documents\HB\Quest Behaviors\InteractWith.cs(699,11) : error CS0246: The type or namespace name 'UtilityCoroutine' could not be found (are you missing a using directive or an assembly reference?)
      [Compiler Error]: C:\Users\kayne\OneDrive\Documents\HB\Quest Behaviors\KillUntilComplete.cs(183,17) : error CS0246: The type or namespace name 'UtilityCoroutine' could not be found (are you missing a using directive or an assembly reference?)
      [Compiler Error]: C:\Users\kayne\OneDrive\Documents\HB\Quest Behaviors\Misc\TargetAndMoveToMob.cs(254,14) : error CS0246: The type or namespace name 'UtilityCoroutine' could not be found (are you missing a using directive or an assembly reference?)
      [Compiler Error]: C:\Users\kayne\OneDrive\Documents\HB\Quest Behaviors\SpecificQuests\10129-10146-Hellfire-MurkethAndShaadraz.cs(106,14) : error CS0246: The type or namespace name 'UtilityCoroutine' could not be found (are you missing a using directive or an assembly reference?)
      [Compiler Error]: C:\Users\kayne\OneDrive\Documents\HB\Quest Behaviors\SpecificQuests\10162-10163-Hellfire-MissionTheAbyssalShelf.cs(107,14) : error CS0246: The type or namespace name 'UtilityCoroutine' could not be found (are you missing a using directive or an assembly reference?)
      [Compiler Error]: C:\Users\kayne\OneDrive\Documents\HB\Quest Behaviors\CombatUseItemOnV2.cs(377,14) : error CS0246: The type or namespace name 'UtilityCoroutine' could not be found (are you missing a using directive or an assembly reference?)
      [Compiler Error]: C:\Users\kayne\OneDrive\Documents\HB\Quest Behaviors\CombatUseItemOnV2.cs(378,14) : error CS0246: The type or namespace name 'UtilityCoroutine' could not be found (are you missing a using directive or an assembly reference?)
       
    7. EchoTiger

      EchoTiger Official Profile and Singular Developer Staff Member Moderator

      Joined:
      Nov 28, 2012
      Messages:
      6,810
      Likes Received:
      631
      Trophy Points:
      113
      Do a fresh install of the bot. Your quest behaviors are corrupted.
       
    8. IceMannn

      IceMannn Member

      Joined:
      Dec 29, 2013
      Messages:
      62
      Likes Received:
      1
      Trophy Points:
      8
      First of all I wanna say that I use this profile almost daily and it works really nicely. I just want to propose a small suggestion about Average iLvL check in the code.

      Code:
      <If Condition="Lua.GetReturnVal&lt;float&gt;(&quot;return GetAverageItemLevel()&quot;, 0) &gt;= Settings.Instance.MinItemLevel" >
      change to
      Code:
      <If Condition="Lua.GetReturnVal&lt;float&gt;(&quot;return GetAverageItemLevel()&quot;, 1) &gt;= Settings.Instance.MinItemLevel" >
      As your evaluation checks for the average iLvL of items including those which are in the bags. This can be bad if you have a healer/tank who switched to his dps off spec while having his main spec items in the bag.

      The change which I am proposing is on the other hand checking only for average iLvL of currently equipped items.

      Cheers and keep up the great work!
       
    9. EchoTiger

      EchoTiger Official Profile and Singular Developer Staff Member Moderator

      Joined:
      Nov 28, 2012
      Messages:
      6,810
      Likes Received:
      631
      Trophy Points:
      113
      Thanks for pointing that out - when I first wrote it I didn't realize that GetAverageItemLevel returned two things.
      I figured it only returned the equipped item level.

      The request should be committed in the latest SVN push and will be live on the store at 11AM/PM UTC.
      There probably won't be a download link here as the downloads here are only pushed after a larger chunk of changes are made.
       
    10. IceMannn

      IceMannn Member

      Joined:
      Dec 29, 2013
      Messages:
      62
      Likes Received:
      1
      Trophy Points:
      8
      Glad to help, to be honest I came to this very randomly as I was tinkering with LUA implementation to my profile and just tried to print out that lua syntax and I've seen 3 results so I check it with my toon and saw what is going on :)

      Thank you for the quick response and update, as always great customer support ;)
       
    11. Azhemoth

      Azhemoth Active Member

      Joined:
      May 8, 2013
      Messages:
      534
      Likes Received:
      43
      Trophy Points:
      28
      any idea of what the third return is for?
      all the docs say nothing about it and no matter how much I've tried manipulating it, it always returns the same as the "overall" return.
       
    12. IceMannn

      IceMannn Member

      Joined:
      Dec 29, 2013
      Messages:
      62
      Likes Received:
      1
      Trophy Points:
      8
      I did not find any reference to the third value either. I am just guessing it is overall with bank and bags items included.
       
    13. kathel

      kathel New Member

      Joined:
      Oct 11, 2014
      Messages:
      6
      Likes Received:
      0
      Trophy Points:
      1
      From me it´s didn´t work, he stops on shadow hunter denjai and stay there for a eternity.
      i´m horde
       
    14. EchoTiger

      EchoTiger Official Profile and Singular Developer Staff Member Moderator

      Joined:
      Nov 28, 2012
      Messages:
      6,810
      Likes Received:
      631
      Trophy Points:
      113
      Do you perhaps have a log of this?
       
    15. frieza

      frieza New Member

      Joined:
      Mar 22, 2016
      Messages:
      3
      Likes Received:
      0
      Trophy Points:
      0
      I'm having the exact same problem, yesterday the profile had worked flawlessly for me but as of today, It approaches Shadow Hunter Denjai and then "waits for npc to show a quest cursor". If you tell me how to get you a log ill gladly provide you with one.
       
    16. EchoTiger

      EchoTiger Official Profile and Singular Developer Staff Member Moderator

      Joined:
      Nov 28, 2012
      Messages:
      6,810
      Likes Received:
      631
      Trophy Points:
      113
      Does it seem to happen consistently? Or only when other players are around the NPC.
       
    17. frieza

      frieza New Member

      Joined:
      Mar 22, 2016
      Messages:
      3
      Likes Received:
      0
      Trophy Points:
      0
      There were no players around me really in the hall that Denjai is located in, but as I said the first day i ran it, it had worked flawlessly; then yesterday that same instance kept occurring and it would just wait at him to show a quest cursor.
       
    18. EchoTiger

      EchoTiger Official Profile and Singular Developer Staff Member Moderator

      Joined:
      Nov 28, 2012
      Messages:
      6,810
      Likes Received:
      631
      Trophy Points:
      113
      I may have to check it out myself.
      There could've been undocumented changes to the NPC.
       
    19. frieza

      frieza New Member

      Joined:
      Mar 22, 2016
      Messages:
      3
      Likes Received:
      0
      Trophy Points:
      0
      That would be awesome, thanks for your help
       
    20. stelios21

      stelios21 New Member

      Joined:
      Oct 3, 2012
      Messages:
      377
      Likes Received:
      0
      Trophy Points:
      0
      I wish it could understand the quests correctly but it does the job done nonetheless.
       

    Share This Page