Closed gsparks3 closed 2 years ago
Did someone have a Sparrowhawk? And if so, was it mounting an arrow IV on an external pod?
Edit: ok, who mounted a Sniper artillery piece on a 30 ton fighter?
A Sparrowhawk was present earlier in the battle, but it definitely should not be equipped with an artillery piece, or any external ordnance at all. The Sniper was mounted on a Marksman Artillery Vehicle (Light PPC).
Although when I load the save, I see the icon of the destroyed vehicle is displaying as a Sparrowhawk, despite being labeled as a Marksman ... units using incorrect icons, usually icons of other units present in the battle, has been an intermittent issue in our multiplayer games with an unknown cause that we have not yet been able to determine. Often, when encountered, cycling "Show damage on the unit icon" off and on in Client Settings seems to fix it, at least for units that are still active, but that does not seem to be the case here for the incorrect destroyed-unit icon.
Attached is the game log for confirmation that Sniper fire was from said Marksman, only (CTRL+F "sniper" to confirm). gamelog_2021-09-19_02-54-33.zip
Edit: Managed to find the mentioned autosave from the beginning of the movement phase, where the Marksman tank had not yet been abandoned but had already fired its Sniper during the indirect fire phase. Attached for additional testing. autosave_2021-09-19_00-38-24.sav.gz
Nice, somehow abandoning the Marksman causes the artillery attack to be treated as if it came from the Sparrowhawk instead.
Bizarre. For bonus points, the Sparrowhawk was long dead at that time ...
Environment
Megamek 48.0 OpenJDK 11.0.10 Standalone Megamek
Description
During a large multiplayer game, we encountered a NPE when attempting to move from the post-movement indirect attack phase to the firing phase. The cause is not 100% certain, but while the issue consistently reproduces when loading from an autosave at the beginning of said phase, we were able to avoid it by reloading from an earlier autosave (the beginning of the movement phase) and NOT having a vehicle crew abandon a vehicle that had made an indirect artillery attack that turn prior to the movement phase, so that may be related.
Reproduction steps:
Above is when using the /skip command to finish the turn. A different NPE is encountered when connecting an extra Megamek client and using Done to finish the last unit's turn.
Files
The savegame and megameklog files of both types mentioned above are attached. autosave_2021-09-19_01-07-12.sav.gz megameklogDone.txt megameklogSkip.txt