omstrumpf / tts-mtg-importer

Tabletop Simulator script to import MTG decks
6 stars 6 forks source link

Game freezes when importing from Archidekt #27

Closed apachano closed 7 months ago

apachano commented 7 months ago

When importing a deck from Archidekt, the game freezes while the JSON response is parsed. This does not happen when importing from tapped out.

To isolate the issue I printed the return of the web request in queryDeckArchidekt() on line 998 instead of completing the function and the response printed instantly. I tried again to print the JSON results from line 1014 and the freeze occurs.

When this freeze happens in multiplayer, the game freezes long enough that all non-host players are kicked.

omstrumpf commented 7 months ago

Fixed by #28 !