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

Makes the chat speed up message sending if there are too many messages queued up for a client #689

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

Gboster-0
Copy link
Contributor

What this PR does

Adds in a for() loop in the part of code that sends messages to the chat, that makes the code send 3 messages at once if the queued message list is over 20 objects

Why it should be added to the game

Currently if you are using a weapon that shoots very rapidly you can end up waiting 20 or more seconds of just standing, waiting to view your XP tab or get any item feedback messages other than combat ones.

This is a bit unintuitive, and can lead players to think that something is lagging while it is not.

Before this PR
2024-08-15.06-38-56.mp4
After this PR
2024-08-16.06-14-13.mp4

@BurgerLUA BurgerLUA merged commit d818746 into BurgerLUA:master Aug 22, 2024
3 checks passed
@Gboster-0 Gboster-0 deleted the chat-speedup branch August 22, 2024 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants