benilla-re systems structs docs

Script::PlaceAuctionBid

function · ui · primitive

Address
0x4cf610 · 854 bytes, up to 0x4cf965
Signature
int __fastcall (lua_State *L)
Meaning
Checks a bid against the minimum, current bid, increment, buyout and money, then sends 0x25a
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/auctionlists#placing-a-bid

Finding: Placing a bid in ui: auction lists, sorting and deposits

PlaceAuctionBid("type", index, bid) needs a string and two numbers (Usage: PlaceAuctionBid("type", index, bid)). It does nothing with no row, player or auctioneer. A bid above a nonzero buyout becomes the buyout. A bid under the minimum shows ERR_AUCTION_MIN_BID; one not above the current bid ERR_AUCTION_HIGHER_BID; with a current bid, one under it plus the increment shows ERR_AUCTION_BID_INCREMENT unless it reaches the buyout. A bid over 2,000,000,000 and over current plus increment is dropped silently. The player's money must cover the bid, or only the rise when the player already leads (ERR_NOT_ENOUGH_MONEY); a unique item already carried at its limit shows error 0x12. Then it sends 0x25a with the full bid and remembers it.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 16

Calls and jumps by a bare address, from tables/calls.tsv.