Jump to content

A new utility for virtual aerobatic teams


Recommended Posts

The purpose of this system is to eliminate the ping issue in comms online. It is especially critical for aerobatic teams as they usually need to synchronize their moves as precise as possible.

 

http://www.asnr47.dsl.pipex.com/files/bubl/Raz/RazClient.zip (415 KB)

http://www.asnr47.dsl.pipex.com/files/bubl/Raz/RazServer.zip (60 KB)

 

Readme.txt:

 

The RazClient is the client side of Raz synchronization utility for use with LO,

RazServer is the server.

 

Extract the files.

 

Replace "export.lua" in "Lock On\Config\export" with the one provided (but do not delete the file from RazClient folder).

 

Launch RazKey.exe.

 

Launch RazClient.exe.

 

Type in the name or IP of the RazServer host (where RazServer.exe is running).

The Port number and Pass are determined by RazServer in RazServer.ini file.

 

Press "Connect".

 

Press "Test". The number in "Time" should change to something like "2580",

and you the sound from "raz.wav" will be played after 1000 ms == 1 second.

 

Launch LO (do not minimize RazClient).

 

Join a LO server (where exports are allowed).

Enter the multiplayer mission.

 

Press "Test" or the key defined in Razclient.ini file as "Hotkey" (it is "9" by default).

If there are other RazClients connected to the same RazServer and they are in the same multiplayer

mission on the same LO server, everybody should get the signal at the same time in game time terms.

 

Remark: Normally only the leads need to launch RazKey, since its only purpose is to make the hotkey available.

Also do not minimize RazClient window if you are the lead or going to use the hotkey (otherwise the hotkey may not work).

 

How it works

 

RazClient gets synchronization messages from LO every second to keep its own internal timer up to date.

As soon as a client pushes the hotkey button (or "Test") the RazClient calculates

"current game time" + "Delta" (Delta = 1 second by default) and sends the result to the RazServer.

The RazServer broadcasts that number to all connected RazClients. As the clients get the broadcasted

message they "remember" it and play "raz.wav" when that game time is reached ("game time" is the one

you can see pressing Ctrl+BackSpace in a mission).

 

 

How it is supposed to be used

 

E.g. the lead calls "Gear ready, now" presses the hotkey and waits for the sound.

As soon as the sound is played all the clients (including the lead) hit the gear button.

 

Remark: The computer where RazServer is running should have an external IP (so that the clients can type it in the Host name or IP).

 

 

Enjoy

 

WR=210=Vladimir

Link to comment
Share on other sites

Cool program, wonder why they can't apply this principle to voice comms. Possibly designate a lead signal and buffer each persons reception to match the slowest client.

 

It can be done, but the lead would hear his own "echo".

Or you meant playing prerecorded call outs?

 

Between this and Phantom Control you've become the aerobatic programming guru :D

 

Thanks, but I am no guru, was just playing around with TCP/IP sockets.

Playing AND learning :biggrin:

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...