Bronson 3 Posted January 7, 2018 Share Posted January 7, 2018 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 https://wrobot.eu/forums/topic/8204-check-hearthstone-area-idhearthstone-zone/ Share on other sites More sharing options...
Zan 99 Posted January 7, 2018 Share Posted January 7, 2018 There is none. Search the forum for lua that'll use name instead of id. Link to comment https://wrobot.eu/forums/topic/8204-check-hearthstone-area-idhearthstone-zone/#findComment-37470 Share on other sites More sharing options...
marrvin 8 Posted January 10, 2018 Share Posted January 10, 2018 you can use LUA to get the Bind location: http://wowwiki.wikia.com/wiki/API_GetBindLocation Bronson and Matenia 1 1 Link to comment https://wrobot.eu/forums/topic/8204-check-hearthstone-area-idhearthstone-zone/#findComment-37572 Share on other sites More sharing options...
Zan 99 Posted January 10, 2018 Share Posted January 10, 2018 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 ;) Link to comment https://wrobot.eu/forums/topic/8204-check-hearthstone-area-idhearthstone-zone/#findComment-37577 Share on other sites More sharing options...
marrvin 8 Posted January 10, 2018 Share Posted January 10, 2018 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 Link to comment https://wrobot.eu/forums/topic/8204-check-hearthstone-area-idhearthstone-zone/#findComment-37580 Share on other sites More sharing options...
Zan 99 Posted January 10, 2018 Share Posted January 10, 2018 (edited) 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, 2018 by Zan Link to comment https://wrobot.eu/forums/topic/8204-check-hearthstone-area-idhearthstone-zone/#findComment-37586 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now