Hello so i was wondering if doing calcuation client is safe and cannont be changed or altered by hackers
NOTHING client side is 100% safe from hackers.
Certain things might be very difficult, but nothing is totally safe.
If you need to make calculations on the client, try to use calculations that are not game breaking if they get hacked.
Have the sever do checks to see if things look sus.
They shouldnt be able to alter the code, but they are able to manipulate it, which is why its done on the server if needed to to avoid getting manipulated by the Client, however if done incorrectly, exploiters can manipulate it, if its something like a Detail, or animation, leave it on the client as thats not really important like your Games Source Code.
Thank you guys for your help i will see what i will do for my game i wish i could check both of your messages as solutions
You can just check your last reply as the solution, if you feel more than one person contributed. Just a FYI
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.