Game Development Community

Server Vs Client

by Ted Lilljegren · in Technical Issues · 08/23/2007 (10:46 am) · 3 replies

If i want to change some attribute of a player object, say make him move faster(through a resource), should i tell the object this through the client side or the server side? What are the general guidelines for this issue?

#1
08/23/2007 (3:44 pm)
It is best to go with server side. With all my experience in coding tribes 1 and torque, it's all about server side. In server side coding; every player(who joins the server) has (set number of how fast they go done by you coding it properly). If you code the client, then when you play single player, the player will have the movement speed that you choose, but when you run a server, it will be back to the default because you didn't tell the server side to change the movement speed.
#2
08/23/2007 (3:45 pm)
It is best to go with server side. With all my experience in coding tribes 1 and torque, it's all about server side. In server side coding; every player(who joins the server) has (set number of how fast they go done by you coding it properly). If it code the client, then when you play single player, the player will have the movement speed that you choose, but when you run a server, it will be back to the default because you didn't tell the server side to change the movement speed.
#3
08/24/2007 (10:45 am)
And you added extra empathy to your post by double posting it =)
(seriously, it can happen to the best)

Thanks for the input. Ill Stick to server side then. Another point though: i have this "skill" in which the player zooms, allowing for greater accuracy. I could simply call clientside there right? What functions are best hailed from client side?