Create account / Log in

rounding while rotating - Bug:1868902

Issues with the Vassal engine.

Moderators: Tim M, uckelman

rounding while rotating - Bug:1868902

Postby hpb » January 9th, 2008, 11:05 pm

it seems the program does allway round off for non-horizontal/vertical distances. wouldnt it be possible to do it mathematically (<0,5 off, elso up)?

atm when u take a model and walk a cycle u wont get to ur starting point but walk spiraling up and left
Attachments
bug.PNG
bug.PNG (18.58 KiB) Viewed 6891 times
hpb
 
Posts: 6
Joined: January 8th, 2008, 10:46 am

rounding while rotating

Postby uckelman » January 9th, 2008, 11:27 pm

Thus spake "hpb":
it seems the program does allway round off for non-horizontal/vertical distan
ces. wouldnt it be possible to do it mathematically (<0,5 off, elso up)?

atm when u take a model and walk a cycle u wont get to ur starting point but
walk spiraling up and left


Could you describe what you're seeing a bit more thoroughly? I can't
tell from this what your referring to.

--
J.

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

Post generated using Mail2Forum (http://www.mail2forum.com)
User avatar
uckelman
Site Admin
 
Posts: 8380
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

rounding while rotating

Postby Tim M » January 9th, 2008, 11:32 pm

Joel, see the file attachment
http://www.vassalengine.org/forums/files/bug_388.png

Post generated using Mail2Forum (http://www.mail2forum.com)
Tim,
Vassal Uber Geek/Guru

Problems? post your OS, Physical Mem, version of Vassal and Java plus the Module in question.
No developer can help with out that info, thx!
User avatar
Tim M
 
Posts: 1799
Joined: December 8th, 2007, 12:22 pm
Location: Earth

rounding while rotating

Postby uckelman » January 20th, 2008, 1:38 pm

Thus spake "Tim McCaron":

What module is this?

--
J.

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

Post generated using Mail2Forum (http://www.mail2forum.com)
User avatar
uckelman
Site Admin
 
Posts: 8380
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Postby mehrunes » January 20th, 2008, 2:21 pm

This is Warhammer 40k mod.

PS: Why opening new threads for answers on existing threads ? Seen this many times here already from different people. It's some unknown behaviour in forums for me, so I wondered.
Apologize my bad english - I'm not a native speaker. ;)
mehrunes
 
Posts: 84
Joined: December 28th, 2007, 1:33 am

rounding while rotating

Postby uckelman » January 20th, 2008, 2:33 pm

Thus spake "mehrunes":
This is Warhammer 40k mod.

Where can I find it?

--
J.

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

Post generated using Mail2Forum (http://www.mail2forum.com)
User avatar
uckelman
Site Admin
 
Posts: 8380
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Postby hpb » January 20th, 2008, 4:32 pm

im gonna take the liberty to paste a post of the according forum:

http://www.mediafire.com/?4z0tdjbuj9x

Or the link that most people used:

http://www.bestsharing.com/files/kw7iU3 ... 1.zip.html

or:

http://files-upload.com/files/671751/FORDK1-1.zip
hpb
 
Posts: 6
Joined: January 8th, 2008, 10:46 am

rounding while rotating

Postby uckelman » January 20th, 2008, 4:38 pm

Thus spake "hpb":
im gonna take the liberty to paste a post of the according forum:

http://www.mediafire.com/?4z0tdjbuj9x

Thanks.


Neither of these links work.

--
J.

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

Post generated using Mail2Forum (http://www.mail2forum.com)
User avatar
uckelman
Site Admin
 
Posts: 8380
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Postby uckelman » January 20th, 2008, 8:32 pm

I'm looking at this bug now. I think it's going to be difficult to correct
completely, since there are many places in VASSAL where we do integer
division or downcast doubles to ints. Anyway, it's not clear to me that
rounding to the nearest integer will be sufficient to correct this, as the
once rounding error is accumulated there's no guarantee that it will be
cancelled out after 360 degrees of turns.
User avatar
uckelman
Site Admin
 
Posts: 8380
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Postby uckelman » January 20th, 2008, 9:20 pm

BTW, you have "Ordnance" misspelled as "Ordonance" on the dice button for it.
User avatar
uckelman
Site Admin
 
Posts: 8380
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Postby hpb » January 20th, 2008, 10:40 pm

hehe, jea, there are some like that, but there will be a new version with in a few weeks
hpb
 
Posts: 6
Joined: January 8th, 2008, 10:46 am


Return to Technical Support & Bugs

Who is online

Users browsing this forum: No registered users and 2 guests