Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event for excessive pathfinding instructions #1707

Open
eveferon opened this issue Nov 16, 2023 · 0 comments
Open

Event for excessive pathfinding instructions #1707

eveferon opened this issue Nov 16, 2023 · 0 comments
Labels
RFE: plugin New feature or request

Comments

@eveferon
Copy link

eveferon commented Nov 16, 2023

As known in the community for quite a while, pathfinding for objects can be a heavy burden for a server that can dwarf any other performance issues.

The screenshot below illustrates the situation where one creature (a PC player in that case) that is placed sub-optimally on the area (standing dangerously close to a table) can cause 25x more load for the server than all the scripts together while 40 players are online on this particular PW.

image

The second screenshot illustrates how big of a load it is compared to everything else happening on a PW.

image2

Other similar cases are known throughout the community.

In a discord discussion, there was an idea to create an event to signal such excessive load from pathfinding, giving an option for dealing with the object (moving it or destroying it).

Note

  • the creature can be an NPC or a PC.
  • the creature does not need to try moving, a standing creature somewhere in a bad place can cause load
  • placeables can generate load when placed sub-optimally (e.g., within textures) or on the intersections of some area parts. This happens only once when the walkable area is calculated (see screenshot of a not well placed statue)
    image3
    image4
@Daztek Daztek added the RFE: plugin New feature or request label Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFE: plugin New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants