This page has been translated automatically.
Getting Started
Migrating to UNIGINE 2.0
C++ API Migration
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
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

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: 03.07.2017
Build: ()