Jump to content

Recommended Posts

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:)

Link to comment
https://wrobot.eu/forums/topic/7612-hearthstonetogototowncs-for-1121/
Share on other sites

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);

 

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

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...