Changed: new cfg cleaned by kerozcak
parent
53579fdd52
commit
a819027d72
@ -1 +1,7 @@
|
|||||||
#include "common.cfg"
|
#include "common.cfg"
|
||||||
|
|
||||||
|
// I'm the AES, I'll not connect to myself!
|
||||||
|
DontUseAES = 1;
|
||||||
|
|
||||||
|
// I don't need a connection to a naming service
|
||||||
|
DontUseNS = 1;
|
||||||
|
@ -1,298 +1,22 @@
|
|||||||
// Use with commandline: ryzom_admin_service --fulladminname=ryzom_admin_service --shortadminname=AS -C. -L. --nobreak --writepid
|
// Use with commandline: ryzom_admin_service --fulladminname=ryzom_admin_service --shortadminname=AS -C. -L. --nobreak --writepid
|
||||||
AESAliasName= "ras";
|
|
||||||
|
// ---- config local variables
|
||||||
|
|
||||||
ASWebPort="46700";
|
ASWebPort="46700";
|
||||||
ASPort="46701";
|
ASPort="46701";
|
||||||
AESPort="46702";
|
|
||||||
SUPort = 50505;
|
|
||||||
SUGlobalPort = 50503;
|
|
||||||
L3BSPort = "49950";
|
|
||||||
L3MasterLGSPort = 41292;
|
|
||||||
L3SlaveLGSPort = 49993;
|
|
||||||
LGSBSPort = 49990;
|
|
||||||
L3LGSBSPort = 49990;
|
|
||||||
LGSL3Port = L3MasterLGSPort;
|
|
||||||
SUHost = "localhost";
|
|
||||||
MFSHost = "localhost";
|
|
||||||
BSHost = "localhost:49990";
|
|
||||||
MasterLGSHost = "localhost";
|
|
||||||
SlaveLGSHost = "localhost";
|
|
||||||
LGSBSHost = "localhost";
|
|
||||||
DBHost = "localhost";
|
|
||||||
#define DONT_USE_LGS_SLAVE
|
|
||||||
// Configure module gateway for layer 5 module comm
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
// Create a gateway module
|
|
||||||
"moduleManager.createModule StandardGateway gw",
|
|
||||||
// add a layer 5 transport
|
|
||||||
"gw.transportAdd L5Transport l5",
|
|
||||||
// open the transport
|
|
||||||
"gw.transportCmd l5(open)",
|
|
||||||
|
|
||||||
/// Create default connection with admin executor service
|
|
||||||
// Create a gateway module
|
|
||||||
"moduleManager.createModule StandardGateway gw_aes",
|
|
||||||
// create the admin executor service module
|
|
||||||
"moduleManager.createModule AdminExecutorServiceClient aes_client",
|
|
||||||
"aes_client.plug gw_aes",
|
|
||||||
|
|
||||||
// create a layer 3 client to connect to aes gateway
|
|
||||||
"gw_aes.transportAdd L3Client aes_l3c",
|
|
||||||
"gw_aes.transportCmd aes_l3c(connect addr=localhost:"+AESPort+")",
|
|
||||||
};
|
|
||||||
|
|
||||||
/// A list of vars to graph for any service
|
|
||||||
GraphVars =
|
|
||||||
{
|
|
||||||
"ProcessUsedMemory", "60000", // every minute
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/* Force default value for PDLib directory (e.g. SaveFilesDirectory...)
|
|
||||||
* PLEASE NOTICE THAT THIS LINE MUST BE LEFT TO ""
|
|
||||||
* Only log analyser must have the $shard parameter to find all shards root directory
|
|
||||||
*/
|
|
||||||
PDRootDirectory = "";
|
|
||||||
|
|
||||||
// Log PD updates to log file (1 enabled, 0 disabled), see PDLogSaveDirectory to choose where to log
|
|
||||||
PDEnableLog = 1;
|
|
||||||
|
|
||||||
// Log PD StringManager updates to log file (1 enabled, 0 disabled), see PDLogSaveDirectory to choose where to log
|
|
||||||
PDEnableStringLog = 0;
|
|
||||||
|
|
||||||
// Number of seconds between 2 logs to file
|
|
||||||
PDLogUpdate = 10;
|
|
||||||
|
|
||||||
// MySGL wrapper strict mode - controls use of asserts if SQL requests fail
|
|
||||||
MSWStrictMode=0;
|
|
||||||
|
|
||||||
// This is the mapping for logical continent to physical one
|
|
||||||
ContinentNameTranslator =
|
|
||||||
{
|
|
||||||
"matis_newbie", "matis",
|
|
||||||
"zorai_newbie", "zorai",
|
|
||||||
"terre", "terre_oubliee",
|
|
||||||
"sources", "sources_interdites"
|
|
||||||
};
|
|
||||||
|
|
||||||
// Block the system in the tick service that provokes stalls when overloaded
|
|
||||||
WaitForBSThreshold=0;
|
|
||||||
|
|
||||||
|
|
||||||
IgnoredFiles = { "continent.cfg", "__read_me.txt", "bandit.html", "flora_primr.primitive" };
|
|
||||||
|
|
||||||
// If the update loop is too slow, a thread will produce an assertion.
|
|
||||||
// By default, the value is set to 10 minutes.
|
|
||||||
// Set to 0 for no assertion.
|
|
||||||
UpdateAssertionThreadTimeout = 6000000;
|
|
||||||
|
|
||||||
DefaultMaxExpectedBlockSize = 200000000; // 200 M !
|
|
||||||
DefaultMaxSentBlockSize = 200000000; // 200 M !
|
|
||||||
|
|
||||||
// MS Packet size limit in bytes, PER DATASET (warning: depending on the weights, limits per property may be very small)
|
|
||||||
MaxOutBandwidth = 100000000;
|
|
||||||
|
|
||||||
// how to sleep between 2 network updates
|
|
||||||
// 0 = pipe
|
|
||||||
// 1 = usleep
|
|
||||||
// 2 = nanosleep
|
|
||||||
// 3 = sched_yield
|
|
||||||
// 4 = nothing
|
|
||||||
UseYieldMethod = 0;
|
|
||||||
|
|
||||||
// The privileges needed to access any ring session
|
|
||||||
PrivilegeForSessionAccess = ":DEV:SGM:GM:SG:";
|
|
||||||
|
|
||||||
// The max number of ring points (aka ring access) for each ecosystem
|
|
||||||
MaxRingPoints = "A1:D7:F7:J8:L6:R13";
|
|
||||||
|
|
||||||
// Level limit for newb scenarios
|
|
||||||
FreeTrialSkillLimit=21;
|
|
||||||
|
|
||||||
// Level limit for newb scenarios
|
|
||||||
DefaultInterShardExchangeLevelCap=0;
|
|
||||||
|
|
||||||
// Configureation for DSS
|
|
||||||
MaxNpcs = 300;
|
|
||||||
MaxStaticObjects = 200;
|
|
||||||
|
|
||||||
// the following variable must be defined but should be empty - it's presence is used to change the behaviour
|
|
||||||
// of the packed sheet reader
|
|
||||||
GeorgePaths = { "" };
|
|
||||||
|
|
||||||
// Disable nel net verbose logging
|
|
||||||
VerboseNETTC = 0;
|
|
||||||
VerboseLNETL0 = 0;
|
|
||||||
VerboseLNETL1 = 0;
|
|
||||||
VerboseLNETL2 = 0;
|
|
||||||
VerboseLNETL3 = 0;
|
|
||||||
VerboseLNETL4 = 0;
|
|
||||||
VerboseLNETL5 = 0;
|
|
||||||
VerboseLNETL6 = 0;
|
|
||||||
|
|
||||||
// Disable ryzom verbose logging
|
|
||||||
VerboseMIRROR = 0;
|
|
||||||
VerboseRingRPLog = 0;
|
|
||||||
VerboseCDBGroup = 0;
|
|
||||||
|
|
||||||
// What to do with characters coming from another mainland shard?
|
|
||||||
// 0: teleport to the stored session id
|
|
||||||
// 1: let the character play anyway, but leave the stored session id unchanged
|
|
||||||
// 2: assign the stored session id with FixedSessionId and let play
|
|
||||||
AllowCharsFromAllSessions = 0;
|
|
||||||
|
|
||||||
// Use Shard Unifier or not
|
|
||||||
DontUseSU = 0;
|
|
||||||
|
|
||||||
// the domain's set of useful addresses
|
|
||||||
LSHost = SUHost;
|
|
||||||
RSMHost = SUHost;
|
|
||||||
|
|
||||||
// MFS config
|
|
||||||
WebSrvUsersDirectory = "";
|
|
||||||
WebRootDirectory = "save_shard/www";
|
|
||||||
HoFHDTDirectory = "/local/www/hof/hdt";
|
|
||||||
|
|
||||||
// BS Specifics --------------------------------------------------------------------------
|
|
||||||
// BS - set to 1 if a BS is not part of a naming service group (then BS not disclosed
|
|
||||||
// to other services by the Layer 5, i.e. the services sending requests to BS have
|
|
||||||
// to know its/their address(es) by another mean)
|
|
||||||
BSDontUseNS = 1;
|
|
||||||
// BS - set the host of the naming service where the BS register
|
|
||||||
BSNSHost = "localhost";
|
|
||||||
UseBS = 1;
|
|
||||||
XMLSave = 0;
|
|
||||||
|
|
||||||
// Where to save specific shard data (ie: player backup), relatively to SaveShardRoot
|
|
||||||
SaveFilesDirectory = "";
|
|
||||||
|
|
||||||
// where to save generic shard data (ie: packed_sheet)
|
|
||||||
WriteFilesDirectory = "data_shard";
|
|
||||||
|
|
||||||
// Will SaveFilesDirectory will be converted to a full path?
|
|
||||||
ConvertSaveFilesDirectoryToFullPath = 0;
|
|
||||||
|
|
||||||
// BS - Root directory where data are backuped to
|
|
||||||
IncrementalBackupDirectory = "../incremental_backup";
|
|
||||||
|
|
||||||
// IOS - Directory to store ios.string_cache file
|
|
||||||
StringManagerCacheDirectory = "data_shard_local";
|
|
||||||
|
|
||||||
// IOS - Directory to log chat into
|
|
||||||
LogChatDirectory = "data_shard_local";
|
|
||||||
|
|
||||||
// MFS - Directories
|
|
||||||
WebRootDirectory = "../www";
|
|
||||||
|
|
||||||
// Root directory where data from shards are stored into
|
|
||||||
SaveShardRoot = "save_shard/";
|
|
||||||
|
|
||||||
// SU Specifics --------------------------------------------------------------------------
|
|
||||||
// SU - set to 1 if SU didn't use a naming service
|
|
||||||
SUDontUseNS = 1;
|
|
||||||
// SU - host for the NS used by SU
|
|
||||||
SUNSHost = "localhost";
|
|
||||||
// SU - listen address of the SU service (for L5 connections)
|
|
||||||
SUAddress = SUHost+":"+SUPort;
|
|
||||||
// SU - nel and ring database names
|
|
||||||
DBNelName = "nel";
|
|
||||||
DBRingName = "ring_open";
|
|
||||||
// Nel DB user
|
|
||||||
DBNelUser = "shard";
|
|
||||||
// Ring DB user
|
|
||||||
DBRingUser = "shard";
|
|
||||||
// SU - password to access to the nel database with DBNelUseruser (default is no password)
|
|
||||||
DBNelPass = "";
|
|
||||||
// SU - password to access to the ring database with DBRingUser (default is no password)
|
|
||||||
DBRingPass = "";
|
|
||||||
|
|
||||||
// WS Specifics --------------------------------------------------------------------------
|
|
||||||
// WS - use or not the legacy WelcomeService from nel ns (only for backward compatibility during transition to ring)
|
|
||||||
DontUseLSService = 1;
|
|
||||||
|
|
||||||
// Global config --------------------------------------------------------------------------
|
|
||||||
// set to 0 if you want to use the admin system
|
|
||||||
DontUseAES = 1;
|
|
||||||
|
|
||||||
// Disable generation / display of nldebug messages
|
|
||||||
DisableNLDebug = 1;
|
|
||||||
FSListenHost = "localhost";
|
|
||||||
DBPass="";
|
|
||||||
ShardId = 302;
|
|
||||||
BasePort = 51000;
|
|
||||||
SaveFilesDirectory="";
|
|
||||||
NSHost = "localhost";
|
|
||||||
// Player limits (AIS, EGS, WS, FS)
|
|
||||||
NbPlayersLimit = 5000;
|
|
||||||
NbGuildLimit = 15000;
|
|
||||||
PlayerLimit = NbPlayersLimit;
|
|
||||||
ClientLimit = 1000;
|
|
||||||
|
|
||||||
// Set this shard as a ring (1) or mainland (0) shard (main behavior switch)
|
|
||||||
IsRingShard = 0;
|
|
||||||
|
|
||||||
// Set a mainland SessionId.
|
|
||||||
// Live: Must be 0 for ring shards, non-zero (usually ShardId) for mainland shards
|
|
||||||
// Dev: Can be non-zero to initially connect a client to a ring shard
|
|
||||||
NoWSShardId = ShardId;
|
|
||||||
FixedSessionId = ShardId;
|
|
||||||
|
|
||||||
// Mirror limits
|
|
||||||
DatasetSizefe_temp = 600000;
|
|
||||||
DatasetSizefame = 26000;
|
|
||||||
|
|
||||||
// FS Specifics --------------------------------------------------------------------------
|
|
||||||
// Client bandwidth ratio, set to 1 for standard opration, more than one allocate more bandwidth
|
|
||||||
BandwidthRatio = 1;
|
|
||||||
|
|
||||||
// EGS Specifics --------------------------------------------------------------------------
|
|
||||||
// Entity Limits (EGS)
|
|
||||||
NbObjectsLimit = 2000;
|
|
||||||
NbNpcSpawnedByEGSLimit = 5000;
|
|
||||||
NbForageSourcesLimit = 10000;
|
|
||||||
NbToxicCloudsLimit = 5000;
|
|
||||||
|
|
||||||
// AIS Specifics --------------------------------------------------------------------------
|
|
||||||
// Entity Limits (AIS)
|
|
||||||
NbPetLimit = NbPlayersLimit*4;
|
|
||||||
NbFaunaLimit = 50000;
|
|
||||||
NbNpcLimit = 20000;
|
|
||||||
NbFxLimit = 500;
|
|
||||||
|
|
||||||
// This is the list of continent to use with their unique instance number
|
|
||||||
UsedContinents =
|
|
||||||
{
|
|
||||||
"newbieland", "20",
|
|
||||||
};
|
|
||||||
|
|
||||||
// define the primitives configuration used.
|
|
||||||
UsedPrimitives =
|
|
||||||
{
|
|
||||||
"newbieland_all",
|
|
||||||
};
|
|
||||||
#include "admin_service_default.cfg"
|
#include "admin_service_default.cfg"
|
||||||
|
|
||||||
Mainlands = {
|
// ---- service NeL variables (used by ConfigFile class)
|
||||||
"302", "Open", "(Open Developer Community)", "en",
|
|
||||||
};
|
|
||||||
HomeMainlandNames =
|
|
||||||
{
|
|
||||||
"302", "Open", "open",
|
|
||||||
};
|
|
||||||
RRDVarPath = "save_shard/rrd_graphs";
|
|
||||||
ReadTranslationWork = 1;
|
|
||||||
TranslationWorkPath = "";
|
|
||||||
|
|
||||||
DontUseAES=1;
|
AESAliasName= "ras";
|
||||||
RingRPEnabled=0;
|
|
||||||
DomainName = "ryzom_open";
|
|
||||||
EnableStlAllocatorChecker = 0;
|
|
||||||
// start commands for setting up the exchange level caps of different ryzom shards
|
|
||||||
StartCommands += { "setShardExchangeLimit 301 250" };
|
|
||||||
StartCommands += { "displayShardExchangeLimits" };
|
|
||||||
StartCommands += { "EnableStlAllocatorChecker 0" };
|
|
||||||
|
|
||||||
Paths = {
|
Paths = {
|
||||||
".",
|
".",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// ---- service NeL variables (used by CVariable class)
|
||||||
|
|
||||||
|
// ---- service custom variables (used by ConfigFile class)
|
||||||
|
|
||||||
|
// ---- service custom variables (used by CVariable class)
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
AESAliasName= "aes_open";
|
|
||||||
AESPort="46702";
|
|
||||||
ASPort="46701";
|
|
@ -1,312 +1,69 @@
|
|||||||
// Use with commandline: ai_service -C. -L. --nobreak --writepid -mCommon:Newbieland:Post
|
// Use with commandline: ai_service -C. -L. --nobreak --writepid -mCommon:Newbieland:Post
|
||||||
AESAliasName= "ais_newbyland";
|
|
||||||
|
|
||||||
ASWebPort="46700";
|
// ---- config local variables
|
||||||
ASPort="46701";
|
|
||||||
AESPort="46702";
|
|
||||||
SUPort = 50505;
|
SUPort = 50505;
|
||||||
SUGlobalPort = 50503;
|
|
||||||
L3BSPort = "49950";
|
|
||||||
L3MasterLGSPort = 41292;
|
|
||||||
L3SlaveLGSPort = 49993;
|
|
||||||
LGSBSPort = 49990;
|
|
||||||
L3LGSBSPort = 49990;
|
|
||||||
LGSL3Port = L3MasterLGSPort;
|
|
||||||
SUHost = "localhost";
|
SUHost = "localhost";
|
||||||
MFSHost = "localhost";
|
// SU - listen address of the SU service (for L5 connections)
|
||||||
BSHost = "localhost:49990";
|
SUAddress = SUHost+":"+SUPort;
|
||||||
MasterLGSHost = "localhost";
|
|
||||||
SlaveLGSHost = "localhost";
|
|
||||||
LGSBSHost = "localhost";
|
|
||||||
DBHost = "db1.ryzom.com";
|
|
||||||
#define DONT_USE_LGS_SLAVE
|
|
||||||
// Configure module gateway for layer 5 module comm
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
// Create a gateway module
|
|
||||||
"moduleManager.createModule StandardGateway gw",
|
|
||||||
// add a layer 5 transport
|
|
||||||
"gw.transportAdd L5Transport l5",
|
|
||||||
// open the transport
|
|
||||||
"gw.transportCmd l5(open)",
|
|
||||||
|
|
||||||
/// Create default connection with admin executor service
|
#include "ai_service_default.cfg"
|
||||||
// Create a gateway module
|
|
||||||
"moduleManager.createModule StandardGateway gw_aes",
|
|
||||||
// create the admin executor service module
|
|
||||||
"moduleManager.createModule AdminExecutorServiceClient aes_client",
|
|
||||||
"aes_client.plug gw_aes",
|
|
||||||
|
|
||||||
// create a layer 3 client to connect to aes gateway
|
// ---- service NeL variables (used by ConfigFile class)
|
||||||
"gw_aes.transportAdd L3Client aes_l3c",
|
|
||||||
"gw_aes.transportCmd aes_l3c(connect addr=localhost:"+AESPort+")",
|
|
||||||
};
|
|
||||||
|
|
||||||
/// A list of vars to graph for any service
|
AESAliasName= "ais_newbyland";
|
||||||
GraphVars =
|
|
||||||
{
|
|
||||||
"ProcessUsedMemory", "60000", // every minute
|
|
||||||
};
|
|
||||||
|
|
||||||
|
GraphVars += { "TickSpeedLoop", "0" };
|
||||||
|
GraphVars += { "TickSpeedLoop", "60000" };
|
||||||
|
GraphVars += { "L5CallbackCount", "0" };
|
||||||
|
GraphVars += { "L5CallbackCount", "60000" };
|
||||||
|
GraphVars += { "L5CallbackTime", "0" };
|
||||||
|
GraphVars += { "L5CallbackTime", "60000" };
|
||||||
|
GraphVars += { "MirrorCallbackCount", "0" };
|
||||||
|
GraphVars += { "MirrorCallbackCount", "60000" };
|
||||||
|
GraphVars += { "MirrorCallbackTime", "0" };
|
||||||
|
GraphVars += { "MirrorCallbackTime", "60000" };
|
||||||
|
|
||||||
/* Force default value for PDLib directory (e.g. SaveFilesDirectory...)
|
Paths = {
|
||||||
* PLEASE NOTICE THAT THIS LINE MUST BE LEFT TO ""
|
".",
|
||||||
* Only log analyser must have the $shard parameter to find all shards root directory
|
"../common/data_common",
|
||||||
*/
|
"../common/data_leveldesign",
|
||||||
PDRootDirectory = "";
|
};
|
||||||
|
|
||||||
// Log PD updates to log file (1 enabled, 0 disabled), see PDLogSaveDirectory to choose where to log
|
// ---- service NeL variables (used by CVariable class)
|
||||||
PDEnableLog = 1;
|
|
||||||
|
|
||||||
// Log PD StringManager updates to log file (1 enabled, 0 disabled), see PDLogSaveDirectory to choose where to log
|
// ---- service custom variables (used by ConfigFile class)
|
||||||
PDEnableStringLog = 0;
|
|
||||||
|
|
||||||
// Number of seconds between 2 logs to file
|
#include "used_continents.cfg"
|
||||||
PDLogUpdate = 10;
|
|
||||||
|
|
||||||
// MySGL wrapper strict mode - controls use of asserts if SQL requests fail
|
// Mirror limits
|
||||||
MSWStrictMode=0;
|
DatasetSizefe_temp = 600000;
|
||||||
|
DatasetSizefame = 26000;
|
||||||
|
|
||||||
// This is the mapping for logical continent to physical one
|
// define the primitives configuration used. (AIS, EGS)
|
||||||
ContinentNameTranslator =
|
UsedPrimitives =
|
||||||
{
|
{
|
||||||
"matis_newbie", "matis",
|
"newbieland_all",
|
||||||
"zorai_newbie", "zorai",
|
|
||||||
"terre", "terre_oubliee",
|
|
||||||
"sources", "sources_interdites"
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Block the system in the tick service that provokes stalls when overloaded
|
|
||||||
WaitForBSThreshold=0;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
IgnoredFiles = { "continent.cfg", "__read_me.txt", "bandit.html", "flora_primr.primitive" };
|
|
||||||
|
|
||||||
// If the update loop is too slow, a thread will produce an assertion.
|
|
||||||
// By default, the value is set to 10 minutes.
|
|
||||||
// Set to 0 for no assertion.
|
|
||||||
UpdateAssertionThreadTimeout = 6000000;
|
|
||||||
|
|
||||||
DefaultMaxExpectedBlockSize = 200000000; // 200 M !
|
|
||||||
DefaultMaxSentBlockSize = 200000000; // 200 M !
|
|
||||||
|
|
||||||
// MS Packet size limit in bytes, PER DATASET (warning: depending on the weights, limits per property may be very small)
|
|
||||||
MaxOutBandwidth = 100000000;
|
|
||||||
|
|
||||||
// how to sleep between 2 network updates
|
|
||||||
// 0 = pipe
|
|
||||||
// 1 = usleep
|
|
||||||
// 2 = nanosleep
|
|
||||||
// 3 = sched_yield
|
|
||||||
// 4 = nothing
|
|
||||||
UseYieldMethod = 0;
|
|
||||||
|
|
||||||
// The privileges needed to access any ring session
|
|
||||||
PrivilegeForSessionAccess = ":DEV:SGM:GM:SG:";
|
|
||||||
|
|
||||||
// The max number of ring points (aka ring access) for each ecosystem
|
|
||||||
MaxRingPoints = "A1:D7:F7:J8:L6:R13";
|
|
||||||
|
|
||||||
// Level limit for newb scenarios
|
|
||||||
FreeTrialSkillLimit=21;
|
|
||||||
|
|
||||||
// Level limit for newb scenarios
|
|
||||||
DefaultInterShardExchangeLevelCap=0;
|
|
||||||
|
|
||||||
// Configureation for DSS
|
|
||||||
MaxNpcs = 300;
|
|
||||||
MaxStaticObjects = 200;
|
|
||||||
|
|
||||||
// the following variable must be defined but should be empty - it's presence is used to change the behaviour
|
// the following variable must be defined but should be empty - it's presence is used to change the behaviour
|
||||||
// of the packed sheet reader
|
// of the packed sheet reader
|
||||||
GeorgePaths = { "" };
|
GeorgePaths = { "" };
|
||||||
|
|
||||||
// Disable nel net verbose logging
|
// ---- service custom variables (used by CVariable class)
|
||||||
VerboseNETTC = 0;
|
|
||||||
VerboseLNETL0 = 0;
|
|
||||||
VerboseLNETL1 = 0;
|
|
||||||
VerboseLNETL2 = 0;
|
|
||||||
VerboseLNETL3 = 0;
|
|
||||||
VerboseLNETL4 = 0;
|
|
||||||
VerboseLNETL5 = 0;
|
|
||||||
VerboseLNETL6 = 0;
|
|
||||||
|
|
||||||
// Disable ryzom verbose logging
|
|
||||||
VerboseMIRROR = 0;
|
|
||||||
VerboseRingRPLog = 0;
|
|
||||||
VerboseCDBGroup = 0;
|
|
||||||
|
|
||||||
// What to do with characters coming from another mainland shard?
|
|
||||||
// 0: teleport to the stored session id
|
|
||||||
// 1: let the character play anyway, but leave the stored session id unchanged
|
|
||||||
// 2: assign the stored session id with FixedSessionId and let play
|
|
||||||
AllowCharsFromAllSessions = 0;
|
|
||||||
|
|
||||||
// Use Shard Unifier or not
|
|
||||||
DontUseSU = 0;
|
|
||||||
|
|
||||||
// the domain's set of useful addresses
|
|
||||||
LSHost = SUHost;
|
|
||||||
RSMHost = SUHost;
|
|
||||||
|
|
||||||
// MFS config
|
|
||||||
WebSrvUsersDirectory = "";
|
|
||||||
WebRootDirectory = "/home/nevrax/live/save_shard/www";
|
|
||||||
HoFHDTDirectory = "/local/www/hof/hdt";
|
|
||||||
|
|
||||||
// BS Specifics --------------------------------------------------------------------------
|
|
||||||
// BS - set to 1 if a BS is not part of a naming service group (then BS not disclosed
|
|
||||||
// to other services by the Layer 5, i.e. the services sending requests to BS have
|
|
||||||
// to know its/their address(es) by another mean)
|
|
||||||
BSDontUseNS = 1;
|
|
||||||
// BS - set the host of the naming service where the BS register
|
|
||||||
BSNSHost = "localhost";
|
|
||||||
UseBS = 1;
|
|
||||||
XMLSave = 0;
|
|
||||||
|
|
||||||
// Where to save specific shard data (ie: player backup), relatively to SaveShardRoot
|
|
||||||
SaveFilesDirectory = "";
|
|
||||||
|
|
||||||
// where to save generic shard data (ie: packed_sheet)
|
|
||||||
WriteFilesDirectory = "data_shard";
|
|
||||||
|
|
||||||
// Will SaveFilesDirectory will be converted to a full path?
|
NbPlayersLimit = PlayerLimit;
|
||||||
ConvertSaveFilesDirectoryToFullPath = 0;
|
|
||||||
|
|
||||||
// BS - Root directory where data are backuped to
|
|
||||||
IncrementalBackupDirectory = "../incremental_backup";
|
|
||||||
|
|
||||||
// IOS - Directory to store ios.string_cache file
|
|
||||||
StringManagerCacheDirectory = "data_shard_local";
|
|
||||||
|
|
||||||
// IOS - Directory to log chat into
|
|
||||||
LogChatDirectory = "data_shard_local";
|
|
||||||
|
|
||||||
// MFS - Directories
|
|
||||||
WebRootDirectory = "../www";
|
|
||||||
|
|
||||||
// Root directory where data from shards are stored into
|
|
||||||
SaveShardRoot = "save_shard/";
|
|
||||||
|
|
||||||
// SU Specifics --------------------------------------------------------------------------
|
|
||||||
// SU - set to 1 if SU didn't use a naming service
|
|
||||||
SUDontUseNS = 1;
|
|
||||||
// SU - host for the NS used by SU
|
|
||||||
SUNSHost = "localhost";
|
|
||||||
// SU - listen address of the SU service (for L5 connections)
|
|
||||||
SUAddress = SUHost+":"+SUPort;
|
|
||||||
// SU - nel and ring database names
|
|
||||||
DBNelName = "nel";
|
|
||||||
DBRingName = "ring_open";
|
|
||||||
// Nel DB user
|
|
||||||
DBNelUser = "shard";
|
|
||||||
// Ring DB user
|
|
||||||
DBRingUser = "shard";
|
|
||||||
// SU - password to access to the nel database with DBNelUseruser (default is no password)
|
|
||||||
DBNelPass = "";
|
|
||||||
// SU - password to access to the ring database with DBRingUser (default is no password)
|
|
||||||
DBRingPass = "";
|
|
||||||
|
|
||||||
// WS Specifics --------------------------------------------------------------------------
|
|
||||||
// WS - use or not the legacy WelcomeService from nel ns (only for backward compatibility during transition to ring)
|
|
||||||
DontUseLSService = 1;
|
|
||||||
|
|
||||||
// Global config --------------------------------------------------------------------------
|
|
||||||
// set to 0 if you want to use the admin system
|
|
||||||
DontUseAES = 1;
|
|
||||||
|
|
||||||
// Disable generation / display of nldebug messages
|
|
||||||
DisableNLDebug = 1;
|
|
||||||
FSListenHost = "localhost";
|
|
||||||
DBPass="";
|
|
||||||
ShardId = 302;
|
|
||||||
BasePort = 51000;
|
|
||||||
SaveFilesDirectory="";
|
|
||||||
NSHost = "localhost";
|
|
||||||
// Player limits (AIS, EGS, WS, FS)
|
|
||||||
NbPlayersLimit = 5000;
|
|
||||||
NbGuildLimit = 15000;
|
|
||||||
PlayerLimit = NbPlayersLimit;
|
|
||||||
ClientLimit = 1000;
|
|
||||||
|
|
||||||
// Set this shard as a ring (1) or mainland (0) shard (main behavior switch)
|
|
||||||
IsRingShard = 0;
|
|
||||||
|
|
||||||
// Set a mainland SessionId.
|
|
||||||
// Live: Must be 0 for ring shards, non-zero (usually ShardId) for mainland shards
|
|
||||||
// Dev: Can be non-zero to initially connect a client to a ring shard
|
|
||||||
NoWSShardId = ShardId;
|
|
||||||
FixedSessionId = ShardId;
|
|
||||||
|
|
||||||
// Mirror limits
|
|
||||||
DatasetSizefe_temp = 600000;
|
|
||||||
DatasetSizefame = 26000;
|
|
||||||
|
|
||||||
// FS Specifics --------------------------------------------------------------------------
|
|
||||||
// Client bandwidth ratio, set to 1 for standard opration, more than one allocate more bandwidth
|
|
||||||
BandwidthRatio = 1;
|
|
||||||
|
|
||||||
// EGS Specifics --------------------------------------------------------------------------
|
|
||||||
// Entity Limits (EGS)
|
|
||||||
NbObjectsLimit = 2000;
|
|
||||||
NbNpcSpawnedByEGSLimit = 5000;
|
|
||||||
NbForageSourcesLimit = 10000;
|
|
||||||
NbToxicCloudsLimit = 5000;
|
|
||||||
|
|
||||||
// AIS Specifics --------------------------------------------------------------------------
|
|
||||||
// Entity Limits (AIS)
|
// Entity Limits (AIS)
|
||||||
NbPetLimit = NbPlayersLimit*4;
|
NbPetLimit = NbPlayersLimit*4;
|
||||||
NbFaunaLimit = 50000;
|
NbFaunaLimit = 50000;
|
||||||
NbNpcLimit = 20000;
|
NbNpcLimit = 20000;
|
||||||
NbFxLimit = 500;
|
NbFxLimit = 500;
|
||||||
|
|
||||||
// This is the list of continent to use with their unique instance number
|
#include "backup_service_interface.cfg"
|
||||||
UsedContinents =
|
|
||||||
{
|
|
||||||
"newbieland", "20",
|
|
||||||
};
|
|
||||||
|
|
||||||
// define the primitives configuration used.
|
|
||||||
UsedPrimitives =
|
|
||||||
{
|
|
||||||
"newbieland_all",
|
|
||||||
};
|
|
||||||
#include "ai_service_default.cfg"
|
|
||||||
WriteFilesDirectory= "data_shard";
|
|
||||||
|
|
||||||
GraphVars += { "TickSpeedLoop", "0" };
|
|
||||||
GraphVars += { "TickSpeedLoop", "60000" };
|
|
||||||
GraphVars += { "L5CallbackCount", "0" };
|
|
||||||
GraphVars += { "L5CallbackCount", "60000" };
|
|
||||||
GraphVars += { "L5CallbackTime", "0" };
|
|
||||||
GraphVars += { "L5CallbackTime", "60000" };
|
|
||||||
GraphVars += { "MirrorCallbackCount", "0" };
|
|
||||||
GraphVars += { "MirrorCallbackCount", "60000" };
|
|
||||||
GraphVars += { "MirrorCallbackTime", "0" };
|
|
||||||
GraphVars += { "MirrorCallbackTime", "60000" };
|
|
||||||
Mainlands = {
|
|
||||||
"302", "Open", "(Open Developer Community)", "en",
|
|
||||||
};
|
|
||||||
HomeMainlandNames =
|
|
||||||
{
|
|
||||||
"302", "Open", "open",
|
|
||||||
};
|
|
||||||
RRDVarPath = "../rrd_graphs";
|
|
||||||
ReadTranslationWork = 1;
|
|
||||||
TranslationWorkPath = "";
|
|
||||||
|
|
||||||
DontUseAES=1;
|
// Set this shard as a ring (1) or mainland (0) shard (main behavior switch)
|
||||||
RingRPEnabled=0;
|
IsRingShard = 0;
|
||||||
DomainName = "ryzom_open";
|
|
||||||
EnableStlAllocatorChecker = 0;
|
|
||||||
// start commands for setting up the exchange level caps of different ryzom shards
|
|
||||||
StartCommands += { "setShardExchangeLimit 301 250" };
|
|
||||||
StartCommands += { "displayShardExchangeLimits" };
|
|
||||||
StartCommands += { "EnableStlAllocatorChecker 0" };
|
|
||||||
|
|
||||||
Paths = {
|
// Disable ryzom verbose logging
|
||||||
".",
|
VerboseMIRROR = 0;
|
||||||
"../common/data_common",
|
|
||||||
"../common/data_leveldesign",
|
|
||||||
};
|
|
||||||
|
@ -1,23 +1,31 @@
|
|||||||
#include "common.cfg"
|
#include "common.cfg"
|
||||||
|
|
||||||
|
// ---- service NeL variables (used by ConfigFile class)
|
||||||
|
|
||||||
|
DontUseNS = 1;
|
||||||
|
|
||||||
DontUseNS = BSDontUseNS;
|
// ---- service NeL variables (used by CVariable class)
|
||||||
NSHost = BSNSHost;
|
|
||||||
|
|
||||||
ListeningPort = 49990;
|
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
|
// Port for the Layer 3 interface of the backup service
|
||||||
L3ListeningPort = 49950;
|
L3ListeningPort = 49950;
|
||||||
|
|
||||||
// Listening port for the Web server to connect in
|
|
||||||
WebPort = 49898;
|
|
||||||
|
|
||||||
// template path from SaveShardRoot to find character saves
|
// template path from SaveShardRoot to find character saves
|
||||||
SaveTemplatePath = "$shard/characters/account_$userid_$charid$ext";
|
SaveTemplatePath = "$shard/characters/account_$userid_$charid$ext";
|
||||||
|
|
||||||
// character saves possible extension list
|
// character saves possible extension list
|
||||||
SaveExtList = "_pdr.bin _pdr.xml .bin";
|
SaveExtList = "_pdr.bin _pdr.xml .bin";
|
||||||
|
|
||||||
BSReadState = 1;
|
|
||||||
|
|
||||||
//BSFilePrefix = "R:/code/ryzom/r2_shard/";
|
//BSFilePrefix = "R:/code/ryzom/r2_shard/";
|
||||||
//BSFileSubst = "r2_shard/";
|
//BSFileSubst = "r2_shard/";
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
L3BSPort = "49950";
|
||||||
|
BSHost = "localhost:49990";
|
||||||
|
UseBS = 1;
|
||||||
|
// Root directory where data from shards are stored into
|
||||||
|
SaveShardRoot = "save_shard/";
|
@ -1,2 +1,99 @@
|
|||||||
|
// ---- config local variables
|
||||||
|
|
||||||
|
// Used by ConfigFile in EGS and WS
|
||||||
|
ShardId = 302;
|
||||||
|
|
||||||
|
// Used by CVariable in WS
|
||||||
|
PlayerLimit = 5000;
|
||||||
|
|
||||||
|
// Used to connect to AES (this file) and to set up AES service (admin_executor_service.cfg)
|
||||||
|
AESPort="46702";
|
||||||
|
AESHost="localhost";
|
||||||
|
|
||||||
|
// ---- service NeL variables (used by ConfigFile class)
|
||||||
|
|
||||||
WindowStyle = "WIN";
|
WindowStyle = "WIN";
|
||||||
|
|
||||||
|
// don't connect to the old NeLNS AES
|
||||||
|
DontUseAES = 1;
|
||||||
|
|
||||||
|
// Configure module gateway for layer 5 module comm
|
||||||
|
StartCommands +=
|
||||||
|
{
|
||||||
|
// Create a gateway module
|
||||||
|
"moduleManager.createModule StandardGateway gw",
|
||||||
|
// add a layer 5 transport
|
||||||
|
"gw.transportAdd L5Transport l5",
|
||||||
|
// open the transport
|
||||||
|
"gw.transportCmd l5(open)",
|
||||||
|
|
||||||
|
/// Create default connection with admin executor service
|
||||||
|
// Create a gateway module
|
||||||
|
"moduleManager.createModule StandardGateway gw_aes",
|
||||||
|
// create the admin executor service module
|
||||||
|
"moduleManager.createModule AdminExecutorServiceClient aes_client",
|
||||||
|
"aes_client.plug gw_aes",
|
||||||
|
|
||||||
|
// create a layer 3 client to connect to aes gateway
|
||||||
|
"gw_aes.transportAdd L3Client aes_l3c",
|
||||||
|
"gw_aes.transportCmd aes_l3c(connect addr="+AESHost+":"+AESPort+")",
|
||||||
|
};
|
||||||
|
|
||||||
|
NSHost = "localhost";
|
||||||
|
|
||||||
|
// A list of vars to graph for any service
|
||||||
|
GraphVars +=
|
||||||
|
{
|
||||||
|
"ProcessUsedMemory", "60000", // every minute
|
||||||
|
};
|
||||||
|
|
||||||
|
IgnoredFiles = { "continent.cfg", "__read_me.txt", "bandit.html", "flora_primr.primitive" };
|
||||||
|
|
||||||
|
// Set a mainland SessionId.
|
||||||
|
// Live: Must be 0 for ring shards, non-zero (usually ShardId) for mainland shards
|
||||||
|
// Dev: Can be non-zero to initially connect a client to a ring shard
|
||||||
|
NoWSShardId = ShardId;
|
||||||
|
|
||||||
|
// ---- service NeL variables (used by CVariable class)
|
||||||
|
|
||||||
|
// Disable generation / display of nldebug messages
|
||||||
|
DisableNLDebug = 1;
|
||||||
|
|
||||||
|
// Disable nel net verbose logging
|
||||||
|
VerboseNETTC = 0;
|
||||||
|
VerboseLNETL0 = 0;
|
||||||
|
VerboseLNETL1 = 0;
|
||||||
|
VerboseLNETL2 = 0;
|
||||||
|
VerboseLNETL3 = 0;
|
||||||
|
VerboseLNETL4 = 0;
|
||||||
|
VerboseLNETL5 = 0;
|
||||||
|
VerboseLNETL6 = 0;
|
||||||
|
|
||||||
|
// If the update loop is too slow, a thread will produce an assertion.
|
||||||
|
// By default, the value is set to 10 minutes.
|
||||||
|
// Set to 0 for no assertion.
|
||||||
|
UpdateAssertionThreadTimeout = 6000000;
|
||||||
|
|
||||||
|
// how to sleep between 2 network updates
|
||||||
|
// 0 = pipe
|
||||||
|
// 1 = usleep
|
||||||
|
// 2 = nanosleep
|
||||||
|
// 3 = sched_yield
|
||||||
|
// 4 = nothing
|
||||||
|
UseYieldMethod = 0;
|
||||||
|
|
||||||
|
DefaultMaxExpectedBlockSize = 200000000; // 200 M !
|
||||||
|
DefaultMaxSentBlockSize = 200000000; // 200 M !
|
||||||
|
|
||||||
|
// Will SaveFilesDirectory will be converted to a full path?
|
||||||
|
ConvertSaveFilesDirectoryToFullPath = 0;
|
||||||
|
|
||||||
|
// Where to save specific shard data (ie: player backup), relatively to SaveShardRoot
|
||||||
|
SaveFilesDirectory = "";
|
||||||
|
|
||||||
|
// where to save generic shard data (ie: packed_sheet)
|
||||||
|
WriteFilesDirectory = "data_shard";
|
||||||
|
|
||||||
|
// ---- service custom variables (used by ConfigFile class)
|
||||||
|
|
||||||
|
// ---- service custom variables (used by CVariable class)
|
||||||
|
@ -1,311 +1,44 @@
|
|||||||
// Use with commandline: gpm_service -C. -L. --nobreak --writepid
|
// Use with commandline: gpm_service -C. -L. --nobreak --writepid
|
||||||
AESAliasName= "gpms";
|
|
||||||
|
|
||||||
ASWebPort="46700";
|
|
||||||
ASPort="46701";
|
|
||||||
AESPort="46702";
|
|
||||||
SUPort = 50505;
|
|
||||||
SUGlobalPort = 50503;
|
|
||||||
L3BSPort = "49950";
|
|
||||||
L3MasterLGSPort = 41292;
|
|
||||||
L3SlaveLGSPort = 49993;
|
|
||||||
LGSBSPort = 49990;
|
|
||||||
L3LGSBSPort = 49990;
|
|
||||||
LGSL3Port = L3MasterLGSPort;
|
|
||||||
SUHost = "localhost";
|
|
||||||
MFSHost = "localhost";
|
|
||||||
BSHost = "localhost:49990";
|
|
||||||
MasterLGSHost = "localhost";
|
|
||||||
SlaveLGSHost = "localhost";
|
|
||||||
LGSBSHost = "localhost";
|
|
||||||
DBHost = "localhost";
|
|
||||||
#define DONT_USE_LGS_SLAVE
|
|
||||||
// Configure module gateway for layer 5 module comm
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
// Create a gateway module
|
|
||||||
"moduleManager.createModule StandardGateway gw",
|
|
||||||
// add a layer 5 transport
|
|
||||||
"gw.transportAdd L5Transport l5",
|
|
||||||
// open the transport
|
|
||||||
"gw.transportCmd l5(open)",
|
|
||||||
|
|
||||||
/// Create default connection with admin executor service
|
|
||||||
// Create a gateway module
|
|
||||||
"moduleManager.createModule StandardGateway gw_aes",
|
|
||||||
// create the admin executor service module
|
|
||||||
"moduleManager.createModule AdminExecutorServiceClient aes_client",
|
|
||||||
"aes_client.plug gw_aes",
|
|
||||||
|
|
||||||
// create a layer 3 client to connect to aes gateway
|
|
||||||
"gw_aes.transportAdd L3Client aes_l3c",
|
|
||||||
"gw_aes.transportCmd aes_l3c(connect addr=localhost:"+AESPort+")",
|
|
||||||
};
|
|
||||||
|
|
||||||
/// A list of vars to graph for any service
|
#include "gpm_service_default.cfg"
|
||||||
GraphVars =
|
|
||||||
{
|
|
||||||
"ProcessUsedMemory", "60000", // every minute
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/* Force default value for PDLib directory (e.g. SaveFilesDirectory...)
|
|
||||||
* PLEASE NOTICE THAT THIS LINE MUST BE LEFT TO ""
|
|
||||||
* Only log analyser must have the $shard parameter to find all shards root directory
|
|
||||||
*/
|
|
||||||
PDRootDirectory = "";
|
|
||||||
|
|
||||||
// Log PD updates to log file (1 enabled, 0 disabled), see PDLogSaveDirectory to choose where to log
|
// ---- config local variables
|
||||||
PDEnableLog = 1;
|
|
||||||
|
|
||||||
// Log PD StringManager updates to log file (1 enabled, 0 disabled), see PDLogSaveDirectory to choose where to log
|
// ---- service NeL variables (used by ConfigFile class)
|
||||||
PDEnableStringLog = 0;
|
|
||||||
|
|
||||||
// Number of seconds between 2 logs to file
|
AESAliasName= "gpms";
|
||||||
PDLogUpdate = 10;
|
|
||||||
|
|
||||||
// MySGL wrapper strict mode - controls use of asserts if SQL requests fail
|
GraphVars += { "TickSpeedLoop", "0" };
|
||||||
MSWStrictMode=0;
|
GraphVars += { "TickSpeedLoop", "60000" };
|
||||||
|
GraphVars += { "L5CallbackCount", "0" };
|
||||||
|
GraphVars += { "L5CallbackCount", "60000" };
|
||||||
|
GraphVars += { "L5CallbackTime", "0" };
|
||||||
|
GraphVars += { "L5CallbackTime", "60000" };
|
||||||
|
GraphVars += { "MirrorCallbackCount", "0" };
|
||||||
|
GraphVars += { "MirrorCallbackCount", "60000" };
|
||||||
|
GraphVars += { "MirrorCallbackTime", "0" };
|
||||||
|
GraphVars += { "MirrorCallbackTime", "60000" };
|
||||||
|
|
||||||
// This is the mapping for logical continent to physical one
|
Paths = {
|
||||||
ContinentNameTranslator =
|
".",
|
||||||
{
|
"../common/data_common",
|
||||||
"matis_newbie", "matis",
|
"../common/data_leveldesign",
|
||||||
"zorai_newbie", "zorai",
|
|
||||||
"terre", "terre_oubliee",
|
|
||||||
"sources", "sources_interdites"
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Block the system in the tick service that provokes stalls when overloaded
|
// ---- service NeL variables (used by CVariable class)
|
||||||
WaitForBSThreshold=0;
|
|
||||||
|
|
||||||
|
|
||||||
IgnoredFiles = { "continent.cfg", "__read_me.txt", "bandit.html", "flora_primr.primitive" };
|
|
||||||
|
|
||||||
// If the update loop is too slow, a thread will produce an assertion.
|
|
||||||
// By default, the value is set to 10 minutes.
|
|
||||||
// Set to 0 for no assertion.
|
|
||||||
UpdateAssertionThreadTimeout = 6000000;
|
|
||||||
|
|
||||||
DefaultMaxExpectedBlockSize = 200000000; // 200 M !
|
|
||||||
DefaultMaxSentBlockSize = 200000000; // 200 M !
|
|
||||||
|
|
||||||
// MS Packet size limit in bytes, PER DATASET (warning: depending on the weights, limits per property may be very small)
|
|
||||||
MaxOutBandwidth = 100000000;
|
|
||||||
|
|
||||||
// how to sleep between 2 network updates
|
|
||||||
// 0 = pipe
|
|
||||||
// 1 = usleep
|
|
||||||
// 2 = nanosleep
|
|
||||||
// 3 = sched_yield
|
|
||||||
// 4 = nothing
|
|
||||||
UseYieldMethod = 0;
|
|
||||||
|
|
||||||
// The privileges needed to access any ring session
|
|
||||||
PrivilegeForSessionAccess = ":DEV:SGM:GM:SG:";
|
|
||||||
|
|
||||||
// The max number of ring points (aka ring access) for each ecosystem
|
|
||||||
MaxRingPoints = "A1:D7:F7:J8:L6:R13";
|
|
||||||
|
|
||||||
// Level limit for newb scenarios
|
|
||||||
FreeTrialSkillLimit=21;
|
|
||||||
|
|
||||||
// Level limit for newb scenarios
|
|
||||||
DefaultInterShardExchangeLevelCap=0;
|
|
||||||
|
|
||||||
// Configureation for DSS
|
|
||||||
MaxNpcs = 300;
|
|
||||||
MaxStaticObjects = 200;
|
|
||||||
|
|
||||||
// the following variable must be defined but should be empty - it's presence is used to change the behaviour
|
|
||||||
// of the packed sheet reader
|
|
||||||
GeorgePaths = { "" };
|
|
||||||
|
|
||||||
// Disable nel net verbose logging
|
|
||||||
VerboseNETTC = 0;
|
|
||||||
VerboseLNETL0 = 0;
|
|
||||||
VerboseLNETL1 = 0;
|
|
||||||
VerboseLNETL2 = 0;
|
|
||||||
VerboseLNETL3 = 0;
|
|
||||||
VerboseLNETL4 = 0;
|
|
||||||
VerboseLNETL5 = 0;
|
|
||||||
VerboseLNETL6 = 0;
|
|
||||||
|
|
||||||
// Disable ryzom verbose logging
|
|
||||||
VerboseMIRROR = 0;
|
|
||||||
VerboseRingRPLog = 0;
|
|
||||||
VerboseCDBGroup = 0;
|
|
||||||
|
|
||||||
// What to do with characters coming from another mainland shard?
|
|
||||||
// 0: teleport to the stored session id
|
|
||||||
// 1: let the character play anyway, but leave the stored session id unchanged
|
|
||||||
// 2: assign the stored session id with FixedSessionId and let play
|
|
||||||
AllowCharsFromAllSessions = 0;
|
|
||||||
|
|
||||||
// Use Shard Unifier or not
|
|
||||||
DontUseSU = 0;
|
|
||||||
|
|
||||||
// the domain's set of useful addresses
|
|
||||||
LSHost = SUHost;
|
|
||||||
RSMHost = SUHost;
|
|
||||||
|
|
||||||
// MFS config
|
|
||||||
WebSrvUsersDirectory = "";
|
|
||||||
WebRootDirectory = "save_shard/www";
|
|
||||||
HoFHDTDirectory = "/local/www/hof/hdt";
|
|
||||||
|
|
||||||
// BS Specifics --------------------------------------------------------------------------
|
// ---- service custom variables (used by ConfigFile class)
|
||||||
// BS - set to 1 if a BS is not part of a naming service group (then BS not disclosed
|
|
||||||
// to other services by the Layer 5, i.e. the services sending requests to BS have
|
|
||||||
// to know its/their address(es) by another mean)
|
|
||||||
BSDontUseNS = 1;
|
|
||||||
// BS - set the host of the naming service where the BS register
|
|
||||||
BSNSHost = "localhost";
|
|
||||||
UseBS = 1;
|
|
||||||
XMLSave = 0;
|
|
||||||
|
|
||||||
// Where to save specific shard data (ie: player backup), relatively to SaveShardRoot
|
#include "used_continents.cfg"
|
||||||
SaveFilesDirectory = "";
|
|
||||||
|
|
||||||
// where to save generic shard data (ie: packed_sheet)
|
|
||||||
WriteFilesDirectory = "data_shard";
|
|
||||||
|
|
||||||
// Will SaveFilesDirectory will be converted to a full path?
|
|
||||||
ConvertSaveFilesDirectoryToFullPath = 0;
|
|
||||||
|
|
||||||
// BS - Root directory where data are backuped to
|
|
||||||
IncrementalBackupDirectory = "../incremental_backup";
|
|
||||||
|
|
||||||
// IOS - Directory to store ios.string_cache file
|
|
||||||
StringManagerCacheDirectory = "data_shard_local";
|
|
||||||
|
|
||||||
// IOS - Directory to log chat into
|
|
||||||
LogChatDirectory = "data_shard_local";
|
|
||||||
|
|
||||||
// MFS - Directories
|
|
||||||
WebRootDirectory = "../www";
|
|
||||||
|
|
||||||
// Root directory where data from shards are stored into
|
|
||||||
SaveShardRoot = "save_shard/";
|
|
||||||
|
|
||||||
// SU Specifics --------------------------------------------------------------------------
|
|
||||||
// SU - set to 1 if SU didn't use a naming service
|
|
||||||
SUDontUseNS = 1;
|
|
||||||
// SU - host for the NS used by SU
|
|
||||||
SUNSHost = "localhost";
|
|
||||||
// SU - listen address of the SU service (for L5 connections)
|
|
||||||
SUAddress = SUHost+":"+SUPort;
|
|
||||||
// SU - nel and ring database names
|
|
||||||
DBNelName = "nel";
|
|
||||||
DBRingName = "ring_open";
|
|
||||||
// Nel DB user
|
|
||||||
DBNelUser = "shard";
|
|
||||||
// Ring DB user
|
|
||||||
DBRingUser = "shard";
|
|
||||||
// SU - password to access to the nel database with DBNelUseruser (default is no password)
|
|
||||||
DBNelPass = "";
|
|
||||||
// SU - password to access to the ring database with DBRingUser (default is no password)
|
|
||||||
DBRingPass = "";
|
|
||||||
|
|
||||||
// WS Specifics --------------------------------------------------------------------------
|
|
||||||
// WS - use or not the legacy WelcomeService from nel ns (only for backward compatibility during transition to ring)
|
|
||||||
DontUseLSService = 1;
|
|
||||||
|
|
||||||
// Global config --------------------------------------------------------------------------
|
|
||||||
// set to 0 if you want to use the admin system
|
|
||||||
DontUseAES = 1;
|
|
||||||
|
|
||||||
// Disable generation / display of nldebug messages
|
|
||||||
DisableNLDebug = 1;
|
|
||||||
FSListenHost = "localhost";
|
|
||||||
DBPass="";
|
|
||||||
ShardId = 302;
|
|
||||||
BasePort = 51000;
|
|
||||||
SaveFilesDirectory="";
|
|
||||||
NSHost = "localhost";
|
|
||||||
// Player limits (AIS, EGS, WS, FS)
|
|
||||||
NbPlayersLimit = 5000;
|
|
||||||
NbGuildLimit = 15000;
|
|
||||||
PlayerLimit = NbPlayersLimit;
|
|
||||||
ClientLimit = 1000;
|
|
||||||
|
|
||||||
// Set this shard as a ring (1) or mainland (0) shard (main behavior switch)
|
|
||||||
IsRingShard = 0;
|
|
||||||
|
|
||||||
// Set a mainland SessionId.
|
|
||||||
// Live: Must be 0 for ring shards, non-zero (usually ShardId) for mainland shards
|
|
||||||
// Dev: Can be non-zero to initially connect a client to a ring shard
|
|
||||||
NoWSShardId = ShardId;
|
|
||||||
FixedSessionId = ShardId;
|
|
||||||
|
|
||||||
// Mirror limits
|
// Mirror limits
|
||||||
DatasetSizefe_temp = 600000;
|
DatasetSizefe_temp = 600000;
|
||||||
DatasetSizefame = 26000;
|
DatasetSizefame = 26000;
|
||||||
|
|
||||||
// FS Specifics --------------------------------------------------------------------------
|
// ---- service custom variables (used by CVariable class)
|
||||||
// Client bandwidth ratio, set to 1 for standard opration, more than one allocate more bandwidth
|
|
||||||
BandwidthRatio = 1;
|
|
||||||
|
|
||||||
// EGS Specifics --------------------------------------------------------------------------
|
|
||||||
// Entity Limits (EGS)
|
|
||||||
NbObjectsLimit = 2000;
|
|
||||||
NbNpcSpawnedByEGSLimit = 5000;
|
|
||||||
NbForageSourcesLimit = 10000;
|
|
||||||
NbToxicCloudsLimit = 5000;
|
|
||||||
|
|
||||||
// AIS Specifics --------------------------------------------------------------------------
|
|
||||||
// Entity Limits (AIS)
|
|
||||||
NbPetLimit = NbPlayersLimit*4;
|
|
||||||
NbFaunaLimit = 50000;
|
|
||||||
NbNpcLimit = 20000;
|
|
||||||
NbFxLimit = 500;
|
|
||||||
|
|
||||||
// This is the list of continent to use with their unique instance number
|
// Set this shard as a ring (1) or mainland (0) shard (main behavior switch)
|
||||||
UsedContinents =
|
IsRingShard = 0;
|
||||||
{
|
|
||||||
"newbieland", "20",
|
|
||||||
};
|
|
||||||
|
|
||||||
// define the primitives configuration used.
|
|
||||||
UsedPrimitives =
|
|
||||||
{
|
|
||||||
"newbieland_all",
|
|
||||||
};
|
|
||||||
//#include "../live/cfg/gpm_service_mainland.cfg"
|
|
||||||
#include "gpm_service_default.cfg"
|
|
||||||
|
|
||||||
GraphVars += { "TickSpeedLoop", "0" };
|
|
||||||
GraphVars += { "TickSpeedLoop", "60000" };
|
|
||||||
GraphVars += { "L5CallbackCount", "0" };
|
|
||||||
GraphVars += { "L5CallbackCount", "60000" };
|
|
||||||
GraphVars += { "L5CallbackTime", "0" };
|
|
||||||
GraphVars += { "L5CallbackTime", "60000" };
|
|
||||||
GraphVars += { "MirrorCallbackCount", "0" };
|
|
||||||
GraphVars += { "MirrorCallbackCount", "60000" };
|
|
||||||
GraphVars += { "MirrorCallbackTime", "0" };
|
|
||||||
GraphVars += { "MirrorCallbackTime", "60000" };
|
|
||||||
Mainlands = {
|
|
||||||
"302", "Open", "(Open Developer Community)", "en",
|
|
||||||
};
|
|
||||||
HomeMainlandNames =
|
|
||||||
{
|
|
||||||
"302", "Open", "open",
|
|
||||||
};
|
|
||||||
RRDVarPath = "save_shard/rrd_graphs";
|
|
||||||
ReadTranslationWork = 1;
|
|
||||||
TranslationWorkPath = "";
|
|
||||||
|
|
||||||
DontUseAES=1;
|
|
||||||
RingRPEnabled=0;
|
|
||||||
DomainName = "ryzom_open";
|
|
||||||
EnableStlAllocatorChecker = 0;
|
|
||||||
// start commands for setting up the exchange level caps of different ryzom shards
|
|
||||||
StartCommands += { "setShardExchangeLimit 301 250" };
|
|
||||||
StartCommands += { "displayShardExchangeLimits" };
|
|
||||||
StartCommands += { "EnableStlAllocatorChecker 0" };
|
|
||||||
|
|
||||||
Paths = {
|
// Disable ryzom verbose logging
|
||||||
".",
|
VerboseMIRROR = 0;
|
||||||
"../common/data_common",
|
|
||||||
"../common/data_leveldesign",
|
|
||||||
};
|
|
||||||
|
@ -1,317 +1,50 @@
|
|||||||
// Use with commandline: logger_service -C. -L. --nobreak --writepid
|
// Use with commandline: logger_service -C. -L. --nobreak --writepid
|
||||||
|
|
||||||
#include "logger_service_default.cfg"
|
#include "logger_service_default.cfg"
|
||||||
|
|
||||||
AESAliasName= "lgs";
|
// ---- config local variables
|
||||||
|
|
||||||
ASWebPort="46700";
|
LGSL3Port = 41292;
|
||||||
ASPort="46701";
|
|
||||||
AESPort="46702";
|
|
||||||
SUPort = 50505;
|
|
||||||
SUGlobalPort = 50503;
|
|
||||||
L3BSPort = "49950";
|
|
||||||
L3MasterLGSPort = 41292;
|
|
||||||
L3SlaveLGSPort = 49993;
|
|
||||||
LGSBSPort = 49990;
|
|
||||||
L3LGSBSPort = 49990;
|
|
||||||
LGSL3Port = L3MasterLGSPort;
|
|
||||||
SUHost = "localhost";
|
|
||||||
MFSHost = "localhost";
|
|
||||||
BSHost = "localhost:49990";
|
|
||||||
MasterLGSHost = "localhost";
|
|
||||||
SlaveLGSHost = "localhost";
|
|
||||||
LGSBSHost = "localhost";
|
|
||||||
DBHost = "db1.ryzom.com";
|
|
||||||
#define DONT_USE_LGS_SLAVE
|
|
||||||
// Configure module gateway for layer 5 module comm
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
// Create a gateway module
|
|
||||||
"moduleManager.createModule StandardGateway gw",
|
|
||||||
// add a layer 5 transport
|
|
||||||
"gw.transportAdd L5Transport l5",
|
|
||||||
// open the transport
|
|
||||||
"gw.transportCmd l5(open)",
|
|
||||||
|
|
||||||
/// Create default connection with admin executor service
|
// ---- service NeL variables (used by ConfigFile class)
|
||||||
// Create a gateway module
|
|
||||||
"moduleManager.createModule StandardGateway gw_aes",
|
|
||||||
// create the admin executor service module
|
|
||||||
"moduleManager.createModule AdminExecutorServiceClient aes_client",
|
|
||||||
"aes_client.plug gw_aes",
|
|
||||||
|
|
||||||
// create a layer 3 client to connect to aes gateway
|
AESAliasName= "lgs";
|
||||||
"gw_aes.transportAdd L3Client aes_l3c",
|
|
||||||
"gw_aes.transportCmd aes_l3c(connect addr=localhost:"+AESPort+")",
|
|
||||||
};
|
|
||||||
|
|
||||||
/// A list of vars to graph for any service
|
StartCommands +=
|
||||||
GraphVars =
|
|
||||||
{
|
{
|
||||||
"ProcessUsedMemory", "60000", // every minute
|
"moduleManager.createModule LoggerService ls",
|
||||||
|
"moduleManager.createModule StandardGateway lgs_gw",
|
||||||
|
"ls.plug lgs_gw",
|
||||||
|
"lgs_gw.transportAdd L3Server l3s",
|
||||||
|
"lgs_gw.transportOptions l3s(PeerInvisible)",
|
||||||
|
"lgs_gw.transportCmd l3s(open port="+ LGSL3Port +")",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
DontUseNS = 1;
|
||||||
|
|
||||||
/* Force default value for PDLib directory (e.g. SaveFilesDirectory...)
|
Paths = {
|
||||||
* PLEASE NOTICE THAT THIS LINE MUST BE LEFT TO ""
|
".",
|
||||||
* Only log analyser must have the $shard parameter to find all shards root directory
|
"../common/data_leveldesign",
|
||||||
*/
|
|
||||||
PDRootDirectory = "";
|
|
||||||
|
|
||||||
// Log PD updates to log file (1 enabled, 0 disabled), see PDLogSaveDirectory to choose where to log
|
|
||||||
PDEnableLog = 1;
|
|
||||||
|
|
||||||
// Log PD StringManager updates to log file (1 enabled, 0 disabled), see PDLogSaveDirectory to choose where to log
|
|
||||||
PDEnableStringLog = 0;
|
|
||||||
|
|
||||||
// Number of seconds between 2 logs to file
|
|
||||||
PDLogUpdate = 10;
|
|
||||||
|
|
||||||
// MySGL wrapper strict mode - controls use of asserts if SQL requests fail
|
|
||||||
MSWStrictMode=0;
|
|
||||||
|
|
||||||
// This is the mapping for logical continent to physical one
|
|
||||||
ContinentNameTranslator =
|
|
||||||
{
|
|
||||||
"matis_newbie", "matis",
|
|
||||||
"zorai_newbie", "zorai",
|
|
||||||
"terre", "terre_oubliee",
|
|
||||||
"sources", "sources_interdites"
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Block the system in the tick service that provokes stalls when overloaded
|
// ---- service NeL variables (used by CVariable class)
|
||||||
WaitForBSThreshold=0;
|
|
||||||
|
|
||||||
|
|
||||||
IgnoredFiles = { "continent.cfg", "__read_me.txt", "bandit.html", "flora_primr.primitive" };
|
|
||||||
|
|
||||||
// If the update loop is too slow, a thread will produce an assertion.
|
|
||||||
// By default, the value is set to 10 minutes.
|
|
||||||
// Set to 0 for no assertion.
|
|
||||||
UpdateAssertionThreadTimeout = 6000000;
|
|
||||||
|
|
||||||
DefaultMaxExpectedBlockSize = 200000000; // 200 M !
|
|
||||||
DefaultMaxSentBlockSize = 200000000; // 200 M !
|
|
||||||
|
|
||||||
// MS Packet size limit in bytes, PER DATASET (warning: depending on the weights, limits per property may be very small)
|
|
||||||
MaxOutBandwidth = 100000000;
|
|
||||||
|
|
||||||
// how to sleep between 2 network updates
|
|
||||||
// 0 = pipe
|
|
||||||
// 1 = usleep
|
|
||||||
// 2 = nanosleep
|
|
||||||
// 3 = sched_yield
|
|
||||||
// 4 = nothing
|
|
||||||
UseYieldMethod = 0;
|
|
||||||
|
|
||||||
// The privileges needed to access any ring session
|
|
||||||
PrivilegeForSessionAccess = ":DEV:SGM:GM:SG:";
|
|
||||||
|
|
||||||
// The max number of ring points (aka ring access) for each ecosystem
|
|
||||||
MaxRingPoints = "A1:D7:F7:J8:L6:R13";
|
|
||||||
|
|
||||||
// Level limit for newb scenarios
|
|
||||||
FreeTrialSkillLimit=21;
|
|
||||||
|
|
||||||
// Level limit for newb scenarios
|
|
||||||
DefaultInterShardExchangeLevelCap=0;
|
|
||||||
|
|
||||||
// Configureation for DSS
|
|
||||||
MaxNpcs = 300;
|
|
||||||
MaxStaticObjects = 200;
|
|
||||||
|
|
||||||
// the following variable must be defined but should be empty - it's presence is used to change the behaviour
|
|
||||||
// of the packed sheet reader
|
|
||||||
GeorgePaths = { "" };
|
|
||||||
|
|
||||||
// Disable nel net verbose logging
|
|
||||||
VerboseNETTC = 0;
|
|
||||||
VerboseLNETL0 = 0;
|
|
||||||
VerboseLNETL1 = 0;
|
|
||||||
VerboseLNETL2 = 0;
|
|
||||||
VerboseLNETL3 = 0;
|
|
||||||
VerboseLNETL4 = 0;
|
|
||||||
VerboseLNETL5 = 0;
|
|
||||||
VerboseLNETL6 = 0;
|
|
||||||
|
|
||||||
// Disable ryzom verbose logging
|
|
||||||
VerboseMIRROR = 0;
|
|
||||||
VerboseRingRPLog = 0;
|
|
||||||
VerboseCDBGroup = 0;
|
|
||||||
|
|
||||||
// What to do with characters coming from another mainland shard?
|
|
||||||
// 0: teleport to the stored session id
|
|
||||||
// 1: let the character play anyway, but leave the stored session id unchanged
|
|
||||||
// 2: assign the stored session id with FixedSessionId and let play
|
|
||||||
AllowCharsFromAllSessions = 0;
|
|
||||||
|
|
||||||
// Use Shard Unifier or not
|
|
||||||
DontUseSU = 0;
|
|
||||||
|
|
||||||
// the domain's set of useful addresses
|
|
||||||
LSHost = SUHost;
|
|
||||||
RSMHost = SUHost;
|
|
||||||
|
|
||||||
// MFS config
|
|
||||||
WebSrvUsersDirectory = "";
|
|
||||||
WebRootDirectory = "/home/nevrax/live/save_shard/www";
|
|
||||||
HoFHDTDirectory = "/local/www/hof/hdt";
|
|
||||||
|
|
||||||
// BS Specifics --------------------------------------------------------------------------
|
|
||||||
// BS - set to 1 if a BS is not part of a naming service group (then BS not disclosed
|
|
||||||
// to other services by the Layer 5, i.e. the services sending requests to BS have
|
|
||||||
// to know its/their address(es) by another mean)
|
|
||||||
BSDontUseNS = 1;
|
|
||||||
// BS - set the host of the naming service where the BS register
|
|
||||||
BSNSHost = "localhost";
|
|
||||||
UseBS = 1;
|
|
||||||
XMLSave = 0;
|
|
||||||
|
|
||||||
// Where to save specific shard data (ie: player backup), relatively to SaveShardRoot
|
// Where to save specific shard data (ie: player backup), relatively to SaveShardRoot
|
||||||
SaveFilesDirectory = "";
|
SaveFilesDirectory = "save_shard/";
|
||||||
|
|
||||||
// where to save generic shard data (ie: packed_sheet)
|
// where to save generic shard data (ie: packed_sheet)
|
||||||
WriteFilesDirectory = "r2_shard/data_shard";
|
WriteFilesDirectory = "r2_shard/data_shard";
|
||||||
|
|
||||||
// Will SaveFilesDirectory will be converted to a full path?
|
// ---- service custom variables (used by ConfigFile class)
|
||||||
ConvertSaveFilesDirectoryToFullPath = 0;
|
|
||||||
|
|
||||||
// BS - Root directory where data are backuped to
|
|
||||||
IncrementalBackupDirectory = "../incremental_backup";
|
|
||||||
|
|
||||||
// IOS - Directory to store ios.string_cache file
|
|
||||||
StringManagerCacheDirectory = "data_shard_local";
|
|
||||||
|
|
||||||
// IOS - Directory to log chat into
|
|
||||||
LogChatDirectory = "data_shard_local";
|
|
||||||
|
|
||||||
// MFS - Directories
|
|
||||||
WebRootDirectory = "../www";
|
|
||||||
|
|
||||||
// Root directory where data from shards are stored into
|
|
||||||
SaveShardRoot = "save_shard/";
|
|
||||||
|
|
||||||
// SU Specifics --------------------------------------------------------------------------
|
|
||||||
// SU - set to 1 if SU didn't use a naming service
|
|
||||||
SUDontUseNS = 1;
|
|
||||||
// SU - host for the NS used by SU
|
|
||||||
SUNSHost = "localhost";
|
|
||||||
// SU - listen address of the SU service (for L5 connections)
|
|
||||||
SUAddress = SUHost+":"+SUPort;
|
|
||||||
// SU - nel and ring database names
|
|
||||||
DBNelName = "nel";
|
|
||||||
DBRingName = "ring_dev";
|
|
||||||
// Nel DB user
|
|
||||||
DBNelUser = "su_dev";
|
|
||||||
// Ring DB user
|
|
||||||
DBRingUser = "su_dev";
|
|
||||||
// SU - password to access to the nel database with DBNelUseruser (default is no password)
|
|
||||||
DBNelPass = "";
|
|
||||||
// SU - password to access to the ring database with DBRingUser (default is no password)
|
|
||||||
DBRingPass = "";
|
|
||||||
|
|
||||||
// WS Specifics --------------------------------------------------------------------------
|
|
||||||
// WS - use or not the legacy WelcomeService from nel ns (only for backward compatibility during transition to ring)
|
|
||||||
DontUseLSService = 1;
|
|
||||||
|
|
||||||
// Global config --------------------------------------------------------------------------
|
|
||||||
// set to 0 if you want to use the admin system
|
|
||||||
DontUseAES = 1;
|
|
||||||
|
|
||||||
// Disable generation / display of nldebug messages
|
|
||||||
DisableNLDebug = 1;
|
|
||||||
FSListenHost = "localhost";
|
|
||||||
DBPass="";
|
|
||||||
ShardId = 302;
|
|
||||||
BasePort = 51000;
|
|
||||||
SaveFilesDirectory="";
|
|
||||||
NSHost = "localhost";
|
|
||||||
// Player limits (AIS, EGS, WS, FS)
|
|
||||||
NbPlayersLimit = 5000;
|
|
||||||
NbGuildLimit = 15000;
|
|
||||||
PlayerLimit = NbPlayersLimit;
|
|
||||||
ClientLimit = 1000;
|
|
||||||
|
|
||||||
// Set this shard as a ring (1) or mainland (0) shard (main behavior switch)
|
// Use Shard Unifier or not
|
||||||
IsRingShard = 0;
|
DontUseSU = 0;
|
||||||
|
|
||||||
// Set a mainland SessionId.
|
|
||||||
// Live: Must be 0 for ring shards, non-zero (usually ShardId) for mainland shards
|
|
||||||
// Dev: Can be non-zero to initially connect a client to a ring shard
|
|
||||||
NoWSShardId = ShardId;
|
|
||||||
FixedSessionId = ShardId;
|
|
||||||
|
|
||||||
// Mirror limits
|
|
||||||
DatasetSizefe_temp = 600000;
|
|
||||||
DatasetSizefame = 26000;
|
|
||||||
|
|
||||||
// FS Specifics --------------------------------------------------------------------------
|
|
||||||
// Client bandwidth ratio, set to 1 for standard opration, more than one allocate more bandwidth
|
|
||||||
BandwidthRatio = 1;
|
|
||||||
|
|
||||||
// EGS Specifics --------------------------------------------------------------------------
|
|
||||||
// Entity Limits (EGS)
|
|
||||||
NbObjectsLimit = 2000;
|
|
||||||
NbNpcSpawnedByEGSLimit = 5000;
|
|
||||||
NbForageSourcesLimit = 10000;
|
|
||||||
NbToxicCloudsLimit = 5000;
|
|
||||||
|
|
||||||
// AIS Specifics --------------------------------------------------------------------------
|
|
||||||
// Entity Limits (AIS)
|
|
||||||
NbPetLimit = NbPlayersLimit*4;
|
|
||||||
NbFaunaLimit = 50000;
|
|
||||||
NbNpcLimit = 20000;
|
|
||||||
NbFxLimit = 500;
|
|
||||||
|
|
||||||
// This is the list of continent to use with their unique instance number
|
|
||||||
UsedContinents =
|
|
||||||
{
|
|
||||||
"newbieland", "20",
|
|
||||||
};
|
|
||||||
|
|
||||||
// define the primitives configuration used.
|
|
||||||
UsedPrimitives =
|
|
||||||
{
|
|
||||||
"newbieland_all",
|
|
||||||
};
|
|
||||||
#include "logger_service_default.cfg"
|
|
||||||
LogQueryResultFile = "log_query_result.txt";
|
|
||||||
SaveFilesDirectory = "save_shard/";
|
|
||||||
BSHost = LGSBSHost+":"+LGSBSPort;
|
|
||||||
L3BSPort = LGSBSPort;
|
|
||||||
DontUseNS = 1;
|
|
||||||
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
"moduleManager.createModule LoggerService ls",
|
|
||||||
"moduleManager.createModule StandardGateway lgs_gw",
|
|
||||||
"ls.plug lgs_gw",
|
|
||||||
"lgs_gw.transportAdd L3Server l3s",
|
|
||||||
"lgs_gw.transportOptions l3s(PeerInvisible)",
|
|
||||||
"lgs_gw.transportCmd l3s(open port="+ LGSL3Port +")",
|
|
||||||
};
|
|
||||||
SaveShardRoot = "save_shard";
|
|
||||||
SaveFilesDirectory = "save_shard/";
|
|
||||||
Mainlands = {
|
|
||||||
"302", "Open", "(Open Developer Community)", "en",
|
|
||||||
};
|
|
||||||
HomeMainlandNames =
|
HomeMainlandNames =
|
||||||
{
|
{
|
||||||
"302", "Open", "open",
|
"302", "Open", "open",
|
||||||
};
|
};
|
||||||
RRDVarPath = "../rrd_graphs";
|
|
||||||
ReadTranslationWork = 1;
|
|
||||||
TranslationWorkPath = "";
|
|
||||||
|
|
||||||
DontUseAES=1;
|
// ---- service custom variables (used by CVariable class)
|
||||||
RingRPEnabled=0;
|
|
||||||
DomainName = "ryzom_open";
|
|
||||||
EnableStlAllocatorChecker = 0;
|
|
||||||
// start commands for setting up the exchange level caps of different ryzom shards
|
|
||||||
StartCommands += { "setShardExchangeLimit 301 250" };
|
|
||||||
StartCommands += { "displayShardExchangeLimits" };
|
|
||||||
StartCommands += { "EnableStlAllocatorChecker 0" };
|
|
||||||
|
|
||||||
Paths = {
|
#include "backup_service_interface.cfg"
|
||||||
".",
|
|
||||||
"../common/data_leveldesign",
|
|
||||||
};
|
|
||||||
|
@ -1,299 +1,19 @@
|
|||||||
// Use with commandline: mail_forum_service -C. -L. --nobreak --writepid
|
// Use with commandline: mail_forum_service -C. -L. --nobreak --writepid
|
||||||
AESAliasName= "mfs";
|
|
||||||
|
|
||||||
ASWebPort="46700";
|
|
||||||
ASPort="46701";
|
|
||||||
AESPort="46702";
|
|
||||||
SUPort = 50505;
|
|
||||||
SUGlobalPort = 50503;
|
|
||||||
L3BSPort = "49950";
|
|
||||||
L3MasterLGSPort = 41292;
|
|
||||||
L3SlaveLGSPort = 49993;
|
|
||||||
LGSBSPort = 49990;
|
|
||||||
L3LGSBSPort = 49990;
|
|
||||||
LGSL3Port = L3MasterLGSPort;
|
|
||||||
SUHost = "localhost";
|
|
||||||
MFSHost = "localhost";
|
|
||||||
BSHost = "localhost:49990";
|
|
||||||
MasterLGSHost = "localhost";
|
|
||||||
SlaveLGSHost = "localhost";
|
|
||||||
LGSBSHost = "localhost";
|
|
||||||
DBHost = "db1.ryzom.com";
|
|
||||||
#define DONT_USE_LGS_SLAVE
|
|
||||||
// Configure module gateway for layer 5 module comm
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
// Create a gateway module
|
|
||||||
"moduleManager.createModule StandardGateway gw",
|
|
||||||
// add a layer 5 transport
|
|
||||||
"gw.transportAdd L5Transport l5",
|
|
||||||
// open the transport
|
|
||||||
"gw.transportCmd l5(open)",
|
|
||||||
|
|
||||||
/// Create default connection with admin executor service
|
|
||||||
// Create a gateway module
|
|
||||||
"moduleManager.createModule StandardGateway gw_aes",
|
|
||||||
// create the admin executor service module
|
|
||||||
"moduleManager.createModule AdminExecutorServiceClient aes_client",
|
|
||||||
"aes_client.plug gw_aes",
|
|
||||||
|
|
||||||
// create a layer 3 client to connect to aes gateway
|
|
||||||
"gw_aes.transportAdd L3Client aes_l3c",
|
|
||||||
"gw_aes.transportCmd aes_l3c(connect addr=localhost:"+AESPort+")",
|
|
||||||
};
|
|
||||||
|
|
||||||
/// A list of vars to graph for any service
|
|
||||||
GraphVars =
|
|
||||||
{
|
|
||||||
"ProcessUsedMemory", "60000", // every minute
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/* Force default value for PDLib directory (e.g. SaveFilesDirectory...)
|
|
||||||
* PLEASE NOTICE THAT THIS LINE MUST BE LEFT TO ""
|
|
||||||
* Only log analyser must have the $shard parameter to find all shards root directory
|
|
||||||
*/
|
|
||||||
PDRootDirectory = "";
|
|
||||||
|
|
||||||
// Log PD updates to log file (1 enabled, 0 disabled), see PDLogSaveDirectory to choose where to log
|
|
||||||
PDEnableLog = 1;
|
|
||||||
|
|
||||||
// Log PD StringManager updates to log file (1 enabled, 0 disabled), see PDLogSaveDirectory to choose where to log
|
|
||||||
PDEnableStringLog = 0;
|
|
||||||
|
|
||||||
// Number of seconds between 2 logs to file
|
|
||||||
PDLogUpdate = 10;
|
|
||||||
|
|
||||||
// MySGL wrapper strict mode - controls use of asserts if SQL requests fail
|
|
||||||
MSWStrictMode=0;
|
|
||||||
|
|
||||||
// This is the mapping for logical continent to physical one
|
|
||||||
ContinentNameTranslator =
|
|
||||||
{
|
|
||||||
"matis_newbie", "matis",
|
|
||||||
"zorai_newbie", "zorai",
|
|
||||||
"terre", "terre_oubliee",
|
|
||||||
"sources", "sources_interdites"
|
|
||||||
};
|
|
||||||
|
|
||||||
// Block the system in the tick service that provokes stalls when overloaded
|
|
||||||
WaitForBSThreshold=0;
|
|
||||||
|
|
||||||
|
|
||||||
IgnoredFiles = { "continent.cfg", "__read_me.txt", "bandit.html", "flora_primr.primitive" };
|
|
||||||
|
|
||||||
// If the update loop is too slow, a thread will produce an assertion.
|
|
||||||
// By default, the value is set to 10 minutes.
|
|
||||||
// Set to 0 for no assertion.
|
|
||||||
UpdateAssertionThreadTimeout = 6000000;
|
|
||||||
|
|
||||||
DefaultMaxExpectedBlockSize = 200000000; // 200 M !
|
|
||||||
DefaultMaxSentBlockSize = 200000000; // 200 M !
|
|
||||||
|
|
||||||
// MS Packet size limit in bytes, PER DATASET (warning: depending on the weights, limits per property may be very small)
|
|
||||||
MaxOutBandwidth = 100000000;
|
|
||||||
|
|
||||||
// how to sleep between 2 network updates
|
|
||||||
// 0 = pipe
|
|
||||||
// 1 = usleep
|
|
||||||
// 2 = nanosleep
|
|
||||||
// 3 = sched_yield
|
|
||||||
// 4 = nothing
|
|
||||||
UseYieldMethod = 0;
|
|
||||||
|
|
||||||
// The privileges needed to access any ring session
|
|
||||||
PrivilegeForSessionAccess = ":DEV:SGM:GM:SG:";
|
|
||||||
|
|
||||||
// The max number of ring points (aka ring access) for each ecosystem
|
|
||||||
MaxRingPoints = "A1:D7:F7:J8:L6:R13";
|
|
||||||
|
|
||||||
// Level limit for newb scenarios
|
|
||||||
FreeTrialSkillLimit=21;
|
|
||||||
|
|
||||||
// Level limit for newb scenarios
|
|
||||||
DefaultInterShardExchangeLevelCap=0;
|
|
||||||
|
|
||||||
// Configureation for DSS
|
|
||||||
MaxNpcs = 300;
|
|
||||||
MaxStaticObjects = 200;
|
|
||||||
|
|
||||||
// the following variable must be defined but should be empty - it's presence is used to change the behaviour
|
|
||||||
// of the packed sheet reader
|
|
||||||
GeorgePaths = { "" };
|
|
||||||
|
|
||||||
// Disable nel net verbose logging
|
|
||||||
VerboseNETTC = 0;
|
|
||||||
VerboseLNETL0 = 0;
|
|
||||||
VerboseLNETL1 = 0;
|
|
||||||
VerboseLNETL2 = 0;
|
|
||||||
VerboseLNETL3 = 0;
|
|
||||||
VerboseLNETL4 = 0;
|
|
||||||
VerboseLNETL5 = 0;
|
|
||||||
VerboseLNETL6 = 0;
|
|
||||||
|
|
||||||
// Disable ryzom verbose logging
|
|
||||||
VerboseMIRROR = 0;
|
|
||||||
VerboseRingRPLog = 0;
|
|
||||||
VerboseCDBGroup = 0;
|
|
||||||
|
|
||||||
// What to do with characters coming from another mainland shard?
|
|
||||||
// 0: teleport to the stored session id
|
|
||||||
// 1: let the character play anyway, but leave the stored session id unchanged
|
|
||||||
// 2: assign the stored session id with FixedSessionId and let play
|
|
||||||
AllowCharsFromAllSessions = 0;
|
|
||||||
|
|
||||||
// Use Shard Unifier or not
|
#include "mail_forum_service_default.cfg"
|
||||||
DontUseSU = 0;
|
|
||||||
|
|
||||||
// the domain's set of useful addresses
|
|
||||||
LSHost = SUHost;
|
|
||||||
RSMHost = SUHost;
|
|
||||||
|
|
||||||
// MFS config
|
|
||||||
WebSrvUsersDirectory = "";
|
|
||||||
WebRootDirectory = "/home/nevrax/live/save_shard/www";
|
|
||||||
HoFHDTDirectory = "/local/www/hof/hdt";
|
|
||||||
|
|
||||||
// BS Specifics --------------------------------------------------------------------------
|
|
||||||
// BS - set to 1 if a BS is not part of a naming service group (then BS not disclosed
|
|
||||||
// to other services by the Layer 5, i.e. the services sending requests to BS have
|
|
||||||
// to know its/their address(es) by another mean)
|
|
||||||
BSDontUseNS = 1;
|
|
||||||
// BS - set the host of the naming service where the BS register
|
|
||||||
BSNSHost = "localhost";
|
|
||||||
UseBS = 1;
|
|
||||||
XMLSave = 0;
|
|
||||||
|
|
||||||
// Where to save specific shard data (ie: player backup), relatively to SaveShardRoot
|
|
||||||
SaveFilesDirectory = "";
|
|
||||||
|
|
||||||
// where to save generic shard data (ie: packed_sheet)
|
|
||||||
WriteFilesDirectory = "r2_shard/data_shard";
|
|
||||||
|
|
||||||
// Will SaveFilesDirectory will be converted to a full path?
|
|
||||||
ConvertSaveFilesDirectoryToFullPath = 0;
|
|
||||||
|
|
||||||
// BS - Root directory where data are backuped to
|
|
||||||
IncrementalBackupDirectory = "../incremental_backup";
|
|
||||||
|
|
||||||
// IOS - Directory to store ios.string_cache file
|
|
||||||
StringManagerCacheDirectory = "data_shard_local";
|
|
||||||
|
|
||||||
// IOS - Directory to log chat into
|
|
||||||
LogChatDirectory = "data_shard_local";
|
|
||||||
|
|
||||||
// MFS - Directories
|
|
||||||
WebRootDirectory = "../www";
|
|
||||||
|
|
||||||
// Root directory where data from shards are stored into
|
|
||||||
SaveShardRoot = "save_shard/";
|
|
||||||
|
|
||||||
// SU Specifics --------------------------------------------------------------------------
|
|
||||||
// SU - set to 1 if SU didn't use a naming service
|
|
||||||
SUDontUseNS = 1;
|
|
||||||
// SU - host for the NS used by SU
|
|
||||||
SUNSHost = "localhost";
|
|
||||||
// SU - listen address of the SU service (for L5 connections)
|
|
||||||
SUAddress = SUHost+":"+SUPort;
|
|
||||||
// SU - nel and ring database names
|
|
||||||
DBNelName = "nel";
|
|
||||||
DBRingName = "ring_dev";
|
|
||||||
// Nel DB user
|
|
||||||
DBNelUser = "su_dev";
|
|
||||||
// Ring DB user
|
|
||||||
DBRingUser = "su_dev";
|
|
||||||
// SU - password to access to the nel database with DBNelUseruser (default is no password)
|
|
||||||
DBNelPass = "";
|
|
||||||
// SU - password to access to the ring database with DBRingUser (default is no password)
|
|
||||||
DBRingPass = "";
|
|
||||||
|
|
||||||
// WS Specifics --------------------------------------------------------------------------
|
|
||||||
// WS - use or not the legacy WelcomeService from nel ns (only for backward compatibility during transition to ring)
|
|
||||||
DontUseLSService = 1;
|
|
||||||
|
|
||||||
// Global config --------------------------------------------------------------------------
|
|
||||||
// set to 0 if you want to use the admin system
|
|
||||||
DontUseAES = 1;
|
|
||||||
|
|
||||||
// Disable generation / display of nldebug messages
|
|
||||||
DisableNLDebug = 1;
|
|
||||||
FSListenHost = "localhost";
|
|
||||||
DBPass="";
|
|
||||||
ShardId = 302;
|
|
||||||
BasePort = 51000;
|
|
||||||
SaveFilesDirectory="";
|
|
||||||
NSHost = "localhost";
|
|
||||||
// Player limits (AIS, EGS, WS, FS)
|
|
||||||
NbPlayersLimit = 5000;
|
|
||||||
NbGuildLimit = 15000;
|
|
||||||
PlayerLimit = NbPlayersLimit;
|
|
||||||
ClientLimit = 1000;
|
|
||||||
|
|
||||||
// Set this shard as a ring (1) or mainland (0) shard (main behavior switch)
|
|
||||||
IsRingShard = 0;
|
|
||||||
|
|
||||||
// Set a mainland SessionId.
|
|
||||||
// Live: Must be 0 for ring shards, non-zero (usually ShardId) for mainland shards
|
|
||||||
// Dev: Can be non-zero to initially connect a client to a ring shard
|
|
||||||
NoWSShardId = ShardId;
|
|
||||||
FixedSessionId = ShardId;
|
|
||||||
|
|
||||||
// Mirror limits
|
|
||||||
DatasetSizefe_temp = 600000;
|
|
||||||
DatasetSizefame = 26000;
|
|
||||||
|
|
||||||
// FS Specifics --------------------------------------------------------------------------
|
|
||||||
// Client bandwidth ratio, set to 1 for standard opration, more than one allocate more bandwidth
|
|
||||||
BandwidthRatio = 1;
|
|
||||||
|
|
||||||
// EGS Specifics --------------------------------------------------------------------------
|
// ---- config local variables
|
||||||
// Entity Limits (EGS)
|
|
||||||
NbObjectsLimit = 2000;
|
|
||||||
NbNpcSpawnedByEGSLimit = 5000;
|
|
||||||
NbForageSourcesLimit = 10000;
|
|
||||||
NbToxicCloudsLimit = 5000;
|
|
||||||
|
|
||||||
// AIS Specifics --------------------------------------------------------------------------
|
// ---- service NeL variables (used by ConfigFile class)
|
||||||
// Entity Limits (AIS)
|
|
||||||
NbPetLimit = NbPlayersLimit*4;
|
|
||||||
NbFaunaLimit = 50000;
|
|
||||||
NbNpcLimit = 20000;
|
|
||||||
NbFxLimit = 500;
|
|
||||||
|
|
||||||
// This is the list of continent to use with their unique instance number
|
AESAliasName= "mfs";
|
||||||
UsedContinents =
|
|
||||||
{
|
|
||||||
"newbieland", "20",
|
|
||||||
};
|
|
||||||
|
|
||||||
// define the primitives configuration used.
|
Paths = {
|
||||||
UsedPrimitives =
|
".",
|
||||||
{
|
|
||||||
"newbieland_all",
|
|
||||||
};
|
};
|
||||||
#include "mail_forum_service_default.cfg"
|
|
||||||
WriteFilesDirectory="data_shard";
|
|
||||||
|
|
||||||
Mainlands = {
|
// ---- service NeL variables (used by CVariable class)
|
||||||
"302", "Open", "(Open Developer Community)", "en",
|
|
||||||
};
|
|
||||||
HomeMainlandNames =
|
|
||||||
{
|
|
||||||
"302", "Open", "open",
|
|
||||||
};
|
|
||||||
RRDVarPath = "../rrd_graphs";
|
|
||||||
ReadTranslationWork = 1;
|
|
||||||
TranslationWorkPath = "";
|
|
||||||
|
|
||||||
DontUseAES=1;
|
// ---- service custom variables (used by ConfigFile class)
|
||||||
RingRPEnabled=0;
|
|
||||||
DomainName = "ryzom_open";
|
|
||||||
EnableStlAllocatorChecker = 0;
|
|
||||||
// start commands for setting up the exchange level caps of different ryzom shards
|
|
||||||
StartCommands += { "setShardExchangeLimit 301 250" };
|
|
||||||
StartCommands += { "displayShardExchangeLimits" };
|
|
||||||
StartCommands += { "EnableStlAllocatorChecker 0" };
|
|
||||||
|
|
||||||
Paths = {
|
// ---- service custom variables (used by CVariable class)
|
||||||
".",
|
|
||||||
};
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
#include "common.cfg"
|
#include "common.cfg"
|
||||||
|
|
||||||
|
// ---- service custom variables (used by ConfigFile class)
|
||||||
|
|
||||||
// Linux only
|
// Linux only
|
||||||
DestroyGhostSegments = 1;
|
DestroyGhostSegments = 1;
|
||||||
|
@ -1,298 +1,21 @@
|
|||||||
// Use with commandline: ryzom_naming_service -C. -L. --nobreak --writepid
|
// Use with commandline: ryzom_naming_service -C. -L. --nobreak --writepid
|
||||||
AESAliasName= "rns";
|
|
||||||
|
|
||||||
ASWebPort="46700";
|
|
||||||
ASPort="46701";
|
|
||||||
AESPort="46702";
|
|
||||||
SUPort = 50505;
|
|
||||||
SUGlobalPort = 50503;
|
|
||||||
L3BSPort = "49950";
|
|
||||||
L3MasterLGSPort = 41292;
|
|
||||||
L3SlaveLGSPort = 49993;
|
|
||||||
LGSBSPort = 49990;
|
|
||||||
L3LGSBSPort = 49990;
|
|
||||||
LGSL3Port = L3MasterLGSPort;
|
|
||||||
SUHost = "localhost";
|
|
||||||
MFSHost = "localhost";
|
|
||||||
BSHost = "localhost:49990";
|
|
||||||
MasterLGSHost = "localhost";
|
|
||||||
SlaveLGSHost = "localhost";
|
|
||||||
LGSBSHost = "localhost";
|
|
||||||
DBHost = "localhost";
|
|
||||||
#define DONT_USE_LGS_SLAVE
|
|
||||||
// Configure module gateway for layer 5 module comm
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
// Create a gateway module
|
|
||||||
"moduleManager.createModule StandardGateway gw",
|
|
||||||
// add a layer 5 transport
|
|
||||||
"gw.transportAdd L5Transport l5",
|
|
||||||
// open the transport
|
|
||||||
"gw.transportCmd l5(open)",
|
|
||||||
|
|
||||||
/// Create default connection with admin executor service
|
|
||||||
// Create a gateway module
|
|
||||||
"moduleManager.createModule StandardGateway gw_aes",
|
|
||||||
// create the admin executor service module
|
|
||||||
"moduleManager.createModule AdminExecutorServiceClient aes_client",
|
|
||||||
"aes_client.plug gw_aes",
|
|
||||||
|
|
||||||
// create a layer 3 client to connect to aes gateway
|
|
||||||
"gw_aes.transportAdd L3Client aes_l3c",
|
|
||||||
"gw_aes.transportCmd aes_l3c(connect addr=localhost:"+AESPort+")",
|
|
||||||
};
|
|
||||||
|
|
||||||
/// A list of vars to graph for any service
|
|
||||||
GraphVars =
|
|
||||||
{
|
|
||||||
"ProcessUsedMemory", "60000", // every minute
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/* Force default value for PDLib directory (e.g. SaveFilesDirectory...)
|
#include "naming_service_default.cfg"
|
||||||
* PLEASE NOTICE THAT THIS LINE MUST BE LEFT TO ""
|
|
||||||
* Only log analyser must have the $shard parameter to find all shards root directory
|
|
||||||
*/
|
|
||||||
PDRootDirectory = "";
|
|
||||||
|
|
||||||
// Log PD updates to log file (1 enabled, 0 disabled), see PDLogSaveDirectory to choose where to log
|
|
||||||
PDEnableLog = 1;
|
|
||||||
|
|
||||||
// Log PD StringManager updates to log file (1 enabled, 0 disabled), see PDLogSaveDirectory to choose where to log
|
// ---- config local variables
|
||||||
PDEnableStringLog = 0;
|
|
||||||
|
|
||||||
// Number of seconds between 2 logs to file
|
// ---- service NeL variables (used by ConfigFile class)
|
||||||
PDLogUpdate = 10;
|
|
||||||
|
|
||||||
// MySGL wrapper strict mode - controls use of asserts if SQL requests fail
|
AESAliasName= "rns";
|
||||||
MSWStrictMode=0;
|
|
||||||
|
|
||||||
// This is the mapping for logical continent to physical one
|
Paths = {
|
||||||
ContinentNameTranslator =
|
"data_www"
|
||||||
{
|
|
||||||
"matis_newbie", "matis",
|
|
||||||
"zorai_newbie", "zorai",
|
|
||||||
"terre", "terre_oubliee",
|
|
||||||
"sources", "sources_interdites"
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Block the system in the tick service that provokes stalls when overloaded
|
// ---- service NeL variables (used by CVariable class)
|
||||||
WaitForBSThreshold=0;
|
|
||||||
|
|
||||||
|
|
||||||
IgnoredFiles = { "continent.cfg", "__read_me.txt", "bandit.html", "flora_primr.primitive" };
|
|
||||||
|
|
||||||
// If the update loop is too slow, a thread will produce an assertion.
|
|
||||||
// By default, the value is set to 10 minutes.
|
|
||||||
// Set to 0 for no assertion.
|
|
||||||
UpdateAssertionThreadTimeout = 6000000;
|
|
||||||
|
|
||||||
DefaultMaxExpectedBlockSize = 200000000; // 200 M !
|
|
||||||
DefaultMaxSentBlockSize = 200000000; // 200 M !
|
|
||||||
|
|
||||||
// MS Packet size limit in bytes, PER DATASET (warning: depending on the weights, limits per property may be very small)
|
|
||||||
MaxOutBandwidth = 100000000;
|
|
||||||
|
|
||||||
// how to sleep between 2 network updates
|
|
||||||
// 0 = pipe
|
|
||||||
// 1 = usleep
|
|
||||||
// 2 = nanosleep
|
|
||||||
// 3 = sched_yield
|
|
||||||
// 4 = nothing
|
|
||||||
UseYieldMethod = 0;
|
|
||||||
|
|
||||||
// The privileges needed to access any ring session
|
|
||||||
PrivilegeForSessionAccess = ":DEV:SGM:GM:SG:";
|
|
||||||
|
|
||||||
// The max number of ring points (aka ring access) for each ecosystem
|
|
||||||
MaxRingPoints = "A1:D7:F7:J8:L6:R13";
|
|
||||||
|
|
||||||
// Level limit for newb scenarios
|
|
||||||
FreeTrialSkillLimit=21;
|
|
||||||
|
|
||||||
// Level limit for newb scenarios
|
|
||||||
DefaultInterShardExchangeLevelCap=0;
|
|
||||||
|
|
||||||
// Configureation for DSS
|
|
||||||
MaxNpcs = 300;
|
|
||||||
MaxStaticObjects = 200;
|
|
||||||
|
|
||||||
// the following variable must be defined but should be empty - it's presence is used to change the behaviour
|
|
||||||
// of the packed sheet reader
|
|
||||||
GeorgePaths = { "" };
|
|
||||||
|
|
||||||
// Disable nel net verbose logging
|
|
||||||
VerboseNETTC = 0;
|
|
||||||
VerboseLNETL0 = 0;
|
|
||||||
VerboseLNETL1 = 0;
|
|
||||||
VerboseLNETL2 = 0;
|
|
||||||
VerboseLNETL3 = 0;
|
|
||||||
VerboseLNETL4 = 0;
|
|
||||||
VerboseLNETL5 = 0;
|
|
||||||
VerboseLNETL6 = 0;
|
|
||||||
|
|
||||||
// Disable ryzom verbose logging
|
|
||||||
VerboseMIRROR = 0;
|
|
||||||
VerboseRingRPLog = 0;
|
|
||||||
VerboseCDBGroup = 0;
|
|
||||||
|
|
||||||
// What to do with characters coming from another mainland shard?
|
|
||||||
// 0: teleport to the stored session id
|
|
||||||
// 1: let the character play anyway, but leave the stored session id unchanged
|
|
||||||
// 2: assign the stored session id with FixedSessionId and let play
|
|
||||||
AllowCharsFromAllSessions = 0;
|
|
||||||
|
|
||||||
// Use Shard Unifier or not
|
|
||||||
DontUseSU = 0;
|
|
||||||
|
|
||||||
// the domain's set of useful addresses
|
|
||||||
LSHost = SUHost;
|
|
||||||
RSMHost = SUHost;
|
|
||||||
|
|
||||||
// MFS config
|
// ---- service custom variables (used by ConfigFile class)
|
||||||
WebSrvUsersDirectory = "";
|
|
||||||
WebRootDirectory = "save_shard/www";
|
|
||||||
HoFHDTDirectory = "/local/www/hof/hdt";
|
|
||||||
|
|
||||||
// BS Specifics --------------------------------------------------------------------------
|
|
||||||
// BS - set to 1 if a BS is not part of a naming service group (then BS not disclosed
|
|
||||||
// to other services by the Layer 5, i.e. the services sending requests to BS have
|
|
||||||
// to know its/their address(es) by another mean)
|
|
||||||
BSDontUseNS = 1;
|
|
||||||
// BS - set the host of the naming service where the BS register
|
|
||||||
BSNSHost = "localhost";
|
|
||||||
UseBS = 1;
|
|
||||||
XMLSave = 0;
|
|
||||||
|
|
||||||
// Where to save specific shard data (ie: player backup), relatively to SaveShardRoot
|
|
||||||
SaveFilesDirectory = "";
|
|
||||||
|
|
||||||
// where to save generic shard data (ie: packed_sheet)
|
|
||||||
WriteFilesDirectory = "data_shard";
|
|
||||||
|
|
||||||
// Will SaveFilesDirectory will be converted to a full path?
|
|
||||||
ConvertSaveFilesDirectoryToFullPath = 0;
|
|
||||||
|
|
||||||
// BS - Root directory where data are backuped to
|
|
||||||
IncrementalBackupDirectory = "../incremental_backup";
|
|
||||||
|
|
||||||
// IOS - Directory to store ios.string_cache file
|
|
||||||
StringManagerCacheDirectory = "data_shard_local";
|
|
||||||
|
|
||||||
// IOS - Directory to log chat into
|
|
||||||
LogChatDirectory = "data_shard_local";
|
|
||||||
|
|
||||||
// MFS - Directories
|
|
||||||
WebRootDirectory = "../www";
|
|
||||||
|
|
||||||
// Root directory where data from shards are stored into
|
|
||||||
SaveShardRoot = "save_shard/";
|
|
||||||
|
|
||||||
// SU Specifics --------------------------------------------------------------------------
|
|
||||||
// SU - set to 1 if SU didn't use a naming service
|
|
||||||
SUDontUseNS = 1;
|
|
||||||
// SU - host for the NS used by SU
|
|
||||||
SUNSHost = "localhost";
|
|
||||||
// SU - listen address of the SU service (for L5 connections)
|
|
||||||
SUAddress = SUHost+":"+SUPort;
|
|
||||||
// SU - nel and ring database names
|
|
||||||
DBNelName = "nel";
|
|
||||||
DBRingName = "ring_open";
|
|
||||||
// Nel DB user
|
|
||||||
DBNelUser = "shard";
|
|
||||||
// Ring DB user
|
|
||||||
DBRingUser = "shard";
|
|
||||||
// SU - password to access to the nel database with DBNelUseruser (default is no password)
|
|
||||||
DBNelPass = "";
|
|
||||||
// SU - password to access to the ring database with DBRingUser (default is no password)
|
|
||||||
DBRingPass = "";
|
|
||||||
|
|
||||||
// WS Specifics --------------------------------------------------------------------------
|
|
||||||
// WS - use or not the legacy WelcomeService from nel ns (only for backward compatibility during transition to ring)
|
|
||||||
DontUseLSService = 1;
|
|
||||||
|
|
||||||
// Global config --------------------------------------------------------------------------
|
|
||||||
// set to 0 if you want to use the admin system
|
|
||||||
DontUseAES = 1;
|
|
||||||
|
|
||||||
// Disable generation / display of nldebug messages
|
|
||||||
DisableNLDebug = 1;
|
|
||||||
FSListenHost = "localhost";
|
|
||||||
DBPass="";
|
|
||||||
ShardId = 302;
|
|
||||||
BasePort = 51000;
|
BasePort = 51000;
|
||||||
SaveFilesDirectory="";
|
|
||||||
NSHost = "localhost";
|
|
||||||
// Player limits (AIS, EGS, WS, FS)
|
|
||||||
NbPlayersLimit = 5000;
|
|
||||||
NbGuildLimit = 15000;
|
|
||||||
PlayerLimit = NbPlayersLimit;
|
|
||||||
ClientLimit = 1000;
|
|
||||||
|
|
||||||
// Set this shard as a ring (1) or mainland (0) shard (main behavior switch)
|
|
||||||
IsRingShard = 0;
|
|
||||||
|
|
||||||
// Set a mainland SessionId.
|
|
||||||
// Live: Must be 0 for ring shards, non-zero (usually ShardId) for mainland shards
|
|
||||||
// Dev: Can be non-zero to initially connect a client to a ring shard
|
|
||||||
NoWSShardId = ShardId;
|
|
||||||
FixedSessionId = ShardId;
|
|
||||||
|
|
||||||
// Mirror limits
|
|
||||||
DatasetSizefe_temp = 600000;
|
|
||||||
DatasetSizefame = 26000;
|
|
||||||
|
|
||||||
// FS Specifics --------------------------------------------------------------------------
|
// ---- service custom variables (used by CVariable class)
|
||||||
// Client bandwidth ratio, set to 1 for standard opration, more than one allocate more bandwidth
|
|
||||||
BandwidthRatio = 1;
|
|
||||||
|
|
||||||
// EGS Specifics --------------------------------------------------------------------------
|
|
||||||
// Entity Limits (EGS)
|
|
||||||
NbObjectsLimit = 2000;
|
|
||||||
NbNpcSpawnedByEGSLimit = 5000;
|
|
||||||
NbForageSourcesLimit = 10000;
|
|
||||||
NbToxicCloudsLimit = 5000;
|
|
||||||
|
|
||||||
// AIS Specifics --------------------------------------------------------------------------
|
|
||||||
// Entity Limits (AIS)
|
|
||||||
NbPetLimit = NbPlayersLimit*4;
|
|
||||||
NbFaunaLimit = 50000;
|
|
||||||
NbNpcLimit = 20000;
|
|
||||||
NbFxLimit = 500;
|
|
||||||
|
|
||||||
// This is the list of continent to use with their unique instance number
|
|
||||||
UsedContinents =
|
|
||||||
{
|
|
||||||
"newbieland", "20",
|
|
||||||
};
|
|
||||||
|
|
||||||
// define the primitives configuration used.
|
|
||||||
UsedPrimitives =
|
|
||||||
{
|
|
||||||
"newbieland_all",
|
|
||||||
};
|
|
||||||
#include "naming_service_default.cfg"
|
|
||||||
|
|
||||||
Mainlands = {
|
|
||||||
"302", "Open", "(Open Developer Community)", "en",
|
|
||||||
};
|
|
||||||
HomeMainlandNames =
|
|
||||||
{
|
|
||||||
"302", "Open", "open",
|
|
||||||
};
|
|
||||||
RRDVarPath = "save_shard/rrd_graphs";
|
|
||||||
ReadTranslationWork = 1;
|
|
||||||
TranslationWorkPath = "";
|
|
||||||
|
|
||||||
DontUseAES=1;
|
|
||||||
RingRPEnabled=0;
|
|
||||||
DomainName = "ryzom_open";
|
|
||||||
EnableStlAllocatorChecker = 0;
|
|
||||||
// start commands for setting up the exchange level caps of different ryzom shards
|
|
||||||
StartCommands += { "setShardExchangeLimit 301 250" };
|
|
||||||
StartCommands += { "displayShardExchangeLimits" };
|
|
||||||
StartCommands += { "EnableStlAllocatorChecker 0" };
|
|
||||||
|
|
||||||
Paths = {
|
|
||||||
"data_www"
|
|
||||||
};
|
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
#include "common.cfg"
|
@ -0,0 +1,14 @@
|
|||||||
|
DBHost = "localhost";
|
||||||
|
DBNelName = "nel";
|
||||||
|
DBRingName = "ring_open";
|
||||||
|
// Nel DB user
|
||||||
|
DBNelUser = "shard";
|
||||||
|
// Ring DB user
|
||||||
|
DBRingUser = "shard";
|
||||||
|
// SU - password to access to the nel database with DBNelUseruser (default is no password)
|
||||||
|
DBNelPass = "";
|
||||||
|
// SU - password to access to the ring database with DBRingUser (default is no password)
|
||||||
|
DBRingPass = "";
|
||||||
|
|
||||||
|
// MySQL wrapper strict mode - controls use of asserts if SQL requests fail
|
||||||
|
MSWStrictMode=0;
|
@ -1,300 +1,30 @@
|
|||||||
// Use with commandline: tick_service -C. -L. --nobreak --writepid
|
// Use with commandline: tick_service -C. -L. --nobreak --writepid
|
||||||
AESAliasName= "ts";
|
|
||||||
|
|
||||||
ASWebPort="46700";
|
|
||||||
ASPort="46701";
|
|
||||||
AESPort="46702";
|
|
||||||
SUPort = 50505;
|
|
||||||
SUGlobalPort = 50503;
|
|
||||||
L3BSPort = "49950";
|
|
||||||
L3MasterLGSPort = 41292;
|
|
||||||
L3SlaveLGSPort = 49993;
|
|
||||||
LGSBSPort = 49990;
|
|
||||||
L3LGSBSPort = 49990;
|
|
||||||
LGSL3Port = L3MasterLGSPort;
|
|
||||||
SUHost = "localhost";
|
|
||||||
MFSHost = "localhost";
|
|
||||||
BSHost = "localhost:49990";
|
|
||||||
MasterLGSHost = "localhost";
|
|
||||||
SlaveLGSHost = "localhost";
|
|
||||||
LGSBSHost = "localhost";
|
|
||||||
DBHost = "localhost";
|
|
||||||
#define DONT_USE_LGS_SLAVE
|
|
||||||
// Configure module gateway for layer 5 module comm
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
// Create a gateway module
|
|
||||||
"moduleManager.createModule StandardGateway gw",
|
|
||||||
// add a layer 5 transport
|
|
||||||
"gw.transportAdd L5Transport l5",
|
|
||||||
// open the transport
|
|
||||||
"gw.transportCmd l5(open)",
|
|
||||||
|
|
||||||
/// Create default connection with admin executor service
|
|
||||||
// Create a gateway module
|
|
||||||
"moduleManager.createModule StandardGateway gw_aes",
|
|
||||||
// create the admin executor service module
|
|
||||||
"moduleManager.createModule AdminExecutorServiceClient aes_client",
|
|
||||||
"aes_client.plug gw_aes",
|
|
||||||
|
|
||||||
// create a layer 3 client to connect to aes gateway
|
|
||||||
"gw_aes.transportAdd L3Client aes_l3c",
|
|
||||||
"gw_aes.transportCmd aes_l3c(connect addr=localhost:"+AESPort+")",
|
|
||||||
};
|
|
||||||
|
|
||||||
/// A list of vars to graph for any service
|
|
||||||
GraphVars =
|
|
||||||
{
|
|
||||||
"ProcessUsedMemory", "60000", // every minute
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/* Force default value for PDLib directory (e.g. SaveFilesDirectory...)
|
|
||||||
* PLEASE NOTICE THAT THIS LINE MUST BE LEFT TO ""
|
|
||||||
* Only log analyser must have the $shard parameter to find all shards root directory
|
|
||||||
*/
|
|
||||||
PDRootDirectory = "";
|
|
||||||
|
|
||||||
// Log PD updates to log file (1 enabled, 0 disabled), see PDLogSaveDirectory to choose where to log
|
#include "tick_service_default.cfg"
|
||||||
PDEnableLog = 1;
|
|
||||||
|
|
||||||
// Log PD StringManager updates to log file (1 enabled, 0 disabled), see PDLogSaveDirectory to choose where to log
|
// ---- config local variables
|
||||||
PDEnableStringLog = 0;
|
|
||||||
|
|
||||||
// Number of seconds between 2 logs to file
|
// ---- service NeL variables (used by ConfigFile class)
|
||||||
PDLogUpdate = 10;
|
|
||||||
|
|
||||||
// MySGL wrapper strict mode - controls use of asserts if SQL requests fail
|
AESAliasName= "ts";
|
||||||
MSWStrictMode=0;
|
|
||||||
|
|
||||||
// This is the mapping for logical continent to physical one
|
Paths = {
|
||||||
ContinentNameTranslator =
|
".",
|
||||||
{
|
"../common/data_common",
|
||||||
"matis_newbie", "matis",
|
"../common/data_leveldesign",
|
||||||
"zorai_newbie", "zorai",
|
|
||||||
"terre", "terre_oubliee",
|
|
||||||
"sources", "sources_interdites"
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Block the system in the tick service that provokes stalls when overloaded
|
// ---- service NeL variables (used by CVariable class)
|
||||||
WaitForBSThreshold=0;
|
|
||||||
|
|
||||||
|
|
||||||
IgnoredFiles = { "continent.cfg", "__read_me.txt", "bandit.html", "flora_primr.primitive" };
|
|
||||||
|
|
||||||
// If the update loop is too slow, a thread will produce an assertion.
|
|
||||||
// By default, the value is set to 10 minutes.
|
|
||||||
// Set to 0 for no assertion.
|
|
||||||
UpdateAssertionThreadTimeout = 6000000;
|
|
||||||
|
|
||||||
DefaultMaxExpectedBlockSize = 200000000; // 200 M !
|
|
||||||
DefaultMaxSentBlockSize = 200000000; // 200 M !
|
|
||||||
|
|
||||||
// MS Packet size limit in bytes, PER DATASET (warning: depending on the weights, limits per property may be very small)
|
|
||||||
MaxOutBandwidth = 100000000;
|
|
||||||
|
|
||||||
// how to sleep between 2 network updates
|
|
||||||
// 0 = pipe
|
|
||||||
// 1 = usleep
|
|
||||||
// 2 = nanosleep
|
|
||||||
// 3 = sched_yield
|
|
||||||
// 4 = nothing
|
|
||||||
UseYieldMethod = 0;
|
|
||||||
|
|
||||||
// The privileges needed to access any ring session
|
|
||||||
PrivilegeForSessionAccess = ":DEV:SGM:GM:SG:";
|
|
||||||
|
|
||||||
// The max number of ring points (aka ring access) for each ecosystem
|
|
||||||
MaxRingPoints = "A1:D7:F7:J8:L6:R13";
|
|
||||||
|
|
||||||
// Level limit for newb scenarios
|
|
||||||
FreeTrialSkillLimit=21;
|
|
||||||
|
|
||||||
// Level limit for newb scenarios
|
|
||||||
DefaultInterShardExchangeLevelCap=0;
|
|
||||||
|
|
||||||
// Configureation for DSS
|
|
||||||
MaxNpcs = 300;
|
|
||||||
MaxStaticObjects = 200;
|
|
||||||
|
|
||||||
// the following variable must be defined but should be empty - it's presence is used to change the behaviour
|
|
||||||
// of the packed sheet reader
|
|
||||||
GeorgePaths = { "" };
|
|
||||||
|
|
||||||
// Disable nel net verbose logging
|
|
||||||
VerboseNETTC = 0;
|
|
||||||
VerboseLNETL0 = 0;
|
|
||||||
VerboseLNETL1 = 0;
|
|
||||||
VerboseLNETL2 = 0;
|
|
||||||
VerboseLNETL3 = 0;
|
|
||||||
VerboseLNETL4 = 0;
|
|
||||||
VerboseLNETL5 = 0;
|
|
||||||
VerboseLNETL6 = 0;
|
|
||||||
|
|
||||||
// Disable ryzom verbose logging
|
|
||||||
VerboseMIRROR = 0;
|
|
||||||
VerboseRingRPLog = 0;
|
|
||||||
VerboseCDBGroup = 0;
|
|
||||||
|
|
||||||
// What to do with characters coming from another mainland shard?
|
|
||||||
// 0: teleport to the stored session id
|
|
||||||
// 1: let the character play anyway, but leave the stored session id unchanged
|
|
||||||
// 2: assign the stored session id with FixedSessionId and let play
|
|
||||||
AllowCharsFromAllSessions = 0;
|
|
||||||
|
|
||||||
// Use Shard Unifier or not
|
|
||||||
DontUseSU = 0;
|
|
||||||
|
|
||||||
// the domain's set of useful addresses
|
// ---- service custom variables (used by ConfigFile class)
|
||||||
LSHost = SUHost;
|
|
||||||
RSMHost = SUHost;
|
|
||||||
|
|
||||||
// MFS config
|
|
||||||
WebSrvUsersDirectory = "";
|
|
||||||
WebRootDirectory = "save_shard/www";
|
|
||||||
HoFHDTDirectory = "/local/www/hof/hdt";
|
|
||||||
|
|
||||||
// BS Specifics --------------------------------------------------------------------------
|
|
||||||
// BS - set to 1 if a BS is not part of a naming service group (then BS not disclosed
|
|
||||||
// to other services by the Layer 5, i.e. the services sending requests to BS have
|
|
||||||
// to know its/their address(es) by another mean)
|
|
||||||
BSDontUseNS = 1;
|
|
||||||
// BS - set the host of the naming service where the BS register
|
|
||||||
BSNSHost = "localhost";
|
|
||||||
UseBS = 1;
|
|
||||||
XMLSave = 0;
|
|
||||||
|
|
||||||
// Where to save specific shard data (ie: player backup), relatively to SaveShardRoot
|
|
||||||
SaveFilesDirectory = "";
|
|
||||||
|
|
||||||
// where to save generic shard data (ie: packed_sheet)
|
|
||||||
WriteFilesDirectory = "data_shard";
|
|
||||||
|
|
||||||
// Will SaveFilesDirectory will be converted to a full path?
|
|
||||||
ConvertSaveFilesDirectoryToFullPath = 0;
|
|
||||||
|
|
||||||
// BS - Root directory where data are backuped to
|
|
||||||
IncrementalBackupDirectory = "../incremental_backup";
|
|
||||||
|
|
||||||
// IOS - Directory to store ios.string_cache file
|
|
||||||
StringManagerCacheDirectory = "data_shard_local";
|
|
||||||
|
|
||||||
// IOS - Directory to log chat into
|
|
||||||
LogChatDirectory = "data_shard_local";
|
|
||||||
|
|
||||||
// MFS - Directories
|
|
||||||
WebRootDirectory = "../www";
|
|
||||||
|
|
||||||
// Root directory where data from shards are stored into
|
|
||||||
SaveShardRoot = "save_shard/";
|
|
||||||
|
|
||||||
// SU Specifics --------------------------------------------------------------------------
|
|
||||||
// SU - set to 1 if SU didn't use a naming service
|
|
||||||
SUDontUseNS = 1;
|
|
||||||
// SU - host for the NS used by SU
|
|
||||||
SUNSHost = "localhost";
|
|
||||||
// SU - listen address of the SU service (for L5 connections)
|
|
||||||
SUAddress = SUHost+":"+SUPort;
|
|
||||||
// SU - nel and ring database names
|
|
||||||
DBNelName = "nel";
|
|
||||||
DBRingName = "ring_open";
|
|
||||||
// Nel DB user
|
|
||||||
DBNelUser = "shard";
|
|
||||||
// Ring DB user
|
|
||||||
DBRingUser = "shard";
|
|
||||||
// SU - password to access to the nel database with DBNelUseruser (default is no password)
|
|
||||||
DBNelPass = "";
|
|
||||||
// SU - password to access to the ring database with DBRingUser (default is no password)
|
|
||||||
DBRingPass = "";
|
|
||||||
|
|
||||||
// WS Specifics --------------------------------------------------------------------------
|
|
||||||
// WS - use or not the legacy WelcomeService from nel ns (only for backward compatibility during transition to ring)
|
|
||||||
DontUseLSService = 1;
|
|
||||||
|
|
||||||
// Global config --------------------------------------------------------------------------
|
|
||||||
// set to 0 if you want to use the admin system
|
|
||||||
DontUseAES = 1;
|
|
||||||
|
|
||||||
// Disable generation / display of nldebug messages
|
|
||||||
DisableNLDebug = 1;
|
|
||||||
FSListenHost = "localhost";
|
|
||||||
DBPass="";
|
|
||||||
ShardId = 302;
|
|
||||||
BasePort = 51000;
|
|
||||||
SaveFilesDirectory="";
|
|
||||||
NSHost = "localhost";
|
|
||||||
// Player limits (AIS, EGS, WS, FS)
|
|
||||||
NbPlayersLimit = 5000;
|
|
||||||
NbGuildLimit = 15000;
|
|
||||||
PlayerLimit = NbPlayersLimit;
|
|
||||||
ClientLimit = 1000;
|
|
||||||
|
|
||||||
// Set this shard as a ring (1) or mainland (0) shard (main behavior switch)
|
|
||||||
IsRingShard = 0;
|
|
||||||
|
|
||||||
// Set a mainland SessionId.
|
|
||||||
// Live: Must be 0 for ring shards, non-zero (usually ShardId) for mainland shards
|
|
||||||
// Dev: Can be non-zero to initially connect a client to a ring shard
|
|
||||||
NoWSShardId = ShardId;
|
|
||||||
FixedSessionId = ShardId;
|
|
||||||
|
|
||||||
// Mirror limits
|
// Mirror limits
|
||||||
DatasetSizefe_temp = 600000;
|
DatasetSizefe_temp = 600000;
|
||||||
DatasetSizefame = 26000;
|
DatasetSizefame = 26000;
|
||||||
|
|
||||||
// FS Specifics --------------------------------------------------------------------------
|
// ---- service custom variables (used by CVariable class)
|
||||||
// Client bandwidth ratio, set to 1 for standard opration, more than one allocate more bandwidth
|
|
||||||
BandwidthRatio = 1;
|
|
||||||
|
|
||||||
// EGS Specifics --------------------------------------------------------------------------
|
|
||||||
// Entity Limits (EGS)
|
|
||||||
NbObjectsLimit = 2000;
|
|
||||||
NbNpcSpawnedByEGSLimit = 5000;
|
|
||||||
NbForageSourcesLimit = 10000;
|
|
||||||
NbToxicCloudsLimit = 5000;
|
|
||||||
|
|
||||||
// AIS Specifics --------------------------------------------------------------------------
|
// Disable ryzom verbose logging
|
||||||
// Entity Limits (AIS)
|
VerboseMIRROR = 0;
|
||||||
NbPetLimit = NbPlayersLimit*4;
|
|
||||||
NbFaunaLimit = 50000;
|
|
||||||
NbNpcLimit = 20000;
|
|
||||||
NbFxLimit = 500;
|
|
||||||
|
|
||||||
// This is the list of continent to use with their unique instance number
|
|
||||||
UsedContinents =
|
|
||||||
{
|
|
||||||
"newbieland", "20",
|
|
||||||
};
|
|
||||||
|
|
||||||
// define the primitives configuration used.
|
|
||||||
UsedPrimitives =
|
|
||||||
{
|
|
||||||
"newbieland_all",
|
|
||||||
};
|
|
||||||
#include "tick_service_default.cfg"
|
|
||||||
|
|
||||||
Mainlands = {
|
|
||||||
"302", "Open", "(Open Developer Community)", "en",
|
|
||||||
};
|
|
||||||
HomeMainlandNames =
|
|
||||||
{
|
|
||||||
"302", "Open", "open",
|
|
||||||
};
|
|
||||||
RRDVarPath = "save_shard/rrd_graphs";
|
|
||||||
ReadTranslationWork = 1;
|
|
||||||
TranslationWorkPath = "";
|
|
||||||
|
|
||||||
DontUseAES=1;
|
|
||||||
RingRPEnabled=0;
|
|
||||||
DomainName = "ryzom_open";
|
|
||||||
EnableStlAllocatorChecker = 0;
|
|
||||||
// start commands for setting up the exchange level caps of different ryzom shards
|
|
||||||
StartCommands += { "setShardExchangeLimit 301 250" };
|
|
||||||
StartCommands += { "displayShardExchangeLimits" };
|
|
||||||
StartCommands += { "EnableStlAllocatorChecker 0" };
|
|
||||||
|
|
||||||
Paths = {
|
#include "backup_service_interface.cfg"
|
||||||
".",
|
|
||||||
"../common/data_common",
|
|
||||||
"../common/data_leveldesign",
|
|
||||||
};
|
|
||||||
|
@ -0,0 +1,14 @@
|
|||||||
|
// This is the mapping for logical continent to physical one (server_share/used_continent.cpp)
|
||||||
|
ContinentNameTranslator =
|
||||||
|
{
|
||||||
|
"matis_newbie", "matis",
|
||||||
|
"zorai_newbie", "zorai",
|
||||||
|
"terre", "terre_oubliee",
|
||||||
|
"sources", "sources_interdites"
|
||||||
|
};
|
||||||
|
|
||||||
|
// This is the list of continent to use with their unique instance number (server_share/used_continent.cpp)
|
||||||
|
UsedContinents =
|
||||||
|
{
|
||||||
|
"newbieland", "20",
|
||||||
|
};
|
@ -1,298 +1,34 @@
|
|||||||
// Use with commandline: ryzom_welcome_service -C. -L. --nobreak --writepid
|
// Use with commandline: ryzom_welcome_service -C. -L. --nobreak --writepid
|
||||||
AESAliasName= "rws";
|
|
||||||
|
|
||||||
ASWebPort="46700";
|
// ---- config local variables
|
||||||
ASPort="46701";
|
|
||||||
AESPort="46702";
|
|
||||||
SUPort = 50505;
|
SUPort = 50505;
|
||||||
SUGlobalPort = 50503;
|
|
||||||
L3BSPort = "49950";
|
|
||||||
L3MasterLGSPort = 41292;
|
|
||||||
L3SlaveLGSPort = 49993;
|
|
||||||
LGSBSPort = 49990;
|
|
||||||
L3LGSBSPort = 49990;
|
|
||||||
LGSL3Port = L3MasterLGSPort;
|
|
||||||
SUHost = "localhost";
|
SUHost = "localhost";
|
||||||
MFSHost = "localhost";
|
// SU - listen address of the SU service (for L5 connections)
|
||||||
BSHost = "localhost:49990";
|
SUAddress = SUHost+":"+SUPort;
|
||||||
MasterLGSHost = "localhost";
|
|
||||||
SlaveLGSHost = "localhost";
|
|
||||||
LGSBSHost = "localhost";
|
|
||||||
DBHost = "localhost";
|
|
||||||
#define DONT_USE_LGS_SLAVE
|
|
||||||
// Configure module gateway for layer 5 module comm
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
// Create a gateway module
|
|
||||||
"moduleManager.createModule StandardGateway gw",
|
|
||||||
// add a layer 5 transport
|
|
||||||
"gw.transportAdd L5Transport l5",
|
|
||||||
// open the transport
|
|
||||||
"gw.transportCmd l5(open)",
|
|
||||||
|
|
||||||
/// Create default connection with admin executor service
|
|
||||||
// Create a gateway module
|
|
||||||
"moduleManager.createModule StandardGateway gw_aes",
|
|
||||||
// create the admin executor service module
|
|
||||||
"moduleManager.createModule AdminExecutorServiceClient aes_client",
|
|
||||||
"aes_client.plug gw_aes",
|
|
||||||
|
|
||||||
// create a layer 3 client to connect to aes gateway
|
|
||||||
"gw_aes.transportAdd L3Client aes_l3c",
|
|
||||||
"gw_aes.transportCmd aes_l3c(connect addr=localhost:"+AESPort+")",
|
|
||||||
};
|
|
||||||
|
|
||||||
/// A list of vars to graph for any service
|
|
||||||
GraphVars =
|
|
||||||
{
|
|
||||||
"ProcessUsedMemory", "60000", // every minute
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/* Force default value for PDLib directory (e.g. SaveFilesDirectory...)
|
|
||||||
* PLEASE NOTICE THAT THIS LINE MUST BE LEFT TO ""
|
|
||||||
* Only log analyser must have the $shard parameter to find all shards root directory
|
|
||||||
*/
|
|
||||||
PDRootDirectory = "";
|
|
||||||
|
|
||||||
// Log PD updates to log file (1 enabled, 0 disabled), see PDLogSaveDirectory to choose where to log
|
|
||||||
PDEnableLog = 1;
|
|
||||||
|
|
||||||
// Log PD StringManager updates to log file (1 enabled, 0 disabled), see PDLogSaveDirectory to choose where to log
|
#include "welcome_service_default.cfg"
|
||||||
PDEnableStringLog = 0;
|
|
||||||
|
|
||||||
// Number of seconds between 2 logs to file
|
// ---- service NeL variables (used by ConfigFile class)
|
||||||
PDLogUpdate = 10;
|
|
||||||
|
|
||||||
// MySGL wrapper strict mode - controls use of asserts if SQL requests fail
|
AESAliasName= "rws";
|
||||||
MSWStrictMode=0;
|
|
||||||
|
|
||||||
// This is the mapping for logical continent to physical one
|
Paths = {
|
||||||
ContinentNameTranslator =
|
".",
|
||||||
{
|
|
||||||
"matis_newbie", "matis",
|
|
||||||
"zorai_newbie", "zorai",
|
|
||||||
"terre", "terre_oubliee",
|
|
||||||
"sources", "sources_interdites"
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Block the system in the tick service that provokes stalls when overloaded
|
// ---- service NeL variables (used by CVariable class)
|
||||||
WaitForBSThreshold=0;
|
|
||||||
|
|
||||||
|
|
||||||
IgnoredFiles = { "continent.cfg", "__read_me.txt", "bandit.html", "flora_primr.primitive" };
|
// ---- service custom variables (used by ConfigFile class)
|
||||||
|
|
||||||
// If the update loop is too slow, a thread will produce an assertion.
|
|
||||||
// By default, the value is set to 10 minutes.
|
|
||||||
// Set to 0 for no assertion.
|
|
||||||
UpdateAssertionThreadTimeout = 6000000;
|
|
||||||
|
|
||||||
DefaultMaxExpectedBlockSize = 200000000; // 200 M !
|
|
||||||
DefaultMaxSentBlockSize = 200000000; // 200 M !
|
|
||||||
|
|
||||||
// MS Packet size limit in bytes, PER DATASET (warning: depending on the weights, limits per property may be very small)
|
|
||||||
MaxOutBandwidth = 100000000;
|
|
||||||
|
|
||||||
// how to sleep between 2 network updates
|
|
||||||
// 0 = pipe
|
|
||||||
// 1 = usleep
|
|
||||||
// 2 = nanosleep
|
|
||||||
// 3 = sched_yield
|
|
||||||
// 4 = nothing
|
|
||||||
UseYieldMethod = 0;
|
|
||||||
|
|
||||||
// The privileges needed to access any ring session
|
|
||||||
PrivilegeForSessionAccess = ":DEV:SGM:GM:SG:";
|
|
||||||
|
|
||||||
// The max number of ring points (aka ring access) for each ecosystem
|
|
||||||
MaxRingPoints = "A1:D7:F7:J8:L6:R13";
|
|
||||||
|
|
||||||
// Level limit for newb scenarios
|
|
||||||
FreeTrialSkillLimit=21;
|
|
||||||
|
|
||||||
// Level limit for newb scenarios
|
|
||||||
DefaultInterShardExchangeLevelCap=0;
|
|
||||||
|
|
||||||
// Configureation for DSS
|
|
||||||
MaxNpcs = 300;
|
|
||||||
MaxStaticObjects = 200;
|
|
||||||
|
|
||||||
// the following variable must be defined but should be empty - it's presence is used to change the behaviour
|
|
||||||
// of the packed sheet reader
|
|
||||||
GeorgePaths = { "" };
|
|
||||||
|
|
||||||
// Disable nel net verbose logging
|
|
||||||
VerboseNETTC = 0;
|
|
||||||
VerboseLNETL0 = 0;
|
|
||||||
VerboseLNETL1 = 0;
|
|
||||||
VerboseLNETL2 = 0;
|
|
||||||
VerboseLNETL3 = 0;
|
|
||||||
VerboseLNETL4 = 0;
|
|
||||||
VerboseLNETL5 = 0;
|
|
||||||
VerboseLNETL6 = 0;
|
|
||||||
|
|
||||||
// Disable ryzom verbose logging
|
|
||||||
VerboseMIRROR = 0;
|
|
||||||
VerboseRingRPLog = 0;
|
|
||||||
VerboseCDBGroup = 0;
|
|
||||||
|
|
||||||
// What to do with characters coming from another mainland shard?
|
|
||||||
// 0: teleport to the stored session id
|
|
||||||
// 1: let the character play anyway, but leave the stored session id unchanged
|
|
||||||
// 2: assign the stored session id with FixedSessionId and let play
|
|
||||||
AllowCharsFromAllSessions = 0;
|
|
||||||
|
|
||||||
// Use Shard Unifier or not
|
|
||||||
DontUseSU = 0;
|
|
||||||
|
|
||||||
// the domain's set of useful addresses
|
|
||||||
LSHost = SUHost;
|
|
||||||
RSMHost = SUHost;
|
|
||||||
|
|
||||||
// MFS config
|
|
||||||
WebSrvUsersDirectory = "";
|
|
||||||
WebRootDirectory = "save_shard/www";
|
|
||||||
HoFHDTDirectory = "/local/www/hof/hdt";
|
|
||||||
|
|
||||||
// BS Specifics --------------------------------------------------------------------------
|
|
||||||
// BS - set to 1 if a BS is not part of a naming service group (then BS not disclosed
|
|
||||||
// to other services by the Layer 5, i.e. the services sending requests to BS have
|
|
||||||
// to know its/their address(es) by another mean)
|
|
||||||
BSDontUseNS = 1;
|
|
||||||
// BS - set the host of the naming service where the BS register
|
|
||||||
BSNSHost = "localhost";
|
|
||||||
UseBS = 1;
|
|
||||||
XMLSave = 0;
|
|
||||||
|
|
||||||
// Where to save specific shard data (ie: player backup), relatively to SaveShardRoot
|
|
||||||
SaveFilesDirectory = "";
|
|
||||||
|
|
||||||
// where to save generic shard data (ie: packed_sheet)
|
|
||||||
WriteFilesDirectory = "data_shard";
|
|
||||||
|
|
||||||
// Will SaveFilesDirectory will be converted to a full path?
|
|
||||||
ConvertSaveFilesDirectoryToFullPath = 0;
|
|
||||||
|
|
||||||
// BS - Root directory where data are backuped to
|
|
||||||
IncrementalBackupDirectory = "../incremental_backup";
|
|
||||||
|
|
||||||
// IOS - Directory to store ios.string_cache file
|
|
||||||
StringManagerCacheDirectory = "data_shard_local";
|
|
||||||
|
|
||||||
// IOS - Directory to log chat into
|
|
||||||
LogChatDirectory = "data_shard_local";
|
|
||||||
|
|
||||||
// MFS - Directories
|
|
||||||
WebRootDirectory = "../www";
|
|
||||||
|
|
||||||
// Root directory where data from shards are stored into
|
|
||||||
SaveShardRoot = "save_shard/";
|
|
||||||
|
|
||||||
// SU Specifics --------------------------------------------------------------------------
|
|
||||||
// SU - set to 1 if SU didn't use a naming service
|
|
||||||
SUDontUseNS = 1;
|
|
||||||
// SU - host for the NS used by SU
|
|
||||||
SUNSHost = "localhost";
|
|
||||||
// SU - listen address of the SU service (for L5 connections)
|
|
||||||
SUAddress = SUHost+":"+SUPort;
|
|
||||||
// SU - nel and ring database names
|
|
||||||
DBNelName = "nel";
|
|
||||||
DBRingName = "ring_open";
|
|
||||||
// Nel DB user
|
|
||||||
DBNelUser = "shard";
|
|
||||||
// Ring DB user
|
|
||||||
DBRingUser = "shard";
|
|
||||||
// SU - password to access to the nel database with DBNelUseruser (default is no password)
|
|
||||||
DBNelPass = "";
|
|
||||||
// SU - password to access to the ring database with DBRingUser (default is no password)
|
|
||||||
DBRingPass = "";
|
|
||||||
|
|
||||||
// WS Specifics --------------------------------------------------------------------------
|
|
||||||
// WS - use or not the legacy WelcomeService from nel ns (only for backward compatibility during transition to ring)
|
// WS - use or not the legacy WelcomeService from nel ns (only for backward compatibility during transition to ring)
|
||||||
DontUseLSService = 1;
|
DontUseLSService = 1;
|
||||||
|
|
||||||
// Global config --------------------------------------------------------------------------
|
LSHost = SUHost;
|
||||||
// set to 0 if you want to use the admin system
|
|
||||||
DontUseAES = 1;
|
|
||||||
|
|
||||||
// Disable generation / display of nldebug messages
|
|
||||||
DisableNLDebug = 1;
|
|
||||||
FSListenHost = "localhost";
|
|
||||||
DBPass="";
|
|
||||||
ShardId = 302;
|
|
||||||
BasePort = 51000;
|
|
||||||
SaveFilesDirectory="";
|
|
||||||
NSHost = "localhost";
|
|
||||||
// Player limits (AIS, EGS, WS, FS)
|
|
||||||
NbPlayersLimit = 5000;
|
|
||||||
NbGuildLimit = 15000;
|
|
||||||
PlayerLimit = NbPlayersLimit;
|
|
||||||
ClientLimit = 1000;
|
|
||||||
|
|
||||||
// Set this shard as a ring (1) or mainland (0) shard (main behavior switch)
|
|
||||||
IsRingShard = 0;
|
|
||||||
|
|
||||||
// Set a mainland SessionId.
|
// Set a mainland SessionId.
|
||||||
// Live: Must be 0 for ring shards, non-zero (usually ShardId) for mainland shards
|
// Live: Must be 0 for ring shards, non-zero (usually ShardId) for mainland shards
|
||||||
// Dev: Can be non-zero to initially connect a client to a ring shard
|
// Dev: Can be non-zero to initially connect a client to a ring shard
|
||||||
NoWSShardId = ShardId;
|
|
||||||
FixedSessionId = ShardId;
|
FixedSessionId = ShardId;
|
||||||
|
|
||||||
// Mirror limits
|
// ---- service custom variables (used by CVariable class)
|
||||||
DatasetSizefe_temp = 600000;
|
|
||||||
DatasetSizefame = 26000;
|
|
||||||
|
|
||||||
// FS Specifics --------------------------------------------------------------------------
|
|
||||||
// Client bandwidth ratio, set to 1 for standard opration, more than one allocate more bandwidth
|
|
||||||
BandwidthRatio = 1;
|
|
||||||
|
|
||||||
// EGS Specifics --------------------------------------------------------------------------
|
|
||||||
// Entity Limits (EGS)
|
|
||||||
NbObjectsLimit = 2000;
|
|
||||||
NbNpcSpawnedByEGSLimit = 5000;
|
|
||||||
NbForageSourcesLimit = 10000;
|
|
||||||
NbToxicCloudsLimit = 5000;
|
|
||||||
|
|
||||||
// AIS Specifics --------------------------------------------------------------------------
|
|
||||||
// Entity Limits (AIS)
|
|
||||||
NbPetLimit = NbPlayersLimit*4;
|
|
||||||
NbFaunaLimit = 50000;
|
|
||||||
NbNpcLimit = 20000;
|
|
||||||
NbFxLimit = 500;
|
|
||||||
|
|
||||||
// This is the list of continent to use with their unique instance number
|
|
||||||
UsedContinents =
|
|
||||||
{
|
|
||||||
"newbieland", "20",
|
|
||||||
};
|
|
||||||
|
|
||||||
// define the primitives configuration used.
|
|
||||||
UsedPrimitives =
|
|
||||||
{
|
|
||||||
"newbieland_all",
|
|
||||||
};
|
|
||||||
#include "welcome_service_default.cfg"
|
|
||||||
|
|
||||||
Mainlands = {
|
|
||||||
"302", "Open", "(Open Developer Community)", "en",
|
|
||||||
};
|
|
||||||
HomeMainlandNames =
|
|
||||||
{
|
|
||||||
"302", "Open", "open",
|
|
||||||
};
|
|
||||||
RRDVarPath = "save_shard/rrd_graphs";
|
|
||||||
ReadTranslationWork = 1;
|
|
||||||
TranslationWorkPath = "";
|
|
||||||
|
|
||||||
DontUseAES=1;
|
|
||||||
RingRPEnabled=0;
|
|
||||||
DomainName = "ryzom_open";
|
|
||||||
EnableStlAllocatorChecker = 0;
|
|
||||||
// start commands for setting up the exchange level caps of different ryzom shards
|
|
||||||
StartCommands += { "setShardExchangeLimit 301 250" };
|
|
||||||
StartCommands += { "displayShardExchangeLimits" };
|
|
||||||
StartCommands += { "EnableStlAllocatorChecker 0" };
|
|
||||||
|
|
||||||
Paths = {
|
|
||||||
".",
|
|
||||||
};
|
|
||||||
|
Loading…
Reference in New Issue