• Visit Rebornbuddy
  • [Official] Universal Navigation Snips

    Discussion in 'Honorbuddy Profiles' started by EchoTiger, Jan 26, 2015.

    1. SynTacTix

      SynTacTix Member Buddy Store Developer

      Joined:
      Oct 1, 2014
      Messages:
      477
      Likes Received:
      3
      Trophy Points:
      18
      This is awesome, thanks EchoTiger.
      I might look at integrating these navigation snips into some of my profiles in future, I will however follow your licensing instructions when doing so.
      Keep up the good work.
       
    2. EchoTiger

      EchoTiger Official Profile and Singular Developer Staff Member Moderator

      Joined:
      Nov 28, 2012
      Messages:
      6,809
      Likes Received:
      631
      Trophy Points:
      113
      Welcome. ^^
      If you do add it into your profiles, tell me and I'll post a link to them on the front thread.
       
    3. SynTacTix

      SynTacTix Member Buddy Store Developer

      Joined:
      Oct 1, 2014
      Messages:
      477
      Likes Received:
      3
      Trophy Points:
      18
      Awesome, thanks a million.
       
    4. Mirabis

      Mirabis Community Developer

      Joined:
      Jun 14, 2010
      Messages:
      4,475
      Likes Received:
      86
      Trophy Points:
      48
      Super handy - now I'll have to figure out how to run a questing profile from my own botbase xD
       
    5. thatgliderguy

      thatgliderguy New Member

      Joined:
      Jan 7, 2012
      Messages:
      164
      Likes Received:
      0
      Trophy Points:
      0
      call me a n00b but how do you set this up ?
       
    6. chinajade

      chinajade Well-Known Member Moderator Buddy Core Dev

      Joined:
      Jul 20, 2010
      Messages:
      17,540
      Likes Received:
      172
      Trophy Points:
      63
      Hi, Thatgliderguy,

      This is a resource for questing profile writers. Its is not something of use to normal Bot users.

      cheers,
      chinajade
       
    7. EchoTiger

      EchoTiger Official Profile and Singular Developer Staff Member Moderator

      Joined:
      Nov 28, 2012
      Messages:
      6,809
      Likes Received:
      631
      Trophy Points:
      113
      All snip downloads updated to 1.5.6
      Several MapId checks while using the Hearthstone, Innkeeper's Daughter or Astrall Recall - were missing or incorrect.
       
      Last edited: Aug 15, 2015
    8. EchoTiger

      EchoTiger Official Profile and Singular Developer Staff Member Moderator

      Joined:
      Nov 28, 2012
      Messages:
      6,809
      Likes Received:
      631
      Trophy Points:
      113
      Added 'RemoteCode' QuestBehaviors.

      These quest behaviors will load the navigation code into a temporary profile, and have the bot load from that temporary profile.
      No changes are made to your original profile when the navigation code is loaded.

      This option will both:
      - Keep the navigation code up to date, the RemoteCode pulls from GitHub (or whatever source you provide) every time the user starts the bot.
      - Minimalize the number of lines in your profile.

      Instead of crowding your profile up with 300lines of navigational mess, these QuestBehaviors will chop it down to 2lines at max.

      Be sure to not use the Auto-Updating snips in conjunction with the RemoteCode behaviors.
      This would most-likely cause some serious errors.

      Instead, you may use this GitHub source for a list of navigation snips that do not auto-update.
      These navigation snips are kept up to date with the others, and they do not have the auto-updating code.

      Make sure when you use the GitHub source that you use the 'raw' text of the snips.
      Do not use GitHubs webpage.

      Ex:

      https://github.com/Pookthetook/AzyulBotBase/blob/master/Navigation/ToDraenor.xml

      https://raw.githubusercontent.com/Pookthetook/AzyulBotBase/master/Navigation/ToDraenor.xml ✔
       
      Last edited: Aug 15, 2015
    9. EchoTiger

      EchoTiger Official Profile and Singular Developer Staff Member Moderator

      Joined:
      Nov 28, 2012
      Messages:
      6,809
      Likes Received:
      631
      Trophy Points:
      113
      Emergency Update

      To Pandaria.xml has been updated to correct a missing end-tag.
      RemoteCode.cs download was added.​
       
      Last edited: Aug 22, 2015
    10. marktwain

      marktwain Member

      Joined:
      Mar 10, 2014
      Messages:
      220
      Likes Received:
      10
      Trophy Points:
      18
      This does not seem to work when traveling to my level 2 horde garrison. It uses Garrison Hearth stone then gets stuck at
      PHP:
      <CustomBehavior File="Misc\RunLua" Lua="UseItemByName(110560);" WaitTime="500" />
       
    11. EchoTiger

      EchoTiger Official Profile and Singular Developer Staff Member Moderator

      Joined:
      Nov 28, 2012
      Messages:
      6,809
      Likes Received:
      631
      Trophy Points:
      113
      Fixed in the remote sources.
      Will post a .XML version to the forums tonight.
       
    12. alvysinger

      alvysinger New Member

      Joined:
      Sep 16, 2011
      Messages:
      22
      Likes Received:
      0
      Trophy Points:
      0
      Hi there, I noticed it didn't detected my Blessed Medallion of Karabor when trying to get to Outland for a Black Temple run. Went ahead and made the code for it, no clue if you'll find this useful for the project, but here, enjoy:

      Code:
      <If Condition="(HasItem(32757))" >
      	<CustomBehavior File="UserSettings" AutoEquip="false"/>
      
      	<CustomBehavior File="Message" Text="Convenient teleport detected!" LogColor="Lime" />
      <CustomBehavior File="Message" Text="Equipping item." LogColor="Lime" />
      	<CustomBehavior File="EquipItem" ItemId="32757"/>
      
      <CustomBehavior File="Message" Text="Equipped. Waiting on CD." LogColor="Lime" />
      	<CustomBehavior File="WaitTimer" WaitTime="32500" />
      	<CustomBehavior File="Message" Text="Using teleport." LogColor="Lime" />
      	<CustomBehavior File="RunMacro" Macro="/use 2" />
      	<CustomBehavior File="Message" Text="Giving game a sec." LogColor="Lime" />
      	<CustomBehavior File="WaitTimer" WaitTime="5000" />
      	<CustomBehavior File="Message" Text="Unequipping. Here we go..." LogColor="Lime" />
      	<CustomBehavior File="UserSettings" AutoEquip="true"/>
      
      </If>
       
    13. blakbelt

      blakbelt New Member

      Joined:
      Aug 21, 2015
      Messages:
      16
      Likes Received:
      0
      Trophy Points:
      1
      Hi Azyul,

      quick question that doesn't seem to have been covered. Can the universal navigation snips be used for point to point navigation and if so, how?

      example: If i wanted to travel from Stormwind to Tirisfal glades, how would I invoke that using the snips?

      thanks for the effort you have made in making these they are excellent.
       
    14. marktwain

      marktwain Member

      Joined:
      Mar 10, 2014
      Messages:
      220
      Likes Received:
      10
      Trophy Points:
      18
      From what I can see, the UNS's are only usable to go from continent to continent. In order to travel to specific places more quickly, you would need to add that code to your profile. If you were feeling motivated you could write a nav snip to travel to "southern kalimdor/eastern kingdoms." Then you could put it in a github and call it up w/ loadremote similar to Azyul's.
       
    15. blakbelt

      blakbelt New Member

      Joined:
      Aug 21, 2015
      Messages:
      16
      Likes Received:
      0
      Trophy Points:
      1
      Thanks for that Mark..

      Being new to profile development, I'll leave that to you seasoned pro's... something to think about in the future for me though...

      Next question: will the following work within the same profile:

      Code:
                      <!-- Universal Nav Start -->
      		<CustomBehavior File="LoadRemoteCode"/> 
      		<CustomBehavior File="RemoteCode" CodeUrl="https://raw.githubusercontent.com/Pookthetook/AzyulBotBase/master/Navigation/ToDraenor.xml"/>
      		<CustomBehavior File="RemoteCode" CodeUrl="https://raw.githubusercontent.com/Pookthetook/AzyulBotBase/master/Navigation/ToEasternKingdoms.xml"/>
      		<!-- Universal Nav End -->
      And will it dynamically call which one is needed?
       
    16. marktwain

      marktwain Member

      Joined:
      Mar 10, 2014
      Messages:
      220
      Likes Received:
      10
      Trophy Points:
      18
      If I remember correctly, you need to have "CustomBehavior File="LoadRemoteCode"/" before every file you want to load. But I don't see what you are trying to accomplish w/ this. by loading each nav snip back to back like this, you will just move to one continent, then the other. If you want to go to one continent, then do something, then go to the next continent and do something else, you need to write that accordingly. So, Load Nav snip perform objective, Load next nav snip perform 2nd objective, etc...
       
    17. blakbelt

      blakbelt New Member

      Joined:
      Aug 21, 2015
      Messages:
      16
      Likes Received:
      0
      Trophy Points:
      1
      Hi Mark

      thanks again for taking the time to answer.

      From what I have read of the UNS the code is designed to be called when needed. So if i have a profile that needs to travel to Ashran then back to Stormwind.

      Editted: I have re-read the post above and believe that the answer is:
      Code:
      <CustomBehavior File="LoadRemoteCode"/> 
      <!--more code below here-->
      <!--Where I want to go to Draenor-->
      <!-- Universal Nav Start -->
      <CustomBehavior File="RemoteCode" CodeUrl="https://raw.githubusercontent.com/Pookthetook/AzyulBotBase/master/Navigation/ToDraenor.xml"/>
      <!--Universal Nav End-->
      <!--Even More code here-->
      <!--Where I want to go to back to Stormwind-->
      <!-- Universal Nav Start -->
      <CustomBehavior File="RemoteCode" CodeUrl="https://raw.githubusercontent.com/Pookthetook/AzyulBotBase/master/Navigation/ToEasternKingdoms.xml"/>
      <!--Universal Nav End-->
       
      Last edited: Oct 1, 2015
    18. marktwain

      marktwain Member

      Joined:
      Mar 10, 2014
      Messages:
      220
      Likes Received:
      10
      Trophy Points:
      18
      kk, I think you are understanding what needs to be done, but I'm going to post a literal example to make sure.
      PHP:
      <CustomBehavior File="LoadRemoteCode"/> 
      <
      CustomBehavior File="RemoteCode" CodeUrl="https://raw.githubusercontent.com/Pookthetook/AzyulBotBase/master/Navigation/ToDraenor.xml"/>
      <
      MoveTo DestName="Ashran" X="1111.111" Y="2222.222" Z="333.333" />
      <Do 
      whatever it is we need to do in Ashran />
      <
      CustomBehavior File="LoadRemoteCode"/> 
      <
      CustomBehavior File="RemoteCode" CodeUrl="https://raw.githubusercontent.com/Pookthetook/AzyulBotBase/master/Navigation/ToEasternKingdoms.xml"/>
      <
      MoveTo DestName="Stormwind" X="1111.111" Y="2222.222" Z="333.333" />
       
    19. blakbelt

      blakbelt New Member

      Joined:
      Aug 21, 2015
      Messages:
      16
      Likes Received:
      0
      Trophy Points:
      1
      Thanks for clearing that up :)
       
    20. EchoTiger

      EchoTiger Official Profile and Singular Developer Staff Member Moderator

      Joined:
      Nov 28, 2012
      Messages:
      6,809
      Likes Received:
      631
      Trophy Points:
      113
      The navigation blocks are primarly used to get the player to a specific expansion zone which is why they're more 'universal.'
      Technicals such as going to the Black Temple are expected to be handled by the profile developer themselves.
       

    Share This Page