quote: Original post by CGameProgrammer
Well, Kinslayer, it sounds like you''re sending the server the world position of the mouseclick, which isn''t a very good idea because then it necessitates verification, as you mentioned.
I would just send the server the 2D screen coordinates of the mouse click, and let it figure out where in the world the click corresponds to.
If you make a 3D game like Morrowind with mouse look (like all good games, eg the quake 3 based game), 2D coordinates are useless. Just make the client send a move packed with direction to the server, and make the client start moving. Then the server will update his position and send it back once every second to synchronize. A teleport hack won''t work, the server will just put the player back if he walked through an unpenetrable wall.