-
Notifications
You must be signed in to change notification settings - Fork 134
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
[0.50.0 and on] Support Vehicles Become Invalid When Saved, BAR Level Edition #1631
Comments
I've been able to reproduce this issue. Steps to Reproduce |
@Sleet01 - Hammer and I did some digging. We think but it's hard to confirm, that this issue might relate to this PR: https://github.com/MegaMek/megamek/pull/5634/files Reading the lines, my suspicion is it might relate to either: megamek/src/megamek/common/loaders/BLKFile.java OR megamek/src/megamek/common/loaders/BLKSupportTankFile.java Apologies for the tag, but I have no idea how I'd debug/fix this myself. |
@UlyssesSockdrawer NP, I'll take a look this evening. |
It appears that this is more fallout of the armor / equipment updates, as I see similar but not identical issues in 0.49.19.1. Interestingly, loading the Sherpa in recent releases does not show BAR 10 as a valid armor, even with Armored Chassis set, but saving off a copy of the .BLK file from MML keeps BAR 10 iff no armor changes are made. So I'd guess we are seeing a UI issue here. |
With the Sherpa in particular, I believe it's meant to be BAR8 rather than BAR10, so there is an issue there with save/load of that vehicle at least. |
Prerequisites and Pre-Issue Checklist
I'm reporting the issue to the correct repository:
MegaMek
MegaMekLab
MekHQ
I've tested the issue against at least the latest MILESTONE version
I've asked on the MegaMek Discord about the error
I've reviewed the BattleTech rules and MegaMekLab documentation, and I've confirmed that something isn't working as intended.
I've searched the Github tracker and haven't found the issue listed
Severity *
High (Major Disruption): A major feature is broken or incorrect, but a workaround exists.
Brief Description *
When you save a support vehicle, its armor BAR and tech ratings change such that the armor weight is larger and causes the vehicle to be overweight, and the armor is too dense to be used without the armored chassis mod. Details below.
Tested in 0.50.0 and a recent nightly.
It's likely this is related to #1596.
It's possible this is related to #1489.
This might be what's causing the Sherpa variants to be invalid, or other support vehicles.
Steps to Reproduce
The warning dialog will appear saying:
These are the relevant blk files:
Broken Step By Step.zip
Operating System *
Linux
Java Version *
17.0.12
MegaMek Suite Version *
v0.50.0
Custom MegaMekLab Version
v0.50.01-SNAPSHOT 2024-10-02
Attach Files
megameklab.MegaMekLab.initializeLogging(MegaMekLab.java:81) - Starting MegaMekLab v0.50.1-SNAPSHOT
Build Date: 2024-10-03T03:24:04.067850647
Today: 2024-10-04
Origin Project: MegaMekLab
Java Vendor: Eclipse Adoptium
Java Version: 17.0.12
Platform: Linux 6.11.1-203.fsync.fc40.x86_64 (amd64)
System Locale: en_US
Total memory available to MegaMekLab: 1 GB
MM Code Revision: a53044ee0763666eba74cdeaf511e150d291b1f0
MML Code Revision: ec33845
MHQ Code Revision: 7eb17ed577293cf4fe52daeba4b0e9bf3223f902
Nothing of note appears in the log files.
Final Checklist
The text was updated successfully, but these errors were encountered: