Game Development Community

%client questions

by Ron Yacketta · in Torque Game Engine · 04/11/2002 (6:06 pm) · 6 replies

.

#1
08/14/2009 (10:52 am)
what is the purpose of the client? I ask as a newbie who is continually seeing the client.cs etc but I am actually unsure if this is just old code. Perhaps the client is now the player?



#2
08/14/2009 (4:19 pm)
"Client" refers to the user side of the game's connection to the server. Each user, including the local user (in the case of a non-dedicated server) and any remote users connecting across a network will connect to the server as "clients".

"Player" refers to the in-game character or avatar. Normally the server will create and assign one Player per Client. Note that the Player is often non-persistent. The Player may be "unhooked" from the client and deleted, as happens when a Player is killed. A new Player will then be created and assigned to the same Client.

So, a Client is a user's persistent connection to a Server. The Client is the mechanism through which the user controls a Player in the game.

Basically,
Client = User
Player = Avatar
#3
08/15/2009 (1:23 am)
well-put.
#4
08/15/2009 (6:08 am)
There's good information here, but was there a specific reason to resurrect a 7-year-old thread?

For a moment I thought my old buddy Ron had come back... :(
#5
08/15/2009 (7:54 am)
@Ted: Better a resurrection than an empty useless thread don't you think?

@Scott: great answer!
#6
08/15/2009 (10:02 pm)
@Michael: True...