Maintenance for the week of March 25:
• [COMPLETE] ESO Store and Account System for maintenance – March 28, 9:00AM EDT (13:00 UTC) - 12:00PM EDT (16:00 UTC)

Addon to cancel all live guild store listings in one go?

Uoid
Uoid
Soul Shriven
Ive tried looking but havnt been able to find anything yet, Id like to be able to cancel all listings in my guild trader with one click or something. Or at least turn off the "are you sure you want to cancel this listing?" popup. Ive looked in No, Thank you! and Awesome Guildstore in case they had options for this, but they dont seem to. Cheers for any ideas!
  • Baertram
    Baertram
    ✭✭✭✭
    I doubt there is a proper way to cancel all listings in a loop as the server needs to respond on the cancel in between.

    The confirmation dialog is called via function
    TRADING_HOUSE:ShowCancelListingConfirmation(listingIndex)
    function ZO_TradingHouseManager:ShowCancelListingConfirmation(listingIndex)
        if not self.cancelListingDialog then
            self.cancelListingDialog = ZO_TradingHouseCancelListingDialog
            CancelListingDialogInitialize(self.cancelListingDialog, self)
        end
    
        self.cancelListingDialog.listingIndex = listingIndex
        ZO_Dialogs_ShowDialog("CONFIRM_TRADING_HOUSE_CANCEL_LISTING")
    end
    

    One maybe able to prehook it and return true to suppress it that way, and automatically call teh API function
    CancelTradingHouseListing(listingIndex)

    I'll see if this is possible and works and add it to my addon
    FCOChangeStuff then.

    Will post here once I found the time to test and add, if possible.
  • Baertram
    Baertram
    ✭✭✭✭
    Okay, it is possible.
    I'll add this to my swiss knive addon "FCOChangeStuff" and release it with version 0.2.6
    https://www.esoui.com/downloads/info1542-FCOChangeStuff.html
    You'll find it at Minion too.
    Edited by Baertram on August 17, 2022 11:12AM
  • Uoid
    Uoid
    Soul Shriven
    Baertram wrote: »
    Okay, it is possible.
    I'll add this to my swiss knive addon "FCOChangeStuff" and release it with version 0.2.6
    https://www.esoui.com/downloads/info1542-FCOChangeStuff.html
    You'll find it at Minion too.

    Omg, you're a beautiful person! Thank you so much! All this stuff goes totally over my head so im so pleased you could figure out how to make this work, very excited for version 0.2.6!
  • Uoid
    Uoid
    Soul Shriven
    Baertram wrote: »
    Okay, it is possible.
    I'll add this to my swiss knive addon "FCOChangeStuff" and release it with version 0.2.6
    https://www.esoui.com/downloads/info1542-FCOChangeStuff.html
    You'll find it at Minion too.

    Omg its live already!! IT WORKS!! THIS IS AMAZING!! Thank you so so so very much!!!
Sign In or Register to comment.