x


Multiplayer Client-Server help

Hi!

I want to ask a simple questions. I'm currently making a 1v1 arena pvp game, and I don't know which option would be the best for me.

So the question is that what structure should I use? Standalone server(dedicated) or a player's client can be the server. In my opinion the first would be better because if the player's client can be the server than they can modify the data and they can cheat.

Another question would be that if the server hold every data about the players then how I can I receive e.g the player's health? var health = networkView.RPC("GetPlayerHealth",RPCMode.Server) Is this good?

Excuse me, but I'm just learning the networking part of Unity

more ▼

asked Mar 18 '12 at 05:01 PM

RobeeZ gravatar image

RobeeZ
0 1 1

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

bumpity bump :(

more ▼

answered Mar 20 '12 at 06:49 PM

RobeeZ gravatar image

RobeeZ
0 1 1

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x702
x414
x74

asked: Mar 18 '12 at 05:01 PM

Seen: 308 times

Last Updated: Mar 20 '12 at 06:49 PM