mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-20 07:58:44 +00:00
Changed: new cfg cleaned by kerozcak
This commit is contained in:
parent
53579fdd52
commit
a819027d72
30 changed files with 735 additions and 4545 deletions
|
@ -1,57 +1,16 @@
|
||||||
|
// Use with commandline: ryzom_admin_service -A. -C. -L. --nobreak --fulladminname=admin_executor_service --shortadminname=AES
|
||||||
|
|
||||||
#include "admin_executor_service_default.cfg"
|
#include "admin_executor_service_default.cfg"
|
||||||
|
|
||||||
// I'm the AES, I'll not connect to myself!
|
// ---- config local variables
|
||||||
DontUseAES = 1;
|
|
||||||
// I don't need a connection to a naming service
|
|
||||||
DontUseNS = 1;
|
|
||||||
|
|
||||||
|
// Address of the admin service (default port is 49996)
|
||||||
AESAliasName= "aes";
|
|
||||||
|
|
||||||
//
|
|
||||||
DontUseStdIn = 0;
|
|
||||||
|
|
||||||
// Address ofthe admin service (default port is 49996)
|
|
||||||
ASHost = "localhost";
|
ASHost = "localhost";
|
||||||
|
ASPort="46701";
|
||||||
|
|
||||||
// Config for AES
|
// ---- service NeL variables (used by ConfigFile class)
|
||||||
AESPort = "46702";
|
|
||||||
AESHost = "localhost";
|
|
||||||
ASPort = "46701";
|
|
||||||
|
|
||||||
|
AESAliasName= "aes_open";
|
||||||
// in second, -1 for not restarting
|
|
||||||
RestartDelay = 60;
|
|
||||||
|
|
||||||
// how many second before aborting the request if not finished
|
|
||||||
RequestTimeout = 5;
|
|
||||||
|
|
||||||
// log path for advanced log report
|
|
||||||
LogPath = "/.";
|
|
||||||
|
|
||||||
// setup for deployment environment with exeternal configuration system responsible for launching apps and
|
|
||||||
// for configuring AES services
|
|
||||||
DontLaunchServicesDirectly = 1;
|
|
||||||
UseExplicitAESRegistration = 1;
|
|
||||||
KillServicesOnDisconnect = 1;
|
|
||||||
|
|
||||||
// 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 = 0;
|
|
||||||
|
|
||||||
DefaultMaxExpectedBlockSize = 200000000; // 200 M !
|
|
||||||
DefaultMaxSentBlockSize = 200000000; // 200 M !
|
|
||||||
|
|
||||||
// how to sleep between to network update
|
|
||||||
// 0 = pipe
|
|
||||||
// 1 = usleep
|
|
||||||
// 2 = nanosleep
|
|
||||||
// 3 = sched_yield
|
|
||||||
// 4 = nothing
|
|
||||||
UseYieldMethod = 0;
|
|
||||||
|
|
||||||
#include "./aes_alias_name.cfg"
|
|
||||||
|
|
||||||
StartCommands=
|
StartCommands=
|
||||||
{
|
{
|
||||||
|
@ -73,7 +32,6 @@ StartCommands=
|
||||||
"gw_aes.transportAdd L3Client aes_l3c",
|
"gw_aes.transportAdd L3Client aes_l3c",
|
||||||
"gw_aes.transportCmd aes_l3c(connect addr="+AESHost+":"+AESPort+")",
|
"gw_aes.transportCmd aes_l3c(connect addr="+AESHost+":"+AESPort+")",
|
||||||
|
|
||||||
|
|
||||||
// create the admin executor service module
|
// create the admin executor service module
|
||||||
"moduleManager.createModule AdminExecutorService aes",
|
"moduleManager.createModule AdminExecutorService aes",
|
||||||
|
|
||||||
|
@ -93,11 +51,31 @@ StartCommands=
|
||||||
// plug the as
|
// plug the as
|
||||||
"aes.plug asc_gw",
|
"aes.plug asc_gw",
|
||||||
"aes.plug aes_gw",
|
"aes.plug aes_gw",
|
||||||
|
};
|
||||||
|
|
||||||
|
StartCommands +=
|
||||||
|
{
|
||||||
|
"aes.addRegisteredService bms_master open",
|
||||||
|
// "aes.addRegisteredService bms_pd_master open",
|
||||||
|
"aes.addRegisteredService egs open",
|
||||||
|
"aes.addRegisteredService gpms open",
|
||||||
|
"aes.addRegisteredService ios open",
|
||||||
|
"aes.addRegisteredService rns open",
|
||||||
|
"aes.addRegisteredService rws open",
|
||||||
|
"aes.addRegisteredService ts open",
|
||||||
|
"aes.addRegisteredService ms open",
|
||||||
|
"aes.addRegisteredService ais_newbyland open",
|
||||||
|
"aes.addRegisteredService mfs open",
|
||||||
|
"aes.addRegisteredService su open",
|
||||||
|
"aes.addRegisteredService fes open",
|
||||||
|
"aes.addRegisteredService sbs open",
|
||||||
|
"aes.addRegisteredService lgs open",
|
||||||
|
// "aes.addRegisteredService mos open",
|
||||||
|
// "aes.addRegisteredService pdss open",
|
||||||
|
"aes.addRegisteredService ras open",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
ShardName="dev";
|
|
||||||
bms_master = { "./", "/home/nevrax/dev/live/service_backup_service/backup_service", "-C. -L. --nobreak --writepid -P49990" };
|
bms_master = { "./", "/home/nevrax/dev/live/service_backup_service/backup_service", "-C. -L. --nobreak --writepid -P49990" };
|
||||||
bms_pd_master = { "./", "/home/nevrax/dev/live/service_backup_service/backup_service", "-C. -L. --nobreak --writepid -P49992" };
|
bms_pd_master = { "./", "/home/nevrax/dev/live/service_backup_service/backup_service", "-C. -L. --nobreak --writepid -P49992" };
|
||||||
egs = { "./", "/home/nevrax/dev/live/service_entities_game_service/entities_game_service", "-C. -L. --nobreak --writepid" };
|
egs = { "./", "/home/nevrax/dev/live/service_entities_game_service/entities_game_service", "-C. -L. --nobreak --writepid" };
|
||||||
|
@ -139,24 +117,33 @@ RegisteredServices=
|
||||||
"ras",
|
"ras",
|
||||||
};
|
};
|
||||||
|
|
||||||
StartCommands +=
|
//
|
||||||
{
|
DontUseStdIn = 0;
|
||||||
"aes.addRegisteredService bms_master open",
|
|
||||||
// "aes.addRegisteredService bms_pd_master open",
|
// ---- service NeL variables (used by CVariable class)
|
||||||
"aes.addRegisteredService egs open",
|
|
||||||
"aes.addRegisteredService gpms open",
|
// If the update loop is too slow, a thread will produce an assertion.
|
||||||
"aes.addRegisteredService ios open",
|
// By default, the value is set to 10 minutes.
|
||||||
"aes.addRegisteredService rns open",
|
// Set to 0 for no assertion.
|
||||||
"aes.addRegisteredService rws open",
|
UpdateAssertionThreadTimeout = 0;
|
||||||
"aes.addRegisteredService ts open",
|
|
||||||
"aes.addRegisteredService ms open",
|
// ---- service custom variables (used by ConfigFile class)
|
||||||
"aes.addRegisteredService ais_newbyland open",
|
|
||||||
"aes.addRegisteredService mfs open",
|
// ---- service custom variables (used by CVariable class)
|
||||||
"aes.addRegisteredService su open",
|
|
||||||
"aes.addRegisteredService fes open",
|
// in second, -1 for not restarting
|
||||||
"aes.addRegisteredService sbs open",
|
RestartDelay = 60;
|
||||||
"aes.addRegisteredService lgs open",
|
|
||||||
// "aes.addRegisteredService mos open",
|
// how many second before aborting the request if not finished
|
||||||
// "aes.addRegisteredService pdss open",
|
RequestTimeout = 5;
|
||||||
"aes.addRegisteredService ras open",
|
|
||||||
};
|
// log path for advanced log report
|
||||||
|
LogPath = "/.";
|
||||||
|
|
||||||
|
// setup for deployment environment with exeternal configuration system responsible for launching apps and
|
||||||
|
// for configuring AES services
|
||||||
|
DontLaunchServicesDirectly = 1;
|
||||||
|
UseExplicitAESRegistration = 1;
|
||||||
|
KillServicesOnDisconnect = 1;
|
||||||
|
|
||||||
|
ShardName="dev";
|
||||||
|
|
|
@ -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,279 +1,17 @@
|
||||||
// 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";
|
|
||||||
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
|
|
||||||
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?
|
|
||||||
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)
|
// SU - listen address of the SU service (for L5 connections)
|
||||||
SUAddress = SUHost+":"+SUPort;
|
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 "ai_service_default.cfg"
|
#include "ai_service_default.cfg"
|
||||||
WriteFilesDirectory= "data_shard";
|
|
||||||
|
// ---- service NeL variables (used by ConfigFile class)
|
||||||
|
|
||||||
|
AESAliasName= "ais_newbyland";
|
||||||
|
|
||||||
GraphVars += { "TickSpeedLoop", "0" };
|
GraphVars += { "TickSpeedLoop", "0" };
|
||||||
GraphVars += { "TickSpeedLoop", "60000" };
|
GraphVars += { "TickSpeedLoop", "60000" };
|
||||||
|
@ -285,28 +23,47 @@ GraphVars += { "MirrorCallbackCount", "0" };
|
||||||
GraphVars += { "MirrorCallbackCount", "60000" };
|
GraphVars += { "MirrorCallbackCount", "60000" };
|
||||||
GraphVars += { "MirrorCallbackTime", "0" };
|
GraphVars += { "MirrorCallbackTime", "0" };
|
||||||
GraphVars += { "MirrorCallbackTime", "60000" };
|
GraphVars += { "MirrorCallbackTime", "60000" };
|
||||||
Mainlands = {
|
|
||||||
"302", "Open", "(Open Developer Community)", "en",
|
|
||||||
};
|
|
||||||
HomeMainlandNames =
|
|
||||||
{
|
|
||||||
"302", "Open", "open",
|
|
||||||
};
|
|
||||||
RRDVarPath = "../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 = {
|
Paths = {
|
||||||
".",
|
".",
|
||||||
"../common/data_common",
|
"../common/data_common",
|
||||||
"../common/data_leveldesign",
|
"../common/data_leveldesign",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// ---- service NeL variables (used by CVariable class)
|
||||||
|
|
||||||
|
// ---- service custom variables (used by ConfigFile class)
|
||||||
|
|
||||||
|
#include "used_continents.cfg"
|
||||||
|
|
||||||
|
// Mirror limits
|
||||||
|
DatasetSizefe_temp = 600000;
|
||||||
|
DatasetSizefame = 26000;
|
||||||
|
|
||||||
|
// define the primitives configuration used. (AIS, EGS)
|
||||||
|
UsedPrimitives =
|
||||||
|
{
|
||||||
|
"newbieland_all",
|
||||||
|
};
|
||||||
|
|
||||||
|
// 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 = { "" };
|
||||||
|
|
||||||
|
// ---- service custom variables (used by CVariable class)
|
||||||
|
|
||||||
|
NbPlayersLimit = PlayerLimit;
|
||||||
|
|
||||||
|
// Entity Limits (AIS)
|
||||||
|
NbPetLimit = NbPlayersLimit*4;
|
||||||
|
NbFaunaLimit = 50000;
|
||||||
|
NbNpcLimit = 20000;
|
||||||
|
NbFxLimit = 500;
|
||||||
|
|
||||||
|
#include "backup_service_interface.cfg"
|
||||||
|
|
||||||
|
// Set this shard as a ring (1) or mainland (0) shard (main behavior switch)
|
||||||
|
IsRingShard = 0;
|
||||||
|
|
||||||
|
// Disable ryzom verbose logging
|
||||||
|
VerboseMIRROR = 0;
|
||||||
|
|
|
@ -1,169 +1,19 @@
|
||||||
// Use with commandline: backup_service -C. -L. --nobreak --writepid -P49990
|
// Use with commandline: backup_service -C. -L. --nobreak --writepid -P49990
|
||||||
AESAliasName= "bms_master";
|
|
||||||
|
|
||||||
ASWebPort="46700";
|
#include "backup_service_default.cfg"
|
||||||
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
|
// ---- config local variables
|
||||||
// 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+")",
|
AESAliasName = "bms_master";
|
||||||
|
|
||||||
|
Paths = {
|
||||||
|
".",
|
||||||
|
"../common/data_leveldesign",
|
||||||
};
|
};
|
||||||
|
|
||||||
/// A list of vars to graph for any service
|
// ---- service NeL variables (used by CVariable class)
|
||||||
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
|
// Where to save specific shard data (ie: player backup), relatively to SaveShardRoot
|
||||||
SaveFilesDirectory = "";
|
SaveFilesDirectory = "";
|
||||||
|
@ -171,135 +21,14 @@ SaveFilesDirectory = "";
|
||||||
// where to save generic shard data (ie: packed_sheet)
|
// where to save generic shard data (ie: packed_sheet)
|
||||||
WriteFilesDirectory = "data_shard";
|
WriteFilesDirectory = "data_shard";
|
||||||
|
|
||||||
// Will SaveFilesDirectory will be converted to a full path?
|
// ---- service custom variables (used by ConfigFile class)
|
||||||
ConvertSaveFilesDirectoryToFullPath = 0;
|
|
||||||
|
WebPort = 49970;
|
||||||
|
|
||||||
|
// ---- service custom variables (used by CVariable class)
|
||||||
|
|
||||||
// BS - Root directory where data are backuped to
|
// BS - Root directory where data are backuped to
|
||||||
IncrementalBackupDirectory = "../incremental_backup";
|
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
|
// Root directory where data from shards are stored into
|
||||||
SaveShardRoot = "save_shard/";
|
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 "backup_service_default.cfg"
|
|
||||||
|
|
||||||
ListeningPort = 49990;
|
|
||||||
L3ListeningPort = 49950;
|
|
||||||
WebPort = 49970;
|
|
||||||
BSReadState = 1;
|
|
||||||
SaveShardRoot = "save_shard";
|
|
||||||
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 = {
|
|
||||||
".",
|
|
||||||
"../common/data_leveldesign",
|
|
||||||
};
|
|
||||||
|
|
|
@ -1,23 +1,31 @@
|
||||||
#include "common.cfg"
|
#include "common.cfg"
|
||||||
|
|
||||||
DontUseNS = BSDontUseNS;
|
// ---- service NeL variables (used by ConfigFile class)
|
||||||
NSHost = BSNSHost;
|
|
||||||
|
DontUseNS = 1;
|
||||||
|
|
||||||
|
// ---- service NeL variables (used by CVariable class)
|
||||||
|
|
||||||
ListeningPort = 49990;
|
ListeningPort = 49990;
|
||||||
|
|
||||||
// Port for the Layer 3 interface of the backup service
|
// ---- service custom variables (used by ConfigFile class)
|
||||||
L3ListeningPort = 49950;
|
|
||||||
|
|
||||||
// Listening port for the Web server to connect in
|
// Listening port for the Web server to connect in
|
||||||
|
|
||||||
WebPort = 49898;
|
WebPort = 49898;
|
||||||
|
|
||||||
|
BSReadState = 1;
|
||||||
|
|
||||||
|
// ---- service custom variables (used by CVariable class)
|
||||||
|
|
||||||
|
// Port for the Layer 3 interface of the backup service
|
||||||
|
L3ListeningPort = 49950;
|
||||||
|
|
||||||
// template path from SaveShardRoot to find character saves
|
// 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/";
|
||||||
|
|
5
code/ryzom/server/backup_service_interface.cfg
Normal file
5
code/ryzom/server/backup_service_interface.cfg
Normal file
|
@ -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,282 +1,94 @@
|
||||||
// Use with commandline: entities_game_service -C. -L. --nobreak --writepid
|
// Use with commandline: entities_game_service -C. -L. --nobreak --writepid
|
||||||
AESAliasName= "egs";
|
|
||||||
|
|
||||||
ASWebPort="46700";
|
// ---- config local variables
|
||||||
ASPort="46701";
|
|
||||||
|
#define DONT_USE_LGS_SLAVE
|
||||||
|
|
||||||
AESPort="46702";
|
AESPort="46702";
|
||||||
SUPort = 50505;
|
SUPort = 50505;
|
||||||
SUGlobalPort = 50503;
|
SUGlobalPort = 50503;
|
||||||
L3BSPort = "49950";
|
|
||||||
L3MasterLGSPort = 41292;
|
L3MasterLGSPort = 41292;
|
||||||
L3SlaveLGSPort = 49993;
|
L3SlaveLGSPort = 49993;
|
||||||
LGSBSPort = 49990;
|
|
||||||
L3LGSBSPort = 49990;
|
|
||||||
LGSL3Port = L3MasterLGSPort;
|
|
||||||
SUHost = "localhost";
|
SUHost = "localhost";
|
||||||
MFSHost = "localhost";
|
|
||||||
BSHost = "localhost:49990";
|
|
||||||
MasterLGSHost = "localhost";
|
MasterLGSHost = "localhost";
|
||||||
SlaveLGSHost = "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)
|
// SU - listen address of the SU service (for L5 connections)
|
||||||
SUAddress = SUHost+":"+SUPort;
|
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 --------------------------------------------------------------------------
|
#include "entities_game_service_default.cfg"
|
||||||
// WS - use or not the legacy WelcomeService from nel ns (only for backward compatibility during transition to ring)
|
|
||||||
DontUseLSService = 1;
|
|
||||||
|
|
||||||
// Global config --------------------------------------------------------------------------
|
// ---- service NeL variables (used by ConfigFile class)
|
||||||
// set to 0 if you want to use the admin system
|
|
||||||
DontUseAES = 1;
|
AESAliasName= "egs";
|
||||||
|
|
||||||
|
StartCommands += {
|
||||||
|
"moduleManager.createModule AnimSessionManager asm",
|
||||||
|
"asm.plug gw",
|
||||||
|
};
|
||||||
|
|
||||||
|
// start commands for setting up the exchange level caps of different ryzom shards
|
||||||
|
StartCommands += { "setShardExchangeLimit 302 250" };
|
||||||
|
|
||||||
|
StartCommands += { "displayShardExchangeLimits" };
|
||||||
|
StartCommands += { "EnableStlAllocatorChecker 0" };
|
||||||
|
|
||||||
|
GraphVars += { "CharacterLoadPerTick", "0" };
|
||||||
|
GraphVars += { "CharacterLoadPerTick", "60000" };
|
||||||
|
GraphVars += { "CharacterSavePerTick", "0" };
|
||||||
|
GraphVars += { "CharacterSavePerTick", "60000" };
|
||||||
|
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" };
|
||||||
|
|
||||||
// Disable generation / display of nldebug messages
|
|
||||||
DisableNLDebug = 1;
|
|
||||||
FSListenHost = "localhost";
|
|
||||||
DBPass="";
|
|
||||||
ShardId = 302;
|
|
||||||
BasePort = 51000;
|
|
||||||
SaveFilesDirectory="";
|
|
||||||
NSHost = "localhost";
|
NSHost = "localhost";
|
||||||
// Player limits (AIS, EGS, WS, FS)
|
|
||||||
NbPlayersLimit = 5000;
|
Paths = {
|
||||||
|
".",
|
||||||
|
"../common/data_common",
|
||||||
|
"../common/data_leveldesign",
|
||||||
|
};
|
||||||
|
PathsNoRecurse= {"."};
|
||||||
|
|
||||||
|
|
||||||
|
// ---- service NeL variables (used by CVariable class)
|
||||||
|
|
||||||
|
// ---- service custom variables (used by ConfigFile class)
|
||||||
|
|
||||||
|
WebSrvHost = "http://localhost:55555/";
|
||||||
|
|
||||||
|
NbPlayersLimit = PlayerLimit;
|
||||||
NbGuildLimit = 15000;
|
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)
|
// Entity Limits (EGS)
|
||||||
NbObjectsLimit = 2000;
|
NbObjectsLimit = 2000;
|
||||||
NbNpcSpawnedByEGSLimit = 5000;
|
NbNpcSpawnedByEGSLimit = 5000;
|
||||||
NbForageSourcesLimit = 10000;
|
NbForageSourcesLimit = 10000;
|
||||||
NbToxicCloudsLimit = 5000;
|
NbToxicCloudsLimit = 5000;
|
||||||
|
|
||||||
// AIS Specifics --------------------------------------------------------------------------
|
#include "used_continents.cfg"
|
||||||
// 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
|
// define the primitives configuration used.
|
||||||
UsedContinents =
|
|
||||||
{
|
|
||||||
"newbieland", "20",
|
|
||||||
};
|
|
||||||
|
|
||||||
// define the primitives configuration used.
|
|
||||||
UsedPrimitives =
|
UsedPrimitives =
|
||||||
{
|
{
|
||||||
"newbieland_all",
|
"newbieland_all",
|
||||||
};
|
};
|
||||||
//UsedContinents = { "dummy", "10000" };
|
|
||||||
#include "entities_game_service_default.cfg"
|
// the following variable must be defined but should be empty - it's presence is used to change the behaviour
|
||||||
PathsNoRecurse= {"."};
|
// of the packed sheet reader
|
||||||
NeverAggroPriv = ":OBSERVER:G:SG:GM:SGM:EM:";
|
GeorgePaths = { "" };
|
||||||
AlwaysInvisiblePriv = ":OBSERVER:EM:";
|
|
||||||
TimeBeforeDisconnection = 300;
|
HomeMainlandNames =
|
||||||
|
{
|
||||||
|
"302", "Open", "open",
|
||||||
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
UsedContinents +=
|
UsedContinents +=
|
||||||
{
|
{
|
||||||
|
@ -328,54 +140,64 @@ UsedPrimitives =
|
||||||
};
|
};
|
||||||
*/
|
*/
|
||||||
|
|
||||||
StartCommands += {
|
// Mirror limits
|
||||||
"moduleManager.createModule AnimSessionManager asm",
|
DatasetSizefe_temp = 600000;
|
||||||
"asm.plug gw",
|
DatasetSizefame = 26000;
|
||||||
};
|
|
||||||
GraphVars += { "NbPlayers", "60000" };
|
// ---- service custom variables (used by CVariable class)
|
||||||
GraphVars += { "CharacterLoadPerTick", "0" };
|
|
||||||
GraphVars += { "CharacterLoadPerTick", "60000" };
|
RingRPEnabled=0;
|
||||||
GraphVars += { "CharacterSavePerTick", "0" };
|
|
||||||
GraphVars += { "CharacterSavePerTick", "60000" };
|
|
||||||
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" };
|
|
||||||
RingRPXPRequiredPerAction=700;
|
RingRPXPRequiredPerAction=700;
|
||||||
RingRPXPRequiredPerTimeSlice=700;
|
RingRPXPRequiredPerTimeSlice=700;
|
||||||
|
|
||||||
MaxXPGainPerPlayer = 30.0;
|
MaxXPGainPerPlayer = 30.0;
|
||||||
DeathXPFactor = 0.1;
|
DeathXPFactor = 0.1;
|
||||||
CachePrims = 1;
|
|
||||||
CorrectInvalidPlayerPositions = 1;
|
|
||||||
WebSrvHost = "http://localhost:55555/";
|
|
||||||
Mainlands = {
|
|
||||||
"302", "Open", "(Open Developer Community)", "en",
|
|
||||||
};
|
|
||||||
HomeMainlandNames =
|
|
||||||
{
|
|
||||||
"302", "Open", "open",
|
|
||||||
};
|
|
||||||
RRDVarPath = "save_shard/rrd_graphs";
|
|
||||||
ReadTranslationWork = 1;
|
|
||||||
TranslationWorkPath = "";
|
|
||||||
|
|
||||||
DontUseAES=1;
|
MFSHost = "localhost";
|
||||||
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 = {
|
// Use Shard Unifier or not
|
||||||
".",
|
DontUseSU = 0;
|
||||||
"../common/data_common",
|
|
||||||
"../common/data_leveldesign",
|
// 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
|
||||||
|
FixedSessionId = ShardId;
|
||||||
|
|
||||||
|
// Level limit for newb scenarios
|
||||||
|
FreeTrialSkillLimit=21;
|
||||||
|
|
||||||
|
// Level limit for newb scenarios
|
||||||
|
DefaultInterShardExchangeLevelCap=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;
|
||||||
|
|
||||||
|
/* 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;
|
||||||
|
|
||||||
|
#include "backup_service_interface.cfg"
|
||||||
|
|
||||||
|
XMLSave = 0;
|
||||||
|
|
|
@ -1,87 +1,43 @@
|
||||||
#include "common.cfg"
|
#include "common.cfg"
|
||||||
|
|
||||||
|
StartCommands +=
|
||||||
|
{
|
||||||
|
// L5 connect to the shard unifier
|
||||||
|
"unifiedNetwork.addService ShardUnifier ( address="+SUAddress+" sendId external autoRetry )",
|
||||||
|
|
||||||
|
// Create a gateway for global interconnection
|
||||||
|
// modules from different shard are visible to each other if they connect to
|
||||||
|
// this gateway. SU Local module have no interest to be plugged here.
|
||||||
|
"moduleManager.createModule StandardGateway glob_gw",
|
||||||
|
// add a layer 3 server transport
|
||||||
|
"glob_gw.transportAdd L3Client l3c",
|
||||||
|
// open the transport
|
||||||
|
"glob_gw.transportCmd l3c(connect addr="+SUHost+":"+SUGlobalPort+")",
|
||||||
|
|
||||||
|
|
||||||
|
// Create a gateway for logger service connection
|
||||||
|
"moduleManager.createModule StandardGateway lgs_gw",
|
||||||
|
|
||||||
|
// add a layer 3 server transport for master logger service
|
||||||
|
"lgs_gw.transportAdd L3Client masterL3c",
|
||||||
|
// open the transport
|
||||||
|
"lgs_gw.transportCmd masterL3c(connect addr="+MasterLGSHost+":"+L3MasterLGSPort+")",
|
||||||
|
};
|
||||||
|
|
||||||
#ifndef DONT_USE_LGS_SLAVE
|
#ifndef DONT_USE_LGS_SLAVE
|
||||||
|
|
||||||
StartCommands +=
|
StartCommands +=
|
||||||
{
|
{
|
||||||
// L5 connect to the shard unifier
|
|
||||||
"unifiedNetwork.addService ShardUnifier ( address="+SUAddress+" sendId external autoRetry )",
|
|
||||||
|
|
||||||
// Create a gateway for global interconnection
|
|
||||||
// modules from different shard are visible to each other if they connect to
|
|
||||||
// this gateway. SU Local module have no interest to be plugged here.
|
|
||||||
"moduleManager.createModule StandardGateway glob_gw",
|
|
||||||
// add a layer 3 server transport
|
|
||||||
"glob_gw.transportAdd L3Client l3c",
|
|
||||||
// open the transport
|
|
||||||
"glob_gw.transportCmd l3c(connect addr="+SUHost+":"+SUGlobalPort+")",
|
|
||||||
|
|
||||||
|
|
||||||
// Create a gateway for logger service connection
|
|
||||||
"moduleManager.createModule StandardGateway lgs_gw",
|
|
||||||
|
|
||||||
// add a layer 3 server transport for master logger service
|
|
||||||
"lgs_gw.transportAdd L3Client masterL3c",
|
|
||||||
// open the transport
|
|
||||||
"lgs_gw.transportCmd masterL3c(connect addr="+MasterLGSHost+":"+L3MasterLGSPort+")",
|
|
||||||
|
|
||||||
// add a layer 3 server transport for slave logger service
|
// add a layer 3 server transport for slave logger service
|
||||||
"lgs_gw.transportAdd L3Client slaveL3c",
|
"lgs_gw.transportAdd L3Client slaveL3c",
|
||||||
// open the transport
|
// open the transport
|
||||||
"lgs_gw.transportCmd slaveL3c(connect addr="+SlaveLGSHost+":"+L3SlaveLGSPort+")",
|
"lgs_gw.transportCmd slaveL3c(connect addr="+SlaveLGSHost+":"+L3SlaveLGSPort+")",
|
||||||
|
|
||||||
// Create a shard unifier client module
|
|
||||||
"moduleManager.createModule ShardUnifierClient suc",
|
|
||||||
// Create a client commands forwader module
|
|
||||||
"moduleManager.createModule ClientCommandForwader ccf",
|
|
||||||
|
|
||||||
// Create a characer control module
|
|
||||||
"moduleManager.createModule CharacterControl cc",
|
|
||||||
|
|
||||||
// Create a guild unifier module
|
|
||||||
"moduleManager.createModule GuildUnifier gu",
|
|
||||||
|
|
||||||
//Create a shard unifier name mapper
|
|
||||||
"moduleManager.createModule CharNameMapperClient cnmc",
|
|
||||||
|
|
||||||
// Create the logger service client module
|
|
||||||
"moduleManager.createModule LoggerServiceClient lsc",
|
|
||||||
|
|
||||||
"suc.plug gw",
|
|
||||||
"ccf.plug gw",
|
|
||||||
"cc.plug gw",
|
|
||||||
"gu.plug glob_gw",
|
|
||||||
"cnmc.plug gw",
|
|
||||||
"lsc.plug lgs_gw",
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DONT_USE_LGS_SLAVE
|
|
||||||
|
|
||||||
StartCommands +=
|
StartCommands +=
|
||||||
{
|
{
|
||||||
// L5 connect to the shard unifier
|
|
||||||
"unifiedNetwork.addService ShardUnifier ( address="+SUAddress+" sendId external autoRetry )",
|
|
||||||
|
|
||||||
// Create a gateway for global interconnection
|
|
||||||
// modules from different shard are visible to each other if they connect to
|
|
||||||
// this gateway. SU Local module have no interest to be plugged here.
|
|
||||||
"moduleManager.createModule StandardGateway glob_gw",
|
|
||||||
// add a layer 3 server transport
|
|
||||||
"glob_gw.transportAdd L3Client l3c",
|
|
||||||
// open the transport
|
|
||||||
"glob_gw.transportCmd l3c(connect addr="+SUHost+":"+SUGlobalPort+")",
|
|
||||||
|
|
||||||
|
|
||||||
// Create a gateway for logger service connection
|
|
||||||
"moduleManager.createModule StandardGateway lgs_gw",
|
|
||||||
|
|
||||||
// add a layer 3 server transport for master logger service
|
|
||||||
"lgs_gw.transportAdd L3Client masterL3c",
|
|
||||||
// open the transport
|
|
||||||
"lgs_gw.transportCmd masterL3c(connect addr="+MasterLGSHost+":"+L3MasterLGSPort+")",
|
|
||||||
|
|
||||||
// Create a shard unifier client module
|
// Create a shard unifier client module
|
||||||
"moduleManager.createModule ShardUnifierClient suc",
|
"moduleManager.createModule ShardUnifierClient suc",
|
||||||
// Create a client commands forwader module
|
// Create a client commands forwader module
|
||||||
|
@ -105,7 +61,6 @@ StartCommands +=
|
||||||
"gu.plug glob_gw",
|
"gu.plug glob_gw",
|
||||||
"cnmc.plug gw",
|
"cnmc.plug gw",
|
||||||
"lsc.plug lgs_gw",
|
"lsc.plug lgs_gw",
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,281 +1,19 @@
|
||||||
// Use with commandline: frontend_service -C. -L. --nobreak --writepid
|
// Use with commandline: frontend_service -C. -L. --nobreak --writepid
|
||||||
AESAliasName= "fes";
|
|
||||||
|
|
||||||
//AcceptInvalidCookie = 1;
|
// ---- config local variables
|
||||||
|
|
||||||
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
|
|
||||||
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 = "open.ryzom.com";
|
|
||||||
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
|
// Client bandwidth ratio, set to 1 for standard opration, more than one allocate more bandwidth
|
||||||
BandwidthRatio = 1;
|
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",
|
|
||||||
};
|
|
||||||
FSUDPPort = 47851;
|
FSUDPPort = 47851;
|
||||||
|
FSListenHost = "open.ryzom.com";
|
||||||
|
|
||||||
#include "frontend_service_default.cfg"
|
#include "frontend_service_default.cfg"
|
||||||
|
|
||||||
|
// ---- service NeL variables (used by ConfigFile class)
|
||||||
|
|
||||||
|
AESAliasName= "fes";
|
||||||
|
|
||||||
GraphVars += { "TickSpeedLoop", "0" };
|
GraphVars += { "TickSpeedLoop", "0" };
|
||||||
GraphVars += { "TickSpeedLoop", "60000" };
|
GraphVars += { "TickSpeedLoop", "60000" };
|
||||||
GraphVars += { "L5CallbackCount", "0" };
|
GraphVars += { "L5CallbackCount", "0" };
|
||||||
|
@ -286,28 +24,29 @@ GraphVars += { "MirrorCallbackCount", "0" };
|
||||||
GraphVars += { "MirrorCallbackCount", "60000" };
|
GraphVars += { "MirrorCallbackCount", "60000" };
|
||||||
GraphVars += { "MirrorCallbackTime", "0" };
|
GraphVars += { "MirrorCallbackTime", "0" };
|
||||||
GraphVars += { "MirrorCallbackTime", "60000" };
|
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 = {
|
Paths = {
|
||||||
"../common/data_common",
|
"../common/data_common",
|
||||||
".",
|
".",
|
||||||
"../common/data_leveldesign",
|
"../common/data_leveldesign",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// ---- service NeL variables (used by CVariable class)
|
||||||
|
|
||||||
|
// ---- service custom variables (used by ConfigFile class)
|
||||||
|
|
||||||
|
//AcceptInvalidCookie = 1;
|
||||||
|
|
||||||
|
ClientLimit = 1000;
|
||||||
|
|
||||||
|
// Mirror limits
|
||||||
|
DatasetSizefe_temp = 600000;
|
||||||
|
DatasetSizefame = 26000;
|
||||||
|
|
||||||
|
// ---- service custom variables (used by CVariable class)
|
||||||
|
|
||||||
|
// Disable ryzom verbose logging
|
||||||
|
VerboseMIRROR = 0;
|
||||||
|
|
||||||
|
// Root directory where data from shards are stored into
|
||||||
|
SaveShardRoot = "save_shard/";
|
||||||
|
|
|
@ -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
|
|
||||||
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 "../live/cfg/gpm_service_mainland.cfg"
|
|
||||||
#include "gpm_service_default.cfg"
|
#include "gpm_service_default.cfg"
|
||||||
|
|
||||||
GraphVars += { "TickSpeedLoop", "0" };
|
// ---- config local variables
|
||||||
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;
|
// ---- service NeL variables (used by ConfigFile class)
|
||||||
RingRPEnabled=0;
|
|
||||||
DomainName = "ryzom_open";
|
AESAliasName= "gpms";
|
||||||
EnableStlAllocatorChecker = 0;
|
|
||||||
// start commands for setting up the exchange level caps of different ryzom shards
|
GraphVars += { "TickSpeedLoop", "0" };
|
||||||
StartCommands += { "setShardExchangeLimit 301 250" };
|
GraphVars += { "TickSpeedLoop", "60000" };
|
||||||
StartCommands += { "displayShardExchangeLimits" };
|
GraphVars += { "L5CallbackCount", "0" };
|
||||||
StartCommands += { "EnableStlAllocatorChecker 0" };
|
GraphVars += { "L5CallbackCount", "60000" };
|
||||||
|
GraphVars += { "L5CallbackTime", "0" };
|
||||||
|
GraphVars += { "L5CallbackTime", "60000" };
|
||||||
|
GraphVars += { "MirrorCallbackCount", "0" };
|
||||||
|
GraphVars += { "MirrorCallbackCount", "60000" };
|
||||||
|
GraphVars += { "MirrorCallbackTime", "0" };
|
||||||
|
GraphVars += { "MirrorCallbackTime", "60000" };
|
||||||
|
|
||||||
Paths = {
|
Paths = {
|
||||||
".",
|
".",
|
||||||
"../common/data_common",
|
"../common/data_common",
|
||||||
"../common/data_leveldesign",
|
"../common/data_leveldesign",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// ---- service NeL variables (used by CVariable class)
|
||||||
|
|
||||||
|
// ---- service custom variables (used by ConfigFile class)
|
||||||
|
|
||||||
|
#include "used_continents.cfg"
|
||||||
|
|
||||||
|
// Mirror limits
|
||||||
|
DatasetSizefe_temp = 600000;
|
||||||
|
DatasetSizefame = 26000;
|
||||||
|
|
||||||
|
// ---- service custom variables (used by CVariable class)
|
||||||
|
|
||||||
|
// Set this shard as a ring (1) or mainland (0) shard (main behavior switch)
|
||||||
|
IsRingShard = 0;
|
||||||
|
|
||||||
|
// Disable ryzom verbose logging
|
||||||
|
VerboseMIRROR = 0;
|
||||||
|
|
|
@ -1,283 +1,26 @@
|
||||||
// Use with commandline: input_output_service -C. -L. --nobreak --writepid
|
// Use with commandline: input_output_service -C. -L. --nobreak --writepid
|
||||||
AESAliasName= "ios";
|
|
||||||
|
|
||||||
ASWebPort="46700";
|
// ---- config local variables
|
||||||
ASPort="46701";
|
|
||||||
|
#define DONT_USE_LGS_SLAVE
|
||||||
|
|
||||||
AESPort="46702";
|
AESPort="46702";
|
||||||
SUPort = 50505;
|
SUPort = 50505;
|
||||||
SUGlobalPort = 50503;
|
SUGlobalPort = 50503;
|
||||||
L3BSPort = "49950";
|
|
||||||
L3MasterLGSPort = 41292;
|
L3MasterLGSPort = 41292;
|
||||||
L3SlaveLGSPort = 49993;
|
L3SlaveLGSPort = 49993;
|
||||||
LGSBSPort = 49990;
|
|
||||||
L3LGSBSPort = 49990;
|
|
||||||
LGSL3Port = L3MasterLGSPort;
|
|
||||||
SUHost = "localhost";
|
SUHost = "localhost";
|
||||||
MFSHost = "localhost";
|
|
||||||
BSHost = "localhost:49990";
|
|
||||||
MasterLGSHost = "localhost";
|
MasterLGSHost = "localhost";
|
||||||
SlaveLGSHost = "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)
|
// SU - listen address of the SU service (for L5 connections)
|
||||||
SUAddress = SUHost+":"+SUPort;
|
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 "input_output_service_default.cfg"
|
#include "input_output_service_default.cfg"
|
||||||
|
|
||||||
VerboseStringManager = 0;
|
// ---- service NeL variables (used by ConfigFile class)
|
||||||
VerboseStringManagerParser = 0;
|
|
||||||
VerboseChat = 0;
|
AESAliasName= "ios";
|
||||||
VerboseChatManagement = 0;
|
|
||||||
VerboseNameTranslation = 0;
|
|
||||||
// Create a char name mapper
|
// Create a char name mapper
|
||||||
StartCommands +=
|
StartCommands +=
|
||||||
{
|
{
|
||||||
|
@ -286,28 +29,53 @@ StartCommands +=
|
||||||
"moduleManager.createModule IOSRingModule iosrm",
|
"moduleManager.createModule IOSRingModule iosrm",
|
||||||
"iosrm.plug gw",
|
"iosrm.plug gw",
|
||||||
};
|
};
|
||||||
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 = {
|
Paths = {
|
||||||
".",
|
".",
|
||||||
"../common/data_common",
|
"../common/data_common",
|
||||||
"../common/data_leveldesign",
|
"../common/data_leveldesign",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// ---- service NeL variables (used by CVariable class)
|
||||||
|
|
||||||
|
// ---- service custom variables (used by ConfigFile class)
|
||||||
|
|
||||||
|
// Mirror limits
|
||||||
|
DatasetSizefe_temp = 600000;
|
||||||
|
DatasetSizefame = 26000;
|
||||||
|
|
||||||
|
// 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 = { "" };
|
||||||
|
|
||||||
|
// Use Shard Unifier or not
|
||||||
|
DontUseSU = 0;
|
||||||
|
|
||||||
|
HomeMainlandNames =
|
||||||
|
{
|
||||||
|
"302", "Open", "open",
|
||||||
|
};
|
||||||
|
|
||||||
|
// ---- service custom variables (used by CVariable class)
|
||||||
|
|
||||||
|
// Set this shard as a ring (1) or mainland (0) shard (main behavior switch)
|
||||||
|
IsRingShard = 0;
|
||||||
|
|
||||||
|
// Disable ryzom verbose logging
|
||||||
|
VerboseMIRROR = 0;
|
||||||
|
|
||||||
|
#include "backup_service_interface.cfg"
|
||||||
|
|
||||||
|
// IOS - Directory to store ios.string_cache file
|
||||||
|
StringManagerCacheDirectory = "data_shard_local";
|
||||||
|
|
||||||
|
// IOS - Directory to log chat into
|
||||||
|
LogChatDirectory = "data_shard_local";
|
||||||
|
|
||||||
|
ReadTranslationWork = 1;
|
||||||
|
TranslationWorkPath = "";
|
||||||
|
VerboseStringManager = 0;
|
||||||
|
VerboseStringManagerParser = 0;
|
||||||
|
VerboseChat = 0;
|
||||||
|
VerboseChatManagement = 0;
|
||||||
|
VerboseNameTranslation = 0;
|
||||||
|
|
|
@ -1,74 +1,47 @@
|
||||||
#include "common.cfg"
|
#include "common.cfg"
|
||||||
|
|
||||||
|
// ---- service NeL variables (used by ConfigFile class)
|
||||||
|
|
||||||
|
StartCommands +=
|
||||||
|
{
|
||||||
|
// L5 connect to the shard unifier
|
||||||
|
"unifiedNetwork.addService ShardUnifier ( address="+SUAddress+" sendId external autoRetry )",
|
||||||
|
|
||||||
|
// Create a gateway for global interconnection
|
||||||
|
// modules from different shard are visible to each other if they connect to
|
||||||
|
// this gateway. SU Local module have no interest to be plugged here.
|
||||||
|
"moduleManager.createModule StandardGateway glob_gw",
|
||||||
|
// add a layer 3 server transport
|
||||||
|
"glob_gw.transportAdd L3Client l3c",
|
||||||
|
// open the transport
|
||||||
|
"glob_gw.transportCmd l3c(connect addr="+SUHost+":"+SUGlobalPort+")",
|
||||||
|
|
||||||
|
// Create a gateway for logger service connection
|
||||||
|
"moduleManager.createModule StandardGateway lgs_gw",
|
||||||
|
|
||||||
|
// add a layer 3 server transport for master logger service
|
||||||
|
"lgs_gw.transportAdd L3Client masterL3c",
|
||||||
|
// open the transport
|
||||||
|
"lgs_gw.transportCmd masterL3c(connect addr="+MasterLGSHost+":"+L3MasterLGSPort+")",
|
||||||
|
};
|
||||||
|
|
||||||
#ifndef DONT_USE_LGS_SLAVE
|
#ifndef DONT_USE_LGS_SLAVE
|
||||||
|
|
||||||
StartCommands +=
|
StartCommands +=
|
||||||
{
|
{
|
||||||
// L5 connect to the shard unifier
|
|
||||||
"unifiedNetwork.addService ShardUnifier ( address="+SUAddress+" sendId external autoRetry )",
|
|
||||||
|
|
||||||
// Create a gateway for global interconnection
|
|
||||||
// modules from different shard are visible to each other if they connect to
|
|
||||||
// this gateway. SU Local module have no interest to be plugged here.
|
|
||||||
"moduleManager.createModule StandardGateway glob_gw",
|
|
||||||
// add a layer 3 server transport
|
|
||||||
"glob_gw.transportAdd L3Client l3c",
|
|
||||||
// open the transport
|
|
||||||
"glob_gw.transportCmd l3c(connect addr="+SUHost+":"+SUGlobalPort+")",
|
|
||||||
|
|
||||||
// Create a gateway for logger service connection
|
|
||||||
"moduleManager.createModule StandardGateway lgs_gw",
|
|
||||||
|
|
||||||
// add a layer 3 server transport for master logger service
|
|
||||||
"lgs_gw.transportAdd L3Client masterL3c",
|
|
||||||
// open the transport
|
|
||||||
"lgs_gw.transportCmd masterL3c(connect addr="+MasterLGSHost+":"+L3MasterLGSPort+")",
|
|
||||||
|
|
||||||
// add a layer 3 server transport for slave logger service
|
// add a layer 3 server transport for slave logger service
|
||||||
"lgs_gw.transportAdd L3Client slaveL3c",
|
"lgs_gw.transportAdd L3Client slaveL3c",
|
||||||
// open the transport
|
// open the transport
|
||||||
"lgs_gw.transportCmd slaveL3c(connect addr="+SlaveLGSHost+":"+L3SlaveLGSPort+")",
|
"lgs_gw.transportCmd slaveL3c(connect addr="+SlaveLGSHost+":"+L3SlaveLGSPort+")",
|
||||||
|
|
||||||
// Create a chat unifier client
|
|
||||||
"moduleManager.createModule ChatUnifierClient cuc",
|
|
||||||
|
|
||||||
// and plug it on the gateway to reach the SU ChatUnifierServer
|
|
||||||
"cuc.plug glob_gw",
|
|
||||||
"cuc.plug gw",
|
|
||||||
|
|
||||||
// Create the logger service client module
|
|
||||||
"moduleManager.createModule LoggerServiceClient lsc",
|
|
||||||
"lsc.plug lgs_gw",
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DONT_USE_LGS_SLAVE
|
|
||||||
|
|
||||||
StartCommands +=
|
StartCommands +=
|
||||||
{
|
{
|
||||||
// L5 connect to the shard unifier
|
|
||||||
"unifiedNetwork.addService ShardUnifier ( address="+SUAddress+" sendId external autoRetry )",
|
|
||||||
|
|
||||||
// Create a gateway for global interconnection
|
|
||||||
// modules from different shard are visible to each other if they connect to
|
|
||||||
// this gateway. SU Local module have no interest to be plugged here.
|
|
||||||
"moduleManager.createModule StandardGateway glob_gw",
|
|
||||||
// add a layer 3 server transport
|
|
||||||
"glob_gw.transportAdd L3Client l3c",
|
|
||||||
// open the transport
|
|
||||||
"glob_gw.transportCmd l3c(connect addr="+SUHost+":"+SUGlobalPort+")",
|
|
||||||
|
|
||||||
// Create a gateway for logger service connection
|
|
||||||
"moduleManager.createModule StandardGateway lgs_gw",
|
|
||||||
|
|
||||||
// add a layer 3 server transport for master logger service
|
|
||||||
"lgs_gw.transportAdd L3Client masterL3c",
|
|
||||||
// open the transport
|
|
||||||
"lgs_gw.transportCmd masterL3c(connect addr="+MasterLGSHost+":"+L3MasterLGSPort+")",
|
|
||||||
|
|
||||||
// Create a chat unifier client
|
// Create a chat unifier client
|
||||||
"moduleManager.createModule ChatUnifierClient cuc",
|
"moduleManager.createModule ChatUnifierClient cuc",
|
||||||
|
|
||||||
// and plug it on the gateway to reach the SU ChatUnifierServer
|
// and plug it on the gateway to reach the SU ChatUnifierServer
|
||||||
"cuc.plug glob_gw",
|
"cuc.plug glob_gw",
|
||||||
"cuc.plug gw",
|
"cuc.plug gw",
|
||||||
|
@ -76,12 +49,13 @@ StartCommands +=
|
||||||
// Create the logger service client module
|
// Create the logger service client module
|
||||||
"moduleManager.createModule LoggerServiceClient lsc",
|
"moduleManager.createModule LoggerServiceClient lsc",
|
||||||
"lsc.plug lgs_gw",
|
"lsc.plug lgs_gw",
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
DisableMonotonicClock = 1;
|
// ---- service NeL variables (used by CVariable class)
|
||||||
|
|
||||||
|
// ---- service custom variables (used by ConfigFile class)
|
||||||
|
|
||||||
// a list of system command that can be run with "sysCmd" service command.
|
// a list of system command that can be run with "sysCmd" service command.
|
||||||
SystemCmd = {};
|
SystemCmd = {};
|
||||||
|
@ -100,12 +74,11 @@ BotNameTranslationFile = "bot_names.txt";
|
||||||
// depending on the shard main language.
|
// depending on the shard main language.
|
||||||
EventFactionTranslationFile = "event_factions.txt";
|
EventFactionTranslationFile = "event_factions.txt";
|
||||||
|
|
||||||
|
// ---- service custom variables (used by CVariable class)
|
||||||
|
|
||||||
// Activate/deactivate debugging of missing paremeter replacement
|
// Activate/deactivate debugging of missing paremeter replacement
|
||||||
DebugReplacementParameter = 1;
|
DebugReplacementParameter = 1;
|
||||||
|
|
||||||
// Id of database for PDS Chat Logging
|
|
||||||
DatabaseId = 1;
|
|
||||||
|
|
||||||
// Default verbose debug flags:
|
// Default verbose debug flags:
|
||||||
//-----------------------------
|
//-----------------------------
|
||||||
|
|
||||||
|
|
|
@ -1,285 +1,15 @@
|
||||||
// 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"
|
||||||
|
|
||||||
|
// ---- config local variables
|
||||||
|
|
||||||
|
LGSL3Port = 41292;
|
||||||
|
|
||||||
|
// ---- service NeL variables (used by ConfigFile class)
|
||||||
|
|
||||||
AESAliasName= "lgs";
|
AESAliasName= "lgs";
|
||||||
|
|
||||||
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
|
|
||||||
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 --------------------------------------------------------------------------
|
|
||||||
// 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 +=
|
StartCommands +=
|
||||||
{
|
{
|
||||||
"moduleManager.createModule LoggerService ls",
|
"moduleManager.createModule LoggerService ls",
|
||||||
|
@ -289,29 +19,32 @@ StartCommands +=
|
||||||
"lgs_gw.transportOptions l3s(PeerInvisible)",
|
"lgs_gw.transportOptions l3s(PeerInvisible)",
|
||||||
"lgs_gw.transportCmd l3s(open port="+ LGSL3Port +")",
|
"lgs_gw.transportCmd l3s(open port="+ LGSL3Port +")",
|
||||||
};
|
};
|
||||||
SaveShardRoot = "save_shard";
|
|
||||||
SaveFilesDirectory = "save_shard/";
|
|
||||||
Mainlands = {
|
|
||||||
"302", "Open", "(Open Developer Community)", "en",
|
|
||||||
};
|
|
||||||
HomeMainlandNames =
|
|
||||||
{
|
|
||||||
"302", "Open", "open",
|
|
||||||
};
|
|
||||||
RRDVarPath = "../rrd_graphs";
|
|
||||||
ReadTranslationWork = 1;
|
|
||||||
TranslationWorkPath = "";
|
|
||||||
|
|
||||||
DontUseAES=1;
|
DontUseNS = 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 = {
|
Paths = {
|
||||||
".",
|
".",
|
||||||
"../common/data_leveldesign",
|
"../common/data_leveldesign",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// ---- service NeL variables (used by CVariable class)
|
||||||
|
|
||||||
|
// Where to save specific shard data (ie: player backup), relatively to SaveShardRoot
|
||||||
|
SaveFilesDirectory = "save_shard/";
|
||||||
|
|
||||||
|
// where to save generic shard data (ie: packed_sheet)
|
||||||
|
WriteFilesDirectory = "r2_shard/data_shard";
|
||||||
|
|
||||||
|
// ---- service custom variables (used by ConfigFile class)
|
||||||
|
|
||||||
|
// Use Shard Unifier or not
|
||||||
|
DontUseSU = 0;
|
||||||
|
|
||||||
|
HomeMainlandNames =
|
||||||
|
{
|
||||||
|
"302", "Open", "open",
|
||||||
|
};
|
||||||
|
|
||||||
|
// ---- service custom variables (used by CVariable class)
|
||||||
|
|
||||||
|
#include "backup_service_interface.cfg"
|
||||||
|
|
|
@ -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
|
|
||||||
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 --------------------------------------------------------------------------
|
|
||||||
// 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 "mail_forum_service_default.cfg"
|
#include "mail_forum_service_default.cfg"
|
||||||
WriteFilesDirectory="data_shard";
|
|
||||||
|
|
||||||
Mainlands = {
|
// ---- config local variables
|
||||||
"302", "Open", "(Open Developer Community)", "en",
|
|
||||||
};
|
|
||||||
HomeMainlandNames =
|
|
||||||
{
|
|
||||||
"302", "Open", "open",
|
|
||||||
};
|
|
||||||
RRDVarPath = "../rrd_graphs";
|
|
||||||
ReadTranslationWork = 1;
|
|
||||||
TranslationWorkPath = "";
|
|
||||||
|
|
||||||
DontUseAES=1;
|
// ---- service NeL variables (used by ConfigFile class)
|
||||||
RingRPEnabled=0;
|
|
||||||
DomainName = "ryzom_open";
|
AESAliasName= "mfs";
|
||||||
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,8 +1,17 @@
|
||||||
#include "common.cfg"
|
#include "common.cfg"
|
||||||
|
|
||||||
WebRootDirectory = "save_shard/www";
|
// ---- service NeL variables (used by ConfigFile class)
|
||||||
|
|
||||||
DontUseNS = 1;
|
DontUseNS = 1;
|
||||||
|
|
||||||
|
// ---- service NeL variables (used by CVariable class)
|
||||||
|
|
||||||
|
// ---- service custom variables (used by ConfigFile class)
|
||||||
|
|
||||||
|
// ---- service custom variables (used by CVariable class)
|
||||||
|
|
||||||
|
WebRootDirectory = "save_shard/www";
|
||||||
|
|
||||||
// Set if Hall of Fame generator is enabled
|
// Set if Hall of Fame generator is enabled
|
||||||
HoFEnableGenerator = 1;
|
HoFEnableGenerator = 1;
|
||||||
|
|
||||||
|
|
|
@ -1,306 +1,38 @@
|
||||||
// Use with commandline: mirror_service -C. -L. --nobreak --writepid
|
// Use with commandline: mirror_service -C. -L. --nobreak --writepid
|
||||||
AESAliasName= "ms";
|
|
||||||
|
|
||||||
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
|
|
||||||
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 "mirror_service_default.cfg"
|
#include "mirror_service_default.cfg"
|
||||||
|
|
||||||
GraphVars += { "UserSpeedLoop", "0" };
|
// ---- config local variables
|
||||||
GraphVars += { "UserSpeedLoop", "60000" };
|
|
||||||
GraphVars += { "L5CallbackCount", "0" };
|
|
||||||
GraphVars += { "L5CallbackCount", "60000" };
|
|
||||||
GraphVars += { "L5CallbackTime", "0" };
|
|
||||||
GraphVars += { "L5CallbackTime", "60000" };
|
|
||||||
Mainlands = {
|
|
||||||
"302", "Open", "(Open Developer Community)", "en",
|
|
||||||
};
|
|
||||||
HomeMainlandNames =
|
|
||||||
{
|
|
||||||
"302", "Open", "open",
|
|
||||||
};
|
|
||||||
RRDVarPath = "save_shard/rrd_graphs";
|
|
||||||
ReadTranslationWork = 1;
|
|
||||||
TranslationWorkPath = "";
|
|
||||||
|
|
||||||
DontUseAES=1;
|
// ---- service NeL variables (used by ConfigFile class)
|
||||||
RingRPEnabled=0;
|
|
||||||
DomainName = "ryzom_open";
|
AESAliasName= "ms";
|
||||||
EnableStlAllocatorChecker = 0;
|
|
||||||
// start commands for setting up the exchange level caps of different ryzom shards
|
GraphVars += { "UserSpeedLoop", "0" };
|
||||||
StartCommands += { "setShardExchangeLimit 301 250" };
|
GraphVars += { "UserSpeedLoop", "60000" };
|
||||||
StartCommands += { "displayShardExchangeLimits" };
|
GraphVars += { "L5CallbackCount", "0" };
|
||||||
StartCommands += { "EnableStlAllocatorChecker 0" };
|
GraphVars += { "L5CallbackCount", "60000" };
|
||||||
|
GraphVars += { "L5CallbackTime", "0" };
|
||||||
|
GraphVars += { "L5CallbackTime", "60000" };
|
||||||
|
|
||||||
Paths = {
|
Paths = {
|
||||||
".",
|
".",
|
||||||
"../common/data_common",
|
"../common/data_common",
|
||||||
"../common/data_leveldesign",
|
"../common/data_leveldesign",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// ---- service NeL variables (used by CVariable class)
|
||||||
|
|
||||||
|
// ---- service custom variables (used by ConfigFile class)
|
||||||
|
|
||||||
|
// Mirror limits
|
||||||
|
DatasetSizefe_temp = 600000;
|
||||||
|
DatasetSizefame = 26000;
|
||||||
|
|
||||||
|
// MS Packet size limit in bytes, PER DATASET (warning: depending on the weights, limits per property may be very small)
|
||||||
|
MaxOutBandwidth = 100000000;
|
||||||
|
|
||||||
|
// ---- service custom variables (used by CVariable class)
|
||||||
|
|
||||||
|
// Disable ryzom verbose logging
|
||||||
|
VerboseMIRROR = 0;
|
||||||
|
|
|
@ -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...)
|
|
||||||
* 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 "naming_service_default.cfg"
|
#include "naming_service_default.cfg"
|
||||||
|
|
||||||
Mainlands = {
|
// ---- config local variables
|
||||||
"302", "Open", "(Open Developer Community)", "en",
|
|
||||||
};
|
|
||||||
HomeMainlandNames =
|
|
||||||
{
|
|
||||||
"302", "Open", "open",
|
|
||||||
};
|
|
||||||
RRDVarPath = "save_shard/rrd_graphs";
|
|
||||||
ReadTranslationWork = 1;
|
|
||||||
TranslationWorkPath = "";
|
|
||||||
|
|
||||||
DontUseAES=1;
|
// ---- service NeL variables (used by ConfigFile class)
|
||||||
RingRPEnabled=0;
|
|
||||||
DomainName = "ryzom_open";
|
AESAliasName= "rns";
|
||||||
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 = {
|
||||||
"data_www"
|
"data_www"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// ---- service NeL variables (used by CVariable class)
|
||||||
|
|
||||||
|
// ---- service custom variables (used by ConfigFile class)
|
||||||
|
|
||||||
|
BasePort = 51000;
|
||||||
|
|
||||||
|
// ---- service custom variables (used by CVariable class)
|
||||||
|
|
|
@ -1,279 +1,19 @@
|
||||||
// Use with commandline: session_browser_server -C. -L. --nobreak --writepid
|
// Use with commandline: session_browser_server -C. -L. --nobreak --writepid
|
||||||
|
|
||||||
|
#include "session_browser_server_default.cfg"
|
||||||
|
|
||||||
|
// ---- config local variables
|
||||||
|
|
||||||
|
#include "sql.cfg"
|
||||||
|
|
||||||
|
SBSPort = 48851;
|
||||||
|
|
||||||
|
SUHost = "localhost";
|
||||||
|
|
||||||
|
// ---- service NeL variables (used by ConfigFile class)
|
||||||
|
|
||||||
AESAliasName= "sbs";
|
AESAliasName= "sbs";
|
||||||
|
|
||||||
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
|
|
||||||
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",
|
|
||||||
};
|
|
||||||
FSUDPPort = 47851;
|
|
||||||
SBSPort = FSUDPPort+1000;
|
|
||||||
DontUseNS = 0;
|
|
||||||
StartCommands +=
|
StartCommands +=
|
||||||
{
|
{
|
||||||
"moduleManager.createModule SessionBrowserServerMod sbs suAddr="+SUHost+":49999 listenPort="+SBSPort+" ring_db(host="+DBHost+" user="+DBRingUser+" password="+DBRingPass+" base="+DBRingName+")",
|
"moduleManager.createModule SessionBrowserServerMod sbs suAddr="+SUHost+":49999 listenPort="+SBSPort+" ring_db(host="+DBHost+" user="+DBRingUser+" password="+DBRingPass+" base="+DBRingName+")",
|
||||||
|
@ -286,26 +26,24 @@ GraphVars += { "L5CallbackCount", "0" };
|
||||||
GraphVars += { "L5CallbackCount", "60000" };
|
GraphVars += { "L5CallbackCount", "60000" };
|
||||||
GraphVars += { "L5CallbackTime", "0" };
|
GraphVars += { "L5CallbackTime", "0" };
|
||||||
GraphVars += { "L5CallbackTime", "60000" };
|
GraphVars += { "L5CallbackTime", "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 = {
|
Paths = {
|
||||||
".",
|
".",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// ---- service NeL variables (used by CVariable class)
|
||||||
|
|
||||||
|
// ---- service custom variables (used by ConfigFile class)
|
||||||
|
|
||||||
|
// Use Shard Unifier or not
|
||||||
|
DontUseSU = 0;
|
||||||
|
|
||||||
|
HomeMainlandNames =
|
||||||
|
{
|
||||||
|
"302", "Open", "open",
|
||||||
|
};
|
||||||
|
|
||||||
|
// The max number of ring points (aka ring access) for each ecosystem
|
||||||
|
MaxRingPoints = "A1:D7:F7:J8:L6:R13";
|
||||||
|
|
||||||
|
// ---- service custom variables (used by CVariable class)
|
||||||
|
|
1
code/ryzom/server/session_browser_server_default.cfg
Normal file
1
code/ryzom/server/session_browser_server_default.cfg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
#include "common.cfg"
|
|
@ -1,284 +1,24 @@
|
||||||
// Use with commandline: shard_unifier_service -C. -L. --nobreak --writepid
|
// Use with commandline: shard_unifier_service -C. -L. --nobreak --writepid
|
||||||
AESAliasName= "su";
|
|
||||||
|
|
||||||
ASWebPort="46700";
|
// ---- config local variables
|
||||||
ASPort="46701";
|
|
||||||
AESPort="46702";
|
|
||||||
SUPort = 50505;
|
|
||||||
SUGlobalPort = 50503;
|
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
|
#include "sql.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
|
|
||||||
"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 "shard_unifier_service_default.cfg"
|
#include "shard_unifier_service_default.cfg"
|
||||||
|
|
||||||
|
// ---- service NeL variables (used by ConfigFile class)
|
||||||
|
|
||||||
|
AESAliasName= "su";
|
||||||
|
|
||||||
// Create a command executor
|
// Create a command executor
|
||||||
StartCommands +=
|
StartCommands +=
|
||||||
{
|
{
|
||||||
"moduleManager.createModule CommandExecutor ce",
|
"moduleManager.createModule CommandExecutor ce",
|
||||||
"ce.plug gw",
|
"ce.plug gw",
|
||||||
};
|
};
|
||||||
|
|
||||||
GraphVars += { "TotalConcurentUser", "60000" };
|
GraphVars += { "TotalConcurentUser", "60000" };
|
||||||
GraphVars += { "NetSpeedLoop", "0" };
|
GraphVars += { "NetSpeedLoop", "0" };
|
||||||
GraphVars += { "NetSpeedLoop", "60000" };
|
GraphVars += { "NetSpeedLoop", "60000" };
|
||||||
|
@ -286,26 +26,28 @@ GraphVars += { "L5CallbackCount", "0" };
|
||||||
GraphVars += { "L5CallbackCount", "60000" };
|
GraphVars += { "L5CallbackCount", "60000" };
|
||||||
GraphVars += { "L5CallbackTime", "0" };
|
GraphVars += { "L5CallbackTime", "0" };
|
||||||
GraphVars += { "L5CallbackTime", "60000" };
|
GraphVars += { "L5CallbackTime", "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 = {
|
Paths = {
|
||||||
".",
|
".",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// ---- service NeL variables (used by CVariable class)
|
||||||
|
|
||||||
|
// ---- service custom variables (used by ConfigFile class)
|
||||||
|
|
||||||
|
// Use Shard Unifier or not
|
||||||
|
DontUseSU = 0;
|
||||||
|
|
||||||
|
HomeMainlandNames =
|
||||||
|
{
|
||||||
|
"302", "Open", "open",
|
||||||
|
};
|
||||||
|
|
||||||
|
// ---- service custom variables (used by CVariable class)
|
||||||
|
|
||||||
|
DomainName = "ryzom_open";
|
||||||
|
|
||||||
|
// The privileges needed to access any ring session
|
||||||
|
PrivilegeForSessionAccess = ":DEV:SGM:GM:SG:";
|
||||||
|
|
||||||
|
#include "backup_service_interface.cfg"
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
#include "common.cfg"
|
#include "common.cfg"
|
||||||
|
|
||||||
NSHost = SUNSHost;
|
DontUseNS = 1;
|
||||||
DontUseNS = SUDontUseNS;
|
|
||||||
|
|
||||||
// SU - listen address of the SU service (for L5 connections)
|
|
||||||
SUAddress = SUHost+":"+SUPort;
|
|
||||||
|
|
||||||
StartCommands +=
|
StartCommands +=
|
||||||
{
|
{
|
||||||
|
|
14
code/ryzom/server/sql.cfg
Normal file
14
code/ryzom/server/sql.cfg
Normal file
|
@ -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
|
|
||||||
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 "tick_service_default.cfg"
|
#include "tick_service_default.cfg"
|
||||||
|
|
||||||
Mainlands = {
|
// ---- config local variables
|
||||||
"302", "Open", "(Open Developer Community)", "en",
|
|
||||||
};
|
|
||||||
HomeMainlandNames =
|
|
||||||
{
|
|
||||||
"302", "Open", "open",
|
|
||||||
};
|
|
||||||
RRDVarPath = "save_shard/rrd_graphs";
|
|
||||||
ReadTranslationWork = 1;
|
|
||||||
TranslationWorkPath = "";
|
|
||||||
|
|
||||||
DontUseAES=1;
|
// ---- service NeL variables (used by ConfigFile class)
|
||||||
RingRPEnabled=0;
|
|
||||||
DomainName = "ryzom_open";
|
AESAliasName= "ts";
|
||||||
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 = {
|
||||||
".",
|
".",
|
||||||
"../common/data_common",
|
"../common/data_common",
|
||||||
"../common/data_leveldesign",
|
"../common/data_leveldesign",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// ---- service NeL variables (used by CVariable class)
|
||||||
|
|
||||||
|
// ---- service custom variables (used by ConfigFile class)
|
||||||
|
|
||||||
|
// Mirror limits
|
||||||
|
DatasetSizefe_temp = 600000;
|
||||||
|
DatasetSizefame = 26000;
|
||||||
|
|
||||||
|
// ---- service custom variables (used by CVariable class)
|
||||||
|
|
||||||
|
// Disable ryzom verbose logging
|
||||||
|
VerboseMIRROR = 0;
|
||||||
|
|
||||||
|
#include "backup_service_interface.cfg"
|
||||||
|
|
14
code/ryzom/server/used_continents.cfg
Normal file
14
code/ryzom/server/used_continents.cfg
Normal file
|
@ -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";
|
|
||||||
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)
|
// SU - listen address of the SU service (for L5 connections)
|
||||||
SUAddress = SUHost+":"+SUPort;
|
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 "welcome_service_default.cfg"
|
#include "welcome_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= "rws";
|
||||||
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)
|
||||||
|
|
||||||
|
// WS - use or not the legacy WelcomeService from nel ns (only for backward compatibility during transition to ring)
|
||||||
|
DontUseLSService = 1;
|
||||||
|
|
||||||
|
LSHost = SUHost;
|
||||||
|
|
||||||
|
// 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
|
||||||
|
FixedSessionId = ShardId;
|
||||||
|
|
||||||
|
// ---- service custom variables (used by CVariable class)
|
||||||
|
|
Loading…
Reference in a new issue