View Issue Details

IDProjectCategoryView StatusLast Update
0009699New issuesClientpublic2017-08-17 22:17
ReporterStifflersMomAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0009699: isInsideRadarArea returns always false, when sizeX or sizeY of radarArea is negative
Description

Summary says it all...
I set Category client, but server does it also ...

Steps To Reproduce

fail:
srun test = createRadarArea (-50,50,100, -100, 0, 255, 0, 175 )
srun isInsideRadarArea(test,1,1)
Command results: false [boolean]

success:
srun test = createRadarArea (-50,-50,100, 100, 0, 255, 0, 175 )
srun isInsideRadarArea(test,1,1)
Command results: true [boolean]

TagsNo tags attached.

Activities

StifflersMom

2017-08-04 21:29

updater   ~~0026133

https://bugs.mtasa.com/view.php?id=5888
Within this bug report some issues was corrected with negative numbers for dimensions.
So isInsideRadarArea should work also with this :)

pkpawelo

2017-08-13 14:05

viewer   ~~0026141

Well, either this wasn't fully fixed or we have a regression. I can confirm this problem exists in the latest release of client and server (MTA:SA Server v1.5.4-release-11428, Multi Theft Auto v1.5.4-release-11657). I'm gonna look into this.

pkpawelo

2017-08-17 22:17

viewer   ~~0026153

PR submitted https://github.com/multitheftauto/mtasa-blue/pull/157

Issue History

Date Modified Username Field Change