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

Set Hearth Using Macros

tubajedimr

New Member
Joined
Apr 6, 2010
Messages
441
Reaction score
24
Check it yo


PHP:
<HBProfile>
<QuestOrder>
		<RunTo QuestId="0" X="1569.683" Y="-4416.931" Z="15.43902" />
		<CustomBehavior File="BasicInteractWith" QuestId="0" NpcID="6929" MoveTo="1" />
		<CustomBehavior File="RunMacro" Macro="/script SelectGossipOption(1)" NumOfTimes="1" WaitTime="5000"/>
		<CustomBehavior File="RunMacro" Macro="/click StaticPopup1Button1" NumOfTimes="1" WaitTime="5000"/>
</QuestOrder>
</HBProfile>

This sets your hearth to the Valley of Strength in Orgrimmar.

Great for questing profiles. You can set hearth to whatever you please using this macro by changing the NpcID in the BasicInteractWith. The RunTo is only to get you near the NPC necessary.

For questing profiles you can also do a macro "/use hearthstone", and then continue about your merry way. :-)

Enjoy!

TubaJedi
 
I Tried, but the above didnt work for me..
I tried creating 2 macro keys, and key manually, it works.. but not within HB..
Below error message

"Exception thrown in CustomBehavior object for tag:
<custombehavior file="RunMacro" macro="/script SelectGossipOption(1)\n/script CloseGossip()" numoftimes="1" waittime="5000">
make sure the tag has all required attributes and try again.
Couldn't find file for UserDefinedQuestBehavior."

</custombehavior><custombehavior waittime="5000" numoftimes="1" macro="/script SelectGossipOption(1)\n/script CloseGossip()" file="RunMacro"><runto z="-8.957047" y="-347.3099" x="-2365.366" questid="0"><custombehavior moveto="1" npcid="6747" questid="0" file="BasicInteractWith"><runto questid="0" x="-2365.366" y="-347.3099" z="-8.957047"><custombehavior waittime="5000" numoftimes="1" macro="/script SelectGossipOption(1)\n/script CloseGossip()" file="RunMacro"><runto z="-8.957047" y="-347.3099" x="-2365.366" questid="0"><custombehavior moveto="1" npcid="6747" questid="0" file="BasicInteractWith"><custombehavior file="RunMacro" macro="/script SelectGossipOption(1)\n/script CloseGossip()" numoftimes="1" waittime="5000"><runto questid="0" x="-2365.366" y="-347.3099" z="-8.957047"><custombehavior file="BasicInteractWith" questid="0" npcid="6747" moveto="1"><custombehavior file="RunMacro" macro="/script SelectGossipOption(1)\n/script CloseGossip()" numoftimes="1" waittime="5000"><custombehavior file="RunMacro" macro="/click StaticPopup1Button1" numoftimes="1" waittime="5000">Solved - realized i need RunMacro.cs under my Quest Behavior folder

New Problem..
My bot keep going to keep go back to inn to set hearth in location even though current location is already set whenever i restart HB
If i input the hearth Macro, it will hearth as well whenever i restart HB
</custombehavior></custombehavior></custombehavior></runto></custombehavior></custombehavior></runto></custombehavior></runto></custombehavior></runto></custombehavior>
 
Last edited:
allentcl82: That's why you need to use conditional statements to tell the bot when it should use/set hearthstone. Read the wiki about writing questing profiles, might help a bit.
 
Back
Top