Jump to content

Check hearthstone area id/hearthstone zone


Bronson

Recommended Posts

Hi all! Not found in the developer tools condition to check the hearthstone zone/id :( Is there such a function in WRobot? Is it possible to add such a feature?

The problem is that hearthstone is not always correctly attached to the innkeeper, for example:

<QuestsSorted Action="Wait" NameClass="2000" />
<QuestsSorted Action="RunMacroLua" NameClass="/tar Innkeeper Gryshka" />
<QuestsSorted Action="Wait" NameClass="2000" />
<QuestsSorted Action="RunLuaCode" NameClass="RunBinding("INTERACTTARGET") " />
<QuestsSorted Action="Wait" NameClass="2000" />
<QuestsSorted Action="RunMacroLua" NameClass="/click GossipTitleButton1" />
<QuestsSorted Action="Wait" NameClass="2000" />
<QuestsSorted Action="RunMacroLua" NameClass="/click StaticPopup1Button1" />
<QuestsSorted Action="Wait" NameClass="2000" />

Works not in 100% of cases, the character can bind your hearthstone to a new tavern, and can not bind in some cases, which causes problems later :( To avoid this, I wanted to add a "while" condition to bot exactly tied hearthstone to the tavern, but in order to do this you need to know at least the area where the stone is already bound, however, it turns out that these data are not available.

Maybe someone faced with similar problem? I would be grateful for any help!

Link to comment
Share on other sites

 

1 hour ago, Zan said:

He said ID not string ;)

no he said :

On 07/01/2018 at 1:09 PM, Bronson said:

... to check the hearthstone zone/id ..

with zone given as a string it not that complicated to test it against a given zone name to check  if hearthbinding was successfull :wink:

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...