This page has been translated automatically.
UnigineScript
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Usage Examples
C++ API
API Reference
Integration Samples
Usage Examples
C++ Plugins
Migration
Migrating to UNIGINE 2.0
C++ API Migration
Migrating from UNIGINE 2.0 to UNIGINE 2.1
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

Syncker

This section contains description of the Syncker samples.

Running Syncker Samples

You can try out Syncker samples in Unigine SDK that run Syncker directly from world scripts.

  1. On each slave computer, open Unigine SDK Browser and press the Syncker slave demo button, which is located on the Samples & Demos tab under the High-Level Systems section.
  2. On the master computer, also open Unigine SDK Browser and press the Syncker master demo button.
  3. Change the network broadcast address of the master by typing the following console command (on the master computer):
    Source code
    master_address xxx.xxx.xxx.xxx
    And then reload the current world:
    Source code
    world_reload
    After that, in the master console you will see messages that slaves have connected. For example:
    Output
    Connection from "xxx.xxx.xxx.xxx" "unknown" accepted in 0.00 seconds
    In the console of the connected slaves you will see the following:
    Output
    Connection to "xxx.xxx.xxx.xxx" accepted in 0.00 seconds
    Notice
    Console commands world_reload or world_load with the same world as currently loaded are not run on slaves after the master. Only loading of a new world works.

For more details on Syncker initialization and update code, see Running Syncker for a custom project.

Last update: 2017-07-03
Build: ()