Create account / Log in

ReRe: Stacking between boards in VASL - Bug:1860944

Topics related to the main Vassal engine.

Moderators: uckelman, Tim M

ReRe: Stacking between boards in VASL - Bug:1860944

Postby Brent Easton » June 1st, 2008, 9:49 pm

Rodney,

I would be interested in seeing your module, but I suspect the problem is
the same as I fixed in the VSQL module.

Before I forget,

To fix the double stacking on board boundary hex problem in VASL, in ASLBoard.ASLBoard(),change the two lines

setGrid(new ASLHexGrid(64.5, false));
((HexGrid) getGrid()).setHexWidth(56.25);

to

setGrid(new ASLHexGrid(64.56, false));
((HexGrid) getGrid()).setHexWidth(56.24);

Regards,
Brent.

____________________________________________________________
Brent Easton
Analyst/Programmer
University of Western Sydney
Email: b.easton@uws.edu.au


_______________________________________________
Messages mailing list
Messages@forums.vassalengine.org
http://forums.vassalengine.org/mailman/ ... engine.org

Post generated using Mail2Forum (http://www.mail2forum.com)
User avatar
Brent Easton
 
Posts: 2991
Joined: December 21st, 2007, 3:06 am
Location: Berry, NSW, Australia

ReRe: Stacking between boards in VASL - Bug:1860944

Postby Brent Easton » June 5th, 2008, 5:27 am

Here's the logfile that reproduced the problem with this module.

Thanks for all that. The deleting and moving units was a red herring. I
have reproduced the problem on a 1 map game with just two units on the
board.

Turns out it is a bug that has always been there, but only becomes apparent when Hex Vertices are allowed as valid snap to points.

Joel, the fix is in swampwallaby-work@3719. It is a workaround that does the trick. The real fix is to debug and rewrite HexGrid.vertexX(), but I REALLY don't want to have to do that. It's not really needed.

Brent.


_______________________________________________
Messages mailing list
Messages@forums.vassalengine.org
http://forums.vassalengine.org/mailman/ ... engine.org

Post generated using Mail2Forum (http://www.mail2forum.com)
User avatar
Brent Easton
 
Posts: 2991
Joined: December 21st, 2007, 3:06 am
Location: Berry, NSW, Australia


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 3 guests