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 05-25-24, 02:27 PM   #1
Zyhgar
Swabbie
 
Join Date: Nov 2023
Posts: 10
Downloads: 16
Uploads: 0
Default

I mean I can dump my save here there is no AdditionalRepository anywhere in the code.
I went through I don't see anything different maybe I missed something?

https://drive.google.com/file/d/1tyz...usp=drive_link
Zyhgar is offline   Reply With Quote
Old 05-25-24, 05:46 PM   #2
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,245
Downloads: 466
Uploads: 4


Default

Quote:
Originally Posted by Zyhgar View Post
I mean I can dump my save here there is no AdditionalRepository anywhere in the code.
I went through I don't see anything different maybe I missed something?

https://drive.google.com/file/d/1tyz...usp=drive_link
That is not the correct ActiveUserPlayerUnits.upc file, from the looks of it. That has the 4 inch gun still, and all crewmember slots. Navigate into your save folder, such as "C:\Users \UserName \Documents \SH4 \data \cfg", and select the "SaveGames" folder. If you have 7-zip on the context menu, you can right-click that folder, and select "7-zip" on the context menu, then click on the "Add to archive". Once on that screen, click the "Options" button and click the tick boxes for "Store creation time" and "Store last access time". "OK" that, and then click the main window's "OK" button to create the archive. Post that if you would, and then it will be easier to find the appropriate ActiveUserPlayer file.
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 05-25-24, 07:29 PM   #3
Zyhgar
Swabbie
 
Join Date: Nov 2023
Posts: 10
Downloads: 16
Uploads: 0
Default

Quote:
Originally Posted by propbeanie View Post
That is not the correct ActiveUserPlayerUnits.upc file, from the looks of it. That has the 4 inch gun still, and all crewmember slots. Navigate into your save folder, such as "C:\Users \UserName \Documents \SH4 \data \cfg", and select the "SaveGames" folder. If you have 7-zip on the context menu, you can right-click that folder, and select "7-zip" on the context menu, then click on the "Add to archive". Once on that screen, click the "Options" button and click the tick boxes for "Store creation time" and "Store last access time". "OK" that, and then click the main window's "OK" button to create the archive. Post that if you would, and then it will be easier to find the appropriate ActiveUserPlayer file.
This is on of the saves that is bugged? any and all saves after the refit removes the gun crew after going from 3inch to 4inch but okay here's all my saves.

https://drive.google.com/file/d/1HKO...ew?usp=sharing

0000000a is the one I provided some saves in there are me trying to trouble shoot my self.
0000000b and 0000000c are the video saves.
Zyhgar is offline   Reply With Quote
Old 05-25-24, 09:00 PM   #4
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,245
Downloads: 466
Uploads: 4


Default

Quote:
Originally Posted by Zyhgar View Post
This is on of the saves that is bugged? any and all saves after the refit removes the gun crew after going from 3inch to 4inch but okay here's all my saves.

https://drive.google.com/file/d/1HKO...ew?usp=sharing

0000000a is the one I provided some saves in there are me trying to trouble shoot my self.
0000000b and 0000000c are the video saves.
Well, every time you think you've seen it all, someone else shows you something new... I have never seen the issue you have Zyhgar... The crewmember section is really strange. CrewMemberSlot 1 starts fine, but then instead of doing the crewmember description and rank, it lists CrewmemberSlot 2, 3 and 4, with no actual crewmember descriptions or rank... I'll take the Saves I made earlier to find the differences between the running boats, and bring them both back in to port and dock and Save, then see what the crewmember listings look like, and get back with you tomorrow my time...
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 05-26-24, 02:54 PM   #5
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,245
Downloads: 466
Uploads: 4


Default

Quote:
Originally Posted by Zyhgar View Post
This is on of the saves that is bugged? any and all saves after the refit removes the gun crew after going from 3inch to 4inch but okay here's all my saves.

https://drive.google.com/file/d/1HKO...ew?usp=sharing

0000000a is the one I provided some saves in there are me trying to trouble shoot my self.
0000000b and 0000000c are the video saves.
My saves are all fine upon return to port... so my supposition is that your crewmember descriptions from the damage control team, which is where you take your gun crews from, got mingled with the gun crew slots PRIOR to your coming into port... I'm trying to edit my save file to look like yours from when you left port, and then come back in and see what happens... more later.


I cannot fathom how the crew got transposed into an incorrect compartment though...
__________________

"...and bollocks to the naysayers" - Jimbuna

Last edited by propbeanie; 05-26-24 at 03:05 PM.
propbeanie is offline   Reply With Quote
Old 05-26-24, 04:38 PM   #6
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,245
Downloads: 466
Uploads: 4


Default

OK Zyhgar, I may have found the issue. In your Save folder, using the folder you will take the sub out with next time (00000004??), after the re-fit, look for the section "UserPlayerUnit 1.Compartment 6.WeaponSlot 1", and the last line in that is "IDLinkWeaponLoaded=", and yours has "NULL, NULL". After 1942-08-01, your boat should have a "3in50calUS, NULL" in that line instead. After that section, you are missing the actual Weapon section, so paste this between that last line, and the "UserPlayerUnit 1.Compartment 6.CrewMemberSlot 1" header of the next section:
[UserPlayerUnit 1.Compartment 6.WeaponSlot 1.Weapon]
ID=3in50calUS
NameDisplayable=3inch .50 Caliber Cannon
WeaponInterval=1900-01-01, 1999-12-31
WeaponSlotType=NULL
AmmoTypesAccepted=3inAPUS,3inHEUS
AmmoTypeLoaded=NULL
AmmoMagazineSize=1
AmmoMagazineRemaining=0
WeaponCrewMembersSlots=4
ExternalLinkName3D=3_50_Soclu
FunctionalType=WpCannon
Hitpoints=100.000000
EfficiencyHumanFactor=1.000000
EfficiencyMechanicFactor=1.000000
Efficiency=1.000000
Damage=0.000000
DamageHitpointsConsumed=0.000000
RemainingRepairTime=0000-00-00 00:00:00
DamageDescription1=NULL,0,0.2,0,1,1,Jam,0,0,NULL,1 ,0.3,0.206513
DamageDescription2=NULL,0,1,0,0.5,1,Chamber Explosion,50,5,NULL,1,2,13.0046
Save the file, and then try to load that Save. Unfortunately, there is no "naming" shown in the Save data as text, so I am guessing that info is in the binary files. In your search folders though, that "IDLinkWeaponLoaded=" and the following "UserPlayerUnit 1.Compartment 6.WeaponSlot 1.Weapon" section are why you do not have any gun crew member slots in the game - there is no gun to put them on... Usually when this happens, there is a partial gun listing. Yours is completely missing... I found that only in the 00000004 folder of the set you posted.
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 05-26-24, 05:23 PM   #7
Zyhgar
Swabbie
 
Join Date: Nov 2023
Posts: 10
Downloads: 16
Uploads: 0
Default

Quote:
Originally Posted by propbeanie View Post
OK Zyhgar, I may have found the issue. In your Save folder, using the folder you will take the sub out with next time (00000004??), after the re-fit, look for the section "UserPlayerUnit 1.Compartment 6.WeaponSlot 1", and the last line in that is "IDLinkWeaponLoaded=", and yours has "NULL, NULL". After 1942-08-01, your boat should have a "3in50calUS, NULL" in that line instead. After that section, you are missing the actual Weapon section, so paste this between that last line, and the "UserPlayerUnit 1.Compartment 6.CrewMemberSlot 1" header of the next section:
[UserPlayerUnit 1.Compartment 6.WeaponSlot 1.Weapon]
ID=3in50calUS
NameDisplayable=3inch .50 Caliber Cannon
WeaponInterval=1900-01-01, 1999-12-31
WeaponSlotType=NULL
AmmoTypesAccepted=3inAPUS,3inHEUS
AmmoTypeLoaded=NULL
AmmoMagazineSize=1
AmmoMagazineRemaining=0
WeaponCrewMembersSlots=4
ExternalLinkName3D=3_50_Soclu
FunctionalType=WpCannon
Hitpoints=100.000000
EfficiencyHumanFactor=1.000000
EfficiencyMechanicFactor=1.000000
Efficiency=1.000000
Damage=0.000000
DamageHitpointsConsumed=0.000000
RemainingRepairTime=0000-00-00 00:00:00
DamageDescription1=NULL,0,0.2,0,1,1,Jam,0,0,NULL,1 ,0.3,0.206513
DamageDescription2=NULL,0,1,0,0.5,1,Chamber Explosion,50,5,NULL,1,2,13.0046
Save the file, and then try to load that Save. Unfortunately, there is no "naming" shown in the Save data as text, so I am guessing that info is in the binary files. In your search folders though, that "IDLinkWeaponLoaded=" and the following "UserPlayerUnit 1.Compartment 6.WeaponSlot 1.Weapon" section are why you do not have any gun crew member slots in the game - there is no gun to put them on... Usually when this happens, there is a partial gun listing. Yours is completely missing... I found that only in the 00000004 folder of the set you posted.
I was trying to trouble shoot my self with 00000004 and 0000000a.
00000004 is the save with the stern mounted version of the 4inch 0000000a is the save with the bow mounted version of the 4inch so maybe that's why there's missing bowgun code? I didn't edit any of the code myself this was all generated via just saving the game.
I was trying to see if saving and loading by switching between the bow and stern gun versions would just fix the bug like the oxygen bug would be fixed after a fresh save.

I'll edit the 0000000a when I can (will be leaving home after posting.).
Quote:
Originally Posted by propbeanie View Post
My saves are all fine upon return to port... so my supposition is that your crewmember descriptions from the damage control team, which is where you take your gun crews from, got mingled with the gun crew slots PRIOR to your coming into port... I'm trying to edit my save file to look like yours from when you left port, and then come back in and see what happens... more later.


I cannot fathom how the crew got transposed into an incorrect compartment though...
I did put a permanent gun crew on the deck gun at the start of the game so there was always crew assigned to the gun and I hired more crew for DC.
Is that the issue?

Last edited by Zyhgar; 05-26-24 at 06:07 PM.
Zyhgar is offline   Reply With Quote
Old 05-26-24, 06:26 PM   #8
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,245
Downloads: 466
Uploads: 4


Default

Quote:
Originally Posted by Zyhgar View Post
I was trying to trouble shoot my self with 00000004 and 0000000a.
00000004 is the save with the stern mounted version of the 4inch 0000000a is the save with the bow mounted version of the 4inch so maybe that's why there's missing bowgun code? I didn't edit any of the code myself this was all generated via just saving the game.
I was trying to see if saving and loading by switching between the bow and stern gun versions would just fix the bug like the oxygen bug would be fixed after a fresh save.

I'll edit the 0000000a when I can (will be leaving home after posting.).
The problem with the S-Class boats (18 & 42 both), is that they cannot mount an aft gun. There is an M01 node for the bow mount, but no node for an after gun. The real boats did not have the space to mount one back there, and did not have any reinforcement on the deck either. The gun itself is in the Compartment 6, which you might notice is different from the fleetboats, which use Compartment 7 (aft) and Compartment 8 (bow) for the deck gun (s). As for an oxygen bug, if you are referring to the oxygen not restoring upon surfacing, that is also a function of the game, in that it is an old WinXP, DirectX v9 game, and as such, thinks it is the only thing running on your computer. If you shell-out to Windows, or any background app interrupts your game-play, that will introduce all sorts of oddities into the gameplay, including the oxygen not restoring, the crew not resting and eventually collapsing a "Cannot comply" responses to orders. It can also introduce graphic anomalies, such as a smoke pillar following your boat around, or the watch crew staying at their stations when you are submerged. If you encounter any of that, Save the game, exit completely, start the game again, then load the saved game and continue. All such trouble should be gone. Windows does not always restore the game to the same state and addresses it was at before, and the game itself cannot follow along with the changes.

Quote:
Originally Posted by Zyhgar View Post
I did put a permanent gun crew on the deck gun at the start of the game so there was always crew assigned to the gun and I hired more crew for DC.
Is that the issue?
It might be, and wouldn't surprise me if it is, but that does not seem logical to my mind... The basic idea with the larger repair crew was to hold the deck gun and AA gun crews. They can stay at the gun positions, but those are exposed, just like the watch crew positions, and they can be injured much easier, since they are technically still outside the protection of the boat at those stations. It would be nice if the game would move them to protected interior places when submerged, but that was an oversight in the development cycle of the game - maybe... lol
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie 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 12: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.