Author Topic: Development Snapshot - MegaMek, MegaMekLab, MekHQ: v0.43.1  (Read 10482 times)

Hammer

  • Numerorum Malleo
  • Global Moderator
  • Major
  • *
  • Posts: 4101
    • MegaMek Website
Re: Development Snapshot - MegaMek, MegaMekLab, MekHQ: v0.43.1
« Reply #30 on: 04 April 2017, 17:03:55 »
Is there anything informative in the log file I posted? Do you need other files? Did I post the wrong file?

I love MegaMek and MekHQ, and I'm super grateful for the work you are all putting into this!

I looks like its something with BA but one of the coders will have to double check.  Can you add your campaign file and any customs to the bug report here

https://github.com/MegaMek/mekhq/issues/372

MegaMek Projects Wiki
Bug Trackers
MegaMek Tracker
MekHQ Tracker
MegaMekLab Tracker
New Units and RAT's aren't added until after the 2 month release moratorium is passed.
Join the official MegaMek Discord

arlith

  • BattleTech Volunteer
  • Warrant Officer
  • *
  • Posts: 698
Re: Development Snapshot - MegaMek, MegaMekLab, MekHQ: v0.43.1
« Reply #31 on: 04 April 2017, 20:19:32 »
Is there anything informative in the log file I posted? Do you need other files? Did I post the wrong file?

I love MegaMek and MekHQ, and I'm super grateful for the work you are all putting into this!

The logfile is useful, but I think this issue will also require the cpnx.  It does seem like there's an issue here, so I would recommend posting a bug report on the github MHQ issue tracker.  Include the logfile and cpnx file.
Member of the MegaMek Team.

pheonixstorm

  • Major
  • *
  • Posts: 5548
Re: Development Snapshot - MegaMek, MegaMekLab, MekHQ: v0.43.1
« Reply #32 on: 04 April 2017, 22:05:42 »
You mean this?
Code: [Select]
java.lang.ArrayIndexOutOfBoundsException: -2
at mekhq.campaign.unit.Unit.initializeParts(Unit.java:1823)
at mekhq.campaign.Campaign.createCampaignFromXMLFileInputStream(Campaign.java:4192)
at mekhq.gui.dialog.DataLoadingDialog$Task.doInBackground(DataLoadingDialog.java:188)
at mekhq.gui.dialog.DataLoadingDialog$Task.doInBackground(DataLoadingDialog.java:115)

Do you happen to have any BA in your unit? Is this during a refit?

Nevermind, hammer already posted as such on the issue tracker.
« Last Edit: 04 April 2017, 22:08:26 by pheonixstorm »

neoancient

  • Warrant Officer
  • *
  • Posts: 507
  • MegaMek team member
Re: Development Snapshot - MegaMek, MegaMekLab, MekHQ: v0.43.1
« Reply #33 on: 04 April 2017, 22:21:46 »
Is there anything informative in the log file I posted? Do you need other files? Did I post the wrong file?

I love MegaMek and MekHQ, and I'm super grateful for the work you are all putting into this!
The log file is a good start, but without the campaign file I can only make guesses about what happened (which may be true with the campaign file as well, but at least they will be better guesses). If you happen to have a campaign save from before the scenario, preferably with a mul file or at least a MM saved game, that would be better.

JenniferinaMAD

  • Warrant Officer
  • *
  • Posts: 492
Re: Development Snapshot - MegaMek, MegaMekLab, MekHQ: v0.43.1
« Reply #34 on: 04 April 2017, 23:05:25 »
I looks like its something with BA but one of the coders will have to double check.  Can you add your campaign file and any customs to the bug report here

https://github.com/MegaMek/mekhq/issues/372

Here is a zip with the campaign save, the custom mech files I'm using and the log again for good measure. (Let me know if I've forgotten anything).

The save was created using 4.30, but won't open with either 4.30 or 4.31.
I have more save files going back, but the last one that works was just before I started buying BA units via the AtB personnel market.

I'll try to get the file to your link, too, but I don't have a login for that site yet.

edit: I also posted this to github just now. I'm afraid I don't know if I have a useful MM save file. The issue started some time (in-game) ago (I played a lengthy session) and all I know is that the last save I have that's still working was just before I started buying BA units (after which came the trip to the mission planet and then several scenarios). The only MM scenarios I have are autosaves, and that would be the most recent scenario, which was well after the issue began. I'm not sure if there was any BA in that scenario.
« Last Edit: 04 April 2017, 23:28:20 by JenniferinaMAD »

JenniferinaMAD

  • Warrant Officer
  • *
  • Posts: 492
Re: Development Snapshot - MegaMek, MegaMekLab, MekHQ: v0.43.1
« Reply #35 on: 06 April 2017, 13:32:20 »
Thanks for all your help with my issue :)

Sartris

  • Codex Conditor
  • BattleTech Volunteer
  • Colonel
  • *
  • Posts: 19825
  • Kid in the puddle eating mud of CGL contributors
    • Master Unit List
Re: Development Snapshot - MegaMek, MegaMekLab, MekHQ: v0.43.1
« Reply #36 on: 07 April 2017, 00:41:10 »
minor thing with infantry in MML:

Selecting 'Mechanized (Wheeled)' as a motive type sets the motive type to 'foot'. All the attributes of the platoon appear correct for a mechanized platoon, so it just appears to be a glitch with the drop-down list.

You bought the box set and are ready to expand your bt experience. Now what? | Modern Sourcebook Index | FASA Sourcebook Index | Print on Demand Index
Equipment Reference Cards | DIY Pilot Cards | PaperTech Mech and Vehicle Counters

Quote
Interviewer: Since you’ve stopped making art, how do you spend your time?
Paul Chan Breathers: Oh, I’m a breather. I’m a respirateur. Isn’t that enough?

JenniferinaMAD

  • Warrant Officer
  • *
  • Posts: 492
Re: Development Snapshot - MegaMek, MegaMekLab, MekHQ: v0.43.1
« Reply #37 on: 07 April 2017, 02:05:09 »
Did some battles in 0.43.1 now, and I noticed a few interface oddities.

In the Sickbay, the program wouldn't auto select the next patient anymore when I click 'assign', as it did in previous versions. And in the repair bay, when I click 'do task' to order replacements for destroyed components, it would deselect the chosen component (in the past the component remained selected).

This makes handling numerous patients/orders of identical components more convoluted.

Is this a new setting that can be changed, a bug, a deliberate change or something wrong on my computer?

pheonixstorm

  • Major
  • *
  • Posts: 5548
Re: Development Snapshot - MegaMek, MegaMekLab, MekHQ: v0.43.1
« Reply #38 on: 07 April 2017, 05:31:57 »
Bug, already has a report https://github.com/MegaMek/mekhq/issues/368

The one for medical I haven't run across but I think it falls under the same cause as the above.

There was another one that affected the personnel tab but it was fixed. Go ahead and open a ticket for the medical one so it doesn't get lost.

MoleMan

  • Master Sergeant
  • *
  • Posts: 343
Re: Development Snapshot - MegaMek, MegaMekLab, MekHQ: v0.43.1
« Reply #39 on: 07 April 2017, 05:44:30 »
+ Fix #326: Cannot use Meklab to customize units from within MekHQ using v43.0

Ah! I think I was having this problem last night and wasn't sure if it was just me, couldn't remove a laser and add a heatsink to my Archer, well I could, but when I clicked on 'make changes' nothing happened.

arlith

  • BattleTech Volunteer
  • Warrant Officer
  • *
  • Posts: 698
Re: Development Snapshot - MegaMek, MegaMekLab, MekHQ: v0.43.1
« Reply #40 on: 07 April 2017, 07:25:39 »
minor thing with infantry in MML:

Selecting 'Mechanized (Wheeled)' as a motive type sets the motive type to 'foot'. All the attributes of the platoon appear correct for a mechanized platoon, so it just appears to be a glitch with the drop-down list.

This seems like a pretty straight-forward bug, but making a bug report is the best way to get it fixed.  Things tend to get lost on the forums.
Member of the MegaMek Team.

Sartris

  • Codex Conditor
  • BattleTech Volunteer
  • Colonel
  • *
  • Posts: 19825
  • Kid in the puddle eating mud of CGL contributors
    • Master Unit List
Re: Development Snapshot - MegaMek, MegaMekLab, MekHQ: v0.43.1
« Reply #41 on: 07 April 2017, 12:45:51 »
done

You bought the box set and are ready to expand your bt experience. Now what? | Modern Sourcebook Index | FASA Sourcebook Index | Print on Demand Index
Equipment Reference Cards | DIY Pilot Cards | PaperTech Mech and Vehicle Counters

Quote
Interviewer: Since you’ve stopped making art, how do you spend your time?
Paul Chan Breathers: Oh, I’m a breather. I’m a respirateur. Isn’t that enough?

mighty midget

  • Master Sergeant
  • *
  • Posts: 223
Re: Development Snapshot - MegaMek, MegaMekLab, MekHQ: v0.43.1
« Reply #42 on: 10 April 2017, 17:15:19 »
Looking for some general MM / MHQ help, I'm running on high resolution monitors and the text is quite small.  I've figured out how to zoom on the MM map itself but don't know to change the font size for MM or MHQ.

Thanks,
MM
Slavish adherance to formal ritual is a sign that one has nothing better to think about.

Random

  • Master Sergeant
  • *
  • Posts: 329
Re: Development Snapshot - MegaMek, MegaMekLab, MekHQ: v0.43.1
« Reply #43 on: 15 April 2017, 19:50:08 »
Is anybody else having problems with the Choose Refit Kit option?
To make things clearer.
I right click on a mech -> Scroll down to Customise -> select Choose Refit Kit option and nothing happens.
The other 2 options work (Refurbish Unit & Customise in MekLab) , as in the forward you to their apropriate dialog box/screen.

I've included the part of the log file that seamed relevant. 

Code: [Select]
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: -1
at mekhq.campaign.parts.Refit.calculate(Refit.java:540)
at mekhq.campaign.parts.Refit.<init>(Refit.java:141)
at mekhq.gui.dialog.ChooseRefitDialog.populateRefits(ChooseRefitDialog.java:291)
at mekhq.gui.dialog.ChooseRefitDialog.<init>(ChooseRefitDialog.java:92)
at mekhq.gui.adapter.UnitTableMouseAdapter.actionPerformed(UnitTableMouseAdapter.java:353)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)


 

Hammer

  • Numerorum Malleo
  • Global Moderator
  • Major
  • *
  • Posts: 4101
    • MegaMek Website
Re: Development Snapshot - MegaMek, MegaMekLab, MekHQ: v0.43.1
« Reply #44 on: 15 April 2017, 21:54:03 »
Is anybody else having problems with the Choose Refit Kit option?
To make things clearer.
I right click on a mech -> Scroll down to Customise -> select Choose Refit Kit option and nothing happens.
The other 2 options work (Refurbish Unit & Customise in MekLab) , as in the forward you to their apropriate dialog box/screen.

I've included the part of the log file that seamed relevant. 

Code: [Select]
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: -1
at mekhq.campaign.parts.Refit.calculate(Refit.java:540)
at mekhq.campaign.parts.Refit.<init>(Refit.java:141)
at mekhq.gui.dialog.ChooseRefitDialog.populateRefits(ChooseRefitDialog.java:291)
at mekhq.gui.dialog.ChooseRefitDialog.<init>(ChooseRefitDialog.java:92)
at mekhq.gui.adapter.UnitTableMouseAdapter.actionPerformed(UnitTableMouseAdapter.java:353)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)


Known bug and fixed for the next release.
MegaMek Projects Wiki
Bug Trackers
MegaMek Tracker
MekHQ Tracker
MegaMekLab Tracker
New Units and RAT's aren't added until after the 2 month release moratorium is passed.
Join the official MegaMek Discord

elf25s

  • Major
  • *
  • Posts: 4389
Re: Development Snapshot - MegaMek, MegaMekLab, MekHQ: v0.43.1
« Reply #45 on: 16 April 2017, 17:12:16 »
not sure if any one noticed it yet or it may be just me and  do not have log to show the problem

i wanted to refit custom atlas as7d-d and first thing i did was strip the unit in mekhq lab. to find that the weight does not change if you remove or add items.
possible bug?
you sure cannot out run death...but sure as hell you can make that bastard work for it!

Sartris

  • Codex Conditor
  • BattleTech Volunteer
  • Colonel
  • *
  • Posts: 19825
  • Kid in the puddle eating mud of CGL contributors
    • Master Unit List
Re: Development Snapshot - MegaMek, MegaMekLab, MekHQ: v0.43.1
« Reply #46 on: 18 April 2017, 01:51:42 »
A few industrialmech issues:

Harvester Ant KIC-3M AgroMech  (MG) [extra space between AgroMech and (MG)]
Harvester Ant KIC-3M-B AgroMech  (LRM) [not in MUL; MML source listed as RS:OK, not in RS:OK]
Hyena HYN-4B SalvageMech [missing from MML database; source: RS:3075 CE]
Uni ATAE-70 MilitiaMech [Should be ATAE-70M]


 



You bought the box set and are ready to expand your bt experience. Now what? | Modern Sourcebook Index | FASA Sourcebook Index | Print on Demand Index
Equipment Reference Cards | DIY Pilot Cards | PaperTech Mech and Vehicle Counters

Quote
Interviewer: Since you’ve stopped making art, how do you spend your time?
Paul Chan Breathers: Oh, I’m a breather. I’m a respirateur. Isn’t that enough?

pheonixstorm

  • Major
  • *
  • Posts: 5548
Re: Development Snapshot - MegaMek, MegaMekLab, MekHQ: v0.43.1
« Reply #47 on: 18 April 2017, 04:42:52 »
The Harvester Ant KIC-3M-B is probably referring to  Harvester Ant KIC-3 AgroMech (LRM). That one is on the MUL O0


Sartris

  • Codex Conditor
  • BattleTech Volunteer
  • Colonel
  • *
  • Posts: 19825
  • Kid in the puddle eating mud of CGL contributors
    • Master Unit List
Re: Development Snapshot - MegaMek, MegaMekLab, MekHQ: v0.43.1
« Reply #48 on: 18 April 2017, 08:44:34 »
ah, that's probably it. i realized halfway through looking at this that the unofficial units zip was the culprit for a lot of duplications and superfluous entries. The Harvester Ant KIC-3 AgroMech (LRM) was part of that batch. In that case, the KIC-3M-B just needs its name fixed.

You bought the box set and are ready to expand your bt experience. Now what? | Modern Sourcebook Index | FASA Sourcebook Index | Print on Demand Index
Equipment Reference Cards | DIY Pilot Cards | PaperTech Mech and Vehicle Counters

Quote
Interviewer: Since you’ve stopped making art, how do you spend your time?
Paul Chan Breathers: Oh, I’m a breather. I’m a respirateur. Isn’t that enough?