Closed cscullen closed 1 year ago
Addresses issue #147
H, did you test that change? I could merge this one and prepare new release but not sooner than after this weekend
Yes, I have been playing with this change since posting.
Release posted few moments ago. Thank you for your help
The original regex assumed messages would come in the form: Hi, I would like to buy your 430 Chaos Orb for my 2 Divine Orb in Crucible. offer
The 'offer' at the end being optional. However, lately most messages in game come in the form: Hi, I'd like to buy your 430 Chaos Orb for my 2 Divine Orb in Crucible
The regex would expect a period at the end of a trade offer so it could then search for the 'offer' group. Since new trade messages would not have a period, it would not match the PoeTradeCurrencyParser and instead try to match with PoeTradeItemParser. Leading to ??? appearing in the price window.
This change explicitely searches for 'offer' in a way that supports both message types.