floydg
Posts: 2052
Joined: 6/27/2004 From: Middletown, NJ Status: offline
|
quote:
ORIGINAL: witpqs quote:
ORIGINAL: floydg If you load turn 1, it won't find a sig int file, since none exist for Dec 6. When you load turn 2, it will look for the sig int file for Dec 7, once it finds a file, it'll try to load it. The key here is the name of the file and the first line of the file. If the first line's date doesn't match the date it's looking for, it will not load it (and you'll get a WARNING message). What caused the question was this part of your previous post: quote:
The program will now also look for a file called "asigint.txt" or "jsigint.txt" if it can't find a file with a date on in the name. I put in bold the part that makes me ask. When I load turn one, it won't find a date-named sigint file for Dec 6. However, it will find a 'asigint.txt' file, which is actually for Dec 7. That one got created by the combat replay for turn 1 (Dec 7), and will be over-written when I do the combat replay for turn 2 (Dec 8). I hope I'm explaining this clearly. If it finds a file that could be a candidate, it will then check the date inside. If you have an asigint.txt file, but the date inside the file doesn't match the date it's looking for, it will display a warning and abort loading the signal intelligence for that turn. The algorithm is: 1. look for a dated file for the previous day 2. if no file, look for an undated file 3. if a file was found in 1 or 2, look at the date in the file (SIG INT REPORT FOR Mmm, dd YY) 4. if the date inside the file matches the previous day, load the sig int; otherwise, give up Does that explain it better?
< Message edited by floydg -- 1/3/2010 7:46:03 PM >
|