Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » Physics desync fps bug code location?
Physics desync fps bug code location? [message #493646] Thu, 09 January 2025 10:20 Go to next message
iRANian is currently offline  iRANian
Messages: 4311
Registered: April 2011
Karma: 0
General (4 Stars)
Your soldier position desyncs when your FPS is different from the SFPS and you either jump around or crouch a lot. It's also happens when getting out of a vehicle, you will see your soldier get 'stuck' on the vehicle when getting out for a second.

I think the issue might be that in SoldierGameObj::Think() they forgot to add a FrameSeconds check here:

https://i.imgur.com/b9HzltW.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: Thu, 09 January 2025 10:21]

Report message to a moderator

Re: Physics desync fps bug code location? [message #493647 is a reply to message #493646] Thu, 09 January 2025 10:30 Go to previous message
iRANian is currently offline  iRANian
Messages: 4311
Registered: April 2011
Karma: 0
General (4 Stars)
this whole surface effects code they just dumped it in SoldierGameObj::Think() LOL, not frameseconds checks at all

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
Previous Topic: the update program failed to request the latest version from the server
Next Topic: New W3D Modelling Tools Released!
Goto Forum:
  


Current Time: Fri Jan 10 10:58:53 MST 2025

Total time taken to generate the page: 0.00695 seconds