mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-15 03:59:06 +00:00
96 lines
2.9 KiB
INI
96 lines
2.9 KiB
INI
|
#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;
|