MegaMek / 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.org
130 stars 168 forks source link

Custom Ranks not loading. defaulting to second star league #4704

Closed Docwade closed 3 weeks ago

Docwade commented 3 weeks ago

Environment

-49.20 -windows java17

Wont load custom ranks. it seems to default to second star league

individualRankSystem.zip @IllianiCBT mekhq.log

IllianiCBT commented 3 weeks ago

I managed to track down the issue to the final entry in your rank system

image

This is telling mhq that one of the role categories should inherit the MechWarrior rank, however as the MechWarrior rank is null, mhq silently fails to load the rank system. I'm also somewhat confident that the file should be called 'ranks' and that the opening tag should be rankSystems however, I could be wrong there.

I also noticed you had a lot of duplicate rank names, instead of using the inherit rank option.

I've included a cleaned up, working, copy of your rank system below.

ranks.xml.zip

Closing as non-valid issue :)