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

[request] simple mining prospecting and auctioning

jeremynative

New Member
Joined
Jun 16, 2011
Messages
133
Reaction score
1
hello i am trying to create a profile where you:

1. clear bags by putting all BOE on auction house
2. using gatherbuddy2, gathers minerals until bags full
3. hearth stone(to stormwind) and goes to auction house to put everything for auction
4. goes back to 2

the bot already does it all except hearth. i cant figure out how to do it because the guide is a 600 line wall of text and i had 3 hrs of sleep :)
 
Ok I'll just quote the part of the guide that is relevant for your request.
Lua.DoString("UseItemByName(ItemID)"); Use the item with given ItemID. ItemID can be found on Wowhead.com
Or
Lua.DoString(string.Format("RunMacroText(\"{0}\")", "/s hello"), 0);
Input to the chat box. Chat strings can be inserted, or stuff like /use Hearthstone

If you just bothered to open the guide, hit Ctrl+F (find/search) and search for Hearthstone, you would get these examples :P But I guess that's what 3 hours of sleep does to people ^_^
 
i guess it would look like this portion then


<If Condition="(bool)Settings[&quot;Cancel Undercut Auctions&quot;] &amp;&amp; DateTime.Now.Subtract((DateTime)var2).TotalSeconds &gt;= (int)var3" IgnoreCanRun="True" ChildrenCount="9">
<CustomAction Code="Log (&quot;Checking for undercut auctions&quot;);" />
Lua.DoString(string.Format("RunMacroText(\"{0}\")" , "/use Hearthstone"), 0);

<MoveToAction MoveType="NearestAH" Pathing="Navigator" Entry="0" X="-8811.736" Y="656.2274" Z="99.49487" />
<InteractionAction Entry="0" InteractDelay="0" InteractType="NPC" GameObjectType="Mailbox" SpellFocus="Anvil" />
<WaitAction Condition="false" Timeout="2000" />
<CustomAction Code="Lua.DoString(&quot;for index = 1, GetNumAuctionItems(\&quot;owner\&quot;) do local _,_,_,_,_,_,_,_,_,bidAmmount = GetAuctionItemInfo(\&quot;owner\&quot;, index) if (bidAmmount == 0) then CancelAuction(index) end end&quot;);" />
 
you don't edit the file itself. Undo the change you just did, and put that
Code:
Lua.DoString(string.Format("RunMacroText(\"{0}\")" , "/use Hearthstone"), 0);
in a custom action in PB just like you did with the logging.
 
thx gave rep

ohhh but it still just walks back to ironforge it doesnt even attempt to use hearth
cJk73.png
 
Last edited:
Back
Top