Pages: 1
Posted on 10-02-11, 04:22 am
Fuzzy
Full mod

Karma: 1183
Posts: 220/785
Since: 06-28-11
Attempting to update spritedata.txt without an internet connection causes the file to be deleted and a subsequent error message.

I tried adding a simple try...catch, but the file still gets deleted.
Posted on 10-02-11, 04:39 am
Banned for being a complete idiot.

Karma: 529
Posts: 461/987
Since: 07-09-11
Funny no one has caught this.

We need to check if there is an active internet connection before we download spritedata.txt.

We should probably ping the server where spritedata.txt is stored, so we can check if we have a internet connection, and if the spritedatabase server is up, before downloading the new sprite database.
Pages: 1