-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Bullets are displaced by 1 tick #638
Comments
Would you be able to confirm this bug is fixed if a possible patch was made for it? |
This bug was not fixed in live TF2, however, there is a Sourcemod plugin that is a bandaid fix for this issue. If you're referring to TC2/tf2-patches, I have not tested whether or not this bug exists but I can almost guarantee it does. I will try testing it soon. |
I mean that if a patch were made for this bug, would you be able to reliably test? |
Oh, yeah, it's pretty easy to test. |
To elaborate on this, this bug is very easily replicable and is a consistent, every time issue when moving at any speed, the degree to which it affects shooting is just exaggerated with higher velocities on the localplayer. |
Can you please retest with 2.0.0-b1? |
Sure |
No, this issue is not fixed on 2.0.0-b1, I just tested on a dedicated and LAN server. |
Could you record a video of it in TC2? |
Please retest with 2.0.0-b2 |
Build 2.0.0-b1: 2023-04-14.16-00-48.mp4
Build 2.0.0-b2: 2023-04-14.16-10-15.mp4Sorry for the late reply, I've been busy today. |
If you could add a debug command (if it doesn't already exist) to show a client eye-angle trace on shot compared to server eye-angles on shot (like in this video), it would probably make this easier to see. |
Oh and I just found a new bug introduced most likely in 2.0.0-b2, seems like some odd rubber banding when firing, but it's inconsistently reproducible. 2023-04-14.16-20-22.mp4 |
Thanks for testing, I will see what I can do |
How it should look for reference (live TF2, scope removed for visibility, fixed with the plugin linked in the issue) test.mp4 |
I think now that it's a much better fix to make sure movement is not 1 tick behind, so I will try to fix that instead |
If anyone was curious, this issue was (seemingly) fixed in Counter-Strike 2 (or more likely, Source 2 as a whole). |
I say "seemingly" because the bullet tracer + impact particles and hole are still skewed by your velocity in the direction you're moving on the client, but the server handles it perfectly and doesn't skew where you shot. |
Yep exactly, if you're ready to read wall of text; please checkout the two comments here, this is my view on this ValveSoftware/source-sdk-2013#442 (comment) |
Description
Title says it all. Bullets are displaced by 1 tick upon firing.
I'm pretty sure this also occurs even with building from this repo, if it doesn't, I didn't notice it get fixed.
ValveSoftware/source-sdk-2013#442
ValveSoftware/Source-1-Games#4829
Sourcemod plugin that fixes the bug on the serverside (you need to update offsets for it to work)
I thought it would be worth putting this here, though it is an issue affecting all Source 1 games, to my knowledge. I already opened an issue in the ValveSoftware/Source-1-Games repo, but I thought I would put it here as well, hoping it has some chance of being included in the next TF2 update!
Checklist
master
branch.start_tf2.bat
(orstart_server.bat
) with no custom launch options.map
command ingame).Reproduction
Screenshots/Videos
https://www.youtube.com/watch?v=VPT0-CKODNc
https://www.youtube.com/watch?v=pr4EZ06mrpQ
Setup Details
Client Settings
The text was updated successfully, but these errors were encountered: