Fix sniper bullet sync on maximum bandwidth reduction#4763
Merged
Dutchman101 merged 1 commit intomultitheftauto:masterfrom Apr 4, 2026
Merged
Fix sniper bullet sync on maximum bandwidth reduction#4763Dutchman101 merged 1 commit intomultitheftauto:masterfrom
Dutchman101 merged 1 commit intomultitheftauto:masterfrom
Conversation
If bandwidth reduction is on maximum and a player doesn't look towards the player shooting a long distance weapon at them, they weren't receiving the bullet sync
FileEX
approved these changes
Mar 22, 2026
Member
|
Please fix clang format |
Collaborator
Author
Can't, the clang format issues is from master. |
Member
|
Let's first try to ask @Nico8345 if there was a particular reason to remove that line |
Dutchman101
pushed a commit
that referenced
this pull request
Apr 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
If a server has bandwidth reduction set to maximum, long distance shots do not sync, though actually doesn't even need to be that far, if the player is not looking in that direction.
Video of it not working and video of it working with PR: https://cit.gg/arran/vids/bsyncfix2.mp4
This is actually just re-adding what used to exist:
This commit removed it: 45d6996#diff-3ca556956f6236bbcafbd7e847f5bda360c3db9fceea0c6b79ee4fb28bbcdb89
Motivation
Players get angry if bullets don't do any damage. Although I can work around it for now by using "medium" instead of "maximum" this will cause a lot of problems for servers using maximum that are unaware of this and have updated their server since bullet sync was refactored.
Test plan
I used 2 PCs, made sure the player being shot is looking away (changes their zone for bandwidth reduction) which causes the bullets to not sync as you can see in the above video. I then tested other guns with the PR and at different bandwidth reductions to make sure everything seemed normal.
Checklist