Watch Officer 
Join Date: Sep 2001
Location: Cambridge, Canada
Posts: 335
Downloads: 39
Uploads: 0
|
Just an Update on progress so far. The journaling is coming along slowly, and the code is growing exponentially. I've begun some preliminary formatting, and the out put file is now word-wrapped so it can be printed out.
Here is the same save file I used above, but with the updated formatting.
Code:
DATE TIME ENTRY
19411210 1100 Ship spotted, sir! Bearing 195! Short range!
Ship spotted, sir! Bearing 103! Short range!
Ship spotted, sir! Bearing 265! Medium range!
Ship spotted, sir! Bearing 265! Long range!
Ship spotted, sir! Bearing 200! Short range!
Ship spotted, sir! Bearing 242! Medium range!
Ship spotted, sir! Bearing 066! Short range!
Ship spotted, sir! Bearing 075! Short range!
1113 Ship spotted, sir! Bearing 307! Long range!
19411211 1115 RADIO TRAFFIC:
>> From: ...
>> To: ...
>> THE JAPANESE HAVE SUNK 2 BRITISH BATTLESHIPS BY AIR IN THE SOUTH CHINA SEA X
>> HMS REPULSE AND HMS PRINCE OF WALES ARE LOST X JAPANESE FORCES HAVE LANDED IN
>> THE PHILIPPINES X
19411212 0056 Ship spotted, sir! Bearing 024! Long range!
0224 RADIO TRAFFIC:
>> From: COMSUBPAC
>> To: USS Pollack
>> Contact Reported. Enemy Task Force , Long 127° 53' E, Lat 28° 05' N , Course
>> WSW, Speed 12 KTS!
0912 RADIO TRAFFIC:
>> From: ...
>> To: ...
>> GERMANY AND ITALY DECLARE WAR ON THE UNITED STATES X THE US CONGRESS WILL NOT
>> BE OUTDONE AND DECLARES WAR ON GERMANY AND ITALY X JAPANESE FORCES HAVE BEEN
>> TURNED BACK AT WAKE ISLAND X GOOD JOB BOYS X
2102 RADIO TRAFFIC:
>>
>>
>> On Thursday, December 11th, Germany and Italy have declared war against the
>> United States. The European and the Southeast Asian wars have now become a
>> global conflict between the Axis powers of Japanese Empire, Germany and Italy
>> united against the United
19411214 0559 RADIO TRAFFIC:
>> From: COMSUBPAC
>> To: USS Pollack
>> Contact Reported. Enemy Task Force , Long 118° 16' E, Lat 23° 47' N , Course
>> SW, Speed 12 KTS!
0901 RADIO TRAFFIC:
>> From: COMSUBPAC
>> To: USS Pollack
>> ENGAGE ENEMY MERCHANT SHIPPING IN AREA CELEBES SEA
1203 RADIO TRAFFIC:
>> From: COMSUBPAC
>> To: ...
>> ALL CRAFT BE ADVISED JAPANESE INVASION OF BORNEO IMMINENT X REQUEST ASSISTANCE
>> AND AID FROM PATROL CRAFT IN THE AREA X
19411215 0817 RADIO TRAFFIC:
>> From: COMSUBPAC
>> To: USS Pollack
>> Contact Reported. Enemy Task Force , Long 114° 39' E, Lat 19° 57' N , Course
>> SW, Speed 12 KTS!
2357 RADIO TRAFFIC:
>> From: COMSUBPAC
>> To: USS Pollack
>> Contact Reported. Enemy Task Force , Long 132° 39' E, Lat 30° 06' N , Course
>> WSW, Speed 12 KTS!
19411216 0027 RADIO TRAFFIC:
>> From: COMSUBPAC
>> To: USS Pollack
>> Contact Reported. Enemy Task Force , Long 115° 57' E, Lat 22° 29' N , Course
>> WSW, Speed 12 KTS!
0600 RADIO TRAFFIC:
>> From: COMSUBPAC
>> To: USS Pollack
>> Contact Reported. Enemy Task Force , Long 133° 55' E, Lat 30° 45' N , Course
>> WSW, Speed 12 KTS!
0652 Ship spotted, sir! Bearing 282! Long range!
0654 Ship spotted, sir! Bearing 269! Long range!
0702 RADIO TRAFFIC:
>> From: COMSUBPAC
>> To: USS Pollack
>> Contact Reported. Enemy Task Force , Long 115° 48' E, Lat 8° 16' N , Course
>> NNE, Speed 11 KTS!
0733 Ship spotted, sir! Bearing 041! Long range!
Nearest visual contact at bearing 042, range 24606 ft!
Ship spotted, sir! Bearing 045! Long range!
0735 Dive to periscope depth
0738 Sound contact, sir! Merchant Medium Speed Closing! Bearing 047! Long range!
0739 Sound contact, sir! Merchant Medium Speed Closing! Bearing 041! Long range!
0741 Rise to periscope depth
0744 Rise to periscope depth
0750 Firing tube 1, sir!
Firing tube 2, sir!
Torpedo in the water
Firing tube 3, sir!
Torpedo in the water
Torpedo in the water
Firing tube 4, sir!
Torpedo in the water
Torpedo impact
0751 Torpedo impact
Torpedo impact
Torpedo impact
0755 Surfaced
Firing at will
0803 Enemy Unit Destroyed
0806 Firing tube 5, sir!
Firing tube 6, sir!
Torpedo in the water
Torpedo in the water
0811 Enemy Unit Destroyed
0814 Torpedo missed sir
Torpedo missed sir
1801 RADIO TRAFFIC:
>> From: COMSUBPAC
>> To: USS Pollack
>> Contact Reported. Enemy Small Convoy , Long 118° 58' E, Lat 12° 19' N , Course
>> S, Speed 12 KTS!
1809 RADIO TRAFFIC:
>> From: COMSUBPAC
>> To: USS Pollack
>> Contact Reported. Enemy Task Force , Long 107° 00' E, Lat 3° 37' N , Course
>> N, Speed 11 KTS!
19411217 0612 Aircraft spotted, sir! Bearing 314! Long range!
0613 Firing at will
0614 Enemy Unit Destroyed
Ship spotted, sir! Bearing 097! Short range!
0616 Ship spotted, sir! Bearing 028! Short range!
0617 RADIO TRAFFIC:
>> From: COMSUBPAC
>> To: USS Pollack
>> Contact Reported. Enemy Task Force , Long 133° 11' E, Lat 29° 25' N , Course
>> SW, Speed 12 KTS!
1755 RADIO TRAFFIC:
>> From: COMSUBPAC
>> To: ...
>> JAPANESE TROOPS HAVE LANDED IN BORNEO X
19411218 0029 RADIO TRAFFIC:
>> From: COMSUBPAC
>> To: USS Pollack
>> Contact Reported. Enemy Task Force , Long 134° 18' E, Lat 28° 20' N , Course
>> WSW, Speed 11 KTS!
1841 RADIO TRAFFIC:
>> From: COMSUBPAC
>> To: USS Pollack
>> Contact Reported. Enemy Task Force , Long 133° 08' E, Lat 30° 25' N , Course
>> WSW, Speed 12 KTS!
19411219 0719 RADIO TRAFFIC:
>> From: COMSUBPAC
>> To: USS Pollack
>> Contact Reported. Enemy Task Force , Long 110° 14' E, Lat 8° 53' N , Course
>> NNE, Speed 11 KTS!
1354 RADIO TRAFFIC:
>> From: COMSUBPAC
>> To: USS Pollack
>> Contact Reported. Enemy Task Force , Long 117° 32' E, Lat 16° 11' N , Course
>> N, Speed 11 KTS!
19411220 0643 Aircraft spotted, sir! Bearing 159! Long range!
0646 Submerged
1324 Surfaced
1418 Aircraft spotted, sir! Bearing 192! Long range!
1934 Ship spotted, sir! Bearing 323! Long range!
1936 Nearest visual contact at bearing 039, range 13780 ft!
1938 Dive to periscope depth
1948 Ship spotted, sir! Bearing 005! Medium range!
Firing tube 1, sir!
Torpedo in the water
Firing tube 2, sir!
Torpedo in the water
Firing tube 3, sir!
Torpedo in the water
1949 Firing tube 4, sir!
Torpedo in the water
1951 Surfaced
1957 Torpedo missed sir
Torpedo missed sir
Torpedo missed sir
1958 Torpedo missed sir
2006 Firing tube 1, sir!
Torpedo in the water
2007 Torpedo impact
2010 Enemy Unit Destroyed
2011 Ship spotted, sir! Bearing 344! Short range!
Now I am working on cleaning up the repeat messages (Firing Tube 1, sir. Firing Tube 2 etc,) and consolidating it into a single entry of how many tubes fired, number of ships spotted la la la....
Once I am finished with the refining of the text file output, I will build the User interface and we should be ready for BETA 1. No time frame yet.
__________________
"Is the glass half-empty? Or half-full? Either way, when you're thirsty, there's water to be had in that glass." - Neal Stevens
|