Vassal 3.2.15 not capturing shuffle in log file.

Computers:

  • Home built PC ( win 8.1 Pro, intel i7-490k )

  • Java 7 Update 67

  • Microsoft Surface 3 (win 10)

  • Java 8 Update 65

-VM on Imac

  • Java Java 7 Update unknown

VASSAL 3.2.15
Modules: (problem occurs in all these modules)
Mage Knight Board Game: The Lost Legion & Krang: version: 1.5.7
Mage Knight Board Game: The Lost Legion & Krang: version: 1.6.6
Mage Knight Board Game: The Lost Legion & Krang: version:1.6.7
Mage Knight Board Game: BG: LL, K & SoT: version: 0.5
Mage Knight Board Game: BG: LL, K & SoT: version: 0.6

Test module to show problem:
Mage Knight Board Game: The Lost Legion & Krang: version: test
[attachment=0]test8.vmod[/attachment]

Sample logs: (generated with Vassal version in file name, and with the attached “Test” module)

[attachment=2]vassal 3.2.13 first log Version test.vlog[/attachment]
[attachment=1]vassal 3.2.15 first log Version test.vlog[/attachment]

I have a working log with 3.2.12 if needed
The button “Shuffle decks” caused a crash in 3.2.14.

In Brief:
Vassal version 3.2.15 does not save shuffled data in it’s vlog files.
Start logging
Shuffle the Deck
End the log.
close vassal
Open the log file.
Play though the log, deck remain un-shuffled.

In Detail:
This issue seems to have appeared sometime after Vassal 3.2.13
I’ve created an attached a module with a single deck cards in the deck are numbered 1 though six and appear in sequence, clicking shuffle will randomise them. This works correctly in Vassal versions 3.2.12, 3.2.13 and 3.2.15, however 3.2.14 crashes. The problem occurs when opening and playing though a previously saved log file created with vassal version 3.2.15 with a shuffle action. 3.2.15 will correctly play though log files created with earlier versions.

It appears that Vassal 3.2.15 is not adding the Shuffled deck, or the shuffle action of the deck, into the log. This behaviour can be seen in the two logs provided.
Log file “Vassal 3.2.13 first log Version test.vlog” shows the shuffle being completed and the deck is shuffled.
Log file “Vassal 3.2.15 first log Version test.vlog” shows the shuffle being completed and however the deck remains un-shuffled.

This seems to be the same bug I reported almost one year ago:
[url]https://forum.vassalengine.org/t/shuffling-bug-in-3-2-15-and-3-2-14/7486/1]

I am just using 3.2.13 till it gets fixed, if ever.

I downloaded your module and tested it. (Your pictures are much prettier than mine)

I encountered an additional problem, to create a log vassal seems to need to have at least 1 step, it does not seem to create empty log files even though it reports as having done it. as all your module does is shuffle, (mine records a shuffle comment, the event of the shuffle button being pressed) your test file won’t even create a log in 3.2.15 for me unless I also hand enter a comment, and now it does create a log it only has the step for the comment and not the shuffle.

It really is like the shuffle event is not being written to the log. Here’s hoping someone fixes it, it seems like a major bug to me.

Thus spake keysb:

I downloaded your module and tested it. (Your pictures are much prettier
than mine)

I encountered an additional problem, to create a log vassal seems to
need to have at least 1 step, it does not seem to create empty log files
even though it reports as having done it. as all your module does is
shuffle, (mine records a shuffle comment, the event of the shuffle
button being pressed) your test file won’t even create a log in 3.2.15
for me unless I also hand enter a comment, and now it does create a log
it only has the step for the comment and not the shuffle.

It really is like the shuffle event is not being written to the log.
Here’s hoping someone fixes it, it seems like a major bug to me.

Try the 3.2.16-svn9184 build:

vassalengine.sourceforge.net/builds/

Does that solve the problem for you?


J.

It looks like the problem is resolved in build 3.2.16-svn9184

I’ll attach the successful log files here on the chance you want them:

[attachment=1]vassal 3.2.16-svn9184 first log Version test.vlog[/attachment]
[attachment=0]barbanera’s test module.vlog[/attachment]

Thank you for the quick resolution.

Thus spake keysb:

It looks like the problem is resolved in build 3.2.16-svn9184

Thanks for testing. I know what commit introduced the problem now, so
this will be fixed in the 3.2.16 release.


J.

I’ve noted this as Bug 12522 in our tracker:

vassalengine.org/tracker/sho … i?id=12522

Please try 3.2.16-svn9208, available here:

vassalengine.sourceforge.net/builds/

and let us know if this fixes the problem for you.

Sorry about the delay did not notice this message.

I’ve breifly tested this module and it seems to work as well.

I’ve attached my log file if you want to see it

The fix for this problem is in the 3.2.16 release. If you have any further difficulties with this, please let us know.