MatthieuBonne / CQAutomater

4 stars 1 forks source link

Auction House Levels don't update until you login to the game #45

Open Vitae666 opened 4 years ago

Vitae666 commented 4 years ago

Had CQA up and running the other day (before the Auction End timer fix) and won Marauder Magnus, but the level didn't update. Figured it might be tied to the End timer issue. After I updated to the current version, I wanted to get Tetra and won. I let AH refresh about 30 times (I was watching a movie) and it always showed that I had 0 levels. I logged into the game, and suddenly it updated to 1 when AH next refreshed.

Vitae666 commented 4 years ago

image Limited to buying 1, but because the count won't update if the game isn't up, I got 2. Not a huge deal cause it was cheap, but just showing what I mean :)

Vitae666 commented 4 years ago

Oh, meant to add that the Current UM won't update either. But that might still be due to the fact that the game won't update your UM for a minute after you log in. CQA and game both had 900-something. Then they updated to 3995. CQA used to pull the correct # until these few recent builds. Don't know what happened, but it was, I'm almost positive, before the Auction timer fix.

Vitae666 commented 4 years ago

Wanted to check if this was still the case so I could close it. Haven't had auctions set up for a while because I was wanting to get some of those Hero Shop ones and save up UM for them. As a test, I won Gurth who I already had 43 levels in and after 20 refreshes AH still displayed 43 :cry: Went into the game, checked Gurth and it still said 43. Did an "Update Currencies" and it updated to 44 in game and after a refresh in CQA's AH, it updated to 44 as well. So, it's still happening :tired_face:

Would it be possible for AH to, when a Hero you have set gets the timer reset due to an AH win, yours or someone elses, for it to send an "Update Currencies"? I know after you click it, it won't let you click again for 1 minute, so that might screw up when you have multiple heroes and one of the timer happens to fall with in that 1 min window. Maybe a delay counter of some sort? Dunno. But at least it would, in theory, correctly set the Hero levels and Current UM. Note I'm saying on a win and not when the timer runs down because that nearly always goes negative and then resets to 1min. Talking about how when there's a win, the Current Price, Bidder, and Ends in go blank. And even then, I think it would be have to be after the data is repopulated.

MatthieuBonne commented 4 years ago

I'll change updates in next commit. :)

Vitae666 commented 4 years ago

Actually..hell....maybe on the 1 min timer would make more sense? Dunno if the counting down to the negatives would make a diff. I see a few lines with "updatecurr" and I swear, I think one of them is for this exact purpose. But dunno. It could be something completely different than the clicking of Update Currencies. No clue :)

Vitae666 commented 4 years ago

It's been over 3hrs since I placed a bid and my UM on hand hasn't updated... image

Log into the game. Click Update Currencies... image

Vitae666 commented 4 years ago

Still an issue :sob: image image image

So's the AH UM not updating, btw :)

MatthieuBonne commented 3 years ago

Hopefully fixed in next commit !

Vitae666 commented 3 years ago

Semi-good news: As far as I can tell, from just 1 AH purchase, the UM is updating. BUUUUT Hero levels aren't. It was almost 15hrs ago, so with a Refresh every minute, there's no way internet speed is related :)

image image image

Vitae666 commented 3 years ago

Ok, still happening. 2nd test run.

9/25/2020 7:27:45 PM Bid on hero Neil for: 5500UM. image

Vitae666 commented 3 years ago

AARGH....Hate to say it, but today, I woke up, to 2111UM from a Spike auction that was well into the next purchase round with 66 still as the level in CQA. I went into game, to see if I had won which based on the UM updating correctly previously, I was sure I had.....yeah...I hadn't. Went to Hero Mgr, clicked Update and it updated to 11081 :( Don't know why. It was updating correctly previously.