Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » Turret Glitch (Not sure if this has been brought up yet.)
Re: Turret Glitch [message #389226 is a reply to message #389036] Fri, 05 June 2009 01:27 Go to previous message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma:
General (2 Stars)

It was caused by the client not properly setting the in-vehicle state. The player was basically in the vehicle on the server, but not on the client. The reason for the odd "very laggy" vehicle driving is that the player that is placed in the vehicle by the server is not made uncollidable. This means that on the client, the object can not move normally since it seems to be obstructed. The only reason it slides and "teleports" is because the netcode it detects inconsistent positions and tries to revert the client position to the server position somewhat smoothly.

The technical reason it sometimes happened was because state changes were not set in proper order. You could get a "not in vehicle" state after an "in vehicle" state in some cases where the "in vehicle" state was actually more recent.


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Launching Renegade through Steam
Next Topic: Regarding Renegade Resurrection
Goto Forum:
  


Current Time: Tue Jul 02 21:17:30 MST 2024

Total time taken to generate the page: 0.00671 seconds