-
Notifications
You must be signed in to change notification settings - Fork 2
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
Weapon Switching does not work #7
Comments
Tried it again and ended up getting a crash not sure what caused it but both clients were paused momentarily just before it happened my current setup for testing is not ideal, I'll probably need to run it on a second real machine to truly be able to discover anything worth while. |
After speaking with Djdduty it turns out the numeric keys also handle what weapon you have selected this may mean it's possible to force the game to select a weapon based on ID rather than trying to force it to iterate through the weapon wheel. Will be doing some additional debugging to determine how this occurs so that weapon updates are able to be pushed directly instead of relying on weapon switching. Even with this being done there needs to be some system in place to acknowledge the receiving of this packet due to the possibility of it being dropped. |
Weapon switching now works, but is still buggy when rotating weapons normally. |
In the long run may disable rotating weapons normally and only allow weapon switching via numeric keys. |
As of the latest testing the weapon wheel using the standard keys is in sync but appears to take time, the numeric switching still seems to be the best way of handling this. |
Weapon switching isn't working, requires additional investigation as far as I could tell the client didn't even update when the host switched weapons but this could be the result of desync.
Currently there's no real way to update the weapon held besides switching to it, it may be worth forcing the player to switch weapons until the slot is the same as the one delivered if it's determined things are out of sync.
The text was updated successfully, but these errors were encountered: