Log in

View Full Version : SNAFU


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.

Arlo
02-06-13, 03:57 PM
Gracias. :D

Sniper297
02-09-13, 12:52 PM
Okay, testing takes a while since I have to start a 1941 career and go through December - January - February to get to March when the fall of Java kicks in the third home port, but it seems to be working now with stock 1.4 so I uploaded the new one. I had it working with TMO 1.4 at one time, but that was using a direct replacement of files for both TMO 1.4 and then my mod - something about using JSGME instead makes it crash if I try to start a new career when both mods are active.

Sniper297
02-15-13, 09:43 PM
Okay, after much n00b trouble figuring out the upload gadget I think the replacement can be downloaded now;

http://www.subsim.com/radioroom/downloads.php?do=file&id=3935