Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

WOO HOO! Found campaign base change bug. Modders Beware!
Goto page 1, 2  Next
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop
View previous topic :: View next topic  
Author Message
von Khan



Joined: 29 Mar 2005
Posts: 194

PostPosted: Fri Apr 29, 2005 12:52 am    Post subject: WOO HOO! Found campaign base change bug. Modders Beware! Reply with quote

I had been ranting about this problem earlier:

Quote:
Installed FF, then installed Real mod. Then installed World Mod 2.0 (contact, cfg,etc) to my desktop and copied only campaign and land flies over to my SH3 directory. Well it works without crashing and gives the realistic flavour of Real mod to the heavily populated world of World Mod 2.0.

Loaded my campaign whch was in harbour. I am in the 1st Flotilla in Feb 1941. I started to get bombarded with the message that my base has been changed to Kiel. After a lot of clickin on that message it let me in.

So I transferred to Lorient and went on patrol

I got ack in one peice. Now guess what.. I return to Lorient and leave my 'office'. Reload the game in port.. guess what.. port has been moved to Kiel. Again, and again and again. Keep clicking and it lets me in.

Patrol start, Lorient.
Patrol end, Keil.
2nd Flotilla
Patrol grid : Null.

huh???


My configuration was running World Mod campaign files on top of Real Uboat and FF. My career had 13 patrols with the 1st Flotilla, starting at Wilhelmshaven and then moving to Brest. I encountered the bug above after installing the two latter mods. After much heartache and code review I found the bug.

In my save files, each of the 13 patrols is listed and that information is stored as part of my campaign. Every time I load my campaign it acesses that information to take me to the point I am at in the game.

With Beery's Real Mod, he changed the flotilla.cfg file to make it more historic. I believe he changed the 1st Flotilla to start out of Kiel. Everytime the game accessed my career, it saw Kiel, huh?, you were at Wilhelmshaven. Okay, base has been changed to Kiel. that message flashed 13 times, each for every patrol.

This problem was solved by editing the Flotilla file to reflect the location of the 1st Flotilla to where my save games believe it to be in Flotilla.cfg.

If you pick up realmod with a career which gets affected by the above code discrepancy, the game will send your career into a spiral every time you load. Beery old chap, you might have to makea few tweaks to the excellent Real mod.

Salut!
Back to top
View user's profile Send private message
OneTinSoldier



Joined: 19 Apr 2005
Posts: 279
Location: Denver, CO USA

PostPosted: Fri Apr 29, 2005 7:31 am    Post subject: Reply with quote

Hello,

I'm sorry, but I have to tell you I don't think this is Beery's fault, and I'm going to be slightly sarcastic in my reply.

#1 - His mod installs a modified Flotilla.cfg file.. for a reason.

#2 - As stated in numerous posts here and on the Ubi Official forums, installing certain mods, notably those that contain modified Campaign_LND.mis, Campaign_RND.mis and Campaign_SCR.mis and Flotilla.cfg files, requires that you start a brand new career from scratch.

#3 - Therefore, this is not a bug. At most, it is a lack of information that should probably be put into the README for the Real U-Boat mod(00 Real U-Boat v1.21 Readme.txt)

#4 - Some mods may not be compatible with eachother. Most notably those that are complex mods which change numerous files and aspects of the game.

I run Real-Uboat v1.21(FrontFlotilla is stated as being pretty much a requirement, so yes, I installed it first) all by itself and started a new career after installing it, and I have had zero problems.

Regards,

One Tin Soldier
Back to top
View user's profile Send private message
von Khan



Joined: 29 Mar 2005
Posts: 194

PostPosted: Fri Apr 29, 2005 12:40 pm    Post subject: Reply with quote

Im not blaming Beery. Please quote me if I have said anything bad about him, infact I've been singing praises about Real Uboat. Trace my posts if you want.

This is just for other people who want to consider keeping their careers when installing new mods. Simply dont change the Flotilla.cfg file.

Less sarcasm and more reading.. MMkay?
Back to top
View user's profile Send private message
SUBMAN1



Joined: 06 Apr 2005
Posts: 1458

PostPosted: Fri Apr 29, 2005 2:05 pm    Post subject: Reply with quote

Are you telling me (I just installed Beery's flotilla.cfg last night) that I just screwed up my campaign? Ahh! Does anyone have the original flotilla.cfg file? I just over wrote mine!

-S
Back to top
View user's profile Send private message
von Khan



Joined: 29 Mar 2005
Posts: 194

PostPosted: Fri Apr 29, 2005 2:08 pm    Post subject: Reply with quote

If you started in the 1st or 2nd Flotillas, most likely you did.

Which Flotilla were you at in your career? Also start up the game and try loading your campaign, let us know if it tries to transfer you. Depending on what base it is, I can post the code for it.
Back to top
View user's profile Send private message
OneTinSoldier



Joined: 19 Apr 2005
Posts: 279
Location: Denver, CO USA

PostPosted: Fri Apr 29, 2005 2:14 pm    Post subject: Re: WOO HOO! Found campaign base change bug. Modders Beware! Reply with quote

von Khan wrote:
Beery old chap, you might have to makea few tweaks to the excellent Real mod.

Salut!


I'm not neccessarily thinking that you are saying anything 'bad' about Beery. But after reading your entire post, and the fact that it is about your problems, and then you end it with the line I quoted above... it causes some people(like me) to try and read btween the lines, even if there's nothing between those lines to read into. Sorry about that.

Cheers,

One Tin Soldier
Back to top
View user's profile Send private message
SUBMAN1



Joined: 06 Apr 2005
Posts: 1458

PostPosted: Fri Apr 29, 2005 2:23 pm    Post subject: Reply with quote

von Khan wrote:
If you started in the 1st or 2nd Flotillas, most likely you did.

Which Flotilla were you at in your career? Also start up the game and try loading your campaign, let us know if it tries to transfer you. Depending on what base it is, I can post the code for it.


I'm in 1st flotilla. When I start my saved game, I get a box saying base changed to Kiel and I have to hit OK about 15 times for it to go away.

-S
Back to top
View user's profile Send private message
von Khan



Joined: 29 Mar 2005
Posts: 194

PostPosted: Fri Apr 29, 2005 2:38 pm    Post subject: Reply with quote

Same problem as me.

Back up the current Flotilla.cfg. Then find the entry below and replace it with:

Flotilla0=902
TO0=940
NbStartingDate0=5
NbDate0=6
Emblem0=data/Emblems/SubEmblems/Flotillas/1st flotilla.tga
NbBases0=2
Base0_0=752;Wilhelmshaven
Date0_0_0=1939
Month0_0_0=6
Date0_0_1=1940
Month0_0_1=7
DeparturePointLong0_0=979726.000000
DeparturePointLat0_0=6426436.000000
Heading0_0=65.995003
Base0_1=751;Brest
Date0_1_0=1940
Month0_1_0=8
Date0_1_1=1944
Month0_1_1=9
DeparturePointLong0_1=-534234.000000
DeparturePointLat0_1=5805791.000000
Heading0_1=180.000000
NbUboats0=2
Uboat0_0=0
Uboat0_1=1
Back to top
View user's profile Send private message
von Khan



Joined: 29 Mar 2005
Posts: 194

PostPosted: Fri Apr 29, 2005 2:39 pm    Post subject: Re: WOO HOO! Found campaign base change bug. Modders Beware! Reply with quote

OneTinSoldier wrote:

I'm not neccessarily thinking that you are saying anything 'bad' about Beery. But after reading your entire post, and the fact that it is about your problems, and then you end it with the line I quoted above... it causes some people(like me) to try and read btween the lines, even if there's nothing between those lines to read into. Sorry about that.

Cheers,

One Tin Soldier


No problems kamerad.

Cheers!
Back to top
View user's profile Send private message
SUBMAN1



Joined: 06 Apr 2005
Posts: 1458

PostPosted: Fri Apr 29, 2005 3:09 pm    Post subject: Reply with quote

von Khan wrote:
Same problem as me.

Back up the current Flotilla.cfg. Then find the entry below and replace it with:

Flotilla0=902
TO0=940
NbStartingDate0=5
NbDate0=6
Emblem0=data/Emblems/SubEmblems/Flotillas/1st flotilla.tga
NbBases0=2
Base0_0=752;Wilhelmshaven
Date0_0_0=1939
Month0_0_0=6
Date0_0_1=1940
Month0_0_1=7
DeparturePointLong0_0=979726.000000
DeparturePointLat0_0=6426436.000000
Heading0_0=65.995003
Base0_1=751;Brest
Date0_1_0=1940
Month0_1_0=8
Date0_1_1=1944
Month0_1_1=9
DeparturePointLong0_1=-534234.000000
DeparturePointLat0_1=5805791.000000
Heading0_1=180.000000
NbUboats0=2
Uboat0_0=0
Uboat0_1=1


Thanks. ANy way to not have to start a new career? Or am I screwed?

-S
Back to top
View user's profile Send private message
von Khan



Joined: 29 Mar 2005
Posts: 194

PostPosted: Fri Apr 29, 2005 3:32 pm    Post subject: Reply with quote

After posting the above changes in the Flotilla file, my career is just as healthy as it always was.

Just open the file with wordpad and make sure you paste this entry where Flotilla 0 is.
Back to top
View user's profile Send private message
Beery



Joined: 09 Nov 2004
Posts: 2817
Location: Boston, MA, USA

PostPosted: Fri Apr 29, 2005 10:00 pm    Post subject: Re: WOO HOO! Found campaign base change bug. Modders Beware! Reply with quote

von Khan wrote:
Beery old chap, you might have to makea few tweaks to the excellent Real mod.


If it was as easy as that, I'd do it. But there's no getting over the fact that Kiel was indeed the historical base for First Flotilla. The only way I can adjust the game for folks who started out in the incorrect base is to change the base back to Wilhelmshaven. Since this is a realism mod, I can't do that without compromising the goals for the mod.

Every mod that changes game data will have some chance of weirdness happening to campaigns started with other versions of the game. This is not really something that can be fixed, but it's something to bear in mind. I should have listed it as a possibility in the readme file, but I didn't make the connection myself until it was too late because I simply never had it happen during testing. I apologise to those who are having this problem. The good thing is that it's more of an inconvenience rather than a data-corrupting and game crashing bug.

Version 1.22 of the mod will list the issue in the readme file, but it will still have Kiel as 1st Flotilla's base. There's no getting around that as far as I'm concerned.
Back to top
View user's profile Send private message Visit poster's website
U-Bones



Joined: 23 Mar 2005
Posts: 56
Location: Ground Zero

PostPosted: Fri Apr 29, 2005 11:38 pm    Post subject: Reply with quote

I just click OK several times and when it lets me I go on my merry way
I COULD start another career, but I figure the 40 hours in are worth more than a minute of clicking per patrol Rolling Eyes
Back to top
View user's profile Send private message
von Khan



Joined: 29 Mar 2005
Posts: 194

PostPosted: Sat Apr 30, 2005 1:48 am    Post subject: Reply with quote

Beery, you could also just include an alternate flotilla.cfg for some people who wish to keep their careers like the guy above me. Smile
Back to top
View user's profile Send private message
SgtMajor



Joined: 23 Apr 2005
Posts: 292
Location: Fort Bragg

PostPosted: Sat Apr 30, 2005 4:46 am    Post subject: Reply with quote

Beery, no need to worry, all of us that use mods know that it could happen, and we know that you are doing a great service for us, and doing it mostly in the dark without all the tools to work with..

You have done a fantastic job, and keep up the great work , and thanks.

I am also glad that the one who found the issue took the time to tell the rest of us how to fix it.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group