Commit Graph

133 Commits

Author SHA1 Message Date
zeb
642c596c1a removed unnecessary code 2025-10-05 15:11:17 -04:00
zeb
f058948243 simplified EmptyAuctionHouses() logic 2025-10-05 12:19:47 -04:00
zeb
a22f866e49 .ahbot empty respects player auctions and returns bids on cancelled items 2025-10-04 23:49:22 -04:00
zeb
2a6d228f86 added chat commands for GMs 2025-10-04 14:48:54 -04:00
NathanHandley
f29a9a07b4 Fix mistake merge I just did 2025-10-03 07:27:01 -05:00
zeb
3626fcd14a separated buy and sell cycles 2025-10-02 17:19:45 -04:00
NathanHandley
6c132f7c0a Change crafted item filter to have more control
Also enable mounts and pets by default
2025-10-01 21:10:11 -05:00
zeb
a6ebda0116 manage AHBot Players with unique ptr 2025-10-01 11:06:04 -04:00
NathanHandley
1abca1a971 Fix player session leak by bots in update loop 2025-10-01 06:54:54 -05:00
zeb
f7e6b0ff06 added ahbot variance during buy/sell cycles 2025-09-28 20:30:40 -04:00
zeb
152dd618d1 Added batch processing to AddNewAuctions() 2025-09-28 11:47:17 -04:00
zeb
cb2c196c8b calculate new CyclesBetweenBuyOrSell only if update cycle is hit 2025-09-26 23:04:20 -04:00
zeb
e0a465811d added BuyCandidatesPerBuyCycle variance 2025-09-26 22:54:54 -04:00
zeb
1166c7c527 added CyclesBetweenBuyOrSell variance 2025-09-26 21:50:19 -04:00
zeb
7c15e6ccbd fixed preventOverpayingForVendorItems oversight 2025-09-24 16:30:01 -04:00
NathanHandley
a0639d8762 Add item-level listing multiplier 2025-09-21 19:59:39 -05:00
NathanHandley
84e790a30a Fix more logs 2025-09-21 11:34:16 -05:00
NathanHandley
aed9fbb5a8 Logging output bug fixed (text only) 2025-09-21 11:14:03 -05:00
NathanHandley
12570dc2ba Add proper live server config reload support 2025-09-21 11:07:45 -05:00
NathanHandley
1c912f5e46 Rename / Move some methods 2025-09-21 10:54:26 -05:00
NathanHandley
d298675061 Rebalance list proportions; Better logging 2025-09-21 10:47:27 -05:00
NathanHandley
9aba0bb5d9 Improve seller cycle logging when in debug 2025-09-21 10:42:16 -05:00
NathanHandley
1b5ac3dcdf Finish first pass of list proportion rewrite 2025-09-21 10:29:40 -05:00
NathanHandley
c6d2fbedd2 WIP proportion list rewrite 2025-09-21 09:58:15 -05:00
NathanHandley
42045db573 Rename faction auction house object 2025-09-20 21:30:40 -05:00
NathanHandley
b854e06b55 Fix crash if PreventOverpayingForVendorItems is false 2025-09-19 17:14:14 -05:00
NathanHandley
be50926f30 Add config for buyer to always pay calc price on bid 2025-09-19 07:08:46 -05:00
NathanHandley
64b6d513b2 Set 'bot bid against players' to match bool in config by default 2025-09-19 06:48:26 -05:00
zeb
8e16169e97 resolved merge conflict 2025-09-18 22:59:15 -04:00
zeb
86ff7d4217 Added meat, gem, potion, elixir, flask advancedPricingFormulas. Fixed build warnings 2025-09-18 22:55:30 -04:00
NathanHandley
fd10a5f819 All disabling of bots bidding against players 2025-09-18 17:13:23 -05:00
NathanHandley
4fdfa50597 Fix bid amount; Fix not buying 0 price vendor items
There were two bugs:
- If "Prevent Overpay" was enabled, the bot wouldn't pay for anything not sold by a vendor at all (since the price was zero)
- The bid math implemented (using startbid) wasn't right, because it ignored if any bids were applied to it beyond that.  Now it properly accounts for it.
2025-09-18 08:58:07 -05:00
zeb
1b169974ff Added config, prevent buyerbot from buying overpriced vendor items, refactored advancedPricingMultiplier out of calculateItemValue() 2025-09-17 11:26:23 -04:00
NathanHandley
1d8db54886 Make auction duration configurable 2025-09-16 20:14:08 -05:00
NathanHandley
58fc4f2c1d Fix max buyout config value 2025-09-16 19:49:26 -05:00
NathanHandley
442360631b Move remaining magic numbers to configs 2025-09-16 19:32:12 -05:00
NathanHandley
32f447e937 Prevent auction buyouts from being > 100k 2025-09-16 19:01:01 -05:00
NathanHandley
67ac281e60 Add categories for item level multipliers 2025-09-16 18:57:06 -05:00
NathanHandley
a1b943ca58 Add random stack increments 2025-09-16 18:30:28 -05:00
NathanHandley
9c9257e7cd Allow using recipe produced items in ilevel check 2025-09-16 17:28:03 -05:00
NathanHandley
92c4051844 Ensure full item count listing by skipping invalid proportions 2025-09-16 08:58:48 -05:00
NathanHandley
1b8a3be492 Add item ID restriction to config 2025-09-16 08:50:06 -05:00
NathanHandley
30148548f6 Refactor itemid string extractors to one method set 2025-09-16 08:09:00 -05:00
NathanHandley
32454242ed Adjust debug logging to catch more data 2025-09-10 19:21:23 -05:00
zeb
45406e0167 Added missing configs and advanced pricing feature toggles 2025-09-10 14:29:37 -04:00
zeb
0fda7ecefa Merge remote-tracking branch 'upstream/master' into addl-category-configs 2025-09-10 11:03:26 -04:00
NathanHandley
44bdbc9ced Fix issue where buyer undercuts bids 2025-09-10 06:52:38 -05:00
NathanHandley
7c57a6f11e Fix and re-enable bid support on buyer bot 2025-09-09 17:37:10 -05:00
NathanHandley
a7d216b1f0 Better implement the buying bot
With description!
2025-09-08 20:04:15 -05:00
zeb
372b821abe Updated pricing formula for cloth trade goods 2025-09-08 09:45:37 -04:00