benilla-re systems structs docs

s_auctionCancelFeeRate

global · ui

Address
0x807024 · 4 bytes, up to 0x807027
Type
float
Meaning
Holds 0.05, the fraction of the current bid CancelAuction needs in coin
Confidence
verified, proof one
Finding
ui/auctionlists#cancelling

Finding: Cancelling in ui: auction lists, sorting and deposits

CancelAuction(index) takes the 1-based index into the owner list and sends 0x257 with the auctioneer GUID and that auction's id; an out-of-range index or no auctioneer does nothing. When the auction has a current bid, the player must hold at least that bid times 0.05 (the float 0x3d4ccccd, truncated), else ERR_NOT_ENOUGH_MONEY is shown and nothing is sent. With no player the error shows at once (0x4d0301); with a player that is not the active one the coinage reads as 0 (0x4d031c), so any fee of 1 or more gives the error and a bid under 20 copper, whose truncated fee is 0, passes (0x4d0341, 0x4d0346). A non-number raises Usage: SetSelectedAuctionItem(index), the message of another function.

The derivation is in the doc.