Skip to content

Fixes component problems #847

Open
Open
@AmyrAhmady

Description

@AmyrAhmady

Describe the bug

  1. Currently some servers experience horrible performance due to Fixes component having a performance problem or code that runs all the time, causing 100% CPU usage. Obviously this isn't acceptable, until we find a solution for it, we must take steps carefully.

  2. There has been many reports of GameTexts not working properly, adding additional unwanted background to the text itself. GameText behaving like is questionable, and entirety of how Fixes components treat them is also not desired. GameTexts fade in and out based on their types. We are removing this behavior by using textdraws.

  3. Preloading animations is nice, but what is the point if it's not going to work for other players. Currently this method only works only for the player the animation is applied to, meaning other people can't see this and the animation is still not loaded for them. So, what's the point of only that specific player can see their own animation, and all players around them not?

  4. Removing objects that game give the player on class selection is nice to have, but this means every time they go into class selection state, we apply building removal 3 times. Many servers are already at the limit of RemoveBuildingForPlayer usage, or a little less, so us doing this goes over the limit and makes it dangerous for clients causing crashes potentially.

To Reproduce
Will update issue if there are anything found

Expected behavior
SA-MP behavior

Release version
Any

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions