View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002356SphereServerexecutable - windows buildpublic29-05-14 07:3631-05-14 15:51
ReporterCoruja 
Assigned ToBen 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version0.56c Nightly 
Summary0002356: Diagonal LOS problems
DescriptionIf I try to hit someone between diagonal walls, I will have LOS and can attack or cast spells on the target

Many years ago, the diagonal LOS check was made by checking both directions, eg: to have LOS on NW I must have LOS on both N + W. If N or W LOS check fails, I wont have LOS to NW.
I dont know if still working this way, but something is wrong.

On the example img I dont have LOS to both S and W but I can attack/cast spells on the pig (SW)
Additional InformationTested on may 25 and may 29 builds, using AdvancedLOS=0, 01, 02 and 01|02

Walls dispID on attached img: 0254a, 0254c, 0254e
TagsNo tags attached.
Nightly VersionAutomated (specify build number)
Experimental FlagsNone
Option FlagsNone
Internal Build Number1944
Attached Filespng file icon BugDiagonalLOS.png [^] (59,850 bytes) 29-05-14 07:36

- Relationships

-  Notes
(0002259)
Ben (manager)
31-05-14 15:51

Ok, Found the problem...
It was not testing LOS properly when distance was <= 1 as being beside something "should" mean you can see it.
Now it tests the diagonals properly at distance of 1.

This is only valid if AdvancedLOS is disabled.

- Issue History
Date Modified Username Field Change
29-05-14 07:36 Coruja New Issue
29-05-14 07:36 Coruja File Added: BugDiagonalLOS.png
31-05-14 15:51 Ben Note Added: 0002259
31-05-14 15:51 Ben Status new => resolved
31-05-14 15:51 Ben Fixed in Version => 0.56c Nightly
31-05-14 15:51 Ben Resolution open => fixed
31-05-14 15:51 Ben Assigned To => Ben


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker