Sniper297
02-06-13, 01:15 PM
Well, I uploaded my first mod, "Manila Raid and Resupply" and belatedly found a bug. I originally started this mod 4 or 5 years ago and can't remember what I did, but the original resupply base was named "MIOS WOENDI" and became the new home base instead of Freemantle after the fall of Java for the Asiatic career. It all worked perfectly but then I looked up Mios Woendi on google maps and discovered it's actually in Indonesia a thousand miles away from the base named Mios Woendi. So I changed the name to Molucca Sea, didn't see any problems. Until the fall of Java, after that the renamed base no longer changes to the tilted anchor and trying to dock there to end a patrol causes the game to crash.
I think I see the problem;
\Silent Hunter 4 Wolves of the Pacific\Data\UPCData\UPCCampaignData\Flotillas.upc
In that file;
[Flotilla 2.Base 3]
ID= Mios Woendi
NameDisplayable= Mios Woendi
ExternalBaseName= Mios Woendi
AvailabilityInterval= 1942-02-29, NULL
DepartureDescription1= 15258998, 11450, 270
DepartureDescription2= 15258998, 11450, 270
DepartureDescriptionOut1= 15258998, 11450, 352.689484
Where that came from I have no idea, looking at the unmodified 1.4 original;
[Flotilla 2.Base 3]
ID= Fremantle
NameDisplayable= Perth-Fremantle, Australia
ExternalBaseName= Fremantle
AvailabilityInterval= 1942-02-29, NULL
DepartureDescription1= 13887966, -3846858, 270
DepartureDescription2= 13888720, -3847296, 270
DepartureDescriptionOut1= 13792344, -3862100, 352.689484
So I changed the datablock to match the new name in that file, retesting now. I should have a replacement up by this weekend.
I think I see the problem;
\Silent Hunter 4 Wolves of the Pacific\Data\UPCData\UPCCampaignData\Flotillas.upc
In that file;
[Flotilla 2.Base 3]
ID= Mios Woendi
NameDisplayable= Mios Woendi
ExternalBaseName= Mios Woendi
AvailabilityInterval= 1942-02-29, NULL
DepartureDescription1= 15258998, 11450, 270
DepartureDescription2= 15258998, 11450, 270
DepartureDescriptionOut1= 15258998, 11450, 352.689484
Where that came from I have no idea, looking at the unmodified 1.4 original;
[Flotilla 2.Base 3]
ID= Fremantle
NameDisplayable= Perth-Fremantle, Australia
ExternalBaseName= Fremantle
AvailabilityInterval= 1942-02-29, NULL
DepartureDescription1= 13887966, -3846858, 270
DepartureDescription2= 13888720, -3847296, 270
DepartureDescriptionOut1= 13792344, -3862100, 352.689484
So I changed the datablock to match the new name in that file, retesting now. I should have a replacement up by this weekend.