View Single Post
Old 06-22-06, 12:37 PM   #5
Stiebler
Fuel Supplier
 
Stiebler's Avatar
 
Join Date: Oct 2005
Location: London, UK
Posts: 1,237
Downloads: 29
Uploads: 4


Default

The CTD can be easily reproduced in grid AO73, when close to Kopenhagen and Malmo, approaching the narrow channel from the south.

Since none of the NYGM team has (knowingly) made any changes in this region, the problem almost certainly dates back to RUb. It is amazing that no one else (including me) has ever noticed it before - evidently most players want to get into the North Sea quickly and use the direct route.

I have carried out several tests. It appears that the CTD is caused by confusion within the program when two (or more) naval bases overlap. As soon as the player comes within 30nm of a port, parameters are stored; as soon as the player is 30nm when leaving from a port the parameters are also saved. When the player exits from the Malmo port radius, it immediately enters the 30nm radius of Kopenhagen. And vice-versa. This combination is very rare on the map, which is why the CTD has not been reported before. (That's the current theory, anyway - you can check it by drawing 30nm circles with the protractor around Malmo and Kopenhagen, and seeing when the CTD occurs.)

Simply removing Malmo (and the adjacent Helsingborg, which also overlaps with Kopenhagen) from campaign_RND.mis does not solve the CTD. Probably the file in \terrain\locations.cfg will have to have the entries for Malmo and Helsingborg also removed. All this will take some time to test, so the only immediate fix is to avoid going to square AO73.

I think it very likely that this bug will also affect any RUb-derived mod, although I am unable to test this. I would, however, suggest that modders should not casually add new ports and cities to SH3. There needs to be a justification.

The possibility of an inherent bug, dependent on a particular latitude and longitude, in SH3 cannot yet be ruled out.

Stiebler.
Stiebler is offline   Reply With Quote