Razviar / mtgap

Support tool for MTG Arena online game
https://mtgarena.pro/
224 stars 50 forks source link

Matches don't updating #45

Closed late-exairu closed 4 years ago

late-exairu commented 4 years ago

Other stats is updating as they should. But matches not tracking for some reason.

output_log_1.txt Untitled-1

Toybear1986 commented 4 years ago

@late-exairu already reported here - https://github.com/Razviar/mtgap/issues/43

Razviar commented 4 years ago

Can you see matches on https://mtgarena.pro/matches/ page?

late-exairu commented 4 years ago

Can you see matches on https://mtgarena.pro/matches/ page?

Only till 14th of december, as on previous pic. But since then I've played a lot of matches, and draft.

Untitled-2

stormcat664 commented 4 years ago

me too. Matches hadn't been updated from Dec 14.

Razviar commented 4 years ago

@stormcat664 please get the log from AppData\LocalLow\Wizards Of The Coast\MTGA and send it over to me using any cloud service.

stormcat664 commented 4 years ago

https://www.dropbox.com/s/ry5wq6pvuv4lqq4/Logs.zip?dl=0

Razviar commented 4 years ago

thank you, we are looking into it.

Razviar commented 4 years ago

Small update: bug is replicated in testing environment, matches from your log are not getting synced properly indeed. Specifically, the fact of match being started is recorded, but event of match completion is not, that is why you can't see them. Working on it...

stormcat664 commented 4 years ago

Is it a specification change, or issue of my environment?

Razviar commented 4 years ago

Most likely it's some uploading or server-side processing of uploads issue. No idea for now, I'll let you know when I'll find something.

late-exairu commented 4 years ago

Just an observation, but maybe it will help. For me everything was ok, untill second account was created.

Razviar commented 4 years ago

Second account in MTGA or on site? And can you let me know both mtga usernames?

late-exairu commented 4 years ago

Second MGTA account was created by my gf. She logged in only few times, before bug appeared. I don't know her username. My username can be found in log attached in first message.

kimitaka commented 4 years ago

I encountered the same problem and found a quick solution for non-English speakers. If you use MTGA in a non-English language, please try to change the language setting English.

stormcat664 commented 4 years ago

I tried it. I played a match in BO1-Play after changed to English. The result was reflected correctly. But old logs could not be reflected yet.

Razviar commented 4 years ago

It's confirmed that non-english MTGA breaks tracking of matches. We are investigating why...

Toybear1986 commented 4 years ago

@kimitaka thanks, nice solution, but it's not helpful for upload missed logs. Today already fifth day(( So i'll play on Russian and wait fixes) @Razviar if you need any help with testing, feel free ask me)

late-exairu commented 4 years ago

Same here. Russian translation.

Razviar commented 4 years ago

Господа, без паники, уже заливаю версию 2.0.18 ;)

Razviar commented 4 years ago

2.0.18 with this issue fix is out. Please update. И старые логи не забудьте закачать...

Toybear1986 commented 4 years ago

@Razviar пиля, а чо можно было по-русски?)

Razviar commented 4 years ago

English practice never hurts, мухахаха

kimitaka commented 4 years ago

2.0.18 works correctly with MTGA in Japanese. But 2.0.18 cannot read some of the old logs. I supposed this is caused by changing the structure of log files.

But anyway, we can enjoy MTGA in his/her native language. Thank you so much!

Razviar commented 4 years ago

@kimitaka you are very welcome!

Toybear1986 commented 4 years ago

@kimitaka seems it can't read empty logs with size 1 KB. @Razviar maybe better skip empty log without error? Because now parsing process disrupted, if tracker find empty log. And would be great create some log with detailed information about parsed and not parsed log with reasons (if it's not parsed)

kimitaka commented 4 years ago

@Toybear1986 it's very helpful information. I tried to read old logs except for empty ones, and I checked it parsed all of them correctly.

I supposed this is caused by changing the structure of log files.

The comment I wrote was miss leading... Sorry, please forget it.