stevin05 / CraftScan

MIT License
5 stars 2 forks source link

Prompts occassionally do not appear on other account #28

Closed ProtoGitt closed 3 weeks ago

ProtoGitt commented 1 month ago

I noticed that in some instances the crafting alerts sometimes do not appear on my AH account but do instead appear on my main account, with the "LF " message being visible in the trade chat window.

Proxy orders currently disabled on both, but they were enabled at one point or another. Is there anything I can do to debug this further? Only other difference is that one acc is mostly in dornogal whilst other is in org, but it shouldn't matter if the message was sent in trade and is visible.

Thanks!

stevin05 commented 1 month ago

Toggle the 'scanning enabled' check boxes on the crafter list to make sure the accounts are in sync about what they are scanning for. Check the proxying boxes again to start proxying again.

If that doesn't work, all the cross-account communication is still debug logged. You can enable it and at least see if messages are flowing between the accounts. It should just be sending the raw message and then the main account parses it again.

In Utils/Debug.lua, line 3, change DEBUG = false to DEBUG = true. Install DevTool. Open DevTool with /dev

Should see new lines pop up as you do some test messages in /say, and should see the message content in there. Can then try the same message again locally on the account that didn't show it to see if it's a communication thing or a problem with that account parsing that message.

ProtoGitt commented 1 month ago

Okay perfect thanks - I'll try your suggestions later today and report back.

I did capture one occurrence of this with the consecrated cloak, where the buyer messaged in trade chat (I searched for the message manually this time). It seems the times are registered as incorrect on my 2nd acc where it showed as having been 7m ago despite the buyer just recently posting the message - perhaps related as to why it isn't reporting; the other 2 didn't show up at all. I'll try your recommendations a bit later regardless.

Screenshot 2024-10-07 131243 - Copy

ProtoGitt commented 3 weeks ago

Hey, apologies for the lengthy delay in my response.

It seems to be working fine now when proxying between each other with orders appearing on both clients. I admittedly have not had the time to check whether orders are being missed when my main account is not in trade chat (by manually looking in trade and seeing if any orders don't appear) but plenty are coming through.

One thing I've noticed is that on occassion, when relogging on my main account to carry out a craft, a message that was sent minutes ago by a customer is still proxied to this account from my second account which would make it appear as it was only just sent by the customer on acc #1, whereas it was in fact sent minutes ago and still proxied over.

Happy for this to be closed, thanks a bunch! It cannot be understated how great your addon is and how much it has changed the landscape of crafting orders forever.