Skip to content

Performance: rework in Eventcallback "creatureOnHear" #3078

@dudantas

Description

@dudantas

Apparently, the callback is being called for all creatures that are outside of IDLE, even for monsters. Monsters "do not need" to trigger the event for players (it’s the monsters that should "react" to the event triggered by players). From the analysis, it seems that monsters are calling the event for every player on the map.

NOTE: need disable "metrics lua" if metrics is disabled in the compilation level.

Image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

PRs Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions