SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   Silent Hunter III (https://www.subsim.com/radioroom/forumdisplay.php?f=182)
-   -   Strange issue.. (https://www.subsim.com/radioroom/showthread.php?t=181475)

frau kaleun 03-18-11 05:29 PM

Okay... from data\Cfg\Flotilla.cfg, here is the GWX3 unmodded data for the location of the bases:

Kiel
DeparturePointLong0_0=1218360.000000
DeparturePointLat0_0=6521927.000000

Brest
DeparturePointLong0_1=-534395.000000
DeparturePointLat0_1=5805818.000000

Wilhelmshaven
DeparturePointLong1_0=973144.000000
DeparturePointLat1_0=6420906.000000

Lorient
DeparturePointLong1_1=-399068.000000
DeparturePointLat1_1=5729721.000000

Königsberg
DeparturePointLong2_0=2446551.000000
DeparturePointLat2_0=6560480.000000

St. Nazaire
DeparturePointLong2_2=-286409.000000
DeparturePointLat2_2=5673433.000000

Trondheim
DeparturePointLong2_3=1244910.000000
DeparturePointLat2_3=7612441.000000

Penang
DeparturePointLong3_1=12041654.000000
DeparturePointLat3_1=651371.000000

Jakarta
DeparturePointLong3_2=12820015.000000
DeparturePointLat3_2=-734089.000000

Bergen
DeparturePointLong4_0=637589.000000
DeparturePointLat4_0=7249043.000000

Salamis
DeparturePointLong5_0=2823883.000000
DeparturePointLat5_0=4557002.000000

La Spezia
DeparturePointLong5_1=1182453.000000
DeparturePointLat5_1=5292137.000000

Toulon
DeparturePointLong5_2=706306.000000
DeparturePointLat5_2=5173530.000000

Bordeaux
DeparturePointLong6_0=-103542.000000
DeparturePointLat6_0=5447207.000000

Constanza
DeparturePointLong7_0=3436705.000000
DeparturePointLat7_0=5297686.000000

flensburg
DeparturePointLong7_1=1133815.000000
DeparturePointLat7_1=6577820.000000

Open your current version of flotilla.cfg and find where each base is listed. Some are listed under more than one flotilla.

Wherever the base's name appears, a few lines below it you'll see coordinates listed for DeparturePointLong & DeparturePointLat for that base as associated with that flotilla.

The long strings of numbers that I have bolded above are what you need to look at, they are the coordinates that determine the latitude/longitude of the base when it appears in the SH3 world. If a base appears in the file more than once, for two or more flotillas, it should still have the same coordinates in all instances (no matter if the unbolded bit before the '=' is different).

Restoring the original coordinates should place your departure points back where they were originally, and the game shouldn't place you outside the harbor when you start a new patrol.

If it doesn't work, or your current data already matches the above, then I'm stumped.

Also: note that some of the coordinates have a minus sign in front of them ('-'). Don't leave that out if you put in the data copied above!

ryanglavin 03-18-11 07:14 PM

Ok, this is going to sound stupid, but I haven't screwed with my SH files lately. Data is the one right inside of the main folder, correct?

Gargamel 03-18-11 07:17 PM

Quick Question.... Is this the steam version of SH3?

And/or, When you launch from SHC, does SHC close, then reopen?

(If it is, then don't mess with any of those files until you hear my fix).

Fish In The Water 03-18-11 07:18 PM

Quote:

Originally Posted by ryanglavin (Post 1622690)
Ok, this is going to sound stupid, but I haven't screwed with my SH files lately. Data is the one right inside of the main folder, correct?

Yes. :sunny:

ryanglavin 03-18-11 07:34 PM

Quote:

Originally Posted by Gargamel (Post 1622698)
Quick Question.... Is this the steam version of SH3?

And/or, When you launch from SHC, does SHC close, then reopen?

(If it is, then don't mess with any of those files until you hear my fix).

No for both. But thanks for the insight, friend :)

ryanglavin 03-18-11 07:48 PM

Thanks for the assistance Frau, now lets hope it works :D

ryanglavin 03-18-11 07:57 PM

Nope, nothing changed in game when I changed the values, (I'm still starting at sea)
I'm completely stumped.

frau kaleun 03-18-11 07:57 PM

Fingers crossed. :D

I should say that there are some things that make auto-rollback of Commander after every session a problem, usually due to some particular game configuration... as Gargamel has noted above.

But those instances seem to be pretty rare, and usually it's not something that just 'happens' - so I would still say that unless you know there's a specific reason Commander should not be rolled back, it's best to let it auto-rollback whenever you exit the game.

Edit:
Quote:

Nope, nothing changed in game when I changed the values, (I'm still starting at sea)
I'm completely stumped.
And you did make sure to save the changes to flotilla.cfg? Cuz that's a real puzzler. If the original coordinates are there, I can't think why the game wouldn't put the base and you in the harbor to start out.

Did you try starting a whole new career just to test what happens then? I don't know that it matters, but it could be worth a try.

Do this, go into My Documents and open the SH3 folder there (or whatever folder name you're using for the installation you're playing, if you have more than one). Go in the Careers folder and open the subfolder for your current kaleun.

Then open the Careers.cfg file and scroll down through the different sections. Each one should have lines for the following:

PortName=Wilhelmshaven
DeparturePointLong=976375.000000
DeparturePointLat=6422169.000000

Your PortName and the coordinates may be different, but whatever. I'm just curious what the coordinates are in the Career files for your kaleun, if that has something to do with it. Maybe something is being read from that particular career's files that is controlling where you start.

ryanglavin 03-18-11 08:08 PM

Quote:

Originally Posted by frau kaleun (Post 1622746)
Fingers crossed. :D

I should say that there are some things that make auto-rollback of Commander after every session a problem, usually due to some particular game configuration... as Gargamel has noted above.

But those instances seem to be pretty rare, and usually it's not something that just 'happens' - so I would still say that unless you know there's a specific reason Commander should not be rolled back, it's best to let it auto-rollback whenever you exit the game.

Ok this just got a whole lot weirder...

I accidentally copied the lat/long things to my clean save, with no GWX. So obviously it didn't change anything haha.
But when I went into my GWX3.0 files, it shows it as the ones you gave me.

Bakkels 03-18-11 08:21 PM

Well I might have a solution. And a weird one, but maybe it works:
I noticed in the Sh3Commander\cfg map, there's the 'start at sea.cfg' file. How about you just put the numbers Frau Kaleun gave you in that file, and than ENABLE 'start at sea' in sh3commander? Logic dictates that if you do that, you should in fact start in the harbor...
It's a backwards solution, but if it works it works. And if not... well than I'm out of ideas here. Let me know how it works. :salute:

frau kaleun 03-18-11 08:29 PM

I would say, start a whole new career if you didn't already, with start at sea unchecked. From the same base at around the same time period.

If you don't start at sea in the new career, then we know it's not the coordinates in the game files, or something Commander is doing across the board. It's just an issue with the one career you were already playing.

Which is where checking the coordinates for DeparturePoint Long & Lat in that particular Career's folder would come in.

Granted, I don't know exactly how those files are read by Commander or the game or what exactly to edit to fix the problem for that particular career, but at least we'd have narrowed it down some and know it's not an issue with the game files or Commander overall.

If we don't have any luck figuring it out here, it might not be a bad idea to ask about it in the stickied Commander thread in the Mods forum, might get additional input that way.

ryanglavin 03-18-11 11:27 PM

Quote:

Originally Posted by frau kaleun (Post 1622774)
I would say, start a whole new career if you didn't already, with start at sea unchecked. From the same base at around the same time period.

If you don't start at sea in the new career, then we know it's not the coordinates in the game files, or something Commander is doing across the board. It's just an issue with the one career you were already playing.

Which is where checking the coordinates for DeparturePoint Long & Lat in that particular Career's folder would come in.

Granted, I don't know exactly how those files are read by Commander or the game or what exactly to edit to fix the problem for that particular career, but at least we'd have narrowed it down some and know it's not an issue with the game files or Commander overall.

If we don't have any luck figuring it out here, it might not be a bad idea to ask about it in the stickied Commander thread in the Mods forum, might get additional input that way.

Already tried that, to no avail. Going for Bakkels idea. We might have to wait for Jscones.

EDIT: WAIT! I found a file in the Sh3 commander configuration settings, and it says "Startatsea=0". Should I change that to a different value?

Bakkels 03-19-11 06:57 AM

:up: That's it. So the problem seems to be that even though you checked the 'start at sea' option, sh3commander doesn't actually do it. Strange...
But I double-checked and it should say 'startatsea=1' so there you have it.

frau kaleun 03-19-11 10:32 AM

Quote:

Originally Posted by Bakkels (Post 1622993)
:up: That's it. So the problem seems to be that even though you checked the 'start at sea' option, sh3commander doesn't actually do it. Strange...
But I double-checked and it should say 'startatsea=1' so there you have it.

Yeah, I was starting to wonder if it wasn't a rollback issue at all, especially since the game files didn't seem to have "at sea" coordinates for the bases. If it's something in Commander's files instead, then I don't know that rolling back or not has any effect on those. :hmmm:

It's still weird that it would get stuck like that and not update when you changed it in the Options screen. I've gone from one to the other and back again in the same career without any issues. Although I've only ever checked or unchecked that box in between patrols, but I don't know if that makes any difference.

At any rate - hope that sorts it out. :yeah:

Edit: Actually, looking at SH3Cmdr.ini in two of my Commander installations, it looks like this:

StartAtSea=0 means the option is unchecked, and you start in the subpens

and

StartAtSea=1 means the option is checked, and you start at sea.

So if it says StartAtSea=0 in that file, you should be starting in the subpens.

Bakkels 03-19-11 12:10 PM

:oops: :damn: My bad, I didn't remember correctly, you wanted to start in the subpen. Then 'startatsea=0' should be right. Well now I'm at a complete loss. Can't think of anything else that'll help you...

frau kaleun 03-19-11 12:16 PM

Quote:

Originally Posted by Bakkels (Post 1623153)
:oops: :damn: My bad, I didn't remember correctly, you wanted to start in the subpen. Then 'startatsea=0' should be right. Well now I'm at a complete loss. Can't think of anything else that'll help you...

I know, I got all excited and then realized I had two different Commanders with the option on in one and off in the other so I checked the file in both just out of curiosity.

And I really thought that if the problem didn't repeat on a new career, it would something in one set of career files we could look at but that doesn't seem to be the source either.

I'm stumped too, I would suggest posting a question about it in the Commander thread. JScones might pop in and have a really obvious answer that we're just not seeing.

Gargamel 03-19-11 06:36 PM

Quote:

Originally Posted by Bakkels (Post 1622993)
:up: That's it. So the problem seems to be that even though you checked the 'start at sea' option, sh3commander doesn't actually do it. Strange...
But I double-checked and it should say 'startatsea=1' so there you have it.

I know this was mentioned before, but I'm unclear as to your answer...

Do you have auto-rollback enabled?

If so... disable it.

If i have it enabled on mine, the delay in launching SH3 causes SHC to undo all the nice changes it just made to the game, so it's like I don't even have SHC.

frau kaleun 03-19-11 07:54 PM

Quote:

Originally Posted by Gargamel (Post 1623507)
I know this was mentioned before, but I'm unclear as to your answer...

Do you have auto-rollback enabled?

If so... disable it.

If i have it enabled on mine, the delay in launching SH3 causes SHC to undo all the nice changes it just made to the game, so it's like I don't even have SHC.

He mentioned above that he does rollbacks manually, but if the issue you have is Steam-related, I think he said upthread somewhere that he doesn't have the Steam version. :hmmm:

Jimbuna 03-20-11 09:34 AM

If I may......

For example:

SilentHunterIII\data\Cfg

Open the Flotilla Cfg in notepad check lat and long figures

Now go to SilentHunterIII\data\Campaigns\Campaign and open Campaign_LND

Search for Kiel - Unit 267 (as an example)

THE NUMBERS ON BOTH FLOTILLA AND LND HAVE TO MATCH/BE IDENTICAL

The simplest and by far the quickest way is to use Mission Editor (open LND) and place the naval basewhere you want to leave from remembering to set heading....then copy those coordinates over to Flotilla Cfg (that is how I created the internal sub pen starting points for GWX).

ryanglavin 03-20-11 01:08 PM

Quote:

Originally Posted by jimbuna (Post 1623839)
If I may......

For example:

SilentHunterIII\data\Cfg

Open the Flotilla Cfg in notepad check lat and long figures

Now go to SilentHunterIII\data\Campaigns\Campaign and open Campaign_LND

Search for Kiel - Unit 267 (as an example)

THE NUMBERS ON BOTH FLOTILLA AND LND HAVE TO MATCH/BE IDENTICAL

The simplest and by far the quickest way is to use Mission Editor (open LND) and place the naval basewhere you want to leave from remembering to set heading....then copy those coordinates over to Flotilla Cfg (that is how I created the internal sub pen starting points for GWX).

I can't open the LND file.. what program do I need?


All times are GMT -5. The time now is 07:07 AM.

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.