GE notifs fire duplicates while awaiting the buy limit
Closed this issue · 0 comments
Felanbird commented
Every 15 minutes while awaiting the buy limit a duplicate notif is sent I assume due to the GE plugin re-syncing your bids.
2023-08-09 22:22:26 EDT [Client] DEBUG d.notifiers.GrandExchangeNotifier - Notifying for slot=6, item=453, quantity=13000, targetPrice=180, spent=2328001, state=BUYING
2023-08-09 22:22:26 EDT [Client] DEBUG n.r.c.p.g.GrandExchangePlugin - GE offer updated: state: BUYING, slot: 6, item: 453, qty: 13000, lastLoginTick: 0
2023-08-09 22:22:26 EDT [Client] DEBUG d.notifiers.GrandExchangeNotifier - Notifying for slot=7, item=449, quantity=4500, targetPrice=725, spent=3259083, state=BUYING
2023-08-09 22:22:26 EDT [Client] DEBUG n.r.c.p.g.GrandExchangePlugin - GE offer updated: state: BUYING, slot: 7, item: 449, qty: 4500, lastLoginTick: 0
Option 1: Ignore these notifs (doesn't seem like an option based on the debug logs, they look to be the same as normal)
Option 2: Store the quantity, if the quantity is the same as the last notif, drop it.