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

how to run macro StartAuction

wangzhi

Community Developer
Joined
Oct 18, 2016
Messages
41
Reaction score
2
When I start to create an auction by using

String a = "/script StartAuction(10000000,15000000,3)";
Lua.DoString("RunMacroText("" + a + "")");

or using

String a = "/script AuctionsCreateAuctionButton:Click()";
Lua.DoString("RunMacroText("" + a + "")");

nothing is happen, so how to resolve this?
 
Last edited:
I have tried many times, when i set gold, silver, copper by myself and run /click AuctionsCreateAuctionButton macro, it successed.
But When I set gold, silver, copper by Lua, it failed.
eg:
String a = "/script StartPriceGold:SetText('8888')";
Lua.DoString("RunMacroText("" + a + "")");
a = "/click AuctionsCreateAuctionButton";
Lua.DoString("RunMacroText("" + a + "")");
it failed, only just use
a = "/click AuctionsCreateAuctionButton";
Lua.DoString("RunMacroText("" + a + "")");
it succeced
 
Back
Top