SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 11-28-07, 06:31 PM   #1
lurker_hlb3
Admiral
 
Join Date: Apr 2005
Location: San Diego Calif
Posts: 2,290
Downloads: 187
Uploads: 12
Default Problems with Messages.txt in 1.4

There is a bug where 1.4 does not process the messages in “messages.txt” that is in the Campaign directory correctly. Currently when the system DTG is equal to the message generation time, you will get an alert that a messages has been received, but when you go to look at the body of the message, it all it says “Message Content”. To make matters worse, once you receive the first corrupted message, you will not receive anymore messages that are supposed to be generated by messages.txt.

I’ve conducted analyzes of the problem and have determined what the problem is and how to correct it.

The following is the “Pearl Harbor” attack message:

@CINCPAC@^...^&Enemy attack on Pearl!&AIR RAID PEARL HARBOR X THIS IS NOT DRILL X

When received the AIR RAID PEARL HARBOR X THIS IS NOT DRILL X will not be displayed.

Review of messages.txt shows that there is a “format” for messages that is displayed on the first line of the file. i.e.

@FROM@ ^TO^ &TITLE& [INVOLVED SHIPS,INVOLVED SHIPS] Message content


The problems is that the [INVOLVED SHIPS,INVOLVED SHIPS] section is missing from the body of the message. All you have to do to get the messages to display is add [X] at the correct spot in the message. i.e.

@CINCPAC@^...^&Enemy attack on Pearl!&[X]AIR RAID PEARL HARBOR X THIS IS NOT DRILL X



The following link is to a “fixed” version of the “stock” 1.4 messages.txt

http://files.filefront.com/MSGFIX+fo.../fileinfo.html





Last edited by lurker_hlb3; 05-25-09 at 08:59 AM.
lurker_hlb3 is offline   Reply With Quote
Old 11-28-07, 06:39 PM   #2
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

Just to clarify, is this an issue with the post patch message.txt itself, or has the way the game reads it changed, thereby needing an additional change in the messages.txt?
Ducimus is offline   Reply With Quote
Old 11-28-07, 06:46 PM   #3
lurker_hlb3
Admiral
 
Join Date: Apr 2005
Location: San Diego Calif
Posts: 2,290
Downloads: 187
Uploads: 12
Default

Quote:
Originally Posted by Ducimus
Just to clarify, is this an issue with the post patch message.txt itself, or has the way the game reads it changed, thereby needing an additional change in the messages.txt?

It's the way the game reads the message.txt file. The stock 1.4 messages.txt is the same that was in 1.3.
lurker_hlb3 is offline   Reply With Quote
Old 11-28-07, 06:56 PM   #4
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

OUCH.

Ok thanks Lurker, you just saved me (and everyone else) a headache.
Ducimus is offline   Reply With Quote
Old 11-28-07, 09:17 PM   #5
panthercules
The Old Man
 
Join Date: Apr 2005
Posts: 1,336
Downloads: 6
Uploads: 0
Default

Quote:
Originally Posted by lurker_hlb3
There is a bug where 1.4 does not process the messages in “messages.txt” that is in the Campaign directory correctly. Currently when the system DTG is equal to the message generation time, you will get an alert that a messages has been received, but when you go to look at the body of the message, it all it says “Message Content”.
Note - this problem was not introduced by patch 1.4 - I experienced this problem for sure with 1.3, and perhaps before (it never bothered me before enough to worry about, so I can't remember exactly how far back I first saw this, but it was definitely happening with 1.3).

As I recall, it did seem to always happen with a message that (based on the date) I assumed was supposed to be about Pearl Harbor being attacked. The one new thing that might have been introduced with 1.4 is the mention of you not getting any further messages with content after that. That did not happen with me before - later messages would come in just fine, even after this "empty" one had shown up. So, that part may indeed be new with 1.4, but I haven't had a chance to play around enough with 1.4 to have this happen to me after the patch yet.
__________________
panthercules is offline   Reply With Quote
Old 11-28-07, 09:21 PM   #6
AVGWarhawk
Lucky Jack
 
AVGWarhawk's Avatar
 
Join Date: Jun 2005
Location: In a 1954 Buick.
Posts: 28,261
Downloads: 90
Uploads: 0


Default

Lurker,

Which file do I use? I see two fixes. Currently I have installed the new RSRD 1.4 version
__________________
“You're painfully alive in a drugged and dying culture.”
― Richard Yates, Revolutionary Road
AVGWarhawk is offline   Reply With Quote
Old 11-28-07, 09:48 PM   #7
ReallyDedPoet
Canadian Wolf
 
ReallyDedPoet's Avatar
 
Join Date: Jul 2006
Location: Canada. The one and only, East Coast
Posts: 10,886
Downloads: 946
Uploads: 5


Default

Quote:
Originally Posted by AVGWarhawk
Lurker,

Which file do I use? I see two fixes. Currently I have installed the new RSRD 1.4 version
I think the second one AVG, just noticing this thread myself, playing stock currently ,
waiting for the new Trigger.


RDP
__________________

Back in the Day



ReallyDedPoet is offline   Reply With Quote
Old 11-29-07, 05:13 AM   #8
DrBeast
The Old Man
 
Join Date: Oct 2007
Location: Somewhere Out In Space
Posts: 1,408
Downloads: 36
Uploads: 0
Default

Quote:
Originally Posted by panthercules
Quote:
Originally Posted by lurker_hlb3
There is a bug where 1.4 does not process the messages in “messages.txt” that is in the Campaign directory correctly. Currently when the system DTG is equal to the message generation time, you will get an alert that a messages has been received, but when you go to look at the body of the message, it all it says “Message Content”.
Note - this problem was not introduced by patch 1.4 - I experienced this problem for sure with 1.3, and perhaps before (it never bothered me before enough to worry about, so I can't remember exactly how far back I first saw this, but it was definitely happening with 1.3).

As I recall, it did seem to always happen with a message that (based on the date) I assumed was supposed to be about Pearl Harbor being attacked. The one new thing that might have been introduced with 1.4 is the mention of you not getting any further messages with content after that. That did not happen with me before - later messages would come in just fine, even after this "empty" one had shown up. So, that part may indeed be new with 1.4, but I haven't had a chance to play around enough with 1.4 to have this happen to me after the patch yet.
Hm. So it's safe to assume that this fix can be applied to v1.3 as well...? I don't plan to install v1.4 until Leo OKs ROW and WernerSobe NSM (already grabbed the RSRDC update though).
__________________



Let the Beast inside you free!
DrBeast is offline   Reply With Quote
Old 11-29-07, 08:03 AM   #9
lurker_hlb3
Admiral
 
Join Date: Apr 2005
Location: San Diego Calif
Posts: 2,290
Downloads: 187
Uploads: 12
Default

Quote:
Hm. So it's safe to assume that this fix can be applied to v1.3 as well...? I don't plan to install v1.4 until Leo OKs ROW and WernerSobe NSM (already grabbed the RSRDC update though).
This is a 1.4 problem
lurker_hlb3 is offline   Reply With Quote
Old 11-29-07, 09:16 AM   #10
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 26
Uploads: 3
Default

Shouldn't

[X][USS Barb,USS Salmon,USS Cod,O-19]COMSUBPAC BREEZY NIGHTLY NEWS X BARBAROUS BARB REPORTS SINKING ONE LARGE AND ONE SMALL FREIGHTER AND THREE LUGGERS ONE TRAWLER FOUR SAMPANS IN ADDITION TO ONE ISLAND SMASHING BOMBARDMENT AND TWO ROCKET MASSAGES GIVEN IN EXCHANGE FOR BOMBS AND DEPTH CHARGES RECEIVED X DUTCH SUBMARINE 0-ONE NINE REPORTS ITSELF AGROUND ON LADD REEF WITH COD SPEEDING TO AID X

be

[USS Barb,USS Salmon,USS Cod,O-19]COMSUBPAC BREEZY NIGHTLY NEWS X BARBAROUS BARB REPORTS SINKING ONE LARGE AND ONE SMALL FREIGHTER AND THREE LUGGERS ONE TRAWLER FOUR SAMPANS IN ADDITION TO ONE ISLAND SMASHING BOMBARDMENT AND TWO ROCKET MASSAGES GIVEN IN EXCHANGE FOR BOMBS AND DEPTH CHARGES RECEIVED X DUTCH SUBMARINE 0-ONE NINE REPORTS ITSELF AGROUND ON LADD REEF WITH COD SPEEDING TO AID X

The [USS Barb,USS Salmon,USS Cod,O-19] seem to be the 'involved ships'?
skwasjer is offline   Reply With Quote
Old 11-29-07, 06:45 PM   #11
lurker_hlb3
Admiral
 
Join Date: Apr 2005
Location: San Diego Calif
Posts: 2,290
Downloads: 187
Uploads: 12
Default

Quote:
Originally Posted by skwasjer
Shouldn't

[X][USS Barb,USS Salmon,USS Cod,O-19]COMSUBPAC BREEZY NIGHTLY NEWS X BARBAROUS BARB REPORTS SINKING ONE LARGE AND ONE SMALL FREIGHTER AND THREE LUGGERS ONE TRAWLER FOUR SAMPANS IN ADDITION TO ONE ISLAND SMASHING BOMBARDMENT AND TWO ROCKET MASSAGES GIVEN IN EXCHANGE FOR BOMBS AND DEPTH CHARGES RECEIVED X DUTCH SUBMARINE 0-ONE NINE REPORTS ITSELF AGROUND ON LADD REEF WITH COD SPEEDING TO AID X

be

[USS Barb,USS Salmon,USS Cod,O-19]COMSUBPAC BREEZY NIGHTLY NEWS X BARBAROUS BARB REPORTS SINKING ONE LARGE AND ONE SMALL FREIGHTER AND THREE LUGGERS ONE TRAWLER FOUR SAMPANS IN ADDITION TO ONE ISLAND SMASHING BOMBARDMENT AND TWO ROCKET MASSAGES GIVEN IN EXCHANGE FOR BOMBS AND DEPTH CHARGES RECEIVED X DUTCH SUBMARINE 0-ONE NINE REPORTS ITSELF AGROUND ON LADD REEF WITH COD SPEEDING TO AID X

The [USS Barb,USS Salmon,USS Cod,O-19] seem to be the 'involved ships'?

Yes you can do it that way if you want to. All I'm trying to do is to get to work in the first place
lurker_hlb3 is offline   Reply With Quote
Old 12-08-07, 02:56 PM   #12
dc1962
Bosun
 
Join Date: Apr 2006
Posts: 69
Downloads: 8
Uploads: 0
Default File Front link

I can't seem to get the link to take me to the download on the File Front site?!
dc1962 is offline   Reply With Quote
Old 01-15-08, 10:32 PM   #13
Elder-Pirate
Ace of the Deep
 
Join Date: Jul 2003
Location: Morris, Illinois USA
Posts: 1,090
Downloads: 29
Uploads: 0
Default

Quote:
Originally Posted by dc1962
I can't seem to get the link to take me to the download on the File Front site?!
Same here. Both links are showing everything BUT SH4 anything.
__________________
Elder-Pirate is offline   Reply With Quote
Old 01-16-08, 07:53 AM   #14
lurker_hlb3
Admiral
 
Join Date: Apr 2005
Location: San Diego Calif
Posts: 2,290
Downloads: 187
Uploads: 12
Default

Quote:
Originally Posted by Elder-Pirate
Quote:
Originally Posted by dc1962
I can't seem to get the link to take me to the download on the File Front site?!
Same here. Both links are showing everything BUT SH4 anything.
the link works now
lurker_hlb3 is offline   Reply With Quote
Old 01-16-08, 04:26 PM   #15
Elder-Pirate
Ace of the Deep
 
Join Date: Jul 2003
Location: Morris, Illinois USA
Posts: 1,090
Downloads: 29
Uploads: 0
Default

Quote:
Originally Posted by lurker_hlb3
Quote:
Originally Posted by Elder-Pirate
Quote:
Originally Posted by dc1962
I can't seem to get the link to take me to the download on the File Front site?!
Same here. Both links are showing everything BUT SH4 anything.
the link works now
__________________
Elder-Pirate is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:59 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.