Quote:
Originally Posted by Kar
I astill think a function to set the actor's syncer would solve it all.
|
There is still the issue that you can not trust the player syncing the NPC (might sent malicious data) and you can not assume the player is in range all the time and not tabbed out, and not in the menu and so forth.
The only way I can think of but with a whole lot of work,
is sending the position of the NPC to the clients, and letting NPCs only move linearly. The clients receive the position of the NPC and where he is moving to, and calculate the ground height it would be standing on (this value is only used on their client side). The server in the meanwhile assumes it takes a straight linear path and calculates the approximated position based on a set speed. When other clients stream the NPC in, this position would be sent to the client, with the position the NPC is moving to.
This would however require a whole new NPC system, since this doesn't work in the way the existing system works.
But then again, like he said, Kalcor has much more experience with this than many (if not all) of us and would probably have considered all options already.
I also think that the appreciation/effort ratio is darn low for this sort of thing.