Fast Multiplayer?

Blitz3D Forums/Blitz3D Programming/Fast Multiplayer?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You mean I only need to know how many millisecs it takes (in avg) for packages to be returned?

Host sends testString

Client receives it and send it back. + it starts it' Millisecs timer.

Host receives the response and checks how long time has passed in millisecs()
Host now sends antoher test pack to the CLient with this time

The client Receivs this package and checks it's millisecstimer to the package. When done 3-4 times you can get an average.

Now each plackaet recieved by either host or client is known to have this latency and therefor you calculate where the other players most probably are when package was received.