WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Macro Help (https://www.wowinterface.com/forums/forumdisplay.php?f=140)
-   -   Auction house buttons /click macros (https://www.wowinterface.com/forums/showthread.php?t=57837)

Phewx2 02-25-20 07:57 AM

Auction house buttons /click macros
 
Hey

I used to create auctions with a few little macros
macro a:
Quote:

/click Atr_SellControls_Tex
this clicked the empty item slot in the auction house and placed the item I had sticking to my cursor in it
macro b:
Quote:

/click Atr_CreateAuctionButton
this clicked the create auction button

and macro c:
Code:

/click AuctionsCancelAuctionButton
/click StaticPopup1Button1

to cancel auctions instantly without a prompt

(to clarify, this way I could click an item, tap 1 for macro a and 2 for macro b and viola I created an auction without moving around with my mouse even a centimeter without the need for any addons)

I found the interface objects to click via /fstack back then but since they reworked the auction house even the buttons I find with fstack do not work with /click

Code:

/click AuctionHouseFrame.ItemSellFrame.PostButton
this for example does not work
tried many other things fstack showed me but none of them work

Does anyone know more or use similar macros?

Thanks

Kanegasi 02-25-20 09:29 AM

For the first one, simply right clicking a sellable item in your bags places the item in the sell frame, even if you're not on the sell frame.

For the posting and canceling, I have messed around with the new code to make custom pricing buttons. I'll see what I can find later when I'm able.

Ketho 02-25-20 05:12 PM

For posting an item/commodity
Code:

/run AuctionHouseFrame.ItemSellFrame.PostButton:Click()
/run AuctionHouseFrame.CommoditiesSellFrame.PostButton:Click()

For canceling
Code:

/run AuctionHouseFrame.AuctionsFrame.CancelAuctionButton:Click()
/click StaticPopup1Button1


Phewx2 02-27-20 08:54 AM

Quote:

Originally Posted by Ketho (Post 335212)
For posting an item/commodity
Code:

/run AuctionHouseFrame.ItemSellFrame.PostButton:Click()
/run AuctionHouseFrame.CommoditiesSellFrame.PostButton:Click()

For canceling
Code:

/run AuctionHouseFrame.AuctionsFrame.CancelAuctionButton:Click()
/click StaticPopup1Button1


Thank you very much

Phewx2 03-27-20 06:05 PM

Well.......

I now have a funny bug when posting items with this macro
The auction house posts the item and never stops reloading again and I have to reload my UI

I even tried without any addons but when I post an item with the macro the auction house breaks
posting items without the macro works fine

Ketho 03-29-20 06:18 PM

Quote:

Originally Posted by Phewx2 (Post 335435)
The auction house posts the item and never stops reloading again and I have to reload my UI


I can confirm, but not sure what is causing this. Whether it's events not firing, stateful api or some weird kind of taint
e.g. for non-commodity items: https://github.com/Gethe/wow-ui-sour...mList.lua#L360
Lua Code:
  1. -- returns 0 when bugged
  2. /dump C_AuctionHouse.GetNumItemSearchResults(AuctionHouseFrame.ItemSellFrame.listDisplayedItemKey)
  3.  
  4. -- is ItemListState.ResultsPending (3) when bugged
  5. /dump AuctionHouseFrame.ItemSellList.state
Do you remember if the click macros ever worked before? Then something must have changed in a recent build

Phewx2 03-30-20 04:01 AM

Quote:

Originally Posted by Ketho (Post 335465)
Do you remember if the click macros ever worked before? Then something must have changed in a recent build

Yes, they worked fine. I was posting auctions just fine for a month.
The macro/auction house broke just a few days ago, probably on the weekly restart.

Just for the protocol: I'm from Germany and our weekly reset is on wednesday

Phewx2 04-21-20 10:48 AM

Still no solution for the problem? :/


All times are GMT -6. The time now is 12:45 PM.

vBulletin © 2020, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI