Page 1 of 1

Line of sight seems broken a bit

Posted: Mon Mar 28, 2016 12:57 am
by Ralindal
I use this code:

LineOfSight(GetCharInfo()->pSpawn, target)

I think this is bugging since the last or last couple of patches. I notice the following:

In a room with several mobs hidden behind walls in other rooms, LineOfSight will return FALSE when "idle". However, after killing one of the mobs, and without the character having moved (or the other mobs in the rooms having moved), LineOfSight will return TRUE for a few seconds, long enough for my char to try casting on them. After the first cast failure (CANNOT_SEE) it stops casting on the invisible mobs.

If I pull another mob (without the toon involved moving) and killing it, the same thing happens again -- LineOfSight returns TRUE for a bit, then returns to normal again.

I seen this happen in multiple places, and its pretty obvious because I use that toon to randomly cast on mobs that are nearby and in line of sight. This has been working fine for a long time, but broke recently -- noticable by the toon trying to cast on mobs that it cannot see which it didn't before (and only does once or twice before LineOfSight returns to its senses again).

Re: Line of sight seems broken a bit

Posted: Mon Mar 28, 2016 1:01 am
by Ralindal
This always happens after a fight finishes (ie, extended target was cleared). Never when idle, no matter how long I wait.

Environment was controlled (inside a task). No mobs were moving around.

EDIT: It just also triggered after looting a corpse a couple of minutes after a fight. Perhaps triggered then by spawns getting added/removed from the zone somehow.

Re: Line of sight seems broken a bit

Posted: Fri May 20, 2016 10:45 am
by Wink-
Does this happen on mobs inside of 200 feet? I know the reliability of LoS outside of 200 ft is meh as the spawns are not updated as frequently.

Re: Line of sight seems broken a bit

Posted: Thu May 26, 2016 2:19 pm
by Ralindal
Nope, happens to mobs in casting range.

Re: Line of sight seems broken a bit

Posted: Thu May 26, 2016 2:21 pm
by Ralindal
The LOS flag doesn't seem to work right for some reason because it fails instantly (ie, the client still knows that it is not in line of sight) -- it is not going to the server (you can see this because the spell starts casting, then stops with a message).

Re: Line of sight seems broken a bit

Posted: Thu May 26, 2016 2:52 pm
by warlock45
aye, I have had time when manually using a toon when spells will seem to cast, get a delay, and then the "can not see" message. I think the client/EQ is more to blame then the TLO.

There are also some odd geometry issues now and agian. Like where you can't cast on a mob unless you can see it's feet (annoying) but other places you can cast through walls with no issue (like the anniv task Capt Jack gives, can cast on anything in the tree houses from the ground anyplace, and through most of the huts) other times my toons can manage to cast on something in another room if they stand just right.