Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:2.12

Description

Description:Defines the relative workload of a server, in relation to any connected Simulation Clients.

Syntax

Syntax:setBalancingOffload limit
Parameters:
  • limit: Number - Ratio of the average workload (calculated from the server and all connected SCs) that is handled by the server itself (default: 0 = 0%)
Return Value:Nothing

Examples

Examples:
setBalancingOffload .5;
If there is one Dedicated Server (DS) and three Simulation Clients (SC), then the average workload for each of the SCs is 28.56%, with the server handling 14.28%: 100% / (3(SC) + 0.5(DS)) = 28.56%

Additional Information

See also: setBalancingThreshold
Multiplayer:
Problems:

Notes