• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Professionbuddy] AHBuddy - Full Auction House Bot

    Discussion in 'Archives' started by zakanator, May 7, 2012.

    Thread Status:
    Not open for further replies.
    1. l0gic

      l0gic New Member

      Joined:
      Jan 12, 2013
      Messages:
      78
      Likes Received:
      0
      Trophy Points:
      0
      As far as I'm aware the default AHBuddy is not set to 'buy' Cobalt Ore.. So no, it shouldn't buy it back. Also I'm pretty sure you can't buy/bid on your own auctions (from any character on your account).

      If you are undercut by someone else, it will cancel your auctions and re-list them.

      I'm not sure how much more I can help. :/
       
    2. stillill666

      stillill666 New Member

      Joined:
      Jan 20, 2013
      Messages:
      31
      Likes Received:
      0
      Trophy Points:
      0
      well then it should buy the undercut items and repost them at my price right?
       
    3. stillill666

      stillill666 New Member

      Joined:
      Jan 20, 2013
      Messages:
      31
      Likes Received:
      0
      Trophy Points:
      0
      So basically what I need to do is find the cheapest "ore" price say 20 cobalt ore for 40 gold I should just sell the stacks for 20% less? and that is my Min right?
       
    4. kev1br5

      kev1br5 New Member

      Joined:
      Jun 6, 2011
      Messages:
      144
      Likes Received:
      0
      Trophy Points:
      0
      Why is trying to sell my Golden Lotus at 10g each when its currently on the AH for 35g
       

      Attached Files:

    5. l0gic

      l0gic New Member

      Joined:
      Jan 12, 2013
      Messages:
      78
      Likes Received:
      0
      Trophy Points:
      0
      I'll try this one more time.

      This piece if the file deals with selling the item, where MinBuyout and MaxBuyout are the prices set by you.
      PHP:
      <!--Cobalt Ore-->
      <
      SellItemOnAhAction UseCategory="False" RunTime="_12_Hours" AmountType="Amount" ItemID="36909" MinBuyout="2g35s0c" MaxBuyout="3g2s5c" StackSize="20" IgnoreStackSizeBelow="20" Amount="20" BidPrecent="100" UndercutPrecent="0.0001" AutoFindAh="True" PostIfBelowMinBuyout="False" />
      The default AHBuddy.xml will not buy cobalt or for two reasons, one being the BuyOre option is set to False, meaning it will not buy any ore.

      PHP:
      <Settings DefaultValue="False" Type="Boolean" Name="BuyOre" Summary="Buys Pandarian Ore." Category="AH Buy" Global="False" Hidden="False" />
      You would need to set this to True for it to buy any type of Ore listed in the Ore section, like this.

      PHP:
      <Settings DefaultValue="True" Type="Boolean" Name="BuyOre" Summary="Buys Pandarian Ore." Category="AH Buy" Global="False" Hidden="False" />
      The next issue is BuyOre is only set to buy MoP Ore.

      PHP:
          <!--Ore-->
          <If 
      Condition="(bool)Settings[&quot;BuyOre&quot;] &amp;&amp; (int)Me.Gold &gt;= (int)Settings[&quot;BuyOut Threshold&quot;]" IgnoreCanRun="True">
            <
      CustomAction Code="Log(Colors.Crimson,&quot;AHBuddy: &quot;,Colors.BlanchedAlmond,&quot;Scanning auctions for Ore to buy.&quot;);" />
            <!--
      Ghost Iron Ore-->
            <If 
      Condition="(int)Me.Gold &gt;= (int)Settings[&quot;BuyOut Threshold&quot;]" IgnoreCanRun="True">
              <
      BuyItemFromAhAction ItemListType="Item" ItemID="72092" MaxBuyout="0g0s0c" Amount="600" BuyAdditively="False" AutoFindAh="True" BidOnItem="True" />
            </If>
            <!--
      Kyparite-->
            <If 
      Condition="(int)Me.Gold &gt;= (int)Settings[&quot;BuyOut Threshold&quot;]" IgnoreCanRun="True">
              <
      BuyItemFromAhAction ItemListType="Item" ItemID="72093" MaxBuyout="0g0s0c" Amount="2000" BuyAdditively="False" AutoFindAh="True" BidOnItem="True" />
            </If>
            <!--
      Black Trillium Ore-->
            <If 
      Condition="(int)Me.Gold &gt;= (int)Settings[&quot;BuyOut Threshold&quot;]" IgnoreCanRun="True">
              <
      BuyItemFromAhAction ItemListType="Item" ItemID="72094" MaxBuyout="0g0s0c" Amount="600" BuyAdditively="False" AutoFindAh="True" BidOnItem="True" />
            </If>
            <!--
      White Trillium Ore-->
            <If 
      Condition="(int)Me.Gold &gt;= (int)Settings[&quot;BuyOut Threshold&quot;]" IgnoreCanRun="True">
              <
      BuyItemFromAhAction ItemListType="Item" ItemID="72103" MaxBuyout="0g0s0c" Amount="600" BuyAdditively="False" AutoFindAh="True" BidOnItem="True" />
            </If>
          </If>
      You see there is no Cobalt Ore listed, so you would need to create a listing for it and set MaxBuyout to an amount you'd be willing to pay for the Ore, and also the Amount you'd like to buy.

      PHP:
            <!--Cobalt Ore-->
            <If 
      Condition="(int)Me.Gold &gt;= (int)Settings[&quot;BuyOut Threshold&quot;]" IgnoreCanRun="True">
              <
      BuyItemFromAhAction ItemListType="Item" ItemID="36909" MaxBuyout="0g0s0c" Amount="600" BuyAdditively="False" AutoFindAh="True" BidOnItem="True" />
            </If>
      Then you have to figure out the maximum price you would want to pay for this Ore when Buying. What I do is buy anything that is 80% of the market price or less, you can find the market price for your server on TUJ. To work out what 80% of it is just multiply it by 0.8, so 1.0 (1g0s0c) * 0.9 = 0.8 (0g80s0c).

      To convert g/s/c to an easy number look at it like this, example:
      123.4567
      Before the decimal is gold (123)
      The next two digits are silver (45)
      The next two after that are copper (67)

      So 300g50s33c would be 300.5033, and 80% of that is 240.4026 which makes 240g40s26c.

      You said your market value for Cobalt Ore was 3g78s0c, so lets take 80% of that which makes 3g02s4c. So I would set your Buy settings MaxBuyout to 3g02s4c.

      So the most you will buy Cobalt Ore off the AH for is 3g02s4c, now if you wanted to flip/re-sell that and make a profit, you need to add 5% for the AH cut plus listing fees. So lets say sell it for 9% more than you paid for it which would come to 3g29s61c so set you selling sections MinBuyout to that. Which means you stand to make a small profit (27s per?) of each flip. And more profit of any Ore you have farmed yourself.

      The prices in AHBuddy are static, meaning that if the market changes your AHBuddy prices will not change to suit. And by forcing a chain of undercutting by undercutting someone who then undercuts you, you're changing the market for that item, which means the numbers you've set will no longer apply as the price has been driven down to where it's not really a profitable endeavour. In which case AHBuddy will stop listing when prices drop below your selling sections MinBuyout but will start buying because the prices will be under your Buy settings MaxBuyout. The trick is to sit on those items for awhile. The AH is not a 'quick' get rich system. You may buy four or five stacks of Ore one day but the market may not be great to sell them until eight days later..

      Is any of this sinking in?

      Edit:
      Yes, but if there are undercutting wars going on the cheapest stack will devalue, and then you have to decide if you want to go 20% less again on that new lower value. Or if you're better off waiting a few days to see if those items sell and prices come back up. Which it often does, different things have different prices every day in WoW.
       
      Last edited: Jan 20, 2013
    6. kev1br5

      kev1br5 New Member

      Joined:
      Jun 6, 2011
      Messages:
      144
      Likes Received:
      0
      Trophy Points:
      0
      Thanks to AuctionBuddy I just sold 3 (20)stacks of Greater Ox Horn Inscription for 400g each. What am I doing wrong? I'm afraid to use the bot now...
       

      Attached Files:

    7. l0gic

      l0gic New Member

      Joined:
      Jan 12, 2013
      Messages:
      78
      Likes Received:
      0
      Trophy Points:
      0
      Can you please post your Golden Lotus / SellItemOnAhAction line?
       
    8. kev1br5

      kev1br5 New Member

      Joined:
      Jun 6, 2011
      Messages:
      144
      Likes Received:
      0
      Trophy Points:
      0
      [22:36:13.537 D] PB 1.540: Searching AH for Golden Lotus
      [14:36:15.135]PB 1.540: ,Selling Golden Lotus for 10g0s0c. Competition is at 35g0s0c[22:36:15.069 D] PB 1.540: Post If Below MinBuyout:False
      [22:36:15.069 D] PB 1.540: Lowest Buyout on AH: 35g0s0c, My Minimum Bouyout: 0g10s0c
      [22:36:15.069 D] PB 1.540: Finished scanning for items
      [22:36:15.135 D] PB 1.540: Selling Golden Lotus for 10g0s0c. Competition is at 35g0s0c
      [22:36:15.304 D] PB 1.540: Searching AH for Golden Lotus
      [22:36:18.503 D] System.ApplicationException: Cannot run Tick before running Start first!
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.CommonBot.TreeRoot.()
       
    9. l0gic

      l0gic New Member

      Joined:
      Jan 12, 2013
      Messages:
      78
      Likes Received:
      0
      Trophy Points:
      0
      Sorry I meant the line from inside the XML file, like:
      PHP:
            <!--Golden Lotus-->
            <
      SellItemOnAhAction UseCategory="False" RunTime="_12_Hours" AmountType="Amount" ItemID="72238" MinBuyout="0g0s0c" MaxBuyout="0g0s0c" StackSize="1" IgnoreStackSizeBelow="1" Amount="50" BidPrecent="100" UndercutPrecent="0.0001" AutoFindAh="True" PostIfBelowMinBuyout="False" />
       
    10. xsx

      xsx New Member

      Joined:
      Nov 28, 2012
      Messages:
      51
      Likes Received:
      0
      Trophy Points:
      0
      Keep getting this error.... any fixes for this?!

      Err: Custom Action:(Lua.DoString(AH_RunScan, 0);)
      System.ArgumentNullException: Value cannot be null.
      Parameter name: format
      at System.String.Format(String format, Object[] args)
      at Styx.WoWInternals.Lua.DoString(String format, Object[] args)
      at CodeDriver.Code589049542(Object context)
      at HighVoltz.Composites.CustomAction.Run(Object context) in j:\Storage\Bots\Professionbuddy\Composites\CustomAction.cs:line 70

      It's just a red text in HB
       
    11. kev1br5

      kev1br5 New Member

      Joined:
      Jun 6, 2011
      Messages:
      144
      Likes Received:
      0
      Trophy Points:
      0
      I dont really know where to look but I opened the AHbuddy profile and it wasn't there. This is my first time ever using AH buddy so maybe i haven't set it up? All I did was load up the profile and pressed "start" and it posted a few items at the right price but when it got to Golden Lotus it messed up and the same with Primal Diamond
       
    12. l0gic

      l0gic New Member

      Joined:
      Jan 12, 2013
      Messages:
      78
      Likes Received:
      0
      Trophy Points:
      0

      I'd say you haven't set it up. I'd suggest reading through the thread a bit, as this has been answered many, many times.

      Basically you need to open the XML file, I'd suggest using Notepad++, EditPlus or some other advanced text editor. Once you've opened the file hit 'Ctrl+F' and a search box will come up, type in 'Golden Lotus' You should find two lines one will start with BuyItemFromAhAction and one will start with SellItemOnAhAction, the second one is the one we want to find.

      On this line there are values you need to set.

      UseCategory="False"
      This tells AHBuddy to use the values supplied for this item.

      MinBuyout="0g0s0c"
      This is the minimum value that AHBuddy should sell the item for, set it to as low as for example cost of mats + ah cut + desired profit.

      MaxBuyout="0g0s0c"
      This is the 'fallback' value that AHBuddy will list the item for if no others are listed on the AH, for example set it three times higher than you MinBuyout.

      StackSize="1"
      How many items will be posted per auction, so you can post 1 at a time or you could change it to 5, or 10, or 20.

      IgnoreStackSizeBelow="1"
      When undercutting, ignore prices on stack-sizes below value.

      Amount="50"
      Amount of stacks to sell. If you have StackSize set to one and leave this value at 50, it'll post 50 auctions of one item. Change StackSize to 20 and it'll post 50 stacks of 20.

      As an example, here's the settings I was using for Golden Lotus.
      PHP:
      <!--Golden Lotus-->
      <
      SellItemOnAhAction Category="TradeGoods" SubCategoryType="WoWItemTradeGoodsClass" SubCategory="None" UseCategory="False" RunTime="_12_Hours" AmountType="Amount" ItemID="72238" MinBuyout="51g30s65c" MaxBuyout="143g85s0c" StackSize="1" IgnoreStackSizeBelow="1" Amount="50"
      Don't just copy/paste mine, as I doubt we're on the same server and prices would be different.

      Head on over to theunderminejournal and find the market average for your server. My MinBuyout was set by multiplying the market average on my realm by 1.07, my MaxBuyout was market value multiplied by three.
       
    13. kev1br5

      kev1br5 New Member

      Joined:
      Jun 6, 2011
      Messages:
      144
      Likes Received:
      0
      Trophy Points:
      0
      I can't find the Golden Lotus in there, or any item for that matter.
       

      Attached Files:

    14. l0gic

      l0gic New Member

      Joined:
      Jan 12, 2013
      Messages:
      78
      Likes Received:
      0
      Trophy Points:
      0
      That's OK.. You're looking in AHBot.xml not AHBuddy.xml, you'll want to head to the first post in this thread and grab AHBuddy.xml, then load up HB with 'ProfessionBuddy' and 'Load Profile' and select the AHBuddy.xml
       
    15. l0gic

      l0gic New Member

      Joined:
      Jan 12, 2013
      Messages:
      78
      Likes Received:
      0
      Trophy Points:
      0
      I'm not sure sorry man. Have you tried running a fresh/clean install of HB?
       
    16. Arious13

      Arious13 New Member

      Joined:
      Jan 15, 2010
      Messages:
      4
      Likes Received:
      0
      Trophy Points:
      0
      My bot isnt waiting inbetween search cycles. I have changed items that it should buy and I changed the boolean values such as

      <Settings DefaultValue="True" Type="Boolean" Name="CycleWait" Summary="Waits 10 minutes after each cycle of posting/buying" Category="Misc" Global="False" Hidden="False" />

      Also I put random items like darkmoon cards under the buyglyphs section and its not actually buying anything under that section even though i have buy glyphs enabled.
      Any help? Thanks in advance

      Also its not mailing to my alts. I have their names set aswell.
      All it does is buy herbs / ore /enchanting mats from ah.
       
      Last edited: Jan 21, 2013
    17. l0gic

      l0gic New Member

      Joined:
      Jan 12, 2013
      Messages:
      78
      Likes Received:
      0
      Trophy Points:
      0
      Are you re-loading HB and the AHBuddy profile between changes to the XML?
       
    18. Arious13

      Arious13 New Member

      Joined:
      Jan 15, 2010
      Messages:
      4
      Likes Received:
      0
      Trophy Points:
      0
      Yes -- Also I found that the original code was missing a check to see if glyphs was true so I just moved it to another section and that works. However it still isn't waiting inbetween searches. Nor is it mailing to alts.

      Either of these incorrect?
      <Settings DefaultValue="Charname" Type="String" Name="Leatherworker" Summary="Send Leather to your Leatherworker" Category="Alts" Global="False" Hidden="False" />
      <Settings DefaultValue="True" Type="Boolean" Name="CycleWait" Summary="Waits 10 minutes after each cycle of posting/buying" Category="Misc" Global="False" Hidden="False" />

      TIL you can expand list on honorbuddy to view all options. Idk why it changed anything when I used honorbuddy to change the options but it did.
       
      Last edited: Jan 21, 2013
    19. zorno

      zorno New Member

      Joined:
      Jan 10, 2013
      Messages:
      61
      Likes Received:
      2
      Trophy Points:
      0
      Great Profile but it always wants to sell mah healthstone :D
       
    20. dedoder

      dedoder Member

      Joined:
      Apr 11, 2012
      Messages:
      61
      Likes Received:
      0
      Trophy Points:
      6
      hi i like the profile but is there a way to only buy stacks of 20 i set max buyout for flowers on 15g but it also buy stacks of 5


      i set buyout price on 15g but it also buy stacks for alot more like 75 g


      <!--Green Tea Leaf-->
      -<If IgnoreCanRun="True" Condition="(int)Me.Gold >= (int)Settings["BuyOut Threshold"]"><BuyItemFromAhAction ItemID="72234" IgnoreStackSizeBelow="20" AutoFindAh="True" BidOnItem="True" BuyAdditively="False" Amount="500" MaxBuyout="15g0s0c" ItemListType="Item"/></If>
       
      Last edited: Jan 22, 2013
    Thread Status:
    Not open for further replies.

    Share This Page