Skip to content
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

Fix: g_forceClientUpdateRate causes hitches #394

Open
Wookiee- opened this issue Jun 2, 2016 · 8 comments
Open

Fix: g_forceClientUpdateRate causes hitches #394

Wookiee- opened this issue Jun 2, 2016 · 8 comments

Comments

@Wookiee-
Copy link
Contributor

Wookiee- commented Jun 2, 2016

Razor and I have been testing the current build of ja++ and it seems the mod is causing cpu hitches causing problem of the thirdperson camera going out of whack for a 1 second.

@Wookiee-
Copy link
Contributor Author

Wookiee- commented Jun 3, 2016

Found the problem I think it maybe openjk with Net_Sleep etc JACoders/OpenJK@7b1256b. I could be wrong but just throwing out idea's.

Seems more of an issue with camera angles.

@ensiform
Copy link
Collaborator

ensiform commented Jun 3, 2016

That's not likely to be reverted even if it has a cause to this at all.

@Wookiee-
Copy link
Contributor Author

Wookiee- commented Jun 3, 2016

Ok, I found an old openjkded.x86_64 and still doing the same issue so Net_Sleep is ruled out.

@Wookiee-
Copy link
Contributor Author

Wookiee- commented Jun 3, 2016

I think I have found the problem g_forceClientUpdateRate 250 - Force a client update if a movement command is not received within x milliseconds.

I have set it to 0 and it seems to have solved the issue, though I maybe wrong.

@Wookiee- Wookiee- changed the title cpu hitching & spiking g_forceClientUpdateRate issue Jun 3, 2016
@ensiform
Copy link
Collaborator

ensiform commented Jun 3, 2016

Shouldn't be causing a hitch. Are you getting a hitch on the server or client. This ensures you don't cheat through triggers etc with low snaps and other lag related problems or cheat lag.

@Wookiee-
Copy link
Contributor Author

Wookiee- commented Jun 4, 2016

This is serverside after showing Razor on my aussie ja++ server, I will let razor comment on this.

@ensiform
Copy link
Collaborator

ensiform commented Jun 4, 2016

If that's the case though it (potentially) affects OJK's server mod code too.

@Razish
Copy link
Owner

Razish commented Jun 4, 2016

The issue is definitely server-side hitches.
g_forceClientUpdateRate does have a noticeable effect, but I'm not entirely sure if that's the root cause or just exposing the real issue more frequently (i.e. a hitch in Clientthink_real)

@Razish Razish changed the title g_forceClientUpdateRate issue Fix: g_forceClientUpdateRate causes hitches May 23, 2017
@Razish Razish added this to Open in tracking Jan 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Open
Development

No branches or pull requests

3 participants