Skip to content

Restarting, stopping resource, general issue #864

Open
@CrosRoad95

Description

@CrosRoad95

Is your feature request related to a problem? Please describe.
The issue is simple: if you stop resource X, server send packet to each player individually for each element to destroy it. 1000 elements, 10 players = 10000 packets at once
If you have constant high amount of players and resource with a lot of elements, you must wait until most of players leave your server.

Describe the solution you'd like
Mta already support element tree, why just don't send packet "remove all children element from element X"?

Describe alternatives you've considered
remove resources system from mta

Additional context
I have server with resource with all maps, about 15000 elements, when i restart this resource on my dev server while only i and 2, 3 people are online, server going network trouble for few seconds, cpu usage reaching 100% and hosting is going to force to stop my server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions