View Full Version : Floating Point Gridsize create bogus distances
Weltenbrand
April 24th, 2021, 22:41
If the Gridsize is a floating point number, the distance calculations get sometimes strange.
In CoreRPG:
46049
Moon Wizard
April 29th, 2021, 18:01
Can you provide the campaign for this scenario?
My guess is that the cow is denoted as a Size 2 creature.
Regards,
JPG
Weltenbrand
April 30th, 2021, 07:01
Hi,
they are size 1. But see in the attachment. For this campaing the error occurs only in the horiziontal (for the campaign where it occured, it was only in ther vertical).
To be clear, the same map the same creature with grid size 33 instead of 32.8 gives the correct distance.
46223
Moon Wizard
April 30th, 2021, 16:58
It looks like this must already be fixed in the beta version (v4.1) that is still in testing.
Regards,
JPG
Weltenbrand
May 1st, 2021, 07:56
For the test channel I can confirm that the bug is gone.
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.