View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002164SphereServerexecutable - windows buildpublic20-06-13 18:3029-10-13 04:06
ReporterDavideRei 
Assigned ToBen 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSWindows 7 64bitOS Version
Product Version 
Target VersionFixed in Version0.56c Nightly 
Summary0002164: Npcs attack players from a different building floor with AdvancedLos NPC
DescriptionWith AdvancedLos=01|02 npcs can attack and hit(with spells and arrows) a player on a different building floor.
<I.canseelos <src.uid>> in @ATTACK and @HITTRY triggers return 1

I tried in building with different type of floor(stone,sandstone,wood). No differences.

The problem does not occur with AdvancedLos=01
In this case <I.canseelos <src.uid>> in @ATTACK and @HITTRY triggers return 0
Steps To ReproduceGo in a two or more floor building.
Add a monster(i tried with c_liche) on second floor
Go to first floor

The monster can attack you from second floor(or from another floor, no matter if you are on a higher or lower floor)
Additional InformationClient version: 7.0.7.3
TagsNo tags attached.
Nightly VersionAutomated (specify build number)
Experimental FlagsDiagonalWalkCheck, New_Triggers, NewPositionChecks, WalkCheck, Size_Optimise, NPCAct_Triggers
Option FlagsBuffs, NoPrefix
Internal Build Number1590
Attached Files

- Relationships

-  Notes
(0001567)
Gil Amarth (reporter)
03-07-13 12:10

I confirm this issue, actually I had to disable advancedlos from my server because this, it´s very problematic if npcs and players can attack others between floors.
(0001688)
Ben (manager)
15-09-13 21:01

Download latest nightly build and enable DEBUGF_LOS and run some tests.
Post any debug messages you receive.

I can't seem to find this bug.
(0001695)
XuN (developer)
28-09-13 21:26

http://pastebin.com/jK8Vts4W [^]

Just enable these flags and place yourself in wrong in this coords: 5864,532,15 and any npc that can cast or throw (i tested with an ogre) in this coords: 5864,537,15 and it can kill players.
(0001749)
Ben (manager)
27-10-13 18:48
edited on: 27-10-13 19:13

As for this location 5864,532,15... The issue here is the height of the monster. Ogre is 28, a wall is normally 20, mounted player goes up to 20.
Line of sight is measured from eyes wich is set at height - 1
Using these numbers, and ogre can see a player over this wall since there is no roof. The player can also see the ogre if not standing too close to the wall.
Not sure if that can be changed.

As for the 2 floor issue, still looking.

(0001752)
Ben (manager)
29-10-13 04:06

Issue with NPC attacking from other floor should now be fixed.

- Issue History
Date Modified Username Field Change
20-06-13 18:30 DavideRei New Issue
03-07-13 12:08 Gil Amarth Issue Monitored: Gil Amarth
03-07-13 12:10 Gil Amarth Note Added: 0001567
15-09-13 21:01 Ben Note Added: 0001688
28-09-13 21:26 XuN Note Added: 0001695
27-10-13 18:48 Ben Note Added: 0001749
27-10-13 19:13 Ben Note Edited: 0001749 View Revisions
28-10-13 00:07 Ben Assigned To => Ben
28-10-13 00:07 Ben Status new => assigned
29-10-13 04:06 Ben Note Added: 0001752
29-10-13 04:06 Ben Status assigned => resolved
29-10-13 04:06 Ben Fixed in Version => 0.56c Nightly
29-10-13 04:06 Ben Resolution open => fixed


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker