-
Notifications
You must be signed in to change notification settings - Fork 171
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
ATB, some units fail to get updated when resolving scenario #159
Comments
This bug seems to be related to issue 146 (that I also reported). Using the same campaign and saved game that I attached in this issue, I was able to prevent this issue (as in, issue 159) from occurring by doing the following:
So, if you can fix bug 146, then this bug becomes moot. |
I fixed #146 but you did not include the campaign file so I can't test whether it resolved this issue. |
I provided a campaign file in both this bug (see the attached zip file) and also in #146 (see the zip file in both the original bug and my first comment). I'm not sure what you mean... In any case, since you were able to fix the GM Mode > Restore Unit bug, this bug is probably will not occur as often, if at all. |
My bad. I included the campaign file in bug 146, which as per comment above, you can use that same campaign file to test this bug. For convenience, I attached it here. |
That campaign file does not include the scenario in your saved game. |
Sorry about all of the confusion. I must be losing it; I was pretty sure that the two files correlated. In any case, I set up a new saved game and campaign file that FOR SURE works to demonstrate this bug. The attached .zip file contains the following files:
To reproduce the bug:
|
You were correct. The issues were related, but I couldn't be certain until I could verify what was happening. The scenario resolution procedure skips units that were ineligible to deploy (which is still the status in MHQ at this point in the process), so those units and their crews do not get updated. MHQ will not allow you to start a scenario with undeployable units, but if you do not complete it in a single session the GM >> Restore bug would put it back into an undeployable state and the resolution would not be applied. I consider this fixed in [f381b30]. |
That sounds reasonable to me. Thank you for looking into this, putting up with my confusion, and resolving the root cause of the bug (the other bug)! |
MekHQ 0.3.32
Description:
I have completed several ATB scenarios, and each time at least one unit (usually 2) fails to get updated based on the results of the scenario. For example, say that the affected unit is a 'Mech, the 'Mech lost its right arm during the battle (it began the battle undamaged), and the 'Mech killed 3 enemies. After you resolve the scenario in MekHQ, the 'Mech will not have any damage, and the pilot will not have credit for the 3 kills. In fact, the pilot will not have credit for being in the scenario in his personnel log. Since the pilot does not get credit for any kills and is treated as if he didn't even participate in the scenario, he does not gain any xp for the scenario.
I attached a zip file that contains:
The files are in the standard MegaMek directory structure, so you can unzip the files directly into a MegaMek installation to test this.
How to Reproduce:
Black Hawk (Nova) S #2 (Nine-Tailed Foxes)
Pilot : Private Suzy Bae [5/7](1 hit%28s%29)
Kills : 1
Loki (Hellbringer) 9TF Prime (Nine-Tailed Foxes)
Pilot : Private First Class Krystal Jung [4/5]
Kills : 3
Other Notes:
I tried resolving this scenario manually, and I encountered the same issue.
MekHQ_resolution_bug.zip
The text was updated successfully, but these errors were encountered: