Jump to content
  • Advertisement
Sign in to follow this  
matt_j

Standard monsters and networking

This topic is 4972 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Suppose I'm using and client side prediction, wouldn't prediction cause anomalies on other clients? For example, waking monsters. Prediction on one client could cause monsters to exhibit different behaviors than what might have happened.

Share this post


Link to post
Share on other sites
Advertisement
you can not predict everything.. prediction is very usefull for movement for example. if we know that a players position was X and hes moving at velocy Y then we know he will be at Z in time T.

for something like an RPG where a monster could be sleeping, and stepping near him might wake him, simply just have the server dedect when a player is in certain range of a monster, and then send a "this monster has woken up and is now attacking this person" to all players who should know about it.

Share this post


Link to post
Share on other sites
Yes, thanks. I should have known that. Vital changes in the world should be handled by the server. As long as the client isn't laggy/doesn't suck, there shouldn't be too much of a problem.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!