RPG

Tasklist

FS#589 - Invisible attacker

Attached to Project: RPG
Opened by neb (neb) - Tuesday, 29 December 2009, 10:03 GMT-7
Last edited by neb (neb) - Friday, 19 March 2010, 10:13 GMT-7
Task Type Bug Report
Category Client
Status Testing
Assigned To No-one
Operating System All
Severity High
Priority High
Reported Version 0.7
Due in Version 0.9
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

On an instance island, character was being attacked by an invisible adversary. Scorpions were around. Character would not fight back (probably nothing to target), but continued to be hit. Walking away from the scene stopped the attacks.

Server may still be processing a dead creature or client might not be rendering creature properly.
This task depends upon

Comment by neb (neb) - Tuesday, 16 February 2010, 12:02 GMT-7
This was observed again with target logging, which showed that the invisible attacker was a different creature type and instance than a nearby (recently dead) ant. This should NOT be a resurgence of the (very legacy) case when creatures from other active islands were attacking, because no other islands are active when this has happened.
Comment by neb (neb) - Thursday, 18 March 2010, 15:05 GMT-7
Further cases observed, which seem to imply that creatures from other island instances are attacking characters regardless of local map. Check this logic. Characters have even been assaulted on the Mainland.
Comment by neb (neb) - Thursday, 18 March 2010, 16:06 GMT-7
DefaultBehavior logic did not check the MapID of the creature attacker and (potential) character target. However, potential targets are only acquired from the current list of character entities in the creature's current map's MapContent. However, if a creature previously targeted a character, then the character left the island, the creature could retain the character as a potential target if still in range.

This flaw seems unlikely to cause all the observed instances. Nonetheless, this was a potential issue.
Comment by neb (neb) - Friday, 19 March 2010, 10:00 GMT-7
Once a target (or set of targets) was chosen, it would not be dropped, even if the map changed. Now creatures track only one target at a time and drop it when it goes out of view.

Loading...