Jump to content

Client prediction enabled state can be desynced between server and client


hoxi
  • Fixed

This is a re-report of this.

This has become a bit more relevant due to a new check in the PredictWalking RPC.

local playercontroller = player.components.playercontroller
if playercontroller ~= nil then
	if not playercontroller.remote_predicting then
		printinvalid("PredictWalking", player)
		return
	elseif x then
		printinvalidplatform("PredictWalking", player, nil, x, z, platform, platform_relative)
		local x1, z1 = ConvertPlatformRelativePositionToAbsolutePosition(x, z, platform, platform_relative)
		if x1 and not IsPointInRange(player, x1, z1) then
			print("Remote predict walking out of range")
			return
		end
	end
	playercontroller:OnRemotePredictWalking(x, z, isdirectwalking, isstart, platform_relative and platform or nil, overridemovetime, isstop)
end

 


Steps to Reproduce

See in older report.

  • Like 1



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...