-
Notifications
You must be signed in to change notification settings - Fork 596
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
[CS 1.6 and CS:CZ] Lag issue in any multiplayer game #2383
Comments
Remove @alfred-valve as he is not working with Valve anymore. |
okay |
Can you provide some videos to show this behavior? |
I have a gameplay video but it is quite difficult to understand in videos. I recommend you compare (between CS 1.6+CS:CZ and other GoldSrc games) yourself. Also, i am used half-life dedicated server tool for testing LAN server. Anyway, i provide a gameplay video: ( please watch 720p at fullscreen) |
It is hard to explain problem but i can say it looks like a "screen lag". Lag appears clearer in jumpings especially. |
I ran a test using this config:
And What you're seeing is the weapon prediction code trying to play the animations locally when you issue the commands. When you turn off This is just how prediction works. It isn't perfect and especially given how CS's crosshair is affected by shots fired it might not be 100% the same with it turned on when compared to it turned off. I think part of what makes it look weird is that the method Standard HL weapons code does adjust punch angle on the client side, but CS does not use this approach. That can't really be fixed because GoldSource's prediction code is too primitive to fully simulate what the server does. Maybe you could hack it up to adjust the client's punch angle but the code relies on the random number generator from the engine, so when the server's version comes in it'll be different. I would suggest making an attempt to implement the Kickback method on the client to see if that improves prediction behavior, but i doubt it will work since it's hard to get right. |
Thanks for testing and explaining. I found this update note from 27/03/2013 and 01/04/2013: Does this have an effect? Can it be related to this? also i discovered, when i use these client and server rate values, lag is significantly reduced: rate "20000" sv_minrate 0 so, these rate values are legal? Which one should I prefer? these rate values or default rate values? |
I was always curious about what that update meant, doesn't depend on frame rate.... |
@kisak-valve @mikela-valve
Animation lag ( firing, jumping etc.) appears in CS 1.6 and CS:CZ multiplayer game (Online and LAN). Gameplay isn't smooth as other GoldSrc games.
When I set cl_lw to "0", the lag disaapears but i heard this command isn't a legal command in multiplayer servers.
This maybe a netcode (client and server rate values) problem. But the rate values are same in all GoldSrc games :/
I am sure this is a "client-server" issue because other GoldSrc games don't have this problem.This happens only in CS 1.6 and CS:CZ multiplayer server.
Note: I tested in vanilla games (without any mods, cfgs etc.). Also, i tried everything (formatting pc, scanning virus, tested compatibility modes, running as admin, updating drivers etc.).
The text was updated successfully, but these errors were encountered: