Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Exception When Attacking With AP Weapon Other Than Generic on Battle Armor 0.49.13 #4480

Closed
BLR-IIC opened this issue Jun 3, 2023 · 2 comments · Fixed by #4492
Closed
Labels

Comments

@BLR-IIC
Copy link

BLR-IIC commented Jun 3, 2023

MegaMek throws an Uncaught Exception when I try to attack with an anti-personnel weapon mounted in the modular AP weapon mount on Battle Armor other than the default generic weapon. Steps to reproduce:

  1. Choose a Battle Armor squad with a modular AP weapon mount. Elementals are my go-to.
  2. Choose an AP weapon other than the Generic one. Mausers are also my go-to.
  3. Go into a game and try to make an attack with the weapon in the Weapon Attack Phase. Uncaught Exception window pops up. This doesn't appear to affect the default Generic AP weapon. The exception can be bypassed by clicking "Ok" and reselecting the target with the AP weapon still selected.

Log attached.

If it's useful, this bug also occurred in 0.49.12.

megamek.log

@gsparks3
Copy link
Collaborator

gsparks3 commented Jun 3, 2023

Duplicate of #3494

Note that if the BA suit has no other damaging weapons, the error can no longer be bypassed (at least when I tested it), and will instead cause the game to lock up.

@HammerGS HammerGS added the Bug label Jun 3, 2023
@kuronekochomusuke
Copy link
Collaborator

looks like an issue with the lobby configure also, it does not unselect any previous selected weapons. so it keeps adding them, if you go back in an try to update after adding one

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants