Skip to main content
Known Participant
November 28, 2009
Question

Question on server/client side.

  • November 28, 2009
  • 1 reply
  • 277 views

Hi, I'm new to Flash Media Server. I would like to find out what are the types of codes that go to the server side and what remains in the client side for like, example, a multiplayer game application.

Does the server side coding deal with the main algorithms, calculations, xml parsing while the client side deals more with the interface? Is that right?

    This topic has been closed for replies.

    1 reply

    November 30, 2009

    With that kind of plateforms you can do wathever you think is better.

    You can balance computing, rules and intelligence between the client(s) and the server(s). You can even charge some of the design onto the server.

    You can also move toward a very centric architecture where your server controls every bit of data and process, the clients operating only as front-ends.

    For network-gaming the second option option is often favored considering cheating-risks. You never know if the clients are the one you produced or fake ones and you can never tell how your data streams have been eventually modified by cheaters so you have to keep control on them and not let the client manipulates data.

    Exemple : if you roll dices in your game, let the server roll them and keep them aside to control your clients answer when they use thoose numbers.

    F