AaronGullickson / mekhq

MekHQ is a java helper program for the MegaMek game that allows users to load a list of entities from an XML file, perform repairs and customizations, and then save the new entities to another XML file that can be loaded into MegaMek.
http://megamek.info/mekhq
2 stars 0 forks source link

Defend Ulric Map is Broken (a MHQ Bug) #40

Closed Thom293 closed 8 months ago

Thom293 commented 8 months ago

There is currently a bug with MHQ where Fixed maps dont always stick and it will put you on a random mapsheet. That happens here.

The MHQ Bug I reported: https://github.com/MegaMek/mekhq/issues/3776

Until that bug is fixed, there are some new StratCon map presets that might work. BaseHot, BaseCold, etc. Or you could make a denser variation of those. I THINK fortress city or Residential might work too, but I havent tested if they will get overwritten also.

This is what it put me on instead of Ancient City:

Screenshot (130)

Thom293 commented 8 months ago

Part II of Ulric also had a bad map.

Oddly, the final fixed map worked just fine.

Perhaps its a problem with some of the maps themselves? Dunno. Just another datapoint.

AaronGullickson commented 8 months ago

It could be a problem with the map specification. I will have a look.

AaronGullickson commented 8 months ago

Figured out the issue. The name of the map directory in MekHQ is deadborder, but in MegaMek its Deadborder. When we package up releases, we use MegaMek's boards. The consequence is that this works right when I run from source to test, but not in the releases.

Easy fix is to capitalize it in MekHQ to match MM, but I should also check other folders in this directory while I am at it.

Thom293 commented 8 months ago

Sweet! Thanks for fixing.

AaronGullickson commented 8 months ago

The PR is merged. Closing.