January 7, 20188 yr 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!
January 10, 20188 yr you can use LUA to get the Bind location: http://wowwiki.wikia.com/wiki/API_GetBindLocation
January 10, 20188 yr 1 hour ago, marrvin said: you can use LUA to get the Bind location: http://wowwiki.wikia.com/wiki/API_GetBindLocation He said ID not string ;)
January 10, 20188 yr 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
January 10, 20188 yr https://wrobot.eu/forums/topic/5764-hearthstone-for-multi-language/?page=0#comment-26212 I told him to look for the lua on the forum because my name is attached on it from months back. No jokes for you. Edited January 10, 20188 yr by Zan
Create an account or sign in to comment