prefect lag compensation / disable predictions for clients
1 replies, posted
How do i remove that delay on input from high pings?
i know trusting the client with stuff like movement data isn't a good idea, but trust is not an issue in this case.
Is it even possible?
at the very LEAST for vehicles.
Driving with 300 ping is an absolute impossibility.
i've searched, and this is the best i could come up with.
[lua]
function GM:Tick()
local pyro = FindPlayer( "#MySteamID" ) -- Loops through all players and returns the ply with that steamid
if( IsValid( pyro ) && pyro:IsPlayer() ) then
pyro:LagCompensation( false )
end
end
[/lua]
Only this doesn't do anything.
Disabling prediction accomplishes is the exact opposite of what you're trying to do. However, I'm guessing you're using HL2 vehicles or something else and AFAIK they're not predicted and that's what is causing the input lag. It has nothing to do with trusting the client either.
Sorry, you need to Log In to post a reply to this thread.