• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Change auctions house duration

Newbie Spellweaver
Joined
Mar 22, 2017
Messages
84
Reaction score
7
Hello,

i searched for a while to change the Values for the auction Duration Dropdown Field.
I am trying to change the following values:
https://imgur.com/a/aNS4lIR

In the Interface.fdb i found a lua file for this function i found the auctionframe.lua. But i dont see where the Variables are set.
https://imgur.com/a/8ANucAD

Am I completely on the wrong track?
Do you have a tips for me?

thank you in advance!
 
Junior Spellweaver
Joined
Jul 9, 2015
Messages
135
Reaction score
65
Values are in the source code for the AH. You can change the values that appear ingame, but unless the time is a valid time that is set in the client, it will not be listed and the time will appear as 0 seconds.

If you have managed to get the source to compile take a look at: TimeTypeToMinute in AuctionFrame.cpp You can add extra times here.

You can then add these to the dropdown either through the auctionframe.lua or the aah addon.

If you use aah you can simply add it to the table:

DURATION_TIMES= { TEXT("AUCTION_TIME_4"),
TEXT("AUCTION_TIME_3"),
TEXT("AUCTION_TIME_2"),
TEXT("AUCTION_TIME_1"), },

At the top of AAH_Sell.lua
 
Last edited:
Upvote 0
Back
Top