Post by sloanjh on Oct 19, 2019 22:45:24 GMT -6
Version = 1.09. VLarge, Manual build of historical, Rear Admiral.
It's 1903, I'm playing Germany (Nation0 in bcs file), at war with UK(Nation1 in bcs file) for 18 months.
Twice now I've had an event where UK intercepts one of my raiders that is trying to run a blockade. In both cases, I get an error message that it can't find the class file for the ship (see screenshot below - it can't find Monmouth.60d. The problem is that Monmouth is a UK ship - NOT Germany, and the nation ID for UK is 1, NOT 0. From looking at the save files, I infer that the naming convention is ShipName.[SaveSlotNumber][NationNumber]d, so it should be looking for Monmouth.61d. As you can see in the screen shot, Monmouth.61d *is* present in the save directory, so it looks like somehow when the AI is intercepting a player raider, it's incorrectly using the player's nationID when building the class file name for the intercepting (AI) ship(s?).
As I said, this is the second time it happened - I clicked through too quickly the first time to create a bug report - and these have been the only two intercepts of my blockade generated so far. I'm fairly certain this used to work, so it looks like a regression. I've attached a zip of the save after it happened, but I suspect it's a bug in the code rather than a corrupt save file (since it happened twice with two different classes).
For the sake of completeness, here's the text from the two following dialogs I had to click through. No battle ended up happening after the click-throughs. Note that the first time, the ship name and the class name were different:
"Unable to create ship Monmouth, Filename: C:\Games\RuleTheWaves2\\Save\Game6\Monmouth.60.d"
"Error in CreateRaiderBattle procedure! Access violation at address 00634A78 in module 'RTW2.exe'. Read of address 000005D4"
It's 1903, I'm playing Germany (Nation0 in bcs file), at war with UK(Nation1 in bcs file) for 18 months.
Twice now I've had an event where UK intercepts one of my raiders that is trying to run a blockade. In both cases, I get an error message that it can't find the class file for the ship (see screenshot below - it can't find Monmouth.60d. The problem is that Monmouth is a UK ship - NOT Germany, and the nation ID for UK is 1, NOT 0. From looking at the save files, I infer that the naming convention is ShipName.[SaveSlotNumber][NationNumber]d, so it should be looking for Monmouth.61d. As you can see in the screen shot, Monmouth.61d *is* present in the save directory, so it looks like somehow when the AI is intercepting a player raider, it's incorrectly using the player's nationID when building the class file name for the intercepting (AI) ship(s?).
As I said, this is the second time it happened - I clicked through too quickly the first time to create a bug report - and these have been the only two intercepts of my blockade generated so far. I'm fairly certain this used to work, so it looks like a regression. I've attached a zip of the save after it happened, but I suspect it's a bug in the code rather than a corrupt save file (since it happened twice with two different classes).
For the sake of completeness, here's the text from the two following dialogs I had to click through. No battle ended up happening after the click-throughs. Note that the first time, the ship name and the class name were different:
"Unable to create ship Monmouth, Filename: C:\Games\RuleTheWaves2\\Save\Game6\Monmouth.60.d"
"Error in CreateRaiderBattle procedure! Access violation at address 00634A78 in module 'RTW2.exe'. Read of address 000005D4"