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
131 stars 168 forks source link

(43.10) Unable to create a New Contract (GM) prior to game year 3030 #722

Closed servo01 closed 6 years ago

servo01 commented 6 years ago

Starting a new campaign, and I'm finding that 43.10 won't allow me to create a new contract with: Briefing Room/Add Mission/New Contract (GM Mode)

I downloaded 43.10 again and did a clean install, and the problem persists. I then started adjusting a variety of different settings (faction, RATs, etc...) in order to get it to work and discovered that advancing my in-game year from 3014 to at least 3030 makes it possible to GM Mode new contracts.

mekhqlog.txt

Environment

What version of MekHQ does your issue apply to? What operating system are you using? Windows, Mac, or Linux? What java version are you using? If unsure it will state your java version at the top of the mekhqlog.txt file.

Description

Describe the issue and provide screenshots ingame if able. Provide the rulebook, page number, and text if you feel like this is a rules issue. And provide the steps you have taken to reproduce the issue in the campaign file if applicable.

Files

Provide the .cpnx campaign file that this issue occurs in. Provide any custom units that you are using in this campaign so that it will load on the developers machine. Provide any other files that you have customized in this campaign like the factions.xml for example. And provide the mekhqlog.txt file for any NPE's or errors that MekHQ might be reporting. Do not paste the entire logfile text into this ticket. Just attach the actual mekhqlog.txt file

NickAragua commented 6 years ago

Do you have a campaign save file?

servo01 commented 6 years ago

testsave.cpnx.zip

NickAragua commented 6 years ago

Ok, looks like there is an exception happening there, for which I have a fix in the pipeline. Mostly, the issue is that you're in the ass-end of nowhere, so the only potential options are contracts vs pirates and rebels - I'll also be better communicating that MekHQ was unable to generate a contract (rather than just failing silently).

To improve your odds of finding a contract, you can set your contract search radius wider, or travel to a border world.