November 9, 20179 yr Hi been using HearthstoneToGoToTown.cs for tbc 2.4.3 works fine. but when i try using it in vanilla 1.12.1 i get this error [string"epsqkdd.lua"]:1:attempt to call global `runmacrotext'(a nil value) and the plugin dosent hearthstone me, when it needs to sell items. Is there a workaround for 1.12.1? thx:)
November 10, 20179 yr Hello, If you use this: https://wrobot.eu/forums/topic/4721-use-hearthstone-when-bags-are-full/?do=findComment&comment=21875 edit plugin with notepad and replace: Lua.LuaDoString("local itemName, _, _, _, _, _, _, _ = GetItemInfo(6948); RunMacroText('/use ' .. itemName);"); by wManager.Wow.Helpers.ItemsManager.UseItem(6948);
November 10, 20179 yr Author thx it tries using the hearthstone now. but sinc i'm a druid i just says "cant use items when shapeshifted", and just starts running. can you add a line so it drops cat/bear form before it uses the hearthstone?
November 12, 20179 yr Add this line (before use item): wManager.Wow.Bot.Tasks.MountTask.DismountMount();
November 12, 20179 yr Author thx. is will dismount now but it will try to cast heartstone at the same time as dismount so it just starts running. is it possible to put in some delay between dismount and useitem?
November 12, 20179 yr 2 hours ago, oste said: thx. is will dismount now but it will try to cast heartstone at the same time as dismount so it just starts running. is it possible to put in some delay between dismount and useitem? System.Threading.Thread.Sleep(2000); inbetween those two lines
Create an account or sign in to comment