Not signed in (Sign In)
  1.  
    Hi,
    I have a technical question and I hope, someone could give me an answer here:
    I tried to build a litte addon for the AH. It finds the cheapest item from the current shown items and I would like to buy that one using PlaceAuctionBid().
    But I get allways the message, that this function was blocked.

    What kind of "hardware input" is needed, to use this function?
    Thanks for any help :)

    PS: There was a discussion about it some years ago, when Blizzard changed the possibility of using PlaceAuctionBid().
    • CommentAuthorNine
    • CommentTimeApr 5th 2008 edited
     
    Keypress or mouse click. The bid/buy in BtmScan is triggered by a button, which can be clicked on directly or bound to a keypress through a macro.

    Unlike some other API functions it does not require a secure execution path though. The button for Enchantrix's auto-disenchant feature has to use a secure button template because it casts spells, while BtmScan can use regular buttons.
    • CommentAuthorNine
    • CommentTimeApr 5th 2008
     
    Note BTW that you can place more than one bid with a single event. The macro

    /run PlaceAuctionBid("list", 1, 5000) PlaceAuctionBid("list", 2, 5000)

    will place bids on two auctions (assuming their bid prices are low enough). Try it on something cheap like linen cloth...
  2.  
    Hm.. I have a button on a frame (inherited from ah). and in the "onclick" event i have the find function and the placeauctionbid() call. But it does not work.
    • CommentAuthorNine
    • CommentTimeApr 5th 2008
     
    Do you have any other API calls in there that might be "eating" the hardware event? If you remove the find function and just bid on something, as in the macro above, does it work then?
  3.  
    I found the problem... shame on me... 0:-)
    I used the "onMouseUp" event at the XML and not "onClick".
    I am very sorry...
World of Warcraft™ and Blizzard Entertainment™ are trademarks or registered trademarks of Blizzard Entertainment, Inc. in the U.S. and/or other countries.