MantisBT - Zandronum
View Issue Details
0004195Zandronum[All Projects] Bugpublic2024-02-14 20:232024-03-24 18:09
here100 
 
normalminoralways
confirmedbackport later 
anyWindowsXP/Vista/7
3.1 
 
0004195: IDMYPOS Is inaccurate with negative numbers due to rounding
It's off by a full digit compared to your real negative coordinate position. Would be nice if it showed decimals up to a few zeroes aswell. ONLY NEGATIVE NUMBERS are inaccurate
run this on your map and move around in a negative coordinate; Or change 'Y' to 'X' same thing

#include "zcommon.acs"

script 1 ENTER {
    while(true){
        log(f:GetActorY(0));


        delay(1);
    }
}




You would be at coordinate XY -175.01 while idmypos says XY -176 for example
No tags attached.
? IDMYPOSTEST.wad (1,490) 2024-02-14 20:23
/tracker/file_download.php?file_id=2901&type=bug
Issue History
2024-02-14 20:23here100New Issue
2024-02-14 20:23here100File Added: IDMYPOSTEST.wad
2024-02-15 13:20WaTaKiDNote Added: 0023076
2024-02-15 18:11here100Note Added: 0023077
2024-03-02 17:48Ru5tK1ngNote Added: 0023253
2024-03-02 17:48Ru5tK1ngStatusnew => confirmed
2024-03-02 17:48Ru5tK1ngResolutionopen => backport later
2024-03-24 07:47here100Note Added: 0023480
2024-03-24 18:09here100Note Added: 0023481

Notes
(0023076)
WaTaKiD   
2024-02-15 13:20   
does gzdoom 1.8.6 behave the same?
what about the latest gzdoom version?
(0023077)
here100   
2024-02-15 18:11   
Inaccurrate in gzdoom 1.8.6
(0023253)
Ru5tK1ng   
2024-03-02 17:48   
It's no longer inaccurate in 1.9.0. Will most likely be fixed in the back port. If you want decimals to be displayed, that would be a separate request aimed at GZDoom.
(0023480)
here100   
2024-03-24 07:47   
It's inaccurate with positive numbers aswell, apparently
(0023481)
here100   
2024-03-24 18:09   
If the decimal is a high enough number