#Server or client correction?

1 messages · Page 1 of 1 (latest)

nocturne shell
#

I have some questions regarding body movers and server-client replication

Say, a character is being affected by a body mover controlled by their own client
Due to lag or other reasons, their position was deviated off the calculated course and both the server/client knows this because they have the formula to calculate the right position for the character; and both client/server can correct the character position

The differences between them are:
-Server may not have the exact position of the client, so the moment server retreives appeared deviation may be late; but server is way more secured and can force the correction upon said character
-Client will have the exact pos of their respective character, but i fear exploiters can just negate the correction by some means. Less secured as a result

Which one should i do and what more measurement can i try out?
Any helps will be appreciated alot since this is ruining my head😭

lost chasm
#

I guess you could choose client but track the position on the server aswell so if the player goes off the course it could correct it

knotty sierra
nocturne shell
#

i see
also should the server only do a correction in case the deviation were too far away or smth? while the client keeps the main adjustment role?