View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001830SphereServerexecutable - genericpublic09-10-10 00:3403-10-12 02:51
ReporterMirravin 
Assigned ToBen 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSWindows/LinuxOS Version
Product Version 
Target VersionFixed in Version 
Summary0001830: CANSEELOS through corners
DescriptionWith AdvancedLos=0
CANSEELOS through blocked corners(static, dinamic) return 1. But NPC can't do actions with this target.
With AdvancedLos activated corners is blocked for all characters(I think - the right variant).
This difference in players and NPCs rights can be used for example as way of easy killing of monsters-archers, you can shoot, archers - can't shoot.
Steps To Reproduce[FUNCTION CANSEELOS_BUG]
NEWNPC c_m_skeletonarcher
NEW.DEX 0
NEW.GO 2077 796
SRC.GO 2074 800
NEWITEM i_bow
NEW.EQUIP
NEWITEM i_arrow
NEW.AMOUNT 100
NEW.BOUNCE
RETURN 1
TagsNo tags attached.
Nightly VersionAutomated (specify build number)
Experimental FlagsNone
Option FlagsNone
Internal Build Number1343
Attached Files

- Relationships

-  Notes
(0000792)
Mirravin (reporter)
22-12-10 18:51

Tested this problem again. Results:
Error is NOT connected with the char type(player, NPC), but is a problem in old(default) LOS algorithm.
Sometimes character A CAN see character B, but characted B CAN'T see character A.
The example of this is this issue - character in position: 2077 796 CAN'T see character in position 2074 800, but character in position: 2074 800 CAN see character in position 2077 796. You can simply check it with this code:

[FUNCTION TEST_LOS]
TARGETF TESTLOSF

[FUNCTION TESTLOSF]
SERV.B SRC See ARGO: <SRC.CANSEELOS <ARGO.UID>>
SERV.B ARGO See SRC: <ARGO.CANSEELOS <SRC.UID>>
RETURN 1

This problem affects all proceses connected with LOS checks: combat, magery etc.
(0001400)
Mirravin (reporter)
01-10-12 12:20

Issue can be closed, because it is default for Ultima Online.

- Issue History
Date Modified Username Field Change
09-10-10 00:34 Mirravin New Issue
22-12-10 18:41 Mirravin Note Added: 0000791
22-12-10 18:42 Mirravin Note Edited: 0000791 View Revisions
22-12-10 18:42 Mirravin Note Deleted: 0000791
22-12-10 18:51 Mirravin Note Added: 0000792
01-10-12 12:20 Mirravin Note Added: 0001400
03-10-12 02:51 Ben Status new => closed
03-10-12 02:51 Ben Assigned To => Ben
03-10-12 02:51 Ben Resolution open => no change required


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker