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
299 stars 288 forks source link

RAT Generator: Trying to find record for unknown model Phoenix Hawk PXH-1c 'Special' #5943

Open repligator opened 2 months ago

repligator commented 2 months ago

Environment

Java 17 Linux Master (Last PR https://github.com/MegaMek/megamek/commit/050762346edc19ae2dc6ec5c088665de612a3cde)

Description

Noticed the following errors for the Phoenix Hawk PXH-1c 'Special' and Phoenix Hawk PXH-1b 'Special' in the logs after some games.


18:01:07,823 ERROR [megamek.client.ratgenerator.RATGenerator] {AWT-EventQueue-0}
megamek.client.ratgenerator.RATGenerator.findModelAvailabilityRecord(RATGenerator.java:176) - Trying to find record for unknown model Phoenix Hawk PXH-1c 'Special'

18:01:07,823 ERROR [megamek.client.ratgenerator.RATGenerator] {AWT-EventQueue-0}
megamek.client.ratgenerator.RATGenerator.findModelAvailabilityRecord(RATGenerator.java:176) - Trying to find record for unknown model Phoenix Hawk PXH-1b 'Special'

Files

megamek.log

SuperStucco commented 2 months ago

The force generator files for 3150 (and possibly others) are showing duplicate entries for those two models: https://github.com/MegaMek/megamek/blob/5ce819aa7585c87de4eaaa415754d83cb0f10c7e/megamek/data/forcegenerator/3150.xml#L14213-L14226