-
Notifications
You must be signed in to change notification settings - Fork 160
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
Mechs remain damaged after repair #584
Comments
Have you tried saving, and restarting MekHQ? More often than not this will solve the issue. Also make sure the pilot is not injured. |
I hadn't. I'll try that at the next occurrence and report back. I did try using gm mode to restore the mech. As you can see in the image there is no pilot attached currently. The first occurrence that I noticed was even weirder though. If I put a specific uninjured pilot in an undamaged stalker they would show up in the TO&E as 3 hits to the pilot and the mech damaged. Any other combination of pilot and mech worked fine, just that particular one failed. I eventually sold the stalker to resolve the issue. |
What version are you using? CPNX? Logs? Customs if needed? |
scJazz, 0.43.6, all the needed files are in the zip that was attached to the original post |
Needed to track down units that are reporting damaged status though they have no apparent damage and condition is reset on a reload. MegaMek/mekhq#584: Mechs remain damaged after repair
The very nature of this type of issue makes it very difficult to track down. Since saving a reloading the campaign clears the error there is nothing in the campaign file that will help us, and it is very difficult to reproduce reliably. I have added some debugging code to MegaMek, which is where the status determination is made, to log the reason for the damaged status in hopes that knowing the reason it was flagged will help us track down the cause. |
This is almost certainly some transient state that doesn't get reset after a scenario is completed, which is why save/reload clears it. |
Just FYI this also occurs pretty frequently for me, but I am unsure what actually triggers it. It's far from uncommon though. |
@mkraemer67 What version are you using? |
v0.43.10 Development Snapshot (0.44 RC4) |
Actually if a mech shuts down due to heat in the last round of combat for me it is 100% reproducible that the mech stays shutdown in the first round of combat in the next battle. I'd guess that this could be related to the same issue? |
in a similar manner, an aerospace that is rolled at the end of a scenario is still rolled in the next scenario |
It seems like this issue has not been encountered in some time, please reopen this issue if it happens again on a more recent built of MHQ. |
Mechs sometimes are defined as having damage in the hangar screen (heavy damage, inoperable, etc. ) after having been fully repaired. inaccurate damage listing prevents their deployment in megamek. The occurrence is uncommon (3rd time so far out of several dozen salvages). Warhammer WHM-6R # 2 reserve in the attached file.
![repair glitch](https://user-images.githubusercontent.com/34722287/34431461-70ae181a-ec3d-11e7-8828-53240f4fa867.png)
glitch.zip
The text was updated successfully, but these errors were encountered: