Jump to content
Sign in to follow this  
bn880

CoC network services and digital communications

Recommended Posts

We at The Chain of Command are pleased to inform you that the first version of our Network Services has been released to the public.

The CoC Network Services originally devised for "in house" use allow Operation Flashpoint scripters to transfer any data necessary to any specific network node in a networked OFP session. The scripter can send data by simply calling one function and designating a target pre-processed function on the destination node/machine. The system is designed to allow for fastest transfer of small to large data between the specific network nodes.

Supported network send data is:

[*]Boolean

[*]Group

[*]Number

[*]Object

[*]String (passed in as Character Arrays, see ReadmeCoCNS.txt)

[*]Array (filled with nothing or any of the above in any combination)

[*]Multi-Dimensional Array (filled with nothing or any of the above in any combination)

The handshaking process occurs mostly behind the scene during the briefing, once completed each machine has an array with information on every other machine in the session/mission. The server is always in the first entry of this array.

ns1_small.jpg

A Successful Connection

What is it For?

Foreseen use may be in the CE3 for command control and strategic communications, Capture The Island (CTI), Real Time Strategy (RTS) mods and many others.

Examples

Download includes two pre-assembled mission templates:

[*]one including only the Network Services 1.0 Layer with connection checks

[*]the other with an additional CoC Digital Communications demonstration top layer.

Both templates also contain the CoC Number System Function Library which is capable of converting between Hex, Binary, Octal, Decimal, and Alphanumeric numbers.

Digital Communications Sequence

ns2_small.jpg

Stage 1 Digital Communications Chat send from Client TCOC(2)

ns3_small.jpg

Stage 2 NS in action Packets visible via tool external to OFP(150KB)

ns4_small.jpg

Stage 3 Digital Communications Chat received at Second Client bn880

Vector Bosson's Console

ns5_small.jpg

Used in the test package of NS

DOWNLOAD

CoC Webpage

Please note: Digital Communications was released as an example top layer which makes use of the Network Services. It is however Beta and may be improved in the future.

Kind Regards BN880 CoC Network Developer

Share this post


Link to post
Share on other sites

Thanks

Yes, it is designed to remove some of OFP's limits in Network scripting, these limits are noticed usually by quite advanced scripters of some MODs etc. smile.gif That's probably why many people will be wondering what it does.

Share this post


Link to post
Share on other sites

Wow. I'm so excited!

And multi dimensonal arrays... yeah!

Is there a possibility to make multi dimensional arrays work in Single Player?

However. Incredible work CoC Team!

Share this post


Link to post
Share on other sites

Why of course multidimensional arrays work in SP, ex: mdarray = [1,2,[3,5,[6,7]],[8],[3,5,[6,7]]]

The Network Services also retain their functionality in SP, recognizing two nodes: position 0 server, position 1 client

Share this post


Link to post
Share on other sites

Good work CoC team, I hope some interesting MP missions will spawn from this.

RED

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×