Network Game

Blitz3D Forums/Blitz3D Programming/Network Game

Are you sure you are sending the Global position in and not the movement info relative to the enemies last position? This is a common misstake.

Since Moveentity is based on movement from the relative position and facing, the values used there are no use to positionentity. What you want to make sure you are sending is, EntityX, EntityY and EntityZ, as well as the yaw, pitch, roll of the same type, if you use those.

I see you are sending the EntityX(player) etc. However you may want to try sending EntityX(player,1) and then use positionentity with the global flag set for data recieved from the net.

Just a idea, you may want to coment some of that code so its a tad easier to see what your trying to achieve, would make debugging alot easier. :)