mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-15 14:08:42 +00:00
Changed: Minor changes (EOL, spaces, etc...)
This commit is contained in:
parent
9e220759c3
commit
cbb7cd2ccf
18 changed files with 2314 additions and 2315 deletions
|
@ -59,7 +59,7 @@ IF(EXTERNAL_FOUND)
|
|||
IF(NOT External_FIND_QUIETLY)
|
||||
MESSAGE(STATUS "Found ${EXTERNAL_NAME}: ${EXTERNAL_PATH}")
|
||||
ENDIF()
|
||||
ELSE(EXTERNAL_FOUND)
|
||||
ELSE()
|
||||
IF(External_FIND_REQUIRED)
|
||||
MESSAGE(FATAL_ERROR "Unable to find ${EXTERNAL_NAME}!")
|
||||
ELSE()
|
||||
|
|
|
@ -1,27 +1,27 @@
|
|||
#include "common.cfg"
|
||||
|
||||
DontUseNS = 1;
|
||||
|
||||
RRDToolPath = "rrdtool";
|
||||
RRDVarPath = "save_shard/rrd_graphs";
|
||||
|
||||
// Variables required to be defined by other cfgs
|
||||
//AESHost="localhost";
|
||||
//ASWebPort="46700";
|
||||
//ASPort="46701";
|
||||
|
||||
StartCommands +=
|
||||
{
|
||||
// create the admin service module and open the web interface
|
||||
"moduleManager.createModule AdminService as webPort="+ASWebPort,
|
||||
|
||||
// create a gateway for aes to connect
|
||||
"moduleManager.createModule StandardGateway as_gw",
|
||||
// create a layer 3 server
|
||||
"as_gw.transportAdd L3Server l3s",
|
||||
"as_gw.transportOptions l3s(PeerInvisible)",
|
||||
"as_gw.transportCmd l3s(open port="+ASPort+")",
|
||||
|
||||
// plug the as
|
||||
"as.plug as_gw",
|
||||
};
|
||||
#include "common.cfg"
|
||||
|
||||
DontUseNS = 1;
|
||||
|
||||
RRDToolPath = "rrdtool";
|
||||
RRDVarPath = "save_shard/rrd_graphs";
|
||||
|
||||
// Variables required to be defined by other cfgs
|
||||
//AESHost="localhost";
|
||||
//ASWebPort="46700";
|
||||
//ASPort="46701";
|
||||
|
||||
StartCommands +=
|
||||
{
|
||||
// create the admin service module and open the web interface
|
||||
"moduleManager.createModule AdminService as webPort="+ASWebPort,
|
||||
|
||||
// create a gateway for aes to connect
|
||||
"moduleManager.createModule StandardGateway as_gw",
|
||||
// create a layer 3 server
|
||||
"as_gw.transportAdd L3Server l3s",
|
||||
"as_gw.transportOptions l3s(PeerInvisible)",
|
||||
"as_gw.transportCmd l3s(open port="+ASPort+")",
|
||||
|
||||
// plug the as
|
||||
"as.plug as_gw",
|
||||
};
|
||||
|
|
|
@ -1,198 +1,198 @@
|
|||
#include "common.cfg"
|
||||
|
||||
// a list of system command that run at server startup.
|
||||
SystemCmd = {};
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//- Basic (specific) heal profile parameters ---------------------------------
|
||||
// Downtime for normal heal (on other bots of the group)
|
||||
HealSpecificDowntime = 100;
|
||||
// Downtime for self heal
|
||||
HealSpecificDowntimeSelf = 100;
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Disable caching of ligo primitive in binary files
|
||||
CachePrims = 0;
|
||||
CachePrimsLog = 0;
|
||||
|
||||
// do not log the corrected position.
|
||||
LogAcceptablePos = 0;
|
||||
// do not log group creation failure
|
||||
LogGroupCreationFailure = 0;
|
||||
// do not log aliad tree owner construstion.
|
||||
LogAliasTreeOwner = 0;
|
||||
// do not log outpost info
|
||||
LogOutpostDebug = 0;
|
||||
// Speed factor, for debug purpose only. Don't set to high speed factor !
|
||||
SpeedFactor = 1;
|
||||
// Speep up the timer triggering. Set a value between 1 (normal) and INT_MAX.
|
||||
TimerSpeedUp = 1;
|
||||
|
||||
// Default timer for wander behavior
|
||||
DefaultWanderMinTimer = 50; // 5s
|
||||
DefaultWanderMaxTimer = 100; // 10s
|
||||
|
||||
// Fame and guard behavior
|
||||
// Fame value under witch the guard attack the player in sigth
|
||||
FameForGuardAttack = -450000;
|
||||
// The minimum of fame for guard to help the player
|
||||
FameForGuardHelp = -200000;
|
||||
|
||||
// The default aggro distance for NPC
|
||||
DefaultNpcAggroDist = 15;
|
||||
// The default escort range for escort behavior
|
||||
DefaultEscortRange = 10;
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
// Aggro //
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
AggroReturnDistCheck = 15.0;
|
||||
AggroReturnDistCheckFauna = 15.0;
|
||||
AggroReturnDistCheckNpc = 1.5;
|
||||
AggroD1Radius = 250.0;
|
||||
AggroD2Radius = 150.0;
|
||||
AggroPrimaryGroupDist = 0.0;
|
||||
AggroPrimaryGroupCoef = 0.0;
|
||||
AggroSecondaryGroupDist = 0.0;
|
||||
AggroSecondaryGroupCoef = 0.0;
|
||||
AggroPropagationRadius = 60.0;
|
||||
|
||||
BotRepopFx = "";
|
||||
|
||||
// GROUP KEYWORDS
|
||||
// used mainly in event handlers to determine to which groups events apply
|
||||
KeywordsGroupNpc = {
|
||||
|
||||
"patrol", // a group of bots who guard a patrol route or point
|
||||
"convoy", // a group with pack animals who follow roads from place to place
|
||||
"with_players", // a group who may travel with players
|
||||
};
|
||||
|
||||
// BOT KEYWORDS
|
||||
// used mainly in npc_state_profile to determine which ai profiles to assign to which bots
|
||||
KeywordsBotNpc = {
|
||||
|
||||
"team_leader", // a bot who leads the way in front of their team (and acts as leader
|
||||
// in discussion with players)
|
||||
"animal_leader", // a bot who leads pack animals
|
||||
"guard", // a bot who is a guard of some sort (eg karavan guard)
|
||||
"emissary", // eg karavan emissary
|
||||
"preacher", // eg kami preacher
|
||||
"guardian", // typically kami guardians
|
||||
"vip", // someone who has an escort of players or NPCs (assumed to be harmless)
|
||||
};
|
||||
|
||||
// STATE KEYWORDS
|
||||
// used mainly in event handlers to determine to which state events apply
|
||||
// eg: when a player goes link dead if the team that this player is escorting
|
||||
// is in a dangerous area the team may enter a 'protect ourselves and wait for
|
||||
// players' punctual state
|
||||
KeywordsStateNpc = {
|
||||
|
||||
"safe", // eg the gathering point at town entrance
|
||||
"dangerous", // eg a route through the wilds
|
||||
};
|
||||
|
||||
ColourNames =
|
||||
{
|
||||
"red : 0",
|
||||
"beige : 1",
|
||||
"green : 2",
|
||||
"turquoise : 3",
|
||||
"blue : 4",
|
||||
"violet : 5",
|
||||
"white : 6",
|
||||
"black : 7",
|
||||
|
||||
"redHair: 0",
|
||||
"blackHair: 1",
|
||||
};
|
||||
|
||||
|
||||
StartCommandsWhenMirrorReady = {
|
||||
};
|
||||
|
||||
//---------------------------------------------------------
|
||||
// commands for multi IA configuration
|
||||
// For multi IA config, use the -m command line switch folowed
|
||||
// by a semicolon separated list of command block to run.
|
||||
// ex :
|
||||
// -mCommon:Matis:Post
|
||||
// will execute the folowing command blocks in order :
|
||||
// * StartCommandsWhenMirrorReadyCommon
|
||||
// * StartCommandsWhenMirrorReadyMatis
|
||||
// * StartCommandsWhenMirrorReadyPost
|
||||
//---------------------------------------------------------
|
||||
// common commands before loading continents
|
||||
StartCommandsWhenMirrorReadyCommon =
|
||||
{
|
||||
"RandomPosMaxRetry 6400",
|
||||
"fightRangeRange 4 60",
|
||||
"LogOutpostDebug 1",
|
||||
"grpHistoryRecordLog",
|
||||
|
||||
"verboseAIProfiles",
|
||||
"verboseAliasNodeTreeParserLog",
|
||||
"verboseCombatLog",
|
||||
"verboseFaunaMgrLog",
|
||||
"verboseFaunaParseLog",
|
||||
"verboseNPCBotProfiles",
|
||||
"verboseNPCMgrLog",
|
||||
"verboseNPCParserLog",
|
||||
"verboseNpcDescriptionMsgLog",
|
||||
"verbosePrimitiveParserLog",
|
||||
// "verboseSwitchMultipleChangesOfAProperty",
|
||||
};
|
||||
|
||||
// commands for Newbieland continent
|
||||
StartCommandsWhenMirrorReadyNewbieland =
|
||||
{
|
||||
"loadContinent newbieland",
|
||||
"createStaticAIInstance newbieland",
|
||||
"loadMapsFromCommon newbieland_all",
|
||||
};
|
||||
|
||||
// commands for post continents loading
|
||||
StartCommandsWhenMirrorReadyPost =
|
||||
{
|
||||
"spawnInstances",
|
||||
"updateAI",
|
||||
"updateAI",
|
||||
};
|
||||
|
||||
|
||||
// commands for Ring continents
|
||||
StartCommandsWhenMirrorReadyRing =
|
||||
{
|
||||
"loadContinent r2_desert",
|
||||
"createDynamicAIInstance 10000",
|
||||
"loadPrimitiveFile dummy.primitive",
|
||||
|
||||
"loadContinent r2_forest",
|
||||
"createDynamicAIInstance 10001",
|
||||
"loadPrimitiveFile dummy.primitive",
|
||||
|
||||
"loadContinent r2_lakes",
|
||||
"createDynamicAIInstance 10003",
|
||||
"loadPrimitiveFile dummy.primitive",
|
||||
|
||||
"loadContinent r2_jungle",
|
||||
"createDynamicAIInstance 10002",
|
||||
"loadPrimitiveFile dummy.primitive",
|
||||
|
||||
"loadContinent r2_roots",
|
||||
"createDynamicAIInstance 10004",
|
||||
"loadPrimitiveFile dummy.primitive",
|
||||
|
||||
// "spawnInstances",
|
||||
"updateAI",
|
||||
"updateAI",
|
||||
|
||||
// L5 connect to the shard unifier
|
||||
"unifiedNetwork.addService ShardUnifier ( address="+SUAddress+" sendId external autoRetry )",
|
||||
|
||||
// Create a shard AIS Module
|
||||
"moduleManager.createModule AisControl ais",
|
||||
// Connect AIS
|
||||
"ais.plug gw"
|
||||
};
|
||||
#include "common.cfg"
|
||||
|
||||
// a list of system command that run at server startup.
|
||||
SystemCmd = {};
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//- Basic (specific) heal profile parameters ---------------------------------
|
||||
// Downtime for normal heal (on other bots of the group)
|
||||
HealSpecificDowntime = 100;
|
||||
// Downtime for self heal
|
||||
HealSpecificDowntimeSelf = 100;
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Disable caching of ligo primitive in binary files
|
||||
CachePrims = 0;
|
||||
CachePrimsLog = 0;
|
||||
|
||||
// do not log the corrected position.
|
||||
LogAcceptablePos = 0;
|
||||
// do not log group creation failure
|
||||
LogGroupCreationFailure = 0;
|
||||
// do not log aliad tree owner construstion.
|
||||
LogAliasTreeOwner = 0;
|
||||
// do not log outpost info
|
||||
LogOutpostDebug = 0;
|
||||
// Speed factor, for debug purpose only. Don't set to high speed factor !
|
||||
SpeedFactor = 1;
|
||||
// Speep up the timer triggering. Set a value between 1 (normal) and INT_MAX.
|
||||
TimerSpeedUp = 1;
|
||||
|
||||
// Default timer for wander behavior
|
||||
DefaultWanderMinTimer = 50; // 5s
|
||||
DefaultWanderMaxTimer = 100; // 10s
|
||||
|
||||
// Fame and guard behavior
|
||||
// Fame value under witch the guard attack the player in sigth
|
||||
FameForGuardAttack = -450000;
|
||||
// The minimum of fame for guard to help the player
|
||||
FameForGuardHelp = -200000;
|
||||
|
||||
// The default aggro distance for NPC
|
||||
DefaultNpcAggroDist = 15;
|
||||
// The default escort range for escort behavior
|
||||
DefaultEscortRange = 10;
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
// Aggro //
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
AggroReturnDistCheck = 15.0;
|
||||
AggroReturnDistCheckFauna = 15.0;
|
||||
AggroReturnDistCheckNpc = 1.5;
|
||||
AggroD1Radius = 250.0;
|
||||
AggroD2Radius = 150.0;
|
||||
AggroPrimaryGroupDist = 0.0;
|
||||
AggroPrimaryGroupCoef = 0.0;
|
||||
AggroSecondaryGroupDist = 0.0;
|
||||
AggroSecondaryGroupCoef = 0.0;
|
||||
AggroPropagationRadius = 60.0;
|
||||
|
||||
BotRepopFx = "";
|
||||
|
||||
// GROUP KEYWORDS
|
||||
// used mainly in event handlers to determine to which groups events apply
|
||||
KeywordsGroupNpc = {
|
||||
|
||||
"patrol", // a group of bots who guard a patrol route or point
|
||||
"convoy", // a group with pack animals who follow roads from place to place
|
||||
"with_players", // a group who may travel with players
|
||||
};
|
||||
|
||||
// BOT KEYWORDS
|
||||
// used mainly in npc_state_profile to determine which ai profiles to assign to which bots
|
||||
KeywordsBotNpc = {
|
||||
|
||||
"team_leader", // a bot who leads the way in front of their team (and acts as leader
|
||||
// in discussion with players)
|
||||
"animal_leader", // a bot who leads pack animals
|
||||
"guard", // a bot who is a guard of some sort (eg karavan guard)
|
||||
"emissary", // eg karavan emissary
|
||||
"preacher", // eg kami preacher
|
||||
"guardian", // typically kami guardians
|
||||
"vip", // someone who has an escort of players or NPCs (assumed to be harmless)
|
||||
};
|
||||
|
||||
// STATE KEYWORDS
|
||||
// used mainly in event handlers to determine to which state events apply
|
||||
// eg: when a player goes link dead if the team that this player is escorting
|
||||
// is in a dangerous area the team may enter a 'protect ourselves and wait for
|
||||
// players' punctual state
|
||||
KeywordsStateNpc = {
|
||||
|
||||
"safe", // eg the gathering point at town entrance
|
||||
"dangerous", // eg a route through the wilds
|
||||
};
|
||||
|
||||
ColourNames =
|
||||
{
|
||||
"red : 0",
|
||||
"beige : 1",
|
||||
"green : 2",
|
||||
"turquoise : 3",
|
||||
"blue : 4",
|
||||
"violet : 5",
|
||||
"white : 6",
|
||||
"black : 7",
|
||||
|
||||
"redHair: 0",
|
||||
"blackHair: 1",
|
||||
};
|
||||
|
||||
|
||||
StartCommandsWhenMirrorReady = {
|
||||
};
|
||||
|
||||
//---------------------------------------------------------
|
||||
// commands for multi IA configuration
|
||||
// For multi IA config, use the -m command line switch folowed
|
||||
// by a semicolon separated list of command block to run.
|
||||
// ex :
|
||||
// -mCommon:Matis:Post
|
||||
// will execute the folowing command blocks in order :
|
||||
// * StartCommandsWhenMirrorReadyCommon
|
||||
// * StartCommandsWhenMirrorReadyMatis
|
||||
// * StartCommandsWhenMirrorReadyPost
|
||||
//---------------------------------------------------------
|
||||
// common commands before loading continents
|
||||
StartCommandsWhenMirrorReadyCommon =
|
||||
{
|
||||
"RandomPosMaxRetry 6400",
|
||||
"fightRangeRange 4 60",
|
||||
"LogOutpostDebug 1",
|
||||
"grpHistoryRecordLog",
|
||||
|
||||
"verboseAIProfiles",
|
||||
"verboseAliasNodeTreeParserLog",
|
||||
"verboseCombatLog",
|
||||
"verboseFaunaMgrLog",
|
||||
"verboseFaunaParseLog",
|
||||
"verboseNPCBotProfiles",
|
||||
"verboseNPCMgrLog",
|
||||
"verboseNPCParserLog",
|
||||
"verboseNpcDescriptionMsgLog",
|
||||
"verbosePrimitiveParserLog",
|
||||
// "verboseSwitchMultipleChangesOfAProperty",
|
||||
};
|
||||
|
||||
// commands for Newbieland continent
|
||||
StartCommandsWhenMirrorReadyNewbieland =
|
||||
{
|
||||
"loadContinent newbieland",
|
||||
"createStaticAIInstance newbieland",
|
||||
"loadMapsFromCommon newbieland_all",
|
||||
};
|
||||
|
||||
// commands for post continents loading
|
||||
StartCommandsWhenMirrorReadyPost =
|
||||
{
|
||||
"spawnInstances",
|
||||
"updateAI",
|
||||
"updateAI",
|
||||
};
|
||||
|
||||
|
||||
// commands for Ring continents
|
||||
StartCommandsWhenMirrorReadyRing =
|
||||
{
|
||||
"loadContinent r2_desert",
|
||||
"createDynamicAIInstance 10000",
|
||||
"loadPrimitiveFile dummy.primitive",
|
||||
|
||||
"loadContinent r2_forest",
|
||||
"createDynamicAIInstance 10001",
|
||||
"loadPrimitiveFile dummy.primitive",
|
||||
|
||||
"loadContinent r2_lakes",
|
||||
"createDynamicAIInstance 10003",
|
||||
"loadPrimitiveFile dummy.primitive",
|
||||
|
||||
"loadContinent r2_jungle",
|
||||
"createDynamicAIInstance 10002",
|
||||
"loadPrimitiveFile dummy.primitive",
|
||||
|
||||
"loadContinent r2_roots",
|
||||
"createDynamicAIInstance 10004",
|
||||
"loadPrimitiveFile dummy.primitive",
|
||||
|
||||
// "spawnInstances",
|
||||
"updateAI",
|
||||
"updateAI",
|
||||
|
||||
// L5 connect to the shard unifier
|
||||
"unifiedNetwork.addService ShardUnifier ( address="+SUAddress+" sendId external autoRetry )",
|
||||
|
||||
// Create a shard AIS Module
|
||||
"moduleManager.createModule AisControl ais",
|
||||
// Connect AIS
|
||||
"ais.plug gw"
|
||||
};
|
||||
|
|
|
@ -1,32 +1,32 @@
|
|||
#include "common.cfg"
|
||||
|
||||
// ---- service NeL variables (used by ConfigFile class)
|
||||
|
||||
DontUseNS = 1;
|
||||
|
||||
// ---- service NeL variables (used by CVariable class)
|
||||
|
||||
ListeningPort = 49990;
|
||||
|
||||
// ---- service custom variables (used by ConfigFile class)
|
||||
|
||||
// Listening port for the Web server to connect in
|
||||
|
||||
WebPort = 49898;
|
||||
|
||||
BSReadState = 1;
|
||||
|
||||
|
||||
// ---- service custom variables (used by CVariable class)
|
||||
|
||||
// Port for the Layer 3 interface of the backup service
|
||||
L3ListeningPort = 49950;
|
||||
|
||||
// template path from SaveShardRoot to find character saves
|
||||
SaveTemplatePath = "$shard/characters/account_$userid_$charid$ext";
|
||||
|
||||
// character saves possible extension list
|
||||
SaveExtList = "_pdr.bin _pdr.xml .bin";
|
||||
|
||||
//BSFilePrefix = "R:/code/ryzom/r2_shard/";
|
||||
//BSFileSubst = "r2_shard/";
|
||||
#include "common.cfg"
|
||||
|
||||
// ---- service NeL variables (used by ConfigFile class)
|
||||
|
||||
DontUseNS = 1;
|
||||
|
||||
// ---- service NeL variables (used by CVariable class)
|
||||
|
||||
ListeningPort = 49990;
|
||||
|
||||
// ---- service custom variables (used by ConfigFile class)
|
||||
|
||||
// Listening port for the Web server to connect in
|
||||
|
||||
WebPort = 49898;
|
||||
|
||||
BSReadState = 1;
|
||||
|
||||
|
||||
// ---- service custom variables (used by CVariable class)
|
||||
|
||||
// Port for the Layer 3 interface of the backup service
|
||||
L3ListeningPort = 49950;
|
||||
|
||||
// template path from SaveShardRoot to find character saves
|
||||
SaveTemplatePath = "$shard/characters/account_$userid_$charid$ext";
|
||||
|
||||
// character saves possible extension list
|
||||
SaveExtList = "_pdr.bin _pdr.xml .bin";
|
||||
|
||||
//BSFilePrefix = "R:/code/ryzom/r2_shard/";
|
||||
//BSFileSubst = "r2_shard/";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// ---- config local variables
|
||||
|
||||
// Used by ConfigFile in EGS and WS
|
||||
ShardId = 302;
|
||||
ShardId = 302;
|
||||
|
||||
// Used by CVariable in WS
|
||||
PlayerLimit = 5000;
|
||||
|
@ -96,5 +96,4 @@ WriteFilesDirectory = "data_shard";
|
|||
|
||||
// ---- service custom variables (used by ConfigFile class)
|
||||
|
||||
|
||||
// ---- service custom variables (used by CVariable class)
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
|
||||
DelayBeforeStartAct = 1;
|
||||
MaxNpcs = 300;
|
||||
MaxStaticObjects = 200;
|
||||
|
||||
StartCommands +=
|
||||
{
|
||||
"unifiedNetwork.addService ShardUnifier ( address="+SUAddress+" sendId external autoRetry )",
|
||||
};
|
||||
|
||||
DelayBeforeStartAct = 1;
|
||||
MaxNpcs = 300;
|
||||
MaxStaticObjects = 200;
|
||||
|
||||
StartCommands +=
|
||||
{
|
||||
"unifiedNetwork.addService ShardUnifier ( address="+SUAddress+" sendId external autoRetry )",
|
||||
};
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,104 +1,104 @@
|
|||
#include "common.cfg"
|
||||
|
||||
// Configure module gateway for front end operation
|
||||
StartCommands +=
|
||||
{
|
||||
// Add a security plugin (will add player info on player module proxy)
|
||||
"gw.securityCreate FESecurity",
|
||||
// create a front end service transport
|
||||
"gw.transportAdd FEServer fes",
|
||||
// set the transport option (need PeerInvisible and Firewalled)
|
||||
"gw.transportOptions fes(PeerInvisible Firewalled)",
|
||||
// open the transport
|
||||
"gw.transportCmd fes(open)",
|
||||
};
|
||||
|
||||
|
||||
// UDP port for client communication
|
||||
//FrontendPort = 47851;
|
||||
|
||||
ListenAddress = FSListenHost+":"+FSUDPPort;
|
||||
|
||||
// Maximum size that can be read from a client message
|
||||
DatagramLength = 10000;
|
||||
|
||||
// Time-out before removing a client when it does not send any more data
|
||||
ClientTimeOut = 600000; // 10 min
|
||||
|
||||
// Time-out before removing a limbo client when it does not send any more data
|
||||
LimboTimeOut = 60000; // 1 min
|
||||
|
||||
// Maximum bytes per game cycle sent to all clients (currently not used/implemented)
|
||||
TotalBandwidth = 536870911; // <512 MB : max value for 32 bit bitsize !
|
||||
|
||||
// Maximum bytes per game cycle sent to a client, including all headers
|
||||
ClientBandwidth = 332 * BandwidthRatio; // 332 <=> 13 kbit/s at 5 Hz; 202 <=> 16 kbit/s at 10 Hz
|
||||
|
||||
// Maximum bytes for impulsion channels per datagram sent to a client
|
||||
ImpulsionByteSize0 = 20 * BandwidthRatio;
|
||||
ImpulsionByteSize1 = 200 * BandwidthRatio;
|
||||
ImpulsionByteSize2 = 200 * BandwidthRatio;
|
||||
NbMinimalVisualBytes = 50;
|
||||
|
||||
// Distance/delta ratio that triggers the sending of a position
|
||||
DistanceDeltaRatioForPos = 100;
|
||||
|
||||
// Number of game cycles per front-end cycle
|
||||
GameCycleRatio = 1;
|
||||
// Execution period of distance calculation
|
||||
CalcDistanceExecutionPeriod = 8;
|
||||
// Execution period of position prioritization
|
||||
PositionPrioExecutionPeriod = 2;
|
||||
// Execution period of orientation prioritization
|
||||
OrientationPrioExecutionPeriod = 8;
|
||||
// Execution period of discreet properties prioritization
|
||||
DiscreetPrioExecutionPeriod = 2;
|
||||
|
||||
SortPrioExecutionPeriod = 1;
|
||||
|
||||
// Display or not the "FE" nlinfos
|
||||
DisplayInfo = 1;
|
||||
|
||||
// Prioritizer mode (currently the only mode is 1 for DistanceDelta)
|
||||
PriorityMode = 1;
|
||||
|
||||
// Strategy for selecting pairs to prioritize (Power2WithCeiling=0, Scoring=1)
|
||||
SelectionStrategy = 1;
|
||||
|
||||
// Minimum number of pairs to select for prioritization
|
||||
MinNbPairsToSelect = 2000;
|
||||
|
||||
// Index of client to monitor, or 0 for no monitoring
|
||||
ClientMonitor = 0;
|
||||
|
||||
// Allow or not beeping
|
||||
AllowBeep = 1;
|
||||
|
||||
Lag = 0; // The lag on the simulated network (used by simlag)
|
||||
PacketLoss = 0; // percentage of lost packet (used by simlag)
|
||||
PacketDuplication = 0; // percentage of duplicated packet (used by simlag)
|
||||
PacketDisordering = 0; // percentage of disordered packet (used by simlag) (Lag must be >100 to use disordering)
|
||||
|
||||
// ----------------------------------------
|
||||
// Frontend/Patch mode settings
|
||||
|
||||
// If 1, the frontend server is used in Patch/Frontend mode (0 = only frontend mode, old behaviour)
|
||||
UseWebPatchServer = 1;
|
||||
|
||||
// If 0, the frontend service is in Patch mode at startup, and it won't accept clients unless WS tells it to do so.
|
||||
AcceptClientsAtStartup = 1;
|
||||
|
||||
// Patch URL footer. PatchURL will look like 'http://223.254.124.23:43435/patch'
|
||||
PatchingURLFooter = ":43435/patch";
|
||||
|
||||
// System command to be executed when FS tries to start Web Patch server (ideally at FS startup)
|
||||
StartWebServerSysCommand = "";
|
||||
|
||||
// System command to be executed when FS tries to stop Web Patch server (ideally when FS turns to frontend mode)
|
||||
StopWebServerSysCommand = "";
|
||||
|
||||
// Use Thread for sending
|
||||
UseSendThread = 1;
|
||||
|
||||
// Unidirectional Mirror mode (FS part)
|
||||
ExpediteTOCK = 1;
|
||||
#include "common.cfg"
|
||||
|
||||
// Configure module gateway for front end operation
|
||||
StartCommands +=
|
||||
{
|
||||
// Add a security plugin (will add player info on player module proxy)
|
||||
"gw.securityCreate FESecurity",
|
||||
// create a front end service transport
|
||||
"gw.transportAdd FEServer fes",
|
||||
// set the transport option (need PeerInvisible and Firewalled)
|
||||
"gw.transportOptions fes(PeerInvisible Firewalled)",
|
||||
// open the transport
|
||||
"gw.transportCmd fes(open)",
|
||||
};
|
||||
|
||||
|
||||
// UDP port for client communication
|
||||
//FrontendPort = 47851;
|
||||
|
||||
ListenAddress = FSListenHost+":"+FSUDPPort;
|
||||
|
||||
// Maximum size that can be read from a client message
|
||||
DatagramLength = 10000;
|
||||
|
||||
// Time-out before removing a client when it does not send any more data
|
||||
ClientTimeOut = 600000; // 10 min
|
||||
|
||||
// Time-out before removing a limbo client when it does not send any more data
|
||||
LimboTimeOut = 60000; // 1 min
|
||||
|
||||
// Maximum bytes per game cycle sent to all clients (currently not used/implemented)
|
||||
TotalBandwidth = 536870911; // <512 MB : max value for 32 bit bitsize !
|
||||
|
||||
// Maximum bytes per game cycle sent to a client, including all headers
|
||||
ClientBandwidth = 332 * BandwidthRatio; // 332 <=> 13 kbit/s at 5 Hz; 202 <=> 16 kbit/s at 10 Hz
|
||||
|
||||
// Maximum bytes for impulsion channels per datagram sent to a client
|
||||
ImpulsionByteSize0 = 20 * BandwidthRatio;
|
||||
ImpulsionByteSize1 = 200 * BandwidthRatio;
|
||||
ImpulsionByteSize2 = 200 * BandwidthRatio;
|
||||
NbMinimalVisualBytes = 50;
|
||||
|
||||
// Distance/delta ratio that triggers the sending of a position
|
||||
DistanceDeltaRatioForPos = 100;
|
||||
|
||||
// Number of game cycles per front-end cycle
|
||||
GameCycleRatio = 1;
|
||||
// Execution period of distance calculation
|
||||
CalcDistanceExecutionPeriod = 8;
|
||||
// Execution period of position prioritization
|
||||
PositionPrioExecutionPeriod = 2;
|
||||
// Execution period of orientation prioritization
|
||||
OrientationPrioExecutionPeriod = 8;
|
||||
// Execution period of discreet properties prioritization
|
||||
DiscreetPrioExecutionPeriod = 2;
|
||||
|
||||
SortPrioExecutionPeriod = 1;
|
||||
|
||||
// Display or not the "FE" nlinfos
|
||||
DisplayInfo = 1;
|
||||
|
||||
// Prioritizer mode (currently the only mode is 1 for DistanceDelta)
|
||||
PriorityMode = 1;
|
||||
|
||||
// Strategy for selecting pairs to prioritize (Power2WithCeiling=0, Scoring=1)
|
||||
SelectionStrategy = 1;
|
||||
|
||||
// Minimum number of pairs to select for prioritization
|
||||
MinNbPairsToSelect = 2000;
|
||||
|
||||
// Index of client to monitor, or 0 for no monitoring
|
||||
ClientMonitor = 0;
|
||||
|
||||
// Allow or not beeping
|
||||
AllowBeep = 1;
|
||||
|
||||
Lag = 0; // The lag on the simulated network (used by simlag)
|
||||
PacketLoss = 0; // percentage of lost packet (used by simlag)
|
||||
PacketDuplication = 0; // percentage of duplicated packet (used by simlag)
|
||||
PacketDisordering = 0; // percentage of disordered packet (used by simlag) (Lag must be >100 to use disordering)
|
||||
|
||||
// ----------------------------------------
|
||||
// Frontend/Patch mode settings
|
||||
|
||||
// If 1, the frontend server is used in Patch/Frontend mode (0 = only frontend mode, old behaviour)
|
||||
UseWebPatchServer = 1;
|
||||
|
||||
// If 0, the frontend service is in Patch mode at startup, and it won't accept clients unless WS tells it to do so.
|
||||
AcceptClientsAtStartup = 1;
|
||||
|
||||
// Patch URL footer. PatchURL will look like 'http://223.254.124.23:43435/patch'
|
||||
PatchingURLFooter = ":43435/patch";
|
||||
|
||||
// System command to be executed when FS tries to start Web Patch server (ideally at FS startup)
|
||||
StartWebServerSysCommand = "";
|
||||
|
||||
// System command to be executed when FS tries to stop Web Patch server (ideally when FS turns to frontend mode)
|
||||
StopWebServerSysCommand = "";
|
||||
|
||||
// Use Thread for sending
|
||||
UseSendThread = 1;
|
||||
|
||||
// Unidirectional Mirror mode (FS part)
|
||||
ExpediteTOCK = 1;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "common.cfg"
|
||||
|
||||
CheckPlayerSpeed = 0;
|
||||
SecuritySpeedFactor = 1.5;
|
||||
|
||||
LoadPacsPrims = 0;
|
||||
LoadPacsCol = 1;
|
||||
#include "common.cfg"
|
||||
|
||||
CheckPlayerSpeed = 0;
|
||||
SecuritySpeedFactor = 1.5;
|
||||
|
||||
LoadPacsPrims = 0;
|
||||
LoadPacsCol = 1;
|
||||
|
|
|
@ -1,95 +1,95 @@
|
|||
#include "common.cfg"
|
||||
|
||||
// ---- service NeL variables (used by ConfigFile class)
|
||||
|
||||
StartCommands +=
|
||||
{
|
||||
// L5 connect to the shard unifier
|
||||
"unifiedNetwork.addService ShardUnifier ( address="+SUAddress+" sendId external autoRetry )",
|
||||
|
||||
// Create a gateway for global interconnection
|
||||
// modules from different shard are visible to each other if they connect to
|
||||
// this gateway. SU Local module have no interest to be plugged here.
|
||||
"moduleManager.createModule StandardGateway glob_gw",
|
||||
// add a layer 3 server transport
|
||||
"glob_gw.transportAdd L3Client l3c",
|
||||
// open the transport
|
||||
"glob_gw.transportCmd l3c(connect addr="+SUHost+":"+SUGlobalPort+")",
|
||||
|
||||
// Create a gateway for logger service connection
|
||||
"moduleManager.createModule StandardGateway lgs_gw",
|
||||
|
||||
// add a layer 3 server transport for master logger service
|
||||
"lgs_gw.transportAdd L3Client masterL3c",
|
||||
// open the transport
|
||||
"lgs_gw.transportCmd masterL3c(connect addr="+MasterLGSHost+":"+L3MasterLGSPort+")",
|
||||
};
|
||||
|
||||
#ifndef DONT_USE_LGS_SLAVE
|
||||
|
||||
StartCommands +=
|
||||
{
|
||||
// add a layer 3 server transport for slave logger service
|
||||
"lgs_gw.transportAdd L3Client slaveL3c",
|
||||
// open the transport
|
||||
"lgs_gw.transportCmd slaveL3c(connect addr="+SlaveLGSHost+":"+L3SlaveLGSPort+")",
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
StartCommands +=
|
||||
{
|
||||
// Create a chat unifier client
|
||||
"moduleManager.createModule ChatUnifierClient cuc",
|
||||
|
||||
// and plug it on the gateway to reach the SU ChatUnifierServer
|
||||
"cuc.plug glob_gw",
|
||||
"cuc.plug gw",
|
||||
|
||||
// Create the logger service client module
|
||||
"moduleManager.createModule LoggerServiceClient lsc",
|
||||
"lsc.plug lgs_gw",
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
// ---- service NeL variables (used by CVariable class)
|
||||
|
||||
// ---- service custom variables (used by ConfigFile class)
|
||||
|
||||
// a list of system command that can be run with "sysCmd" service command.
|
||||
SystemCmd = {};
|
||||
|
||||
// IOS don't use work directory by default
|
||||
ReadTranslationWork = 0;
|
||||
TranslationWorkPath = "translation/work";
|
||||
|
||||
// Global shard bot name translation file. You sould overide this
|
||||
// in input_output_service.cfg to specialize the file
|
||||
// depending on the shard main language.
|
||||
BotNameTranslationFile = "bot_names.txt";
|
||||
|
||||
// Global shard event faction translation file. You sould override this
|
||||
// in input_output_service.cfg to specialize the file
|
||||
// depending on the shard main language.
|
||||
EventFactionTranslationFile = "event_factions.txt";
|
||||
|
||||
|
||||
// ---- service custom variables (used by CVariable class)
|
||||
|
||||
// Activate/deactivate debugging of missing paremeter replacement
|
||||
DebugReplacementParameter = 1;
|
||||
|
||||
// Default verbose debug flags:
|
||||
//-----------------------------
|
||||
|
||||
// Log bot name translation from 'BotNameTranslationFile'
|
||||
VerboseNameTranslation = 1;
|
||||
// Log chat management operation
|
||||
VerboseChatManagement = 1;
|
||||
// Log chat event
|
||||
VerboseChat = 1;
|
||||
// Log string manager message
|
||||
VerboseStringManager = 1;
|
||||
// Log the string manager parsing message
|
||||
VerboseStringManagerParser = 0;
|
||||
#include "common.cfg"
|
||||
|
||||
// ---- service NeL variables (used by ConfigFile class)
|
||||
|
||||
StartCommands +=
|
||||
{
|
||||
// L5 connect to the shard unifier
|
||||
"unifiedNetwork.addService ShardUnifier ( address="+SUAddress+" sendId external autoRetry )",
|
||||
|
||||
// Create a gateway for global interconnection
|
||||
// modules from different shard are visible to each other if they connect to
|
||||
// this gateway. SU Local module have no interest to be plugged here.
|
||||
"moduleManager.createModule StandardGateway glob_gw",
|
||||
// add a layer 3 server transport
|
||||
"glob_gw.transportAdd L3Client l3c",
|
||||
// open the transport
|
||||
"glob_gw.transportCmd l3c(connect addr="+SUHost+":"+SUGlobalPort+")",
|
||||
|
||||
// Create a gateway for logger service connection
|
||||
"moduleManager.createModule StandardGateway lgs_gw",
|
||||
|
||||
// add a layer 3 server transport for master logger service
|
||||
"lgs_gw.transportAdd L3Client masterL3c",
|
||||
// open the transport
|
||||
"lgs_gw.transportCmd masterL3c(connect addr="+MasterLGSHost+":"+L3MasterLGSPort+")",
|
||||
};
|
||||
|
||||
#ifndef DONT_USE_LGS_SLAVE
|
||||
|
||||
StartCommands +=
|
||||
{
|
||||
// add a layer 3 server transport for slave logger service
|
||||
"lgs_gw.transportAdd L3Client slaveL3c",
|
||||
// open the transport
|
||||
"lgs_gw.transportCmd slaveL3c(connect addr="+SlaveLGSHost+":"+L3SlaveLGSPort+")",
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
StartCommands +=
|
||||
{
|
||||
// Create a chat unifier client
|
||||
"moduleManager.createModule ChatUnifierClient cuc",
|
||||
|
||||
// and plug it on the gateway to reach the SU ChatUnifierServer
|
||||
"cuc.plug glob_gw",
|
||||
"cuc.plug gw",
|
||||
|
||||
// Create the logger service client module
|
||||
"moduleManager.createModule LoggerServiceClient lsc",
|
||||
"lsc.plug lgs_gw",
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
// ---- service NeL variables (used by CVariable class)
|
||||
|
||||
// ---- service custom variables (used by ConfigFile class)
|
||||
|
||||
// a list of system command that can be run with "sysCmd" service command.
|
||||
SystemCmd = {};
|
||||
|
||||
// IOS don't use work directory by default
|
||||
ReadTranslationWork = 0;
|
||||
TranslationWorkPath = "translation/work";
|
||||
|
||||
// Global shard bot name translation file. You sould overide this
|
||||
// in input_output_service.cfg to specialize the file
|
||||
// depending on the shard main language.
|
||||
BotNameTranslationFile = "bot_names.txt";
|
||||
|
||||
// Global shard event faction translation file. You sould override this
|
||||
// in input_output_service.cfg to specialize the file
|
||||
// depending on the shard main language.
|
||||
EventFactionTranslationFile = "event_factions.txt";
|
||||
|
||||
|
||||
// ---- service custom variables (used by CVariable class)
|
||||
|
||||
// Activate/deactivate debugging of missing paremeter replacement
|
||||
DebugReplacementParameter = 1;
|
||||
|
||||
// Default verbose debug flags:
|
||||
//-----------------------------
|
||||
|
||||
// Log bot name translation from 'BotNameTranslationFile'
|
||||
VerboseNameTranslation = 1;
|
||||
// Log chat management operation
|
||||
VerboseChatManagement = 1;
|
||||
// Log chat event
|
||||
VerboseChat = 1;
|
||||
// Log string manager message
|
||||
VerboseStringManager = 1;
|
||||
// Log the string manager parsing message
|
||||
VerboseStringManagerParser = 0;
|
||||
|
|
|
@ -1,29 +1,29 @@
|
|||
#include "common.cfg"
|
||||
|
||||
// ---- service NeL variables (used by ConfigFile class)
|
||||
|
||||
DontUseNS = 1;
|
||||
|
||||
// ---- service NeL variables (used by CVariable class)
|
||||
|
||||
// ---- service custom variables (used by ConfigFile class)
|
||||
|
||||
|
||||
// ---- service custom variables (used by CVariable class)
|
||||
|
||||
WebRootDirectory = "save_shard/www";
|
||||
|
||||
// Set if Hall of Fame generator is enabled
|
||||
HoFEnableGenerator = 1;
|
||||
|
||||
// Set if HoF generator is verbose
|
||||
HoFVerbose = 0;
|
||||
|
||||
// Directory where HDT files are
|
||||
HoFHDTDirectory = "/local/www/hof/hdt";
|
||||
|
||||
// HoF generator maximum update period in milliseconds
|
||||
HoFGeneratorUpdatePeriod = 200;
|
||||
|
||||
// HoF generator directory update period in seconds
|
||||
HoFGeneratorDirUpdatePeriod = 60;
|
||||
#include "common.cfg"
|
||||
|
||||
// ---- service NeL variables (used by ConfigFile class)
|
||||
|
||||
DontUseNS = 1;
|
||||
|
||||
// ---- service NeL variables (used by CVariable class)
|
||||
|
||||
// ---- service custom variables (used by ConfigFile class)
|
||||
|
||||
|
||||
// ---- service custom variables (used by CVariable class)
|
||||
|
||||
WebRootDirectory = "save_shard/www";
|
||||
|
||||
// Set if Hall of Fame generator is enabled
|
||||
HoFEnableGenerator = 1;
|
||||
|
||||
// Set if HoF generator is verbose
|
||||
HoFVerbose = 0;
|
||||
|
||||
// Directory where HDT files are
|
||||
HoFHDTDirectory = "/local/www/hof/hdt";
|
||||
|
||||
// HoF generator maximum update period in milliseconds
|
||||
HoFGeneratorUpdatePeriod = 200;
|
||||
|
||||
// HoF generator directory update period in seconds
|
||||
HoFGeneratorDirUpdatePeriod = 60;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "common.cfg"
|
||||
|
||||
// ---- service custom variables (used by ConfigFile class)
|
||||
|
||||
// Linux only
|
||||
DestroyGhostSegments = 1;
|
||||
#include "common.cfg"
|
||||
|
||||
// ---- service custom variables (used by ConfigFile class)
|
||||
|
||||
// Linux only
|
||||
DestroyGhostSegments = 1;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "common.cfg"
|
||||
|
||||
SId = 1;
|
||||
DontUseNS = 1;
|
||||
|
||||
UniqueOnShardServices = {}; // { "EGS", "GPMS", "IOS", "TICKS", "WS", "AIS", "DSS" };
|
||||
UniqueByMachineServices = {}; // { "MS" };
|
||||
#include "common.cfg"
|
||||
|
||||
SId = 1;
|
||||
DontUseNS = 1;
|
||||
|
||||
UniqueOnShardServices = {}; // { "EGS", "GPMS", "IOS", "TICKS", "WS", "AIS", "DSS" };
|
||||
UniqueByMachineServices = {}; // { "MS" };
|
||||
|
|
|
@ -37,7 +37,7 @@ DontUseSU = 0;
|
|||
|
||||
HomeMainlandNames =
|
||||
{
|
||||
"302", "Open", "open",
|
||||
"302", "Open", "open",
|
||||
};
|
||||
|
||||
// The max number of ring points (aka ring access) for each ecosystem
|
||||
|
|
|
@ -1 +1 @@
|
|||
#include "common.cfg"
|
||||
#include "common.cfg"
|
||||
|
|
|
@ -1,33 +1,33 @@
|
|||
#include "common.cfg"
|
||||
|
||||
DontUseNS = 1;
|
||||
|
||||
StartCommands +=
|
||||
{
|
||||
// Create a gateway for global interconnection
|
||||
// modules from different shard are visible to each other if they connect to
|
||||
// this gateway. SU Local module have no interest to be plugged here.
|
||||
"moduleManager.createModule StandardGateway glob_gw",
|
||||
// add a layer 3 server transport
|
||||
"glob_gw.transportAdd L3Server l3s",
|
||||
// open the transport
|
||||
"glob_gw.transportCmd l3s(open port="+SUGlobalPort+")",
|
||||
// Create a session manager module
|
||||
"moduleManager.createModule RingSessionManager rsm web(port=49999) ring_db(host="+DBHost+" user="+DBRingUser+" password="+DBRingPass+" base="+DBRingName+") nel_db(host="+DBHost+" user="+DBNelUser+" password="+DBNelPass+" base="+DBNelName+")",
|
||||
"rsm.plug gw",
|
||||
// Create a login service module
|
||||
"moduleManager.createModule LoginService ls ring_db(host="+DBHost+" user="+DBRingUser+" password="+DBRingPass+" base="+DBRingName+") web(port=49998) nel_db(host="+DBHost+" user="+DBNelUser+" password="+DBNelPass+" base="+DBNelName+")",
|
||||
"ls.plug gw",
|
||||
// Create a character synchronization module
|
||||
"moduleManager.createModule CharacterSynchronisation cs fake_edit_char ring_db(host="+DBHost+" user="+DBRingUser+" password="+DBRingPass+" base="+DBRingName+")",
|
||||
"cs.plug gw",
|
||||
// Create entity locator module
|
||||
"moduleManager.createModule EntityLocator el ring_db(host="+DBHost+" user="+DBRingUser+" password="+DBRingPass+" base="+DBRingName+") nel_db(host="+DBHost+" user="+DBNelUser+" password="+DBNelPass+" base="+DBNelName+")",
|
||||
"el.plug gw",
|
||||
// Create a mail forum notifier forwarder
|
||||
"moduleManager.createModule MailForumNotifierFwd mfnfwd ring_db(host="+DBHost+" user="+DBRingUser+" password="+DBRingPass+" base="+DBRingName+") web(port=49897)",
|
||||
"mfnfwd.plug gw",
|
||||
// Create a chat unifier server module
|
||||
"moduleManager.createModule ChatUnifierServer cus ring_db(host="+DBHost+" user="+DBRingUser+" password="+DBRingPass+" base="+DBRingName+")",
|
||||
"cus.plug gw",
|
||||
};
|
||||
#include "common.cfg"
|
||||
|
||||
DontUseNS = 1;
|
||||
|
||||
StartCommands +=
|
||||
{
|
||||
// Create a gateway for global interconnection
|
||||
// modules from different shard are visible to each other if they connect to
|
||||
// this gateway. SU Local module have no interest to be plugged here.
|
||||
"moduleManager.createModule StandardGateway glob_gw",
|
||||
// add a layer 3 server transport
|
||||
"glob_gw.transportAdd L3Server l3s",
|
||||
// open the transport
|
||||
"glob_gw.transportCmd l3s(open port="+SUGlobalPort+")",
|
||||
// Create a session manager module
|
||||
"moduleManager.createModule RingSessionManager rsm web(port=49999) ring_db(host="+DBHost+" user="+DBRingUser+" password="+DBRingPass+" base="+DBRingName+") nel_db(host="+DBHost+" user="+DBNelUser+" password="+DBNelPass+" base="+DBNelName+")",
|
||||
"rsm.plug gw",
|
||||
// Create a login service module
|
||||
"moduleManager.createModule LoginService ls ring_db(host="+DBHost+" user="+DBRingUser+" password="+DBRingPass+" base="+DBRingName+") web(port=49998) nel_db(host="+DBHost+" user="+DBNelUser+" password="+DBNelPass+" base="+DBNelName+")",
|
||||
"ls.plug gw",
|
||||
// Create a character synchronization module
|
||||
"moduleManager.createModule CharacterSynchronisation cs fake_edit_char ring_db(host="+DBHost+" user="+DBRingUser+" password="+DBRingPass+" base="+DBRingName+")",
|
||||
"cs.plug gw",
|
||||
// Create entity locator module
|
||||
"moduleManager.createModule EntityLocator el ring_db(host="+DBHost+" user="+DBRingUser+" password="+DBRingPass+" base="+DBRingName+") nel_db(host="+DBHost+" user="+DBNelUser+" password="+DBNelPass+" base="+DBNelName+")",
|
||||
"el.plug gw",
|
||||
// Create a mail forum notifier forwarder
|
||||
"moduleManager.createModule MailForumNotifierFwd mfnfwd ring_db(host="+DBHost+" user="+DBRingUser+" password="+DBRingPass+" base="+DBRingName+") web(port=49897)",
|
||||
"mfnfwd.plug gw",
|
||||
// Create a chat unifier server module
|
||||
"moduleManager.createModule ChatUnifierServer cus ring_db(host="+DBHost+" user="+DBRingUser+" password="+DBRingPass+" base="+DBRingName+")",
|
||||
"cus.plug gw",
|
||||
};
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#include "common.cfg"
|
||||
|
||||
/// A list of vars to graph for TS
|
||||
GraphVars +=
|
||||
{
|
||||
"TotalSpeedLoop", "60000", // low rez, every minutes
|
||||
"TotalSpeedLoop", "0", // high rez, every tick
|
||||
};
|
||||
#include "common.cfg"
|
||||
|
||||
/// A list of vars to graph for TS
|
||||
GraphVars +=
|
||||
{
|
||||
"TotalSpeedLoop", "60000", // low rez, every minutes
|
||||
"TotalSpeedLoop", "0", // high rez, every tick
|
||||
};
|
||||
|
|
|
@ -1,38 +1,38 @@
|
|||
#include "common.cfg"
|
||||
|
||||
// short name of the frontend service
|
||||
FrontendServiceName = "FS";
|
||||
|
||||
// in ring architecture, we no more use the legacy LS
|
||||
DontUseLS = 1;
|
||||
|
||||
// if any of this services is not connected, the WS is closed.
|
||||
ExpectedServices = { "FS", "MS", "EGS", "GPMS", "IOS", "TICKS" };
|
||||
|
||||
// Access level to shard
|
||||
// 0: only dev
|
||||
// 1: dev + privileged users (see also OpenGroups variable)
|
||||
// 2: open for all
|
||||
ShardOpen = 2;
|
||||
|
||||
// File that contains the ShardOpen value (used to override ShardOpen value through AES' command createFile)
|
||||
// For instance, ShardOpen default value is 0, then AES creates a file to set ShardOpen to 2. If WS crashes,
|
||||
// ShardOpen is still set to 2 when it relaunches...
|
||||
// ShardOpenStateFile = "/tmp/shard_open_state";
|
||||
|
||||
// Privileged Groups
|
||||
OpenGroups = ":GM:SGM:G:SG:GUEST:";
|
||||
|
||||
UsePatchMode = 0;
|
||||
|
||||
// create welcome service module
|
||||
StartCommands +=
|
||||
{
|
||||
// create the service
|
||||
"moduleManager.createModule WelcomeService ws",
|
||||
// plug it in the gateway
|
||||
"ws.plug gw",
|
||||
|
||||
// add the SU service
|
||||
"unifiedNetwork.addService ShardUnifier ( address="+SUAddress+" sendId external autoRetry )",
|
||||
};
|
||||
#include "common.cfg"
|
||||
|
||||
// short name of the frontend service
|
||||
FrontendServiceName = "FS";
|
||||
|
||||
// in ring architecture, we no more use the legacy LS
|
||||
DontUseLS = 1;
|
||||
|
||||
// if any of this services is not connected, the WS is closed.
|
||||
ExpectedServices = { "FS", "MS", "EGS", "GPMS", "IOS", "TICKS" };
|
||||
|
||||
// Access level to shard
|
||||
// 0: only dev
|
||||
// 1: dev + privileged users (see also OpenGroups variable)
|
||||
// 2: open for all
|
||||
ShardOpen = 2;
|
||||
|
||||
// File that contains the ShardOpen value (used to override ShardOpen value through AES' command createFile)
|
||||
// For instance, ShardOpen default value is 0, then AES creates a file to set ShardOpen to 2. If WS crashes,
|
||||
// ShardOpen is still set to 2 when it relaunches...
|
||||
// ShardOpenStateFile = "/tmp/shard_open_state";
|
||||
|
||||
// Privileged Groups
|
||||
OpenGroups = ":GM:SGM:G:SG:GUEST:";
|
||||
|
||||
UsePatchMode = 0;
|
||||
|
||||
// create welcome service module
|
||||
StartCommands +=
|
||||
{
|
||||
// create the service
|
||||
"moduleManager.createModule WelcomeService ws",
|
||||
// plug it in the gateway
|
||||
"ws.plug gw",
|
||||
|
||||
// add the SU service
|
||||
"unifiedNetwork.addService ShardUnifier ( address="+SUAddress+" sendId external autoRetry )",
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue