Client Replication Questions

I did some research on ‘client replication’ for skill effects, and I was wondering: if you send signals to every player for a skill effect, even if some players are far away from where the effect is happening (e.g., others are fighting elsewhere), wouldn’t this unnecessarily load the clients of the distant players while the effects are occurring elsewhere? Should i be thinking about this problem or is it not that important ? Would love to hear every answer . Ty <3

1 Like

that’s why you always do a distance check before actually committing to the effects (you can do them either on the server or client, it doesn’t really matter)

1 Like

it does, distance check on server prevents unnecesary bandwidth, but distance check on client prevents stressing server with distance checks

1 Like

Probably i will make distance check on client because i would put effect replication code after that . The more i go between script to other scripts (client-server) my mind gets confused more and it gets harder to make up the logic for me . Idk if you have any advice for better understanding these type of things but it would be really helpful for me

As i said it depends, if you have heavy replication game i suggest doing it on server

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.