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
134 stars 171 forks source link

[0.50.01-SNAPSHOT] AtB contract market generates contracts with very high base pay values. #4952

Closed Tzahr closed 1 month ago

Tzahr commented 1 month ago

Prerequisites and Pre-Issue Checklist

Severity *

Medium (Gameplay Limitation): Non-core functionality is impaired, providing a suboptimal but playable experience.

Brief Description *

When generating contracts through the AtB Contract Marker, contracts generate with very high base pay values. This is more visible on more mature mercenary companies where the expected values are clearly inflated on the higher end. When comparing payouts of contracts generated in previous versions compared to contracts generated on current, we notice up to ten times increase in payout value.

The base pay range seems quite broad, suggesting a faulty multiplier somewhere. It is hard to reliably detect in new companies, though batch creating contracts will result in some contracts generating with a much higher base pay that is expected (up to 20 - 40 million range).

The workaround is to manually lower the base pay values (suggested divide by 10).

Steps to Reproduce

Generate new contracts with GM mode using the AtB contract markets, and monitor the expected profits and base pay values. If possible, compare newly generated contracts from a previous version with one from a current version.

Operating System *

Windows 11

Java Version *

21.0.3

MekHQ Suite Version *

Free Text (type manually)

Custom MekHQ Version

Nightly v0.50.1 - Rev. b5a4f6a63622f97b768c9dcb2124f544cc986ce8

Attach Files

1st Rimward Hussars_NEW.zip customs.zip

Final Checklist

Thom293 commented 1 month ago

Screen from 50.00 image

Same Save, screen from 50.01 image

ThomCustoms9.30.24.zip Celcius 23330720728.cpnx.gz

UlyssesSockdrawer commented 1 month ago

The Nova Dragoons30060529.cpnx.gz customs.zip

Save and customs are from the 0.50 release version.