Key to fire when ending movement on map

G’day all,

When I assign a key command to fire when ending movement on a map, a bug occurs which I have sent to the bug tracker. It is:

ABR: StackOverflowError - ID: 2849638

When I remove the key command, no error occurs.

Additionally, I have a Report Action trait that displays a message stating that a piece has been moved, however this message does not get displayed. This is possibly due to the aforementioned bug.

When you drop the card on to the map, the map sends it a Ctrl-P which does a Return to Deck to discard the card. However, Return To Deck is a movement and this causes another Ctrl-P to be sent to the card, which causes another Return to Deck which…

You will need to include a Trigger Action in there that only does the Return to Deck if it is not already discarded, eg. DeckName != Discard

However, it seems reasonable that if the Card is already in the Deck you are trying to return it to, then the Auto-move key should not be issued, ehich would prevent the problem from occuring.

B.

*********** REPLY SEPARATOR ***********

On 2/09/2009 at 7:39 PM LurchBrick wrote:


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

Post generated using Mail2Forum (mail2forum.com)

Thanks Brent, that did the trick.

Fix for

Bug [2849638] ABR: StackOverflowError - Return to Deck and Map auto-move

committed to swampwallaby-3.1@5988.

The Auto-move key will only be issued if the piece actually moves.

B/

*********** REPLY SEPARATOR ***********

On 3/09/2009 at 5:04 PM Brent Easton wrote:


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

Post generated using Mail2Forum (mail2forum.com)

Thus spake “Brent Easton”:

Merged to 3.1@6001. I’m unsure about how to resolve the conflict I get
when I merge this to the trunk. Could you check on that?

I’ve uploaded 3.1.11-svn6001 which contains this fix:

nomic.net/~uckelman/tmp/vassal/


J.


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

Post generated using Mail2Forum (mail2forum.com)

Done.


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

Post generated using Mail2Forum (mail2forum.com)