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

Bug 49.12 Off Board Artillery is deploying on board #4530

Open Weaselmonkey opened 1 year ago

Weaselmonkey commented 1 year ago

Environment

Issue persists on MegaMek and HQ's MegaMek 49.12 Java Version: 11.0.18 Platform: Windows 10 10.0 (amd64)

Description

Enemy artillery units set to deploy off-board are instead deploying on board instead. I have tested this four or five times in HQ MegaMek and standard MegaMek, I have varied the direction off board and deployment zones of the enemy forces and the issue persists.

Files

Player Name Mighty. I did launch with custom units but I can do another one with standard units if needed Save file 1 is before launching the game, Save file 2 is after deployment

offboard offboard1 offboard2 offboard3 offboardtesting1.sav.gz offboardtesting2.sav.gz megamek.log

DynamicWorlds commented 7 months ago

I have run into the same issue on megamek version 0.49.18 as well as previous versions (I no longer remember the first version I saw it on, however).

It seems that trying to change the onboard/off-board status (in either direction) in the startup window Temp for multiple artillery units at once by selecting them all and clicking "configure" only changes whether the setup window will display them as being onboard/offboard. Temp2 However, when in the game, the units will deploy as if you had not changed all of their onboard/offboard statuses. Changing their status one at a time via the same configure window does not produce the same bug and allows their onboard/offboard status to be changed correctly. megamek.log Bug1.sav.gz

hope this helps with reproducing the bug