Determinism and Multiplayer

0 favourites
  • 11 posts
From the Asset Store
The official Scirra Multiplayer Signalling Server for helping peers find and connect to each other
  • Whether Determinism is right or wrong in the Real world...

    I wondered.. Is every "AI" in big multiplayer games like World of Warcraft connected to the server OR does the game simply assume that the actions on each machine will be the same?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I guess it depends on the MMO, both implementations can be made. Actually, it is a little bit of both.

    I'd be tempted to say that generally the server is to handle everything world related (helps preventing some cheating).

    The client is merely rendering the world/view of the player accordingly to the informations sent back from the server.

    Also, there's some prediction made in the client itself, which is then "tempered" by the server's authority.

    Perhaps this talk would be of interest about this question:

    [tube]tKSYJYV_RGs[/tube]

    Subscribe to Construct videos now
  • Thx :D

    Very Interesting indeed!

    The hacking part also made me think about something else..

    He got problem in his game that hacked clients connect to the server.

    Could someone download the code of a multiplayer webgame, "hack it" set it up on a different location and connect it to the game server?

    That wouldn't be gr8...

  • ... Could someone download the code of a multiplayer webgame, "hack it" set it up on a different location and connect it to the game server? ...

    I think not. No multiplayer game server that had even basic security measures would allow downloadng of its code.

  • No, I mean the Client side <img src="smileys/smiley1.gif" border="0" align="middle" />.

    I am working with Javascript and Three.js. So the Client Side code is very visible.

    Could some1 take the browser client-side code, and put it on his own site (Else he can't change to code) And connect from there to my server?

    ...

    I guess, I am asking because I have worked a bit with My Counter Strike Server Lately.. and there you connect from your client to the server.

    I suppose IF the server only accepts website requests from his own domain, then this could not happen?

  • I don't know if this answers your question but if not its at least interesting.

  • Very nice!

    Ty :) But I'm gonna watch the entire video ! Muahaha

  • ... Could some1 take the browser client-side code, and put it on his own site (Else he can't change to code) And connect from there to my server? ... I suppose IF the server only accepts website requests from his own domain, then this could not happen?

    Yes, you're quite right. It's known in the trade as 'same origin policy'. More about it here.

  • Thx Velojet :)

    I also got ideas from those videos about the whole serverside thing.

    Making the server restrict you by validating your input Basically I guess.

  • in multiplayer games its easier to give more trust to the clients. Like in fps games you can generally take the position of a player as valid without having to check it on the server. Stuff like that uses movement prediction to show the location of the players to the other players.

    That allows the actual position of the player to be updated only when that player stops or starts moving. Everything else is guessed by the other clients.

    MMOs are kinda different. Where in fps games almost all the info can come from the client and generally be trusted in an mmo almost all the data is server side and mirrored only whats required to the clients.

    Then the mmo client uses predictive movement for the mobs and other players based on the initial position it got from the server.

    Since almost all data is server side in mmos you dont trust data from the clients. Basically you check the data received from the client to make sure its valid before updating the server values and giving those values to the connected clients.

    Thats also generally why you see less lag in mmos and they can be played with a slower connection than online fps games. All the data crunching is server side and the basic info is then reflected to the clients only when they need it

    General info but hopefully itll help out a lil

  • It did ^^ Thx

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)