3.1 Beta Notes & Bugs

List of things for 3.1 Beta - these are already known, more sure to follow Im sure by others :slight_smile:

Native Open / Save dialog boxes do not default to registered file types
Vassal Icon replaced
missed vmdx for extension registration
Module specific icons/metadata in mm

Modules that depend on using a Global Key Command to send commands to counters in face-down decks will have problems if the GKC Property Match String references any properties (including $BasicName$) defined in traits that are obscured by the Mask trait.

The symptom will be that cards are not distributed out of the Deck as they where under 3.0.

The fix is to either

a) Move the trait containing the referenced property out from under the Mask (i.e. it will need to be lower down the trait list in the piece definer)

or

b) Change the GKC to use a new different property that is not under the mask.

The fixed module will run equally well under versions 3.0 or 3.1 of vassal.

Regards,
Brent.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

I’m getting an IllegalArgumentException when attempting to open the Command & Colors 2.3 module.

Can I remove early editions of VASSAL through the Add/Remove Programs list in Windows XP? Or will it remove stuff I need for the latest edition I want to use?

Wondering the same thing about VASL as well.

Apologies. A little more info on this issue.

This is happening when I load using the module wizard. After selecting a scenario and a side I get the error message. If I cancel out of the wizard, the module loads fine.

How are you attempting to open it?

Could you please post your errorlog file?

Thanks,
Brent.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Here’s a log for C&C error Brent

– OS Windows 2003
– Java version 1.6.0_05
– VASSAL version 3.1.0-beta1
– VASSAL instance 1784342965
– OS Windows 2003
– Java version 1.6.0_05
– VASSAL version 3.1.0-beta1
– VASSAL instance 1781453507
[1781453507]
java.io.IOException: ‘Commands & Colors Ancients’ not found in C:\Documents
and Settings\Administrator\VASSAL\Preferences
at VASSAL.tools.DataArchive.getFileStream(DataArchive.java:380)
at VASSAL.tools.ArchiveWriter.getFileStream(ArchiveWriter.java:210)
at VASSAL.preferences.Prefs.init(Prefs.java:129)
at VASSAL.preferences.Prefs.(Prefs.java:57)
at VASSAL.build.GameModule.getPrefs(GameModule.java:394)
at
VASSAL.launch.BasicModule.initIdentityPreferences(BasicModule.java:155)
at VASSAL.launch.BasicModule.build(BasicModule.java:129)
at VASSAL.launch.BasicModule.build(BasicModule.java:97)
at VASSAL.build.GameModule.init(GameModule.java:756)
at VASSAL.launch.Player.launch(Player.java:96)
at
VASSAL.launch.Launcher.extractResourcesAndLaunch(Launcher.java:114)
at VASSAL.launch.Launcher$1.run(Launcher.java:102)
at java.awt.event.InvocationEvent.dispatch(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)
at java.awt.EventDispatchThread.run(Unknown Source)
– Commands & Colors Ancients version 2.3
[1781453507]
java.lang.IllegalArgumentException
at
VASSAL.tools.imageop.SourceOpBitmapImpl.(SourceOpBitmapImpl.java:54)
at VASSAL.tools.imageop.Op.load(Op.java:31)
at VASSAL.build.module.map.PieceMover.loadIcon(PieceMover.java:324)
at
VASSAL.build.module.map.PieceMover.initButton(PieceMover.java:369)
at VASSAL.build.module.map.PieceMover.setup(PieceMover.java:314)
at VASSAL.build.module.GameState.setup(GameState.java:257)
at
VASSAL.build.module.WizardSupport.showWelcomeWizard(WizardSupport.java:183)
at VASSAL.launch.Player.launch(Player.java:105)
at
VASSAL.launch.Launcher.extractResourcesAndLaunch(Launcher.java:114)
at VASSAL.launch.Launcher$1.run(Launcher.java:102)
at java.awt.event.InvocationEvent.dispatch(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)
at java.awt.EventDispatchThread.run(Unknown Source)
[1784342965]
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source)
at java.io.ObjectInputStream$BlockDataInputStream.peek(Unknown
Source)
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown
Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at VASSAL.launch.CommandClient.request(CommandClient.java:39)
at
VASSAL.launch.AbstractLaunchAction.shutDown(AbstractLaunchAction.java:95)
at
VASSAL.launch.ModuleManagerWindow$1.actionPerformed(ModuleManagerWindow.java
:160)
at
VASSAL.launch.ModuleManagerWindow$2.windowClosing(ModuleManagerWindow.java:1
77)
at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(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.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)
at java.awt.EventDispatchThread.run(Unknown Source)

Post generated using Mail2Forum (mail2forum.com)

erm…for future reference…where do I find the errorlog?

Something goofy here…don;t know if perhaps I’m doing something wrong?

Let’s say I open the Twilight Struggle module Ias an example. I’ve noticed this behavior in the other modules I’m fooling around with this evening). The Module Wizard screen comes up. I uncheck the “Show Wizard at Start” box and cancel. I proceed to the set up and game. No problems. I also set new preferences for an initial heap and such.

I can quit the module and reload it with no problem, the preferences hold.

If I quit the module and then quit VASSAL, and then reload. All my preferences in the Twilight Struggle box are lost, the module wizard comes up again and the memory settings are back to default.

Something in the module manager is overwriting the module preferences?

Thus spake “EricTheRed”:

No, you can’t remove versions of VASSAL prior to 3.1.0 throug Add/Remove
Programs because they weren’t installed using Add/Remove Programs. If
you want to remove older versions, you need to do that by hand.

(The reason for this is that the 3.1.0 installer has no way of knowing
where you installed older versions of VASSAL.)


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thus spake “EricTheRed”:

It’s in a directory called ‘VASSAL’ in your home directory.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Joel,

swampwallaby-work@3608 fixes this. It is caused by null or “” iconName for the moved icon in Private Windoes (which do not have an unmove button).

I have also

  • stopped the IOException from occurring when first ruinning a module and no preferences found.
  • Added some text to the log file to indicate whether each instance is running Manager, Player or Editor.

Brent.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Hmmm,

We have an impedence mismatch here. Heap sizes need to be specified per module now, but they are global preferences…

B.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thus spake “Brent Easton”:

I’ll pick those up momentarily, but I’m going to move the instance markers
nearer to where the errorLog is started.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thus spake “Brent Easton”:

Ah, yes.

Two things need to happen for that:

  1. In AbstractLaunchAction, we need to determine what module is being
    loaded and look up the heap settings for it in the Preferences at the
    time when we build command line.

  2. We need to adjust the two Configurers to be module-level instead of
    global.

I’ll see about doing this on the plane today.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Something like:

[1620591807]
– OS Windows XP
– Java version 1.5.0_11
– VASSAL version 3.1.0-beta1
– Manager
[480520269]
– OS Windows XP
– Java version 1.5.0_11
– VASSAL version 3.1.0-beta1
– Player
– Commands & Colors Ancients version 2.3
[480520269]


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thus spake Joel Uckelman:

Ah, never mind. They can’t easily get closer because I moved the stuff
which setus up the errorLog into the base class for Player and Editor.

Merged to trunk@3609.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thus spake Joel Uckelman:

This is fixed in trunk@3611.

AbstractLaunchAction now reads the module metadata to find the module
name, and from that looks up the heap sizes in a special read-only
version of Prefs.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thus spake “EricTheRed”:

Eric, I think we’ve fixed the problem with the heap settings now, so
that should work in beta2. I’ll have a look at the other problem on
Monday evening (possibly).


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

hi Joel,

I’ve been able to d/l & install “VASSAL-3.1.0-beta1-windows.exe” on my W2Ksp4 box. Have a coupla’-three probs (note I work exclusively w/ VASL, these probs occurred using VASL 5.8.1):

  1. the Editor dialog can’t be re-sized - it’ll only live as maximized or minimized.

  2. VASSAL won’t display VASL bdFiles - although the VASL boardpicker dlog opens & seems to be functional & displays the contents of my boards dir in its slam-down list, VASL boards don’t display in either the boardpicker’s preview or an opened game. The gamepieces display & operate no prob, but the board(s)-area is just a featureless light-gray rectangle surrounded by the mod-file specified 300-pixel white border.

  3. It don’t like to run its built-in 2-dice roller, yet its built-in 1-die roller & my extension-file 3-dice roller both work ok.

errorLog attached, hth

the map-size zoomer thing appears to work great, that’s gonna be a v. popular feature! One question tho, is that it seems to include the module-specific map-border-edge when told to ‘fit to width’ or ‘fit to height’ - IMO it’d be better if these 2 functions ignored the white edge. Also, it was great to be able to attach my save-game folder to the VASL module & open files directly from the VASSAL dlog. Haven’t tried any of the new file-extensions yet, I assume I’d be able to just double-click on a ‘*.vsav’ file in Explorer & have it open in VASL?

Great work so far on 3.1!

best regards,
jmalter
(aka countermanCX)