What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

How to buyout item in auction house

wangzhi

Community Developer
Joined
Oct 18, 2016
Messages
41
Reaction score
2
I want to buyout item in auction house and do like this(this auction house is opened and I selected one auction item, then I pressed Boyout Button and the confirm dialog is poped up).
Code:
void RunMacro(String a)
{
    Lua.DoString("RunMacroText(\"" + a + "\")");
}
RunMacro("/click StaticPopup1Button1");

This did not work and the error message in chatbox like plugin makes ui behavior failed.What is wrong with this and is there any api to run this buyout behavior?
 
I solved, thx.
Just use Lua.DoString("PlaceAuctionBid('list',1,100000)"); is ok
 
Back
Top