Commit e0a8822
authored
Auction House Limited-Vendor-Item Availability (#212)
The Problem:
The Auction House Bot is intended to mimic real player auction
behavior, which includes selling items commonly farmed and sold
by players. However, the AH Bot was designed to not sell any
item that an NPC Vendor sells in any quantity. While this makes
sense, it prevents items that any Vendor sells in even very limited
quantities (such as all sorts of Leather) from every being listed.
The Fix:
Better mimic desired player auction behavior by allowing the AH Bot
to sell limited-quantity vendor items by narrowing the general
vendor item restriction to ONLY those items that vendors sell
in unlimited quantities.
The Details:
The AH Bot queries the npc_vendor table to compile a list of items
it will Not list on the AH. These query results are narrowed by adding
'WHERE maxcount = 0', which will only capture items that vendors
sell in Unlimited quantities, thus allowing Leather to appear on the AH.1 parent f4f8ed2 commit e0a8822
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1380 | 1380 | | |
1381 | 1381 | | |
1382 | 1382 | | |
1383 | | - | |
| 1383 | + | |
1384 | 1384 | | |
1385 | 1385 | | |
1386 | 1386 | | |
| |||
0 commit comments