[FIXED] lineofsight

Here we stuff all the bugs we've managed to squash/squish/squelch.
Locked
dragon slayer
UOX3 Guru
Posts: 776
Joined: Thu Dec 21, 2006 7:37 am
Has thanked: 4 times
Been thanked: 26 times

lineofsight

Post by dragon slayer »

I am using client version 6.0.13.0
I'm using EXE vI newest one

I'm in my house and a monster is trying to attack me. like he can see me but can't get to me to kill me. I guess they have xray vision lol
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Fixed for next version (Thanks, Eolirin, if you should happen to see this!).

Generally, the LoS code was only half-working, and would break when calculated in certain directions and distances, so NPCs would seemingly "randomly" aggro you through walls and from other places where they should in theory have no Line of Sight to you. This has been greatly improved!

A secondary benefit of this is reduced amount of NPC pathfinding attempts, which should also have a great impact on server performance in general! :)
-= Ho Eyo He Hum =-
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

The fix for this is now available in UOX3 0.99, and on the CVS.
-= Ho Eyo He Hum =-
Locked