Skip to content

/brokerprice

Script-provided

Registered by brokerprice. Start it with /lua run brokerprice.

Syntax

/brokerprice scan
/brokerprice set <platinum>

Description

Resident broker consignment pricing tool. scan searches the market for each of your unlocked consignments and undercuts the lowest competitor; set stamps a flat platinum price onto every unlisted consignment. Both need the broker window open — talk to a broker NPC first.

Ships armed

COMMIT is a constant at the top of brokerprice.lua, set to true as shipped — there is no in-game toggle. Both scan and set will send real vendor_set_price writes the first time you run them. Edit the script and set COMMIT = false first if you want a dry run (both subcommands still search/log the full plan, they just don't send anything).

Subcommands

Subcommand What
scan Search the broker for each consignment, undercut the lowest competitor's buyer price by UNDERCUT (10% as shipped), and reprice. Skips locked items, items already lowest, and items nobody else lists.
set <platinum> Set every unlisted, unlocked consignment to <platinum>p flat. Leaves already-listed items untouched.

A command is refused with busy -- a job is already running or queued if a scan or set is still in flight; the handler only queues work, the resident loop (its own coroutine, so it can eq2.delay) does the actual searching.

A launch argument still works as a one-shot: /lua run brokerprice set 10000 queues that job immediately after the script starts and stays resident afterward — you don't need to type the /brokerprice command separately.

How scan pricing works

For each consignment, scan reads the Buy-tab search results, splits rows into your own listing (matched by seller name) and everyone else's, and targets a price that lands your buyer-facing price UNDERCUT below the lowest competitor's buyer price — converting back through the broker commission (derived live from your own listing when possible, otherwise a 20% fallback), rounded up to the nearest gold. If you're already lowest, or nobody else lists the item, it's skipped. Searches are paced with a cooldown between items to avoid the broker silently returning empty results under rate limiting.

Logging

Every run appends to brokerprice.log next to the script (in the Lua scripts directory), in addition to printing to the game chat window — useful for reviewing a scan's full plan after the fact.

Examples

/lua run brokerprice
/brokerprice scan
/brokerprice set 10000
/lua run brokerprice set 10000
/lua stop brokerprice

See also

  • lib.loot.broker — the consignment data model and vendor_set_price / search write path behind this script.
  • /autoloot — tags items for broker listing before they get here.