Lack of disk space crashes the game when saving (Full Version)

All Forums >> [New Releases from Matrix Games] >> Advanced Tactics Series >> Advanced Tactics Support



Message


zook08 -> Lack of disk space crashes the game when saving (3/13/2008 7:18:32 PM)

..after I spent two hours on my turn...




Tac2i -> RE: Lack of disk space crashes the game when saving (3/13/2008 9:00:49 PM)

quote:

ORIGINAL: zook08

..after I spent two hours on my turn...


Lack of adequate disk space will cause you all kinds of problems with lots of software. Just about anything that uses disk space to cache temporary files.




Vic -> RE: Lack of disk space crashes the game when saving (3/14/2008 11:33:07 PM)

Sorry zook,

The engine does not check diskspace. it just assumes you have at least a few MB available.

kind regards,
Vic




zook08 -> RE: Lack of disk space crashes the game when saving (3/15/2008 12:06:04 AM)

I didn't notice that the odds-and-ends partition where I store my PBEM files was almost full. But I saw that game files are first written to the disk uncompressed (in that case a temp file with > 20MB) and then compressed when it's all there (resulting in a 1.6 MB save file). Perhaps you could add a simple disk space check and a warning ("less than 30 MB free, that could cause trouble") before beginning to write the file? It's only a few lines of code, you don't have to calculate the exact amount needed.




Vic -> RE: Lack of disk space crashes the game when saving (3/15/2008 11:26:32 AM)

i will add checks in the next gold version.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.625