MegaMek / megamek

MegaMek is a networked Java clone of BattleTech, a turn-based sci-fi boardgame for 2+ players. Fight using giant robots, tanks, and/or infantry on a hex-based map.
http://www.megamek.org
GNU General Public License v2.0
297 stars 287 forks source link

Princess freezing up. Kick/Replace not a remedy #4882

Open Insert25c opened 12 months ago

Insert25c commented 12 months ago

Environment

Using MegaMek 49.14, launched from MekHQ 49.14 Using Windows 10 Using Java 11.0.19

Description

The bot will stop acting during it's turn. I am still able to do things I normally could while it's not my turn but the game will not progress as it waits for Princess to act. This has most commonly occurred during base attack matches. Kicking the offending bot and replacing it does not stop the hang up.

Files

WBQS.sav.gz Saved at the point the enemy "froze". Can't find any indicator for predicting when this will happen megamek.log mekhq.log Wasn't sure which one you'd need, since it was launched out of MHQ Human player is "Magnificent Bastards" Frozen Bot is Taurian Concordant Evacuating Unit

Thom293 commented 12 months ago

Try opening game options, go to bottom of first tab and check.or unchecked draw unit sprites in report. (Dont have it in front of me. Something like that.).See if that fixes it. Won't help for this match though.

Insert25c commented 12 months ago

Try opening game options, go to bottom of first tab and check.or unchecked draw unit sprites in report. (Don't have it in front of me. Something like that.). See if that fixes it. Won't help for this match though.

I'm already hiding the unit tooltips in report log.

PhoenixHeart512 commented 12 months ago

Is this freeze occurring during the movement phase or the firing phase? If it's during the movement phase, it could be Princess just taking an exceptionally long time to decide the next unit's move. This is particularly bad when she has units with 10+ walk MP like VTOL's or some very fast light mechs. If you have C3 involved it gets exponentially worse depending on how the C3-adjusted range bands start overlapping.

Insert25c commented 12 months ago

How long would you recommend waiting to rule out “Princess is just thinking hard” vs there being a problem?

PhoenixHeart512 commented 12 months ago

My current record for Princess deciding to move a single unit is 18 minutes, for context

Insert25c commented 12 months ago

Well hopefully that’s all it is and the bug is my lack of patience. 🤞🤞