-
-
Notifications
You must be signed in to change notification settings - Fork 535
Fix bullet sync bugs & crash #4682
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
base: master
Are you sure you want to change the base?
Conversation
|
I tested it with 2 PCs and bullet sync is completely broken, no bullets are being synced. onPlayerWeaponFire was triggered, onClientPlayerWeaponFire doesn't. |
Did you test this after my latest commit (50 mins ago)? |
|
I have re-tested with the newest commit and bullets still do not sync. |
|
Reloading the weapon is probably a separate issue. As for bullet sync, I’m not really sure what to say, because for me onClientPlayerWeaponFire and onPlayerWeaponFire are being triggered, and the vector values are correct. I’m not entirely sure what exactly I’m supposed to see. What does the bullet you’re referring to look like? I thought it was the muzzle flash from the weapon. |
|
onClientPlayerWeaponFire triggers for bullets you fire, it does not trigger for remote players. Remote player bullets are not being synced, just the animation and muzzle flash. |
Are you sure? |

Summary
Motivation
#4675

Test plan
Unfortunately, I haven’t tested these changes because I currently don’t have access to a second computer, and I don’t want to set up a VM. It would be great if someone could check this.
Checklist