mm, that is probably the best way of doing things..
But I still got a problem. If the client crashes before the server and he adds damage to himself and changes his speed/direction and sends it to server.. then the server would recieve the new speed, and if the server recieves it before he sees the player crach into the wall and changes the clients direction based on clients movement.. then the crash will never happen on the server, the client might just turn before he would hit the wall (I've had this problem before..).
I just go with my simple solution (it's a simple game
![](smile.gif)
) Players only add damage to themselves (server also). If someone else crashes they will bounce of the wall. When a client localy craches into a wall, he says to the server, "add damage to me". Server recieves the message and adds the damage and sends it to all the clients. Bad idea but it works aslong as nobody hacks my exe
![](smile.gif)
hopefully no1 will hehe.
-----------------------------
Sometimes a Guru meditation must be followed by a Vulcan neck grip.[edited by - Herr_O on April 18, 2002 5:41:09 AM]