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 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 09-08-14, 06:48 AM   #1
Dragon81
Engineer
 
Join Date: Mar 2010
Location: Baden-Württemberg / Germany
Posts: 200
Downloads: 68
Uploads: 0
Default

@ sober: are you sure that this is the cause?
I can't remember exactly but I think I did not change anything in the patcher till I started the campagne.
Dragon81 is offline   Reply With Quote
Old 09-08-14, 07:41 AM   #2
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

Quote:
Originally Posted by Dragon81 View Post
@ sober: are you sure that this is the cause?
I can't remember exactly but I think I did not change anything in the patcher till I started the campagne.
Its the only thing I can think of atm . I am starting a new campaign to check . Give us a day or so . I just sank a polish ship in the first mission and the tonnage bar filled half way . I started a new campaign .

Last edited by THE_MASK; 09-08-14 at 08:26 AM.
THE_MASK is offline   Reply With Quote
Old 09-08-14, 09:24 AM   #3
Balu0
A-ganger
 
Join Date: Mar 2007
Posts: 79
Downloads: 181
Uploads: 0
Default

Since I reinstalled everything and started a new capaign my bar is filling up too.
Balu0 is offline   Reply With Quote
Old 09-08-14, 02:16 PM   #4
Distortion
Rosengarten. Center
 
Distortion's Avatar
 
Join Date: May 2003
Location: The Netherlands
Posts: 89
Downloads: 225
Uploads: 0
Default

I had a reinstall a couple days ago, with the TWOS and the dragon add-on. Offline mode. On the British coast I discovered a large convoy with Large steamers (war supplies). I sunk 1 ship, the date shows 00-00-0000, and the bar did not fill. I checked before and after. I was in the 80 km zone.







Sorry for the large pics.
__________________


"Ashes to ashes, dust unto dust,
it may not run, but shine it must,
it may not work, but it will not rust."
Distortion is offline   Reply With Quote
Old 09-08-14, 02:30 PM   #5
Distortion
Rosengarten. Center
 
Distortion's Avatar
 
Join Date: May 2003
Location: The Netherlands
Posts: 89
Downloads: 225
Uploads: 0
Default

Oh and for the record, I have a legal game. I see some old posts with the same problem. I play in offline mode, I thought DRM has vanished from SH5?
__________________


"Ashes to ashes, dust unto dust,
it may not run, but shine it must,
it may not work, but it will not rust."
Distortion is offline   Reply With Quote
Old 09-08-14, 04:25 PM   #6
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

Quote:
Originally Posted by Distortion View Post
Oh and for the record, I have a legal game. I see some old posts with the same problem. I play in offline mode, I thought DRM has vanished from SH5?
What was the flag of the ship you sunk ? There is definitely something wrong with the date showing zero . It must be a mod but which one .
THE_MASK is offline   Reply With Quote
Old 09-08-14, 05:32 PM   #7
Santini
Medic
 
Join Date: Dec 2009
Posts: 169
Downloads: 389
Uploads: 1
Default

Quote:
Originally Posted by sober View Post
What was the flag of the ship you sunk ? There is definitely something wrong with the date showing zero . It must be a mod but which one .
Well, I myself went back to a nodded game that had worked without a hitch about 6 or 7 months ago and am having the issue. It has gotta be DRM not liking something
Santini is offline   Reply With Quote
Old 09-10-14, 11:27 PM   #8
Dragon81
Engineer
 
Join Date: Mar 2010
Location: Baden-Württemberg / Germany
Posts: 200
Downloads: 68
Uploads: 0
Default

Here is a posting from TheBeast:
http://www.subsim.com/radioroom/show...ostcount=11392

Quote:
Originally Posted by TheBeast View Post
I really do not think any of your MODS are causing this issue.
Sinking correct ship types in the correct patrol area and Tonnage not counting toward mission goal appears to be a native game bug.

I had this issue as well. I changed my game play mode to play offline and this problem does not happen as often. Yes it still happen once in a while but far less.


OFFLINE TONNAGE DOES NOT COUNT WHEN:
  • You reload a saved game after you already starting another saved game.
  • The game crashes and you do not give the SH5 executable time to leave memory when restarting.

I hope this helps...

Regards!
TheBeast
Dragon81 is offline   Reply With Quote
Old 09-11-14, 02:36 AM   #9
Santini
Medic
 
Join Date: Dec 2009
Posts: 169
Downloads: 389
Uploads: 1
Default

So, gave it yet another go.

It seems that newly added vessels don't count towards tonnage anymore?

Sunk a gryf class and nothing registered, then sunk a v&w and it registered
Santini is offline   Reply With Quote
Old 01-16-17, 03:50 PM   #10
Toby-Jazz
Nub
 
Join Date: Sep 2016
Posts: 3
Downloads: 75
Uploads: 0
Default

Hi Guys.
Since there was a LOT of pages on here to go through I thought I will give my input whether or not it was stated already - incase anyone is still playing SH5 that is -

I fixed a tonnage not showing manually by watching the progress of tonnage sunk through the captain's log and then changing the values in the campaign.cfg files in the Documents\SH5 folders\data\users\'campaign name'\'campaign start date'
and the campaign.cfg files in the Documents\SH5 folders\data\cfg\savedGames\000000001 (Or last saved game ID)\'campaign start date'\campaign.cfg

the lines edited are located under the mission name :
[Campaign.CampObj.MacroObj 4.PersObj 1.CrtAmount]
IsTonnage=false
Tonnage=0
NumOfShips=0

Tonnage would then be set to the appropriate number for each of the two campaign.csf files.
I have found instances where it is correctly saved under one or the other files, but not the other one and so it probably doesnt read it correctly
I do not know if 'IsTonnage=true' would fix it by default. Will try once I get a change to play again.

Hope this helps or gives some mdder an idea of how to fix this

Kind regards
Tobias 'tip the apple cart' Jazz
Toby-Jazz is offline   Reply With Quote
Old 01-17-17, 06:59 AM   #11
OldCoder
Sparky
 
Join Date: Mar 2016
Posts: 150
Downloads: 25
Uploads: 0
Default

Quote:
Originally Posted by Toby-Jazz View Post
Hi Guys.
Since there was a LOT of pages on here to go through I thought I will give my input whether or not it was stated already - incase anyone is still playing SH5 that is -

I fixed a tonnage not showing manually by watching the progress of tonnage sunk through the captain's log and then changing the values in the campaign.cfg files in the Documents\SH5 folders\data\users\'campaign name'\'campaign start date'
and the campaign.cfg files in the Documents\SH5 folders\data\cfg\savedGames\000000001 (Or last saved game ID)\'campaign start date'\campaign.cfg

the lines edited are located under the mission name :
[Campaign.CampObj.MacroObj 4.PersObj 1.CrtAmount]
IsTonnage=false
Tonnage=0
NumOfShips=0

Tonnage would then be set to the appropriate number for each of the two campaign.csf files.
I have found instances where it is correctly saved under one or the other files, but not the other one and so it probably doesnt read it correctly
I do not know if 'IsTonnage=true' would fix it by default. Will try once I get a change to play again.

Hope this helps or gives some mdder an idea of how to fix this

Kind regards
Tobias 'tip the apple cart' Jazz
So is it just a case of monitoring changes in one file and syncing them to the other file? Or do I misunderstand?
OldCoder is offline   Reply With Quote
Old 01-17-17, 07:20 AM   #12
THEBERBSTER
Growing Old Disgracefully
 
THEBERBSTER's Avatar
 
Join Date: Dec 2012
Location: Hythe - Southampton
Posts: 9,424
Downloads: 1145
Uploads: 0


Default

Hi OC
Making those changes does not guarantee anything.
Tonnage bar and campaign icons are broken and will work sometimes and not at other times.

Quote:
the lines edited are located under the mission name :
[Campaign.CampObj.MacroObj 4.PersObj 1.CrtAmount]
IsTonnage=false
Tonnage=0
NumOfShips=0
This means that there is no tonnage in this mission only ships.
Tonnage=0
For ships you would go to 'Amount' and it will show you the number of ships required to complete the mission.
Here you have a problem because not all ships sunk count towards the objective.
Peter
THEBERBSTER is offline   Reply With Quote
Old 01-17-17, 07:41 AM   #13
OldCoder
Sparky
 
Join Date: Mar 2016
Posts: 150
Downloads: 25
Uploads: 0
Default

Sorry yes, I did some more reading and latterly found http://www.subsim.com/radioroom/show...&postcount=233 .

I guess with the workaround/fix of changing the OSI task priority this is a system resources/timing issue between the sh5 and osi communication protocol.
OldCoder is offline   Reply With Quote
Old 01-17-17, 10:44 AM   #14
OldCoder
Sparky
 
Join Date: Mar 2016
Posts: 150
Downloads: 25
Uploads: 0
Default

Ok taking MaMa's fix one tiny step further (unless it's already been covered in the the forum) I've found a tool allowing us to set the priority of osi.exe just one time and thereafter forget about it.

Background:
http://www.subsim.com/radioroom/show...&postcount=233
http://www.subsim.com/radioroom/show...&postcount=188

The theory being (at least as I understand it) that SH5 is a highly demanding process (particularly with the megamods installed) and that the osi.exe which it communicates with does not respond correctly or somehow quickly enough. By running the osi.exe process at a higher priority, it responds to the incoming requests.

Ok so now for the automation tool. I'm not sure that I'm allowed to link to external file resources so I'll just say google SystemExplorer, install that (Win 7->10 compatible), choose custom install, choose the default Task Manager style view and say no to the security check as it's irrelevant to what we're doing.

It'll install itself, and by default runs at startup and minimises to the task tray which is fine. Run Silent Hunter V and as expected the osi.exe process spawns (and latterly dies when SH5 is closed). So when SH is running, open System Explorer from the task tray, type in osi in the top right filter. The osi.exe process should appear within the main pane, so right click on that and set Process Priority to Real Time and check the Permanent option.

That's all needed. Next time you boot up or run SHV, System Explorer will automatically set the osi to real time priority. Hopefully this works and simplifies the process if tonnage bar is wanted or required.
OldCoder is offline   Reply With Quote
Old 01-17-17, 11:13 AM   #15
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,095
Downloads: 587
Uploads: 13


Default

To bad because the Windows it self doesn't have similar option...

An interesting and practical solution indeed, but again, this is close to a "rocket science" procedure for an average "I just wanna shoot ships and fill tonnage baaa" gamer...

Can you confirm that it actually works?

Last edited by vdr1981; 01-17-17 at 11:25 AM.
vdr1981 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 07:07 AM.


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