Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

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:


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.


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