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

Fixes component problems #847

Open
AmyrAhmady opened this issue Jan 29, 2024 · 0 comments
Open

Fixes component problems #847

AmyrAhmady opened this issue Jan 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@AmyrAhmady
Copy link
Member

AmyrAhmady commented Jan 29, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant