Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » Crouching and jumping cause lag even when playing with 5 ping
Crouching and jumping cause lag even when playing with 5 ping [message #492207] Sun, 16 April 2017 06:22 Go to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
I'm playing on my local test server with 5 ping and walking around is lagless. But if I start jumping and crouching around excessively, i get warped around 1 second after I stop doing it.

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: Crouching and jumping cause lag even when playing with 5 ping [message #492251 is a reply to message #492207] Thu, 20 April 2017 14:09 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
It's weird cause if you jump around and then stop it will warp you back like one second after you stop jumping, but if you jump around and then just slightly touch the move upwards key it doesn't lag you back..

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: Crouching and jumping cause lag even when playing with 5 ping [message #492258 is a reply to message #492207] Fri, 21 April 2017 01:03 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Alright dblaney fixed the jumping lag but he says that he can't fix the crouching lag as it's a toggle which modifies soldier speed.

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: Crouching and jumping cause lag even when playing with 5 ping [message #492262 is a reply to message #492207] Fri, 21 April 2017 04:12 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Setting client NUR to 1000 fixes the crouching lag and makes things less laggy overall. I do think it might be capping the update limit on at least some things to server FPS. But if you set client NUR to the same value as SFPS you still get crouching lag, it disappears when client NUR is 1000.

Server FPS 100 also works very nicely over SFPS 60.

Server NUR 100 also makes a good improvement over default 30.

Biggest improvement comes from setting client NUR to 1000.

Can the limit on setting client NUR to 30 be removed, I want to set it to a high value on my server.

Client NUR at 1000 also works when I play on servers with 180 ping, like US servers.


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases

[Updated on: Fri, 21 April 2017 04:27]

Report message to a moderator

Re: Crouching and jumping cause lag even when playing with 5 ping [message #492263 is a reply to message #492207] Fri, 21 April 2017 05:00 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
BTW you can also set NUR on your client above 30 by opening the registry and modifying Renegade->Networking->Options->NetUpdateRate (don't forget to set base to 'Decimal). Setting it to 1000 works great.

https://i.imgur.com/aRwS9GI.png


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases

[Updated on: Fri, 21 April 2017 05:01]

Report message to a moderator

Re: Crouching and jumping cause lag even when playing with 5 ping [message #492266 is a reply to message #492207] Fri, 21 April 2017 10:08 Go to previous messageGo to next message
dblaney1 is currently offline  dblaney1
Messages: 358
Registered: March 2014
Location: United States
Karma: 0
Commander
I tried 120 for client to server and that seemed to resolve the issue completely. 1000 is excessive in my opinion. I left server to client at 30 though. We could probably make the max value for this higher.

[Updated on: Fri, 21 April 2017 10:18]

Report message to a moderator

Re: Crouching and jumping cause lag even when playing with 5 ping [message #492267 is a reply to message #492207] Fri, 21 April 2017 10:15 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
I tried 200 and 500 and I still had issues with client NUR

server to client at 30 is too low, 50-60 is fine and 100 is very good (but that does increase bandwidth quite a bit if you set it to 100)


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases

[Updated on: Fri, 21 April 2017 10:16]

Report message to a moderator

Re: Crouching and jumping cause lag even when playing with 5 ping [message #492268 is a reply to message #492207] Fri, 21 April 2017 10:27 Go to previous message
dblaney1 is currently offline  dblaney1
Messages: 358
Registered: March 2014
Location: United States
Karma: 0
Commander
120 seemed to work great for me but I run vsync so it probably ends up sending 60 updates or exactly one update per tick. My server is also running the default sfps.

[Updated on: Fri, 21 April 2017 10:27]

Report message to a moderator

Previous Topic: Ion Cannon plays 3D sound when deploying, nuke plays 2D sound when deploying
Next Topic: What things are missing from TT server that BIATCH has?
Goto Forum:
  


Current Time: Sun Dec 22 05:39:08 MST 2024

Total time taken to generate the page: 0.00853 seconds