PDA

View Full Version : Captain's log (Career history) dates bug.


Lomaster
02-01-11, 12:28 PM
While in a patrol the captain's log dates are correct, but once i check the career history all the dates are the date of the patrol start.
I checked CareerTrack.upc - also only one date for all the sunk ships and aircrafts. Have someone faced the same problem?
Any solution? I think I could fix the dates manually in CareerTrack.upc but that's time consuming.
http://img138.imageshack.us/img138/306/capts.jpg

Armistead
02-01-11, 01:02 PM
Mine show up correctly on the dates killed, dates are various, so either a patch or mod solved it.

What version are you playing? The most current patch is 1.5 known as SH4Uboats, but for SH4 alone it's 1.4

Lomaster
02-01-11, 01:09 PM
Mine is U-boat missions 1.5 too. And the only change I made to it so far is removing bathtub from Tambor and Gar deck.

TorpX
02-03-11, 12:51 AM
I think I get the same thing. I have v1.5, RFB/RSRDC plus.........
I didn't pay much attention; just figured it was another example of UBI-excellence.

Moonlight
02-03-11, 10:20 AM
Yep, i get that too. :hmmm:Ubi's testers need a good hefty kick in the crotch.

ETR3(SS)
02-03-11, 11:21 AM
Ubi's testers need a good hefty kick in the crotch.Ahem, that would be the Subsim community in general.

Ducimus
02-03-11, 04:22 PM
It's not that whoever tested it didn't find the issue. It's that for whatever reason, they (ubisoft and/or developers) chose not to fix it.

I'm not sure what causes the bug. I *think* it might be related to crossing the International Date Line. Though im not sure. If you patrol out of Pearl, your crossing the IDL reguarlly. If out of australia, you'll probably rarely, to never cross it. (ingame, the IDL is about 200 to 300 KM West of midway if i remember correctly.)

I have looked into it before, the game keeps an ongoing temporary log in mid patrol, properly noting times and dates. The trouble occurs when it goes to write this data to your save game file upon returning from patrol.

aanker
02-03-11, 07:25 PM
Can it be hand corrected in port?

Save the game just before you return to port (Pearl) and all data is correct.
SaveData.clg is where the boats sunk log is before returning to port.
After you RTB this data is deleted from this file.

Can you hand correct the data in the CareerTrack.upc file from the clg file data:

It looks like just the dates need correcting. Is that right?

Example:
========================= SaveData.clg: ==============
[Log Entry 0]
Type=0
EntryText=Long 136° 43' E, Lat 12° 06' N|Ship sunk! Shokaku Fleet Carrier, 28000 tons
EntryTitle=June 19, 1944, 05:39
Date=19440619
Time=539
Categ=0

[Log Entry 1]
Type=0
EntryText=Long 137° 53' E, Lat 12° 14' N|Ship sunk! Taiho Fleet Carrier, 35000 tons
EntryTitle=June 20, 1944, 06:13
Date=19440620
Time=613
Categ=0

====================== CareerTrack.upc: ==============
[CareerTrack 1.CareerStatusSave 87]
ID=ID
Reason=CSS_UnitDestroyed
NameDisplayable=BOPS_JP CV Shokaku#1
CurrentDate=1944-06-01 14:00:00
LocationName=
Location=0,4.75648e+010
TargetLocation=1.53339,4.67603e-039
UnitDestroyed=CVShokaku,BOPS_JP CV Shokaku#1
EUnitType=9

[CareerTrack 1.CareerStatusSave 88]
ID=ID
Reason=CSS_UnitDestroyed
NameDisplayable=BOPS_JP CV Taiho #1
CurrentDate=1944-06-01 14:00:00
LocationName=
Location=0,0
TargetLocation=-0.0070683,4.67603e-039
UnitDestroyed=CVTaiho,BOPS_JP CV Taiho #1
EUnitType=9
================================================== ====

I'll let you know at the end of my next patrol unless Ducimus knows... and tells, if it works.... lol

Happy Hunting!

Art

Ducimus
02-03-11, 10:59 PM
I *think* i did try hand correcting it - successfully. It was awhile ago, so i could be not remembering correctly if I was successful or not. (you picked the file particulars out just as i remember them BTW) But I vaguely recall hand editing it and having an "Ah HA!" moment. (I've had a number of those). I think i abandoned it because the idea of hand editing those logs every freaking patrol was a major turn off, and its impossible to expect the end user to do the same. Need a 3rd party app here me thinks.

edit:

Actually, im sure you can hand edit it now. I remember i was going to use this as a springboard to get back into programming. I did have the idea to write an app to do this in C++, to get my hands into coding again, but i had enough on my plate with TMO at the time, and all desire to code quickly left me.

Vaux
02-04-11, 09:15 AM
Wow! I was going to post this very same question. Now that you mention it, Ducimus, I didn't notice this happening until I took command of a new build and had my home port switched from Brisbane to Pearl.

TorpX
02-04-11, 04:12 PM
It's not that whoever tested it didn't find the issue. It's that for whatever reason, they (ubisoft and/or developers) chose not to fix it..

You must be right. There are so many of these bugs, they must have been aware of them.

What really bothers me, is that things that were well modeled in SHCE, were dropped or messed up in SH4. One expects a 4th generation product to be superior to a 1st generation product, but strip away the eye-candy and it's hard to see much improvement.


I'm not sure what causes the bug. I *think* it might be related to crossing the International Date Line. Though im not sure. If you patrol out of Pearl, your crossing the IDL reguarlly. If out of australia, you'll probably rarely, to never cross it. (ingame, the IDL is about 200 to 300 KM West of midway if i remember correctly.) .

I have never been near Midway or Pearl, still have the problem.


I have looked into it before, the game keeps an ongoing temporary log in mid patrol, properly noting times and dates. The trouble occurs when it goes to write this data to your save game file upon returning from patrol.

I'm not going to worry about this problem; there are so many bigger/worse/more significant problems to worry about. :nope:

Ducimus
02-04-11, 04:21 PM
What really bothers me, is that things that were well modeled in SHCE, were dropped or messed up in SH4.

Different developers me thinks. SH1 was by SSI originally. SH4, is at its core, a highly modified version of SH3. It can legitimately be said that SH4 is a supermod of SH3.




I have never been near Midway or Pearl, still have the problem.

There goes that theory.




I'm not going to worry about this problem; there are so many bigger/worse/more significant problems to worry about. :nope:

That's exactly what I said to myself as well.

aanker
02-04-11, 04:30 PM
To be fair SSI made SH1 SHCE and I believe SH2, not UBI, however in my opinion someone on the Dev team should have been real familiar with SHCE and been able to provide input to the other team members working on SH4.

The SHCE TDC was great and like you said so many other good things were dropped or messed up. I am very pleased with the outstanding work that the SH4 modders like Ducimus have done to improve things.

My install is performing almost like SHCE with SH4 graphics! I'll never get the DD's like I want 'em though.

Happy Hunting!

Art

Ducimus
02-04-11, 09:52 PM
The SHCE TDC was great and like you said so many other good things were dropped or messed up.

....

My install is performing almost like SHCE with SH4 graphics!
Art


Nisgeis had alot to do with that if your using his TDC and radar ranging mod. :woot:

aanker
02-05-11, 12:02 PM
Nisgeis had alot to do with that if your using his TDC and radar ranging mod. :woot:
Nisgeis is among the names I have tattooed on my arm; he has been so knowledgeable and helpful about so many things. Sorry, I didn't mean to single you out.

Happy Hunting!

Art

BHunterSEAL
02-05-11, 06:49 PM
This has happened to me as well, in vanilla. Not necessarily as the start date of the patrol, and the issue only appears in the Captain's log after returning from a war patrol. Something like this:

Patrol start: September 25, 1943
First few kills: October 10, 1943
Next few kills: October 10, 1943 (should have been October 16)
Next few kills: October 10, 1943 (should have been October 25)
Last few kills: November 21, 1943

So for some reason all of my kills before sinking a CBG in port in November are recorded on the same day, despite occurring on two separate days. Maybe part of the problem is that I spent weeks in some utterly retarded patrol locations--I was based out of Brisbane and kicked ass in a heavily-trafficked Bismarck Sea, but they ordered me to the Marshall Islands where I patrolled for weeks without finding a single enemy ship. I then hit up Midway for a refuel and went back to kicking ass in the Bismarck Sea before being sent to photograph carriers in the Rabaul harbor (which I sank two of before bugging out).

aanker
02-05-11, 08:05 PM
If you really want them in the log, save the game before returning to base, maybe 100 nm out. Note the time (real time). Then resume and return to base like normal and note the time of this one too. Find the folder in your SH4 saved games that has the time you noted before you RTB.

My Documents\SH4\data\cfg\SaveGames\0000000n\ <-- lets say this one has that time.

Look for "SaveData.clg" in that folder, it is a text file with the correct dates and times of each ship sunk on your patrol. Open it in Notepad or some text editor and save a copy of its contents to your desktop for work purposes. You can throw this copy out after you're done.

Next open CareerTrack.upc ....... There are two locations:
My Documents\SH4\data\cfg\SaveGames\0000000n\ <-- your in port save after RTB with some number n.
and:
My Documents\SH4\data\cfg\UPCInitial\

Edit the two CareerTrack.upc files to have the times and dates listed in the clg file but make sure you follow the upc file format for the dates and times of your ships sunk on the patrol.

I don't know if you need to edit both or which one is more important, but it seems to me that both should be edited and they should be the same.

The log should now have your correct times and dates.

It sure seems like a lot of work after describing this but it should go pretty fast. One would think you could copy the block of text from your 1st corrected upc file from each ship sunk on your patrol and paste it into the other upc file if you are careful. The blocks of text look the same to me. The two files are not exactly the same though so I don't think they are interchangeable.

Phew! Hope it works. Probably a good idea to make backups of the original files before you edit them.

Happy Hunting!

Art

TorpX
02-06-11, 12:16 PM
On a related note, I've found that ships sunk are not always marked on the charts. Does anybody know about this? In one career, I sank 5 ships on a patrol, the last one not being marked. On my current patrol none of the ships I've sunk are marked so far. The log book has the sinkings though.

aanker
02-06-11, 01:08 PM
Ditto, same here and it doesn't seem to matter what install - it happens randomly on all of them.

Sometimes there is no ship sunk marker, other times it is gray too. I have watched targets sink through the periscope so the sinking is 'confirmed' but that doesn't seem to matter. So, I usually draw a 5 nm circle around the location with no marker so when zoomed out it shows. Then I can use that to look for patterns and shipping lanes. I use the compass and 5 nm circle rather than the pencil X because I use those for other things.

Happy Hunting!

Art