Game Development Community

RC1 - datablocks.cs seems to get munged sometimes..

by Rodney Rindels - Torqued · in Torque Game Builder · 06/06/2006 (11:48 pm) · 25 replies

I wish I had more of a reason why, its fairly intermittant, but on occasion, my datablocks.cs file , basically gets truncated to a file with no contents. This seems to happen when the engine locks, maybe its locking while trying to write that, I haven't been able to trap it.

There are several posts from other people on the forums experiencing a similar issue.

I solved my issue by adding datablocks.cs to my CVS project, and just restore it if happens, but it might be something worth investigating...
Page«First 1 2 Next»
#21
06/13/2006 (8:31 am)
If the first TGB instance closes gracefully, it will save it's contents to the datablocks.cs file and the file appears to be correct. I agree control-alt-del is not the "normal" way of exiting, but it's the easiest way I can provide a reproduceable test case where the first TGB instance crashes/doesn't close gracefully. There are a number of scenarios where I lost my datablocks and I know not all of them came from having to end task to kill the process.
-Andrew
#22
06/13/2006 (10:36 pm)
Ok, then it appears that the root cause is the second instance touching a file that it shouldn't, and that it might make sense to incrementally save the datablocks.cs.

I can't promise this will be in initial release, but I'll poke this at Justin to see if it's a release candidate approved adjustment (we're totally feature locked, so it depends completely on the in-house evaluation of the criticality of the fix for release).
#23
06/14/2006 (2:11 pm)
In RC3, the second/failed instance of TGB doesn't overwrite the file. You guys rock!
-Andrew
#24
06/15/2006 (1:27 am)
Andrew et al,

Good to hear your issues are resolved, the new managed datablocks code is rock solid; this should never happen again!

Best Regards,
-Justin
#25
06/15/2006 (1:29 am)
Thanks Guys... I know this took alot of hard work for you , and I appreciate it!
Page«First 1 2 Next»