Why does TPT do this?

  • Electro40
    3rd Feb 2018 Member 0 Permalink

    When you aren't connected to the internet it takes very long at the startup waiting for the update checker with timeout. If you want to play offline you always must wait for the update checker. Always.. Can't this be changed? like.. multithreading? It's much better if its possible. No waiting time for offline players.

  • jacob1
    3rd Feb 2018 Developer 0 Permalink
    This doesn't usually happen for me, but I think I may have seen it once or twice. It happened when I was connected to the internet, but the internet was down / not working. It took a while for it to realize the internet wasn't working. It doesn't happen when I disconnect from wifi, it is instant in that case.

    There is already a way to put network activity in another thread, I did it a few years ago for save data / info downloads.

    Downloads are done asynchronously, but I think the dns resolution and possibly some other steps could block until it gets a response, which would cause the freeze that you see.