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

Reply
 
Thread Tools Display Modes
Old 01-05-07, 09:48 PM   #31
Skweetis
Watch Officer
 
Join Date: Sep 2001
Location: Cambridge, Canada
Posts: 335
Downloads: 39
Uploads: 0
Default

Odd thing for me, is I have logged more hours in SH3 than my wife would like, and have never experienced the sinking bug. I've had corrupted saves, but never a sinking problem on load...

I'd really like to figure it out though, because I don't like leaving things unsolved. I'm a software tech, and these kinda things eat away at me... hehe
__________________
"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
Skweetis is offline   Reply With Quote
Old 01-05-07, 09:57 PM   #32
theluckyone17
Captain
 
Join Date: May 2006
Location: Niskayuna, NY
Posts: 482
Downloads: 103
Uploads: 0
Default

http://www.subsim.com/radioroom/showthread.php?t=103234
http://www.subsim.com/radioroom/showthread.php?t=96357
http://www.subsim.com/radioroom/show...ved+game+crash
http://www.subsim.com/radioroom/show...ved+game+crash
http://www.subsim.com/radioroom/show...ive+saved+game

There's some info there, but not much.

At this point, I'm happy with a fix if the problem occurs... I'd be happier with knowing how to prevent it, but if I can rescue a corrupted save game file, I'll be happy enough. I think I'm going to keep playing around with some fresh saved games and the .mis files, to see if I can keep replicating this bug.

I've got a copy or three of Memtest86 around here... I might run it through multiple PC-Check runs over the weekend, too. I suppose you could call me a "Jack of All Trades" computer technician, since I work for a fairly large company providing general support (with a really bad name, I might add, which is why that description's the most you're going to get out of me ;op ).

Samwolf: Oddly enough, that Crew_Career_00.cfg is different than the patrol cfg and the Crew_Config_<uboat type_#>.cfg. The crew_career cfg has the same crew names and positions as the ubout type cfg, but it has more stuff added to each crewmember... mostly variables that I assume are related to types of qualifications and promotions.

Last edited by theluckyone17; 01-05-07 at 10:14 PM.
theluckyone17 is offline   Reply With Quote
Old 01-05-07, 10:00 PM   #33
Skweetis
Watch Officer
 
Join Date: Sep 2001
Location: Cambridge, Canada
Posts: 335
Downloads: 39
Uploads: 0
Default

Cheers again Lucky for all your help, I really appreciate it!

Once my GWX download is done, Im going to test the hell out of this tonight.

Hopefully we can crack this....

EDIT: My main concern is that the problem seems to occur with your saves when certain values are written to the [Mission] Section in the .mis files. I'd like to find out what values are being created in those files that are conflicting with your saved games, so I can eliminate them and prevent them from causing problems for other users. It has to be a combination of something...

Thanks,

James
__________________
"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
Skweetis is offline   Reply With Quote
Old 01-05-07, 11:28 PM   #34
irish1958
Ocean Warrior
 
Join Date: Apr 2005
Location: Carmel, Indiana
Posts: 3,250
Downloads: 320
Uploads: 11
Default saves

I can't be much help. In almost 2 years of play, I have never had a problem with a save; and I have never had a problem with SH3 weather.
__________________
Irish1958
irish1958 is offline   Reply With Quote
Old 01-06-07, 08:30 AM   #35
dize
Machinist's Mate
 
Join Date: Sep 2002
Location: hamburg
Posts: 122
Downloads: 0
Uploads: 0
Default

how about giving us a dl link?
__________________

dize is offline   Reply With Quote
Old 01-06-07, 01:20 PM   #36
Skweetis
Watch Officer
 
Join Date: Sep 2001
Location: Cambridge, Canada
Posts: 335
Downloads: 39
Uploads: 0
Default

HI Dize,

If you read at the beginning of the thread, it isn't available yet, I haven't finished updating the program and testing. Im just letting people know that Im back working on it, getting information on existing issues, collecting suggestions and giving all a headsup as to what will be changed when the new version is ready.

Hense the [WIP] in the subject line... Work In Progress.

Thanks for your enthusiasm though. When it is finished and a d/l is available I will let everyone know.

Cheers,

James
__________________
"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
Skweetis is offline   Reply With Quote
Old 01-06-07, 02:17 PM   #37
irish1958
Ocean Warrior
 
Join Date: Apr 2005
Location: Carmel, Indiana
Posts: 3,250
Downloads: 320
Uploads: 11
Default Changes

Hay Sweatis, Welcome back and congratulations on your new addition. Your program updates the campaign files (.rnd, .lnd and .scr0 There is a thread about changing these files to reduce the possibility of having several weeks of bad weather. http://www.subsim.com/radioroom/showthread.php?t=96710 When your program changes these files, I think it removes these modifications, and reverts the random number to 1, instead of leaving it at 2. Is there any way to use your program without loosing these changes?
__________________
Irish1958
irish1958 is offline   Reply With Quote
Old 01-06-07, 03:06 PM   #38
Skweetis
Watch Officer
 
Join Date: Sep 2001
Location: Cambridge, Canada
Posts: 335
Downloads: 39
Uploads: 0
Default

Hi Irish

Unfortunately, no. However, in my revisions, I may increase cloud rand to 2 for some seasons. all the weather settings that get written to those campaign files are generated by a moderately complex algorithim based on what month and what season the patrol is started in. This algorithim was created using weather data compiled by a few helpful forum members to get as balanced and realistic weather value given the limited variables we have to work with.

Based on my own testing with the currently released version, there are a few tweaks I would like to make to this algorithm to generate more balanced weather.

Hopefully you and other users will be pleased with the results.

Cheers,

James
__________________
"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
Skweetis is offline   Reply With Quote
Old 01-06-07, 03:35 PM   #39
lurker_hlb3
Admiral
 
Join Date: Apr 2005
Location: San Diego Calif
Posts: 2,290
Downloads: 187
Uploads: 12
Default

Quote:
Originally Posted by theluckyone17
Alrighty .

Continued research: It's definitely the campaign files. I've got the original campaign files saved, and the new files that work. If I copy the original campaign files over the working copy, SH3 bugs out. Copy the working files back, and SH3 works perfectly fine.

I diff'd/compared the campaign files, and here are the results:
Corrupted Campaign_LND.mis:
Line 11: Fog=0
Line 17: WindHeading=193
Line 18: WindSpeed=0

Working Campaign_LND.mis:
Line 11: Fog=3
Line 17: WindHeading=4
Line 18: WindSpeed=6

Corrupted Campaign_RND.mis:
Line 11: Fog=0
Line 17: WindHeading=193
Line 18: WindSpeed=0

Working Campaign_RND.mis:
Line 11: Fog=3
Line 17: WindHeading=4
Line 18: WindSpeed=6

Corrupted Campaign_SCR.mis:
Line 11: Fog=0
Line 17: WindHeading=193
Line 18: WindSpeed=0

Working Campaign_SCR.mis:
Line 11: Fog=3
Line 17: WindHeading=4
Line 18: WindSpeed=6

Edit: Corrected file names.

I've found the "cause" of the CRASH DIVE problem.

If "WindSpeed" is = to "0"

It looks like the SH3 Game engine can't deal with 0 windspeed.

Have tested this a number of times. As long as windspeed is 1 or greater it works fine.
lurker_hlb3 is offline   Reply With Quote
Old 01-06-07, 04:27 PM   #40
Skweetis
Watch Officer
 
Join Date: Sep 2001
Location: Cambridge, Canada
Posts: 335
Downloads: 39
Uploads: 0
Default

Hey Lurker,

Can I get some more information on this issue from you? When I set WINDSPEED to 0 in my campaign files, and load saved game which I created with that value, I do not get the Crash Dive bug.

Specifically,when you created the save file that produces the problem:

-Were you submerged or surfaced?
-Were there other vessels around?
-Any damage to your uboot?
-Does this dive happen immediately upon load, or after you perform a crash dive?
-What mods do you have enabled, and what versions are they?
-Are you using SH3 Commander, if so what version?
-Which version of SH3Weather are you using (1.00, 1.01 and 1.02 are the only that were ever released.)

Thank you for any information you can provide, the more I have, the more likely I am to be able to reproduce the problem. If I can reproduce it here, then I stand a better chance of figuring out what causes it.

Thanks,

James
__________________
"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
Skweetis is offline   Reply With Quote
Old 01-06-07, 05:57 PM   #41
Corsair
Ace of the Deep
 
Join Date: Nov 2006
Location: Toulouse France
Posts: 1,140
Downloads: 51
Uploads: 0
Default

Can't be of any help either as I am using SH3 Weather with my NYGM install and never encountered a problem.
A big thks from a satisfied user, looking forward to next version...
__________________


NYGM 3.4A / Living SH3 V5.1 + SH3 Commander
Corsair is offline   Reply With Quote
Old 01-06-07, 06:31 PM   #42
theluckyone17
Captain
 
Join Date: May 2006
Location: Niskayuna, NY
Posts: 482
Downloads: 103
Uploads: 0
Default

Quote:
Originally Posted by Skweetis
Hey Lurker,

Can I get some more information on this issue from you? When I set WINDSPEED to 0 in my campaign files, and load saved game which I created with that value, I do not get the Crash Dive bug.

Specifically,when you created the save file that produces the problem:

-Were you submerged or surfaced?
-Were there other vessels around?
-Any damage to your uboot?
-Does this dive happen immediately upon load, or after you perform a crash dive?
-What mods do you have enabled, and what versions are they?
-Are you using SH3 Commander, if so what version?
-Which version of SH3Weather are you using (1.00, 1.01 and 1.02 are the only that were ever released.)

Thank you for any information you can provide, the more I have, the more likely I am to be able to reproduce the problem. If I can reproduce it here, then I stand a better chance of figuring out what causes it.

Thanks,

James
Ok... this bug has irritated me more than I'm willing to admit:
-Were you submerged or surfaced?
Surfaced

-Were there other vessels around?
Nope

-Any damage to your uboot?
Nope

-Does this dive happen immediately upon load, or after you perform a crash dive?
Immediately.

-What mods do you have enabled, and what versions are they?
See my post above. (Happened back when I had NYGM, too)

-Are you using SH3 Commander, if so what version?
2.7 (Happened with 2.6, too).

-Which version of SH3Weather are you using (1.00, 1.01 and 1.02 are the only that were ever released.)
1.02

I could be wrong about this, too, but I want to say every time I've ran across the problem, it's been the first save after the start of a patrol.
theluckyone17 is offline   Reply With Quote
Old 01-06-07, 07:47 PM   #43
lurker_hlb3
Admiral
 
Join Date: Apr 2005
Location: San Diego Calif
Posts: 2,290
Downloads: 187
Uploads: 12
Default

Quote:
Originally Posted by theluckyone17
Quote:
Originally Posted by Skweetis
Hey Lurker,

Can I get some more information on this issue from you? When I set WINDSPEED to 0 in my campaign files, and load saved game which I created with that value, I do not get the Crash Dive bug.

Specifically,when you created the save file that produces the problem:

-Were you submerged or surfaced?
-Were there other vessels around?
-Any damage to your uboot?
-Does this dive happen immediately upon load, or after you perform a crash dive?
-What mods do you have enabled, and what versions are they?
-Are you using SH3 Commander, if so what version?
-Which version of SH3Weather are you using (1.00, 1.01 and 1.02 are the only that were ever released.)

Thank you for any information you can provide, the more I have, the more likely I am to be able to reproduce the problem. If I can reproduce it here, then I stand a better chance of figuring out what causes it.

Thanks,

James
Ok... this bug has irritated me more than I'm willing to admit:
-Were you submerged or surfaced?
Surfaced

-Were there other vessels around?
Nope

-Any damage to your uboot?
Nope

-Does this dive happen immediately upon load, or after you perform a crash dive?
Immediately.

-What mods do you have enabled, and what versions are they?
See my post above. (Happened back when I had NYGM, too)

-Are you using SH3 Commander, if so what version?
2.7 (Happened with 2.6, too).

-Which version of SH3Weather are you using (1.00, 1.01 and 1.02 are the only that were ever released.)
1.02

I could be wrong about this, too, but I want to say every time I've ran across the problem, it's been the first save after the start of a patrol.
Same for me

Also the month of the campaign was set to Oct. for the Type XXI and Nov for the Type IX

also

I did some other testing an noted that if the month of Oct. / Nov. was selected that the line "WindRand=" is being removed from all three campaign files. All other months appear to work correctly

Last edited by lurker_hlb3; 01-06-07 at 09:21 PM.
lurker_hlb3 is offline   Reply With Quote
Old 01-06-07, 09:55 PM   #44
Skweetis
Watch Officer
 
Join Date: Sep 2001
Location: Cambridge, Canada
Posts: 335
Downloads: 39
Uploads: 0
Default

Awesome catch Lurker!!!!!

I looked through the code, and lo-and-behold, missing from the Autumn season (which in the atlantic algorithm is October and November) was a typo for the Windrand variable name (was misspelled as Winrand)...

This would cause the module that writes to the campaign files to remove it when those month's were selected, since essentially the value it expected did not exist!

Lucky:.... could you confirm or deny if the months you saved where you get the problem are either Oct or Nov? and tell me if you have a WindRand= entry in your campaign file? It may be that having WINDSPEED=0 and no WINDRAND= may be gumming up the works...

I have since corrected this for the upcoming release... my apologies for the chaos this may have caused....

Big catch Lurker, pat yourself on the back!

Cheers and thanks,

James
__________________
"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
Skweetis is offline   Reply With Quote
Old 01-06-07, 10:19 PM   #45
lurker_hlb3
Admiral
 
Join Date: Apr 2005
Location: San Diego Calif
Posts: 2,290
Downloads: 187
Uploads: 12
Default

I was using "User Define Weather", I think this "Crash Dive" problem is a problem in "core" SH3, please note that WindRand= was present when I saw the problem. I would recommend that when you generate the WINDSPEED values make sure it's 1 or greater
lurker_hlb3 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 01:05 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.