-
Notifications
You must be signed in to change notification settings - Fork 286
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
Vehicle Numbering #2597
Comments
I've encountered the same thing with different tanks. If you look at the screen grab, there's also multiple 'Vedette Medium Tank' without any numeric qualifiers. I tried removing the extra tanks in the MM lobby and manually adding a replacement, each time they came in without the numeric qualifiers. |
Are there any logs? This is clearly a race condition in the unit naming logic on the MM side. |
Here you go. I didn't grab the logs the first time around, but the game did the same thing when I reloaded the save file. |
The logs don't show anything funny, but the code clearly can race between the accesses to the hash table. I'm working on a fix. |
This is actually an MHQ bug, interestingly enough. |
…uplicate-name-hash Issue #2597: Add thread safety to duplicate name hash
…uplicate-name-hash Issue MegaMek/megamek#2597: Use MM's new UnitNameTracker for name collisions
Environment
0.47.16 - MM started from MHq
Java build 1.8.0_271-b09
Win10
Description
MM imported three standard Manticore tanks from MHq, but numbered them 1, 1, and 2.
Files
War Wolves30470519.cpnx.gz
customs.zip
The text was updated successfully, but these errors were encountered: