Remove redundant cfg files
parent
cac99dc9ab
commit
681f133400
@ -1,149 +0,0 @@
|
|||||||
// Use with commandline: ryzom_admin_service -A. -C. -L. --nobreak --fulladminname=admin_executor_service --shortadminname=AES
|
|
||||||
|
|
||||||
#include "admin_executor_service_default.cfg"
|
|
||||||
|
|
||||||
// ---- config local variables
|
|
||||||
|
|
||||||
// Address of the admin service (default port is 49996)
|
|
||||||
ASHost = "localhost";
|
|
||||||
ASPort="46701";
|
|
||||||
|
|
||||||
// ---- service NeL variables (used by ConfigFile class)
|
|
||||||
|
|
||||||
AESAliasName= "aes_open";
|
|
||||||
|
|
||||||
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+")",
|
|
||||||
|
|
||||||
// create the admin executor service module
|
|
||||||
"moduleManager.createModule AdminExecutorService aes",
|
|
||||||
|
|
||||||
// create a gateway to connect to as
|
|
||||||
"moduleManager.createModule StandardGateway asc_gw",
|
|
||||||
// create a layer 3 client
|
|
||||||
"asc_gw.transportAdd L3Client l3c",
|
|
||||||
"asc_gw.transportCmd l3c(connect addr="+ASHost+":"+ASPort+")",
|
|
||||||
|
|
||||||
// create a gateway for services to connect
|
|
||||||
"moduleManager.createModule StandardGateway aes_gw",
|
|
||||||
// create a layer 3 server
|
|
||||||
"aes_gw.transportAdd L3Server l3s",
|
|
||||||
"aes_gw.transportOptions l3s(PeerInvisible)",
|
|
||||||
"aes_gw.transportCmd l3s(open port="+AESPort+")",
|
|
||||||
|
|
||||||
// plug the as
|
|
||||||
"aes.plug asc_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",
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
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" };
|
|
||||||
egs = { "./", "/home/nevrax/dev/live/service_entities_game_service/entities_game_service", "-C. -L. --nobreak --writepid" };
|
|
||||||
gpms = { "/home/nevrax/dev/gpms", "/home/nevrax/dev/live/service_gpm_service/gpm_service", "-C. -L. --nobreak --writepid" };
|
|
||||||
ios = { "/home/nevrax/dev/ios", "/home/nevrax/dev/live/service_input_output_service/input_output_service", "-C. -L. --nobreak --writepid" };
|
|
||||||
rns = { "/home/nevrax/dev/rns", "/home/nevrax/dev/live/service_ryzom_naming_service/ryzom_naming_service", "-C. -L. --nobreak --writepid" };
|
|
||||||
rws = { "/home/nevrax/dev/rws", "/home/nevrax/dev/live/service_ryzom_welcome_service/ryzom_welcome_service", "-C. -L. --nobreak --writepid" };
|
|
||||||
ts = { "/home/nevrax/dev/ts", "/home/nevrax/dev/live/service_tick_service/tick_service", "-C. -L. --nobreak --writepid" };
|
|
||||||
ms = { "/home/nevrax/dev/ms", "/home/nevrax/dev/live/service_mirror_service/mirror_service", "-C. -L. --nobreak --writepid" };
|
|
||||||
ais_newbyland = { "/home/nevrax/dev/ais_newbyland", "/home/nevrax/dev/live/service_ai_service/ai_service", "-C. -L. --nobreak --writepid -mCommon:Newbieland:Post" };
|
|
||||||
mfs = { "/home/nevrax/dev/mfs", "/home/nevrax/dev/live/service_mail_forum_service/mail_forum_service", "-C. -L. --nobreak --writepid" };
|
|
||||||
su = { "/home/nevrax/dev/su", "/home/nevrax/dev/live/service_shard_unifier_service/shard_unifier_service", "-C. -L. --nobreak --writepid" };
|
|
||||||
fes = { "/home/nevrax/dev/fes", "/home/nevrax/dev/live/service_frontend_service/frontend_service", "-C. -L. --nobreak --writepid" };
|
|
||||||
sbs = { "/home/nevrax/dev/sbs", "/home/nevrax/dev/live/service_session_browser_server/session_browser_server", "-C. -L. --nobreak --writepid" };
|
|
||||||
lgs = { "/home/nevrax/dev/lgs", "/home/nevrax/dev/live/service_logger_service/logger_service", "-C. -L. --nobreak --writepid" };
|
|
||||||
mos = { "/home/nevrax/dev/mos", "/home/nevrax/dev/live/service_monitor_service/monitor_service", "-C. -L. --nobreak --writepid" };
|
|
||||||
pdss = { "/home/nevrax/dev/pdss", "/home/nevrax/dev/live/service_pd_support_service/pd_support_service", "-C. -L. --nobreak --writepid" };
|
|
||||||
ras = { "./", "src/ryzom_admin_service/ryzom_admin_service", "--fulladminname=admin_service --shortadminname=AS -C. -L. --nobreak --writepid" };
|
|
||||||
|
|
||||||
RegisteredServices=
|
|
||||||
{
|
|
||||||
"bms_master",
|
|
||||||
"bms_pd_master",
|
|
||||||
"egs",
|
|
||||||
"gpms",
|
|
||||||
"ios",
|
|
||||||
"rns",
|
|
||||||
"rws",
|
|
||||||
"ts",
|
|
||||||
"ms",
|
|
||||||
"ais_newbyland",
|
|
||||||
"mfs",
|
|
||||||
"su",
|
|
||||||
"fes",
|
|
||||||
"sbs",
|
|
||||||
"lgs",
|
|
||||||
"mos",
|
|
||||||
"pdss",
|
|
||||||
"ras",
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
DontUseStdIn = 0;
|
|
||||||
|
|
||||||
// ---- service NeL variables (used by CVariable class)
|
|
||||||
|
|
||||||
// If the update loop is too slow, a thread will produce an assertion.
|
|
||||||
// By default, the value is set to 10 minutes.
|
|
||||||
// Set to 0 for no assertion.
|
|
||||||
UpdateAssertionThreadTimeout = 0;
|
|
||||||
|
|
||||||
// ---- service custom variables (used by ConfigFile class)
|
|
||||||
|
|
||||||
// ---- service custom variables (used by CVariable class)
|
|
||||||
|
|
||||||
// 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;
|
|
||||||
|
|
||||||
ShardName="dev";
|
|
@ -1,7 +0,0 @@
|
|||||||
#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,22 +0,0 @@
|
|||||||
// Use with commandline: ryzom_admin_service --fulladminname=ryzom_admin_service --shortadminname=AS -C. -L. --nobreak --writepid
|
|
||||||
|
|
||||||
// ---- config local variables
|
|
||||||
|
|
||||||
ASWebPort="46700";
|
|
||||||
ASPort="46701";
|
|
||||||
|
|
||||||
#include "admin_service_default.cfg"
|
|
||||||
|
|
||||||
// ---- service NeL variables (used by ConfigFile class)
|
|
||||||
|
|
||||||
AESAliasName= "ras";
|
|
||||||
|
|
||||||
Paths = {
|
|
||||||
".",
|
|
||||||
};
|
|
||||||
|
|
||||||
// ---- service NeL variables (used by CVariable class)
|
|
||||||
|
|
||||||
// ---- service custom variables (used by ConfigFile class)
|
|
||||||
|
|
||||||
// ---- service custom variables (used by CVariable class)
|
|
@ -1,27 +0,0 @@
|
|||||||
#include "common.cfg"
|
|
||||||
|
|
||||||
DontUseNS = 1;
|
|
||||||
|
|
||||||
RRDToolPath = "rrdtool";
|
|
||||||
RRDVarPath = "save_shard/rrd_graphs";
|
|
||||||
|
|
||||||
// Variables required to be defined by other cfgs
|
|
||||||
//AESHost="localhost";
|
|
||||||
//ASWebPort="46700";
|
|
||||||
//ASPort="46701";
|
|
||||||
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
// create the admin service module and open the web interface
|
|
||||||
"moduleManager.createModule AdminService as webPort="+ASWebPort,
|
|
||||||
|
|
||||||
// create a gateway for aes to connect
|
|
||||||
"moduleManager.createModule StandardGateway as_gw",
|
|
||||||
// create a layer 3 server
|
|
||||||
"as_gw.transportAdd L3Server l3s",
|
|
||||||
"as_gw.transportOptions l3s(PeerInvisible)",
|
|
||||||
"as_gw.transportCmd l3s(open port="+ASPort+")",
|
|
||||||
|
|
||||||
// plug the as
|
|
||||||
"as.plug as_gw",
|
|
||||||
};
|
|
@ -1,128 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
//14.11.02
|
|
||||||
|
|
||||||
//this is the latest version of the ags script
|
|
||||||
//contents : matis city NPCs, bush fauna (low level-newbie zone)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// link the common configuration file
|
|
||||||
RootConfigFilename = "common.cfg";
|
|
||||||
|
|
||||||
DisplayedVariables += {"GlobalActorCount","GlobalActorMoves","GlobalActorUpdates"};
|
|
||||||
|
|
||||||
// by default, use localhost to find the naming service
|
|
||||||
//NSHost = "ldserver:50000";
|
|
||||||
//NSHost = "gamedev4";
|
|
||||||
|
|
||||||
// load all continents
|
|
||||||
UsedContinents =
|
|
||||||
{
|
|
||||||
// "fyros",
|
|
||||||
// "tryker",
|
|
||||||
"matis",
|
|
||||||
// "zorai",
|
|
||||||
};
|
|
||||||
|
|
||||||
Paths += { "data_leveldesign" /*, "data_common", "data_shard"*/ };
|
|
||||||
|
|
||||||
|
|
||||||
// StartCommands = { "loadPrim demo.prim" }; // .prim is an obsolete file format (it used to work for collision with trees)
|
|
||||||
|
|
||||||
StartCommandsWhenMirrorReady = {
|
|
||||||
|
|
||||||
// THIS IS GOOD NEW STUFF
|
|
||||||
"checkGenerateAndRun ags_test_creatures1 1571 -5135 10 25 creature c????1.creature",
|
|
||||||
"checkGenerateAndRun ags_test_creatures_testroom 1571 -4825 5 50 creature testroom_*.creature",
|
|
||||||
/*
|
|
||||||
// THIS IS OLD STUFF
|
|
||||||
// to be removed later
|
|
||||||
"checkGenerateAndRun ags_test_lvl_01 1721 -4805 5 20 creature *_lvl_01.creature",
|
|
||||||
"checkGenerateAndRun ags_test_hom 1721 -4755 5 20 creature *_hom_*.creature",
|
|
||||||
"checkGenerateAndRun ags_test_hof 1721 -4745 5 20 creature *_hof_*.creature",
|
|
||||||
"checkGenerateAndRun ags_test_set 1721 -4735 5 20 creature *_set.creature",
|
|
||||||
"checkGenerateAndRun ags_test_karavan 1721 -4725 5 20 creature karavan_*.creature",
|
|
||||||
"checkGenerateAndRun ags_test_kami 1721 -4715 5 20 creature kami*_*.creature",
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
"generateScript ags_test_lvl_01.script 1721 -5000 5 20 creature *_lvl_01.creature",
|
|
||||||
"generateScript ags_test_hom.script 1721 -4950 5 20 creature *_hom_*.creature",
|
|
||||||
"generateScript ags_test_hof.script 1721 -4940 5 20 creature *_hof_*.creature",
|
|
||||||
"generateScript ags_test_set.script 1721 -4930 5 20 creature *_set.creature",
|
|
||||||
"generateScript ags_test_karavan.script 1721 -4920 5 20 creature karavan_*.creature",
|
|
||||||
"generateScript ags_test_kami.script 1721 -4910 5 20 creature kami*_*.creature",
|
|
||||||
|
|
||||||
"runScript lvl_01 ags_test_lvl_01.script on",
|
|
||||||
"runScript hom ags_test_hom.script on",
|
|
||||||
"runScript hof ags_test_hof.script on",
|
|
||||||
"runScript set ags_test_set.script on",
|
|
||||||
"runScript karanvan ags_test_karavan.script on",
|
|
||||||
"runScript kami ags_test_kami.script on",
|
|
||||||
*/
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
for scripting :
|
|
||||||
|
|
||||||
one command per line, no surrounding "
|
|
||||||
|
|
||||||
commands are :
|
|
||||||
|
|
||||||
- cmd: Execute a service command
|
|
||||||
ex: cmd help
|
|
||||||
cmd actorCreatePosition demo-point-004
|
|
||||||
|
|
||||||
- setText: Set a variable as plain text. Value can be computed using other
|
|
||||||
variables to compose strings (with the $(varname) syntax)
|
|
||||||
ex: setText myVar myValue
|
|
||||||
setText myVar $(myOtherVar) blah blah
|
|
||||||
synonym: set$ works like setText
|
|
||||||
|
|
||||||
- setNumeric: set a variable as numeric value. Value can be computed using
|
|
||||||
other variables (no specific syntax, variable names are written in plain text)
|
|
||||||
a variable existence can be tested by preceding its name by a ?. If the variable
|
|
||||||
exists, the ?var is set to 1, otherwise 0.
|
|
||||||
ex: setNumeric myVar 0.1234
|
|
||||||
setNumeric myVar myOtherVar*2.0+55690.1*sin(myVar)
|
|
||||||
setNumeric isReady ?myVar
|
|
||||||
synonym: set# works like setNumeric
|
|
||||||
|
|
||||||
- erase: erases a variable. Variable is completely deleted. ?var returns 0 after until var is redefined
|
|
||||||
ex: erase myVar
|
|
||||||
|
|
||||||
- wait: halt script for n cycles
|
|
||||||
ex: wait 10
|
|
||||||
|
|
||||||
- receive: halt script until expression is true (true is a value different from 0)
|
|
||||||
common operators can be used (<, >, == etc.)
|
|
||||||
ex: receive myVar>1.0
|
|
||||||
receive ?myVar
|
|
||||||
|
|
||||||
- send: send a value to all running scripts. Couple variable/value will be defined then in all running scripts
|
|
||||||
useful to synchronize scripts, or trigger events... value is text replaced using $(...) syntax
|
|
||||||
ex: send myVar blah blah
|
|
||||||
send myVar $(myOtherVar)
|
|
||||||
|
|
||||||
- display: displays a string, text replaced using $(...) syntax
|
|
||||||
ex: display myVar=$(myVar)
|
|
||||||
display number of players=$(nbPlayers)
|
|
||||||
|
|
||||||
- if: tests a condition, and runs alternative. alternative bloc can have an else part, and must be ended by endif
|
|
||||||
ex: if myVar > 10
|
|
||||||
display myVar is greater than 10
|
|
||||||
else
|
|
||||||
display myVar is less than 10
|
|
||||||
endif
|
|
||||||
|
|
||||||
- while: execute a bloc while a condition is verified. bloc must be ended by endloop
|
|
||||||
ex: while myVar > 10
|
|
||||||
set# myVar myVar-1
|
|
||||||
endloop
|
|
||||||
|
|
||||||
|
|
||||||
*/
|
|
@ -1,16 +0,0 @@
|
|||||||
|
|
||||||
Paths =
|
|
||||||
{
|
|
||||||
"data_shard/pacs",
|
|
||||||
"data/3d/continents",
|
|
||||||
"data_shard",
|
|
||||||
"data_common"
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
Commands =
|
|
||||||
{
|
|
||||||
"setStartPoint matis 4700 -3500",
|
|
||||||
|
|
||||||
"pacsCrunch matis"
|
|
||||||
};
|
|
@ -1,28 +0,0 @@
|
|||||||
// link the common configuration file
|
|
||||||
RootConfigFilename = "common.cfg";
|
|
||||||
|
|
||||||
DontUseAES = 1;
|
|
||||||
DontUseNS = 1;
|
|
||||||
|
|
||||||
// Paths = { "data_leveldesign", "data_common" };
|
|
||||||
Paths += { "./data_shard/pacs", "./data/3d/continents" };
|
|
||||||
Paths += { "data_leveldesign/leveldesign/World" };
|
|
||||||
|
|
||||||
SrcPaths = { "./data_leveldesign/leveldesign/new_world" };
|
|
||||||
ObjPath = "./data_leveldesign/leveldesign/new_world";
|
|
||||||
SavPath = "./data_leveldesign/leveldesign/new_world";
|
|
||||||
|
|
||||||
DisplayedVariables += { "EvaluatedPos" };
|
|
||||||
|
|
||||||
|
|
||||||
StartCommands =
|
|
||||||
{
|
|
||||||
// "pacs_crunch fyros",
|
|
||||||
// "pacs_crunch matis",
|
|
||||||
// "pacs_crunch tryker",
|
|
||||||
// "pacs_crunch bagne",
|
|
||||||
// "pacs_crunch sources",
|
|
||||||
|
|
||||||
// "aiMake"
|
|
||||||
};
|
|
||||||
|
|
@ -1,64 +0,0 @@
|
|||||||
// Use with commandline: ai_service -C. -L. --nobreak --writepid -mCommon:Newbieland:Post
|
|
||||||
|
|
||||||
// ---- config local variables
|
|
||||||
|
|
||||||
SUPort = 50505;
|
|
||||||
SUHost = "localhost";
|
|
||||||
// SU - listen address of the SU service (for L5 connections)
|
|
||||||
SUAddress = SUHost+":"+SUPort;
|
|
||||||
|
|
||||||
#include "ai_service_default.cfg"
|
|
||||||
|
|
||||||
// ---- service NeL variables (used by ConfigFile class)
|
|
||||||
|
|
||||||
AESAliasName= "ais_newbyland";
|
|
||||||
|
|
||||||
GraphVars += { "TickSpeedLoop", "60000" };
|
|
||||||
GraphVars += { "L5CallbackCount", "60000" };
|
|
||||||
GraphVars += { "L5CallbackTime", "60000" };
|
|
||||||
GraphVars += { "MirrorCallbackCount", "60000" };
|
|
||||||
GraphVars += { "MirrorCallbackTime", "60000" };
|
|
||||||
|
|
||||||
Paths = {
|
|
||||||
".",
|
|
||||||
"../common/data_common",
|
|
||||||
"../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,198 +0,0 @@
|
|||||||
#include "common.cfg"
|
|
||||||
|
|
||||||
// a list of system command that run at server startup.
|
|
||||||
SystemCmd = {};
|
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
|
||||||
//- Basic (specific) heal profile parameters ---------------------------------
|
|
||||||
// Downtime for normal heal (on other bots of the group)
|
|
||||||
HealSpecificDowntime = 100;
|
|
||||||
// Downtime for self heal
|
|
||||||
HealSpecificDowntimeSelf = 100;
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
// Disable caching of ligo primitive in binary files
|
|
||||||
CachePrims = 0;
|
|
||||||
CachePrimsLog = 0;
|
|
||||||
|
|
||||||
// do not log the corrected position.
|
|
||||||
LogAcceptablePos = 0;
|
|
||||||
// do not log group creation failure
|
|
||||||
LogGroupCreationFailure = 0;
|
|
||||||
// do not log aliad tree owner construstion.
|
|
||||||
LogAliasTreeOwner = 0;
|
|
||||||
// do not log outpost info
|
|
||||||
LogOutpostDebug = 0;
|
|
||||||
// Speed factor, for debug purpose only. Don't set to high speed factor !
|
|
||||||
SpeedFactor = 1;
|
|
||||||
// Speep up the timer triggering. Set a value between 1 (normal) and INT_MAX.
|
|
||||||
TimerSpeedUp = 1;
|
|
||||||
|
|
||||||
// Default timer for wander behavior
|
|
||||||
DefaultWanderMinTimer = 50; // 5s
|
|
||||||
DefaultWanderMaxTimer = 100; // 10s
|
|
||||||
|
|
||||||
// Fame and guard behavior
|
|
||||||
// Fame value under witch the guard attack the player in sigth
|
|
||||||
FameForGuardAttack = -450000;
|
|
||||||
// The minimum of fame for guard to help the player
|
|
||||||
FameForGuardHelp = -200000;
|
|
||||||
|
|
||||||
// The default aggro distance for NPC
|
|
||||||
DefaultNpcAggroDist = 15;
|
|
||||||
// The default escort range for escort behavior
|
|
||||||
DefaultEscortRange = 10;
|
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
|
||||||
// Aggro //
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
|
||||||
AggroReturnDistCheck = 15.0;
|
|
||||||
AggroReturnDistCheckFauna = 15.0;
|
|
||||||
AggroReturnDistCheckNpc = 1.5;
|
|
||||||
AggroD1Radius = 250.0;
|
|
||||||
AggroD2Radius = 150.0;
|
|
||||||
AggroPrimaryGroupDist = 0.0;
|
|
||||||
AggroPrimaryGroupCoef = 0.0;
|
|
||||||
AggroSecondaryGroupDist = 0.0;
|
|
||||||
AggroSecondaryGroupCoef = 0.0;
|
|
||||||
AggroPropagationRadius = 60.0;
|
|
||||||
|
|
||||||
BotRepopFx = "";
|
|
||||||
|
|
||||||
// GROUP KEYWORDS
|
|
||||||
// used mainly in event handlers to determine to which groups events apply
|
|
||||||
KeywordsGroupNpc = {
|
|
||||||
|
|
||||||
"patrol", // a group of bots who guard a patrol route or point
|
|
||||||
"convoy", // a group with pack animals who follow roads from place to place
|
|
||||||
"with_players", // a group who may travel with players
|
|
||||||
};
|
|
||||||
|
|
||||||
// BOT KEYWORDS
|
|
||||||
// used mainly in npc_state_profile to determine which ai profiles to assign to which bots
|
|
||||||
KeywordsBotNpc = {
|
|
||||||
|
|
||||||
"team_leader", // a bot who leads the way in front of their team (and acts as leader
|
|
||||||
// in discussion with players)
|
|
||||||
"animal_leader", // a bot who leads pack animals
|
|
||||||
"guard", // a bot who is a guard of some sort (eg karavan guard)
|
|
||||||
"emissary", // eg karavan emissary
|
|
||||||
"preacher", // eg kami preacher
|
|
||||||
"guardian", // typically kami guardians
|
|
||||||
"vip", // someone who has an escort of players or NPCs (assumed to be harmless)
|
|
||||||
};
|
|
||||||
|
|
||||||
// STATE KEYWORDS
|
|
||||||
// used mainly in event handlers to determine to which state events apply
|
|
||||||
// eg: when a player goes link dead if the team that this player is escorting
|
|
||||||
// is in a dangerous area the team may enter a 'protect ourselves and wait for
|
|
||||||
// players' punctual state
|
|
||||||
KeywordsStateNpc = {
|
|
||||||
|
|
||||||
"safe", // eg the gathering point at town entrance
|
|
||||||
"dangerous", // eg a route through the wilds
|
|
||||||
};
|
|
||||||
|
|
||||||
ColourNames =
|
|
||||||
{
|
|
||||||
"red : 0",
|
|
||||||
"beige : 1",
|
|
||||||
"green : 2",
|
|
||||||
"turquoise : 3",
|
|
||||||
"blue : 4",
|
|
||||||
"violet : 5",
|
|
||||||
"white : 6",
|
|
||||||
"black : 7",
|
|
||||||
|
|
||||||
"redHair: 0",
|
|
||||||
"blackHair: 1",
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
StartCommandsWhenMirrorReady = {
|
|
||||||
};
|
|
||||||
|
|
||||||
//---------------------------------------------------------
|
|
||||||
// commands for multi IA configuration
|
|
||||||
// For multi IA config, use the -m command line switch folowed
|
|
||||||
// by a semicolon separated list of command block to run.
|
|
||||||
// ex :
|
|
||||||
// -mCommon:Matis:Post
|
|
||||||
// will execute the folowing command blocks in order :
|
|
||||||
// * StartCommandsWhenMirrorReadyCommon
|
|
||||||
// * StartCommandsWhenMirrorReadyMatis
|
|
||||||
// * StartCommandsWhenMirrorReadyPost
|
|
||||||
//---------------------------------------------------------
|
|
||||||
// common commands before loading continents
|
|
||||||
StartCommandsWhenMirrorReadyCommon =
|
|
||||||
{
|
|
||||||
"RandomPosMaxRetry 6400",
|
|
||||||
"fightRangeRange 4 60",
|
|
||||||
"LogOutpostDebug 1",
|
|
||||||
"grpHistoryRecordLog",
|
|
||||||
|
|
||||||
"verboseAIProfiles",
|
|
||||||
"verboseAliasNodeTreeParserLog",
|
|
||||||
"verboseCombatLog",
|
|
||||||
"verboseFaunaMgrLog",
|
|
||||||
"verboseFaunaParseLog",
|
|
||||||
"verboseNPCBotProfiles",
|
|
||||||
"verboseNPCMgrLog",
|
|
||||||
"verboseNPCParserLog",
|
|
||||||
"verboseNpcDescriptionMsgLog",
|
|
||||||
"verbosePrimitiveParserLog",
|
|
||||||
// "verboseSwitchMultipleChangesOfAProperty",
|
|
||||||
};
|
|
||||||
|
|
||||||
// commands for Newbieland continent
|
|
||||||
StartCommandsWhenMirrorReadyNewbieland =
|
|
||||||
{
|
|
||||||
"loadContinent newbieland",
|
|
||||||
"createStaticAIInstance newbieland",
|
|
||||||
"loadMapsFromCommon newbieland_all",
|
|
||||||
};
|
|
||||||
|
|
||||||
// commands for post continents loading
|
|
||||||
StartCommandsWhenMirrorReadyPost =
|
|
||||||
{
|
|
||||||
"spawnInstances",
|
|
||||||
"updateAI",
|
|
||||||
"updateAI",
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
// commands for Ring continents
|
|
||||||
StartCommandsWhenMirrorReadyRing =
|
|
||||||
{
|
|
||||||
"loadContinent r2_desert",
|
|
||||||
"createDynamicAIInstance 10000",
|
|
||||||
"loadPrimitiveFile dummy.primitive",
|
|
||||||
|
|
||||||
"loadContinent r2_forest",
|
|
||||||
"createDynamicAIInstance 10001",
|
|
||||||
"loadPrimitiveFile dummy.primitive",
|
|
||||||
|
|
||||||
"loadContinent r2_lakes",
|
|
||||||
"createDynamicAIInstance 10003",
|
|
||||||
"loadPrimitiveFile dummy.primitive",
|
|
||||||
|
|
||||||
"loadContinent r2_jungle",
|
|
||||||
"createDynamicAIInstance 10002",
|
|
||||||
"loadPrimitiveFile dummy.primitive",
|
|
||||||
|
|
||||||
"loadContinent r2_roots",
|
|
||||||
"createDynamicAIInstance 10004",
|
|
||||||
"loadPrimitiveFile dummy.primitive",
|
|
||||||
|
|
||||||
// "spawnInstances",
|
|
||||||
"updateAI",
|
|
||||||
"updateAI",
|
|
||||||
|
|
||||||
// L5 connect to the shard unifier
|
|
||||||
"unifiedNetwork.addService ShardUnifier ( address="+SUAddress+" sendId external autoRetry )",
|
|
||||||
|
|
||||||
// Create a shard AIS Module
|
|
||||||
"moduleManager.createModule AisControl ais",
|
|
||||||
// Connect AIS
|
|
||||||
"ais.plug gw"
|
|
||||||
};
|
|
@ -1,34 +0,0 @@
|
|||||||
// Use with commandline: backup_service -C. -L. --nobreak --writepid -P49990
|
|
||||||
|
|
||||||
#include "backup_service_default.cfg"
|
|
||||||
|
|
||||||
// ---- config local variables
|
|
||||||
|
|
||||||
// ---- service NeL variables (used by ConfigFile class)
|
|
||||||
|
|
||||||
AESAliasName = "bms_master";
|
|
||||||
|
|
||||||
Paths += {
|
|
||||||
".",
|
|
||||||
"../common/data_leveldesign",
|
|
||||||
};
|
|
||||||
|
|
||||||
// ---- service NeL variables (used by CVariable class)
|
|
||||||
|
|
||||||
// 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)
|
|
||||||
|
|
||||||
WebPort = 49970;
|
|
||||||
|
|
||||||
// ---- service custom variables (used by CVariable class)
|
|
||||||
|
|
||||||
// BS - Root directory where data are backuped to
|
|
||||||
IncrementalBackupDirectory = "../incremental_backup";
|
|
||||||
|
|
||||||
// Root directory where data from shards are stored into
|
|
||||||
SaveShardRoot = "save_shard/";
|
|
@ -1,32 +0,0 @@
|
|||||||
#include "common.cfg"
|
|
||||||
|
|
||||||
// ---- service NeL variables (used by ConfigFile class)
|
|
||||||
|
|
||||||
DontUseNS = 1;
|
|
||||||
|
|
||||||
// ---- service NeL variables (used by CVariable class)
|
|
||||||
|
|
||||||
ListeningPort = 49990;
|
|
||||||
|
|
||||||
// ---- service custom variables (used by ConfigFile class)
|
|
||||||
|
|
||||||
// Listening port for the Web server to connect in
|
|
||||||
|
|
||||||
WebPort = 49898;
|
|
||||||
|
|
||||||
BSReadState = 1;
|
|
||||||
|
|
||||||
|
|
||||||
// ---- service custom variables (used by CVariable class)
|
|
||||||
|
|
||||||
// Port for the Layer 3 interface of the backup service
|
|
||||||
L3ListeningPort = 49950;
|
|
||||||
|
|
||||||
// template path from SaveShardRoot to find character saves
|
|
||||||
SaveTemplatePath = "$shard/characters/account_$userid_$charid$ext";
|
|
||||||
|
|
||||||
// character saves possible extension list
|
|
||||||
SaveExtList = "_pdr.bin _pdr.xml .bin";
|
|
||||||
|
|
||||||
//BSFilePrefix = "R:/code/ryzom/r2_shard/";
|
|
||||||
//BSFileSubst = "r2_shard/";
|
|
@ -1,5 +0,0 @@
|
|||||||
L3BSPort = "49950";
|
|
||||||
BSHost = "localhost:49990";
|
|
||||||
UseBS = 1;
|
|
||||||
// Root directory where data from shards are stored into
|
|
||||||
SaveShardRoot = "save_shard/";
|
|
@ -1,27 +0,0 @@
|
|||||||
// link the common configuration file
|
|
||||||
RootConfigFilename = "common.cfg";
|
|
||||||
|
|
||||||
DisplayedVariables += { "", "SlowestService", "SlowestTock", "", "WaitingForServices", "", "@Pause|pause" };
|
|
||||||
|
|
||||||
NegFiltersDebug = { "DELTA_", "DEFAULT_CB", "LNETL", };
|
|
||||||
NegFiltersInfo = { "HNETL5" };
|
|
||||||
|
|
||||||
Paths = { };
|
|
||||||
|
|
||||||
StartCommands =
|
|
||||||
{
|
|
||||||
};
|
|
||||||
|
|
||||||
DontUseNS = 1;
|
|
||||||
|
|
||||||
SId = 4;
|
|
||||||
|
|
||||||
ListeningPort = 49990;
|
|
||||||
|
|
||||||
// Listening port for the Web server to connect in
|
|
||||||
WebPort = 49898;
|
|
||||||
|
|
||||||
BSReadState = 0;
|
|
||||||
MasterBSHost = "192.168.1.134:49990";
|
|
||||||
BSFileSubst = "/home/nevrax/save_shard";
|
|
||||||
BSFilePrefix = "/home/nevrax/save_shard_slave";
|
|
@ -1,3 +0,0 @@
|
|||||||
// link the common configuration file
|
|
||||||
RootConfigFilename = "common.cfg";
|
|
||||||
|
|
@ -1,99 +0,0 @@
|
|||||||
// ---- 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";
|
|
||||||
|
|
||||||
// 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,320 +0,0 @@
|
|||||||
// Auto generated config file
|
|
||||||
// Use with commandline: dynamic_scenario_service -C. -L. --nobreak --writepid
|
|
||||||
AESAliasName= "dss";
|
|
||||||
|
|
||||||
ASWebPort="46700";
|
|
||||||
ASPort="46701";
|
|
||||||
AESPort="46702";
|
|
||||||
SUPort = 50505;
|
|
||||||
SUGlobalPort = 50503;
|
|
||||||
L3BSPort = "49950";
|
|
||||||
L3SlaveBSPort = "49951";
|
|
||||||
L3MasterLGSPort = 49992;
|
|
||||||
LGSBSPort = 49994;
|
|
||||||
L3LGSBSPort = 49995;
|
|
||||||
SUHost = "localhost";
|
|
||||||
MFSHost = "localhost";
|
|
||||||
BSHost = "localhost:49990";
|
|
||||||
SlaveBSHost = "";
|
|
||||||
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"
|
|
||||||
};
|
|
||||||
|
|
||||||
NegFiltersDebug = { "ZZZZZZZZZZZ" };
|
|
||||||
NegFiltersInfo = { "ZZZZZZZZZZZ" };
|
|
||||||
NegFiltersWarning = { "ZZZZZZZZZZZ", "Missing log context for log" };
|
|
||||||
//NegFiltersDebug = { "NET", "ADMIN", "MIRROR", "NC", "PATH" };
|
|
||||||
//NegFiltersInfo = { "NET", "ADMIN", "MIRROR", "NC", "CF", "TimerManagerUpdate" };
|
|
||||||
// NegFiltersWarning = { "CT_LRC", "AnimalSpawned" };
|
|
||||||
|
|
||||||
// Block the system in the tick service that provokes stalls when overloaded
|
|
||||||
WaitForBSThreshold=0;
|
|
||||||
|
|
||||||
// Only produce log*.log files and not <service name>*.log
|
|
||||||
DontLog=1;
|
|
||||||
|
|
||||||
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 = { "" };
|
|
||||||
|
|
||||||
// Dissable nel net verbose logging
|
|
||||||
VerboseNETTC = 0;
|
|
||||||
VerboseLNETL0 = 0;
|
|
||||||
VerboseLNETL1 = 0;
|
|
||||||
VerboseLNETL2 = 0;
|
|
||||||
VerboseLNETL3 = 0;
|
|
||||||
VerboseLNETL4 = 0;
|
|
||||||
VerboseLNETL5 = 0;
|
|
||||||
VerboseLNETL6 = 0;
|
|
||||||
|
|
||||||
// Dissable 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_open";
|
|
||||||
// Nel DB user
|
|
||||||
DBNelUser = "open";
|
|
||||||
// Ring DB user
|
|
||||||
DBRingUser = "open";
|
|
||||||
// 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;
|
|
||||||
|
|
||||||
// Dissable generation / display of nldebug messages
|
|
||||||
DissableNLDebug = 1;
|
|
||||||
DisableNLDebug = 1;
|
|
||||||
ShardId = 201;
|
|
||||||
BasePort = 51400;
|
|
||||||
SaveFilesDirectory="open_ring01/";
|
|
||||||
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 = 1;
|
|
||||||
|
|
||||||
// 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 = 0;
|
|
||||||
|
|
||||||
// Mirror limits
|
|
||||||
DatasetSizefe_temp = 600000;
|
|
||||||
DatasetSizefame = 26000;
|
|
||||||
|
|
||||||
// FS Specifics --------------------------------------------------------------------------
|
|
||||||
// Client bandwidth ratio, set to 1 for standard operation, more than one allocate more bandwidth
|
|
||||||
BandwidthRatio = 2;
|
|
||||||
|
|
||||||
// EGS Specifics --------------------------------------------------------------------------
|
|
||||||
// Entity Limits (EGS)
|
|
||||||
NbObjectsLimit = 2000;
|
|
||||||
NbNpcSpawnedByEGSLimit = 5000;
|
|
||||||
NbForageSourcesLimit = 10000;
|
|
||||||
NbToxicCloudsLimit = 5000;
|
|
||||||
|
|
||||||
// AIS Specifics --------------------------------------------------------------------------
|
|
||||||
// Entity Limits (AIS)
|
|
||||||
NbPetLimit = NbPlayersLimit*4;
|
|
||||||
NbFaunaLimit = 50000;
|
|
||||||
NbNpcLimit = 50000;
|
|
||||||
NbFxLimit = 500;
|
|
||||||
|
|
||||||
// This is the list of continent to use with their unique instance number
|
|
||||||
UsedContinents =
|
|
||||||
{
|
|
||||||
"r2_desert", "10000",
|
|
||||||
"r2_forest", "10001",
|
|
||||||
"r2_jungle", "10002",
|
|
||||||
"r2_lakes", "10003",
|
|
||||||
"r2_roots", "10004",
|
|
||||||
};
|
|
||||||
|
|
||||||
// define the primitives configuration used.
|
|
||||||
UsedPrimitives =
|
|
||||||
{
|
|
||||||
};
|
|
||||||
FSListenHost = "localhost";
|
|
||||||
#include "dynamic_scenario_service_default.cfg"
|
|
||||||
WriteFilesDirectory="../live/service_dynamic_scenario_service/";
|
|
||||||
DontLog = 1;
|
|
||||||
WebSrvHost = "http://localhost:50000/";
|
|
||||||
Mainlands = {
|
|
||||||
"302", "Open", "(Open Developer Community)", "en",
|
|
||||||
};
|
|
||||||
HomeMainlandNames =
|
|
||||||
{
|
|
||||||
"302", "Open", "open",
|
|
||||||
};
|
|
||||||
RRDVarPath = "../rrd_graphs";
|
|
||||||
NegFiltersInfo+= {"FESTATS", "FETIME", "FERECV", "FESEND: sent SYNC message to client 1", "EIT: Register EId"};
|
|
||||||
NegFiltersWarning+= {"PIPO_SESSION1", "casino_session_matis01", "invalid damage type 10", "_log_Item_Delete",
|
|
||||||
"_log_Item_Money", "_log_Item_Create", "_log_Item_Move", "botChatMissionAdvance> invalid index 0",
|
|
||||||
"_MaxRange(0) < _MinRange(1)", "Can't find craft plan sheet 'unknown.unknown'"};
|
|
||||||
DontUseAES=1;
|
|
||||||
RingRPEnabled=0;
|
|
||||||
DomainName = "ryzom_open";
|
|
||||||
EnableStlAllocatorChecker = 0;
|
|
||||||
// start commands for setting up the exchange level caps of different ryzom shards
|
|
||||||
StartCommands += { "setShardExchangeLimit 101 250" };
|
|
||||||
StartCommands += { "setShardExchangeLimit 102 250" };
|
|
||||||
StartCommands += { "setShardExchangeLimit 103 250" };
|
|
||||||
StartCommands += { "setShardExchangeLimit 104 0" };
|
|
||||||
StartCommands += { "setShardExchangeLimit 105 0" };
|
|
||||||
StartCommands += { "displayShardExchangeLimits" };
|
|
||||||
StartCommands += { "EnableStlAllocatorChecker 0" };
|
|
||||||
|
|
||||||
Paths = {
|
|
||||||
".",
|
|
||||||
"../common/data_common",
|
|
||||||
"../common/data_leveldesign",
|
|
||||||
};
|
|
@ -1,9 +0,0 @@
|
|||||||
|
|
||||||
DelayBeforeStartAct = 1;
|
|
||||||
MaxNpcs = 300;
|
|
||||||
MaxStaticObjects = 200;
|
|
||||||
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
"unifiedNetwork.addService ShardUnifier ( address="+SUAddress+" sendId external autoRetry )",
|
|
||||||
};
|
|
@ -1,4 +0,0 @@
|
|||||||
WordsPath = "./translation/work/";
|
|
||||||
LanguageCode = "en";
|
|
||||||
Filter = "item";
|
|
||||||
Utf8 = 0;
|
|
@ -1,196 +0,0 @@
|
|||||||
// Use with commandline: entities_game_service -C. -L. --nobreak --writepid
|
|
||||||
|
|
||||||
// ---- config local variables
|
|
||||||
|
|
||||||
#define DONT_USE_LGS_SLAVE
|
|
||||||
|
|
||||||
AESPort="46702";
|
|
||||||
SUPort = 50505;
|
|
||||||
SUGlobalPort = 50503;
|
|
||||||
L3MasterLGSPort = 41292;
|
|
||||||
L3SlaveLGSPort = 49993;
|
|
||||||
SUHost = "localhost";
|
|
||||||
MasterLGSHost = "localhost";
|
|
||||||
SlaveLGSHost = "localhost";
|
|
||||||
// SU - listen address of the SU service (for L5 connections)
|
|
||||||
SUAddress = SUHost+":"+SUPort;
|
|
||||||
|
|
||||||
#include "entities_game_service_default.cfg"
|
|
||||||
|
|
||||||
// ---- service NeL variables (used by ConfigFile class)
|
|
||||||
|
|
||||||
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", "60000" };
|
|
||||||
GraphVars += { "CharacterSavePerTick", "60000" };
|
|
||||||
GraphVars += { "TickSpeedLoop", "60000" };
|
|
||||||
GraphVars += { "L5CallbackCount", "60000" };
|
|
||||||
GraphVars += { "L5CallbackTime", "60000" };
|
|
||||||
GraphVars += { "MirrorCallbackCount", "60000" };
|
|
||||||
GraphVars += { "MirrorCallbackTime", "60000" };
|
|
||||||
|
|
||||||
NSHost = "localhost";
|
|
||||||
|
|
||||||
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;
|
|
||||||
|
|
||||||
// Entity Limits (EGS)
|
|
||||||
NbObjectsLimit = 2000;
|
|
||||||
NbNpcSpawnedByEGSLimit = 5000;
|
|
||||||
NbForageSourcesLimit = 10000;
|
|
||||||
NbToxicCloudsLimit = 5000;
|
|
||||||
|
|
||||||
#include "used_continents.cfg"
|
|
||||||
|
|
||||||
// define the primitives configuration used.
|
|
||||||
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 = { "" };
|
|
||||||
|
|
||||||
HomeMainlandNames =
|
|
||||||
{
|
|
||||||
"302", "Open", "open",
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
UsedContinents +=
|
|
||||||
{
|
|
||||||
"bagne", "0",
|
|
||||||
"fyros", "1",
|
|
||||||
"fyros_island", "2",
|
|
||||||
"fyros_newbie", "3",
|
|
||||||
"indoors", "4", // NB : this is for uninstanciated indoors building.
|
|
||||||
"matis", "5",
|
|
||||||
"matis_newbie", "7",
|
|
||||||
"matis_island", "8",
|
|
||||||
"nexus", "9",
|
|
||||||
"route_gouffre","10",
|
|
||||||
"sources", "11",
|
|
||||||
"terre", "12",
|
|
||||||
// "testroom", "13",
|
|
||||||
"tryker", "14",
|
|
||||||
"tryker_island","15",
|
|
||||||
"tryker_newbie","16",
|
|
||||||
"zorai", "17",
|
|
||||||
"zorai_island", "18",
|
|
||||||
"zorai_newbie", "19",
|
|
||||||
"newbieland", "20",
|
|
||||||
"kitiniere", "21",
|
|
||||||
};
|
|
||||||
|
|
||||||
// define the primitives configuration used.
|
|
||||||
UsedPrimitives =
|
|
||||||
{
|
|
||||||
"newbieland_all",
|
|
||||||
"matis_newbie_all",
|
|
||||||
"matis_all",
|
|
||||||
"matis_island_all",
|
|
||||||
"zorai_newbie_all",
|
|
||||||
"zorai_all",
|
|
||||||
"zorai_island_all",
|
|
||||||
"fyros_newbie_all",
|
|
||||||
"fyros_all",
|
|
||||||
"fyros_island_all",
|
|
||||||
"tryker_newbie_all",
|
|
||||||
"tryker_all",
|
|
||||||
"tryker_island_all",
|
|
||||||
"terre_all",
|
|
||||||
"sources_all",
|
|
||||||
"route_gouffre_all",
|
|
||||||
"nexus_all",
|
|
||||||
"bagne_all",
|
|
||||||
"kitiniere_all",
|
|
||||||
};
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Mirror limits
|
|
||||||
DatasetSizefe_temp = 600000;
|
|
||||||
DatasetSizefame = 26000;
|
|
||||||
|
|
||||||
// ---- service custom variables (used by CVariable class)
|
|
||||||
|
|
||||||
RingRPEnabled=0;
|
|
||||||
RingRPXPRequiredPerAction=700;
|
|
||||||
RingRPXPRequiredPerTimeSlice=700;
|
|
||||||
|
|
||||||
MaxXPGainPerPlayer = 30.0;
|
|
||||||
DeathXPFactor = 0.1;
|
|
||||||
|
|
||||||
MFSHost = "localhost";
|
|
||||||
|
|
||||||
// Use Shard Unifier or not
|
|
||||||
DontUseSU = 0;
|
|
||||||
|
|
||||||
// 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;
|
|
File diff suppressed because it is too large
Load Diff
@ -1,26 +0,0 @@
|
|||||||
// link the common configuration file
|
|
||||||
RootConfigFilename = "common.cfg";
|
|
||||||
|
|
||||||
//NSHost = "itsalive2";
|
|
||||||
//NSHost = "pc27";
|
|
||||||
//NSHost = "ldserver01";
|
|
||||||
//NSHost = "gamedev4";
|
|
||||||
//NSHost = "stephanec";
|
|
||||||
NSHost = "localhost";
|
|
||||||
NSPort = 50000;
|
|
||||||
|
|
||||||
WindowStyle = "WIN";
|
|
||||||
|
|
||||||
StartCommands =
|
|
||||||
{
|
|
||||||
// "goTo 17960 -33180 10",
|
|
||||||
// "goTo 16240 -24800 10",
|
|
||||||
// "goTo 1760 -1440 60",
|
|
||||||
"goTo 2520 -2100 -5",
|
|
||||||
"setUpdateTimeout 100",
|
|
||||||
};
|
|
||||||
|
|
||||||
Paths = { "data_leveldesign", "data_shard" };
|
|
||||||
|
|
||||||
DontUseAES = 1;
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
|||||||
RootConfigFilename = "general_utilities_service_events.cfg";
|
|
||||||
|
|
||||||
Users +=
|
|
||||||
{
|
|
||||||
// "user_name pass_phrase"
|
|
||||||
};
|
|
@ -1,47 +0,0 @@
|
|||||||
// Use with commandline: frontend_service -C. -L. --nobreak --writepid
|
|
||||||
|
|
||||||
// ---- config local variables
|
|
||||||
|
|
||||||
// Client bandwidth ratio, set to 1 for standard opration, more than one allocate more bandwidth
|
|
||||||
BandwidthRatio = 1;
|
|
||||||
|
|
||||||
FSUDPPort = 47851;
|
|
||||||
FSListenHost = "shard.ryzomcore.org";
|
|
||||||
|
|
||||||
#include "frontend_service_default.cfg"
|
|
||||||
|
|
||||||
// ---- service NeL variables (used by ConfigFile class)
|
|
||||||
|
|
||||||
AESAliasName= "fes";
|
|
||||||
|
|
||||||
GraphVars += { "TickSpeedLoop", "60000" };
|
|
||||||
GraphVars += { "L5CallbackCount", "60000" };
|
|
||||||
GraphVars += { "L5CallbackTime", "60000" };
|
|
||||||
GraphVars += { "MirrorCallbackCount", "60000" };
|
|
||||||
GraphVars += { "MirrorCallbackTime", "60000" };
|
|
||||||
|
|
||||||
Paths = {
|
|
||||||
"../common/data_common",
|
|
||||||
".",
|
|
||||||
"../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,104 +0,0 @@
|
|||||||
#include "common.cfg"
|
|
||||||
|
|
||||||
// Configure module gateway for front end operation
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
// Add a security plugin (will add player info on player module proxy)
|
|
||||||
"gw.securityCreate FESecurity",
|
|
||||||
// create a front end service transport
|
|
||||||
"gw.transportAdd FEServer fes",
|
|
||||||
// set the transport option (need PeerInvisible and Firewalled)
|
|
||||||
"gw.transportOptions fes(PeerInvisible Firewalled)",
|
|
||||||
// open the transport
|
|
||||||
"gw.transportCmd fes(open)",
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
// UDP port for client communication
|
|
||||||
//FrontendPort = 47851;
|
|
||||||
|
|
||||||
ListenAddress = FSListenHost+":"+FSUDPPort;
|
|
||||||
|
|
||||||
// Maximum size that can be read from a client message
|
|
||||||
DatagramLength = 10000;
|
|
||||||
|
|
||||||
// Time-out before removing a client when it does not send any more data
|
|
||||||
ClientTimeOut = 600000; // 10 min
|
|
||||||
|
|
||||||
// Time-out before removing a limbo client when it does not send any more data
|
|
||||||
LimboTimeOut = 60000; // 1 min
|
|
||||||
|
|
||||||
// Maximum bytes per game cycle sent to all clients (currently not used/implemented)
|
|
||||||
TotalBandwidth = 536870911; // <512 MB : max value for 32 bit bitsize !
|
|
||||||
|
|
||||||
// Maximum bytes per game cycle sent to a client, including all headers
|
|
||||||
ClientBandwidth = 332 * BandwidthRatio; // 332 <=> 13 kbit/s at 5 Hz; 202 <=> 16 kbit/s at 10 Hz
|
|
||||||
|
|
||||||
// Maximum bytes for impulsion channels per datagram sent to a client
|
|
||||||
ImpulsionByteSize0 = 20 * BandwidthRatio;
|
|
||||||
ImpulsionByteSize1 = 200 * BandwidthRatio;
|
|
||||||
ImpulsionByteSize2 = 200 * BandwidthRatio;
|
|
||||||
NbMinimalVisualBytes = 50;
|
|
||||||
|
|
||||||
// Distance/delta ratio that triggers the sending of a position
|
|
||||||
DistanceDeltaRatioForPos = 100;
|
|
||||||
|
|
||||||
// Number of game cycles per front-end cycle
|
|
||||||
GameCycleRatio = 1;
|
|
||||||
// Execution period of distance calculation
|
|
||||||
CalcDistanceExecutionPeriod = 8;
|
|
||||||
// Execution period of position prioritization
|
|
||||||
PositionPrioExecutionPeriod = 2;
|
|
||||||
// Execution period of orientation prioritization
|
|
||||||
OrientationPrioExecutionPeriod = 8;
|
|
||||||
// Execution period of discreet properties prioritization
|
|
||||||
DiscreetPrioExecutionPeriod = 2;
|
|
||||||
|
|
||||||
SortPrioExecutionPeriod = 1;
|
|
||||||
|
|
||||||
// Display or not the "FE" nlinfos
|
|
||||||
DisplayInfo = 1;
|
|
||||||
|
|
||||||
// Prioritizer mode (currently the only mode is 1 for DistanceDelta)
|
|
||||||
PriorityMode = 1;
|
|
||||||
|
|
||||||
// Strategy for selecting pairs to prioritize (Power2WithCeiling=0, Scoring=1)
|
|
||||||
SelectionStrategy = 1;
|
|
||||||
|
|
||||||
// Minimum number of pairs to select for prioritization
|
|
||||||
MinNbPairsToSelect = 2000;
|
|
||||||
|
|
||||||
// Index of client to monitor, or 0 for no monitoring
|
|
||||||
ClientMonitor = 0;
|
|
||||||
|
|
||||||
// Allow or not beeping
|
|
||||||
AllowBeep = 1;
|
|
||||||
|
|
||||||
Lag = 0; // The lag on the simulated network (used by simlag)
|
|
||||||
PacketLoss = 0; // percentage of lost packet (used by simlag)
|
|
||||||
PacketDuplication = 0; // percentage of duplicated packet (used by simlag)
|
|
||||||
PacketDisordering = 0; // percentage of disordered packet (used by simlag) (Lag must be >100 to use disordering)
|
|
||||||
|
|
||||||
// ----------------------------------------
|
|
||||||
// Frontend/Patch mode settings
|
|
||||||
|
|
||||||
// If 1, the frontend server is used in Patch/Frontend mode (0 = only frontend mode, old behaviour)
|
|
||||||
UseWebPatchServer = 1;
|
|
||||||
|
|
||||||
// If 0, the frontend service is in Patch mode at startup, and it won't accept clients unless WS tells it to do so.
|
|
||||||
AcceptClientsAtStartup = 1;
|
|
||||||
|
|
||||||
// Patch URL footer. PatchURL will look like 'http://223.254.124.23:43435/patch'
|
|
||||||
PatchingURLFooter = ":43435/patch";
|
|
||||||
|
|
||||||
// System command to be executed when FS tries to start Web Patch server (ideally at FS startup)
|
|
||||||
StartWebServerSysCommand = "";
|
|
||||||
|
|
||||||
// System command to be executed when FS tries to stop Web Patch server (ideally when FS turns to frontend mode)
|
|
||||||
StopWebServerSysCommand = "";
|
|
||||||
|
|
||||||
// Use Thread for sending
|
|
||||||
UseSendThread = 1;
|
|
||||||
|
|
||||||
// Unidirectional Mirror mode (FS part)
|
|
||||||
ExpediteTOCK = 1;
|
|
@ -1,28 +0,0 @@
|
|||||||
// link the common configuration file
|
|
||||||
RootConfigFilename = "general_utilities_service_default.cfg";
|
|
||||||
|
|
||||||
DontUseAES = 0;
|
|
||||||
DontUseNS = 1;
|
|
||||||
DontUseTS = 1;
|
|
||||||
|
|
||||||
NSHost="localhost";
|
|
||||||
|
|
||||||
Paths = {};
|
|
||||||
//PathsNoRecurse = {"r:/code/ryzom/data_leveldesign/leveldesign/Game_elem"};
|
|
||||||
GeorgePaths = {};
|
|
||||||
WriteFilesDirectory = "";
|
|
||||||
SaveFilesDirectory = "";
|
|
||||||
|
|
||||||
StartCommands =
|
|
||||||
{
|
|
||||||
""
|
|
||||||
|
|
||||||
// ,"modulesAdd gushub 1234"
|
|
||||||
// ,"modulesAdd gusnet localhost:1234"
|
|
||||||
|
|
||||||
// ,"modulesAdd cc test1 2"
|
|
||||||
// ,"ccLoad test.ccs"
|
|
||||||
|
|
||||||
// ,"modulesAdd ce en test1"
|
|
||||||
// ,"ccRun"
|
|
||||||
};
|
|
@ -1,143 +0,0 @@
|
|||||||
sub localConnect
|
|
||||||
cmd 0 **this** modulesAdd gushub 44748
|
|
||||||
cmd 0 **this** modulesAdd gusnet localhost:44748
|
|
||||||
|
|
||||||
sub joltConnect
|
|
||||||
cmd 0 **this** modulesAdd gusnet 213.208.119.219:44748
|
|
||||||
|
|
||||||
sub rfrTest
|
|
||||||
runScript 0 rfrTestMini
|
|
||||||
// runScript 0 rfrTestLocal
|
|
||||||
// runScript 0 rfrTestJolt
|
|
||||||
|
|
||||||
|
|
||||||
sub rfrTest2
|
|
||||||
runScript 0 joltConnect
|
|
||||||
|
|
||||||
cmd 6 **this** modulesAdd rfr
|
|
||||||
cmd 6 **this** rfrUseShard enx
|
|
||||||
cmd 6 **this** rfrUseShard aniro
|
|
||||||
cmd 6 **this** rfrUseShard leanon
|
|
||||||
cmd 6 **this** rfrUseShard arispotle
|
|
||||||
|
|
||||||
cmd 10 **this** rfrListShards
|
|
||||||
|
|
||||||
|
|
||||||
sub rfrTestMini
|
|
||||||
runScript 0 localConnect
|
|
||||||
cmd 0 **this** modulesAdd rfr
|
|
||||||
cmd 0 **this** rfrUseShard toto
|
|
||||||
// cmd 1 **this** modulesAdd saves toto shard R:/test/shards/toto
|
|
||||||
cmd 1 **this** modulesAdd saves toto bak R:/test/backup/toto
|
|
||||||
|
|
||||||
|
|
||||||
sub rfrTestLocal
|
|
||||||
runScript 0 localConnect
|
|
||||||
|
|
||||||
cmd 0 **this** modulesAdd saves toto shard R:/test/shards/toto
|
|
||||||
// cmd 0 **this** modulesAdd saves toto www x:/toto/www
|
|
||||||
// cmd 0 **this** modulesAdd saves toto bak x:/toto/bak
|
|
||||||
|
|
||||||
// cmd 0 **this** modulesAdd rs titi shard
|
|
||||||
// cmd 0 **this** modulesAdd rs titi www
|
|
||||||
// cmd 0 **this** modulesAdd rs titi bak
|
|
||||||
|
|
||||||
// cmd 0 **this** modulesAdd saves tata shard R:/test/shards/tata
|
|
||||||
// cmd 0 **this** modulesAdd saves tata www x:/tata/www
|
|
||||||
// cmd 0 **this** modulesAdd saves tata bak x:/tata/bak
|
|
||||||
|
|
||||||
|
|
||||||
// cmd 1 **this** modulesAdd rs toto shard
|
|
||||||
// cmd 1 **this** modulesAdd rs toto www
|
|
||||||
// cmd 1 **this** modulesAdd rs toto bak
|
|
||||||
|
|
||||||
// cmd 1 **this** modulesAdd saves titi shard R:/test/shards/titi
|
|
||||||
// cmd 1 **this** modulesAdd saves titi www x:/titi/www
|
|
||||||
// cmd 1 **this** modulesAdd saves titi bak x:/titi/bak
|
|
||||||
|
|
||||||
// cmd 1 **this** modulesAdd rs tata shard
|
|
||||||
// cmd 1 **this** modulesAdd rs tata www
|
|
||||||
// cmd 1 **this** modulesAdd rs tata bak
|
|
||||||
|
|
||||||
|
|
||||||
cmd 2 **this** modulesAdd rfr
|
|
||||||
|
|
||||||
// cmd 3 **this** rfrListShards
|
|
||||||
|
|
||||||
cmd 3 **this** rfrUseShard toto
|
|
||||||
cmd 3 **this** rfrListShards
|
|
||||||
|
|
||||||
// cmd 3 **this** rfrUseShard titi
|
|
||||||
// cmd 3 **this** rfrListShards
|
|
||||||
|
|
||||||
// cmd 4 **this** rfrStopUsingShard toto
|
|
||||||
// cmd 4 **this** rfrListShards
|
|
||||||
|
|
||||||
// cmd 5 **this** rfrListCharacterFiles 77 1
|
|
||||||
// cmd 5 **this** rfrListNamedCharacterFiles titi sadge
|
|
||||||
// cmd 5 **this** rfrUseShard toto
|
|
||||||
// cmd 5 **this** rfrListAccountFiles 77
|
|
||||||
// cmd 5 **this** rfrListNamedAccountFiles miller
|
|
||||||
// cmd 5 **this** rfrWorkDirectory
|
|
||||||
// cmd 5 **this** rfrWorkDirectory ./tmp
|
|
||||||
// cmd 5 **this** rfrWorkDirectory
|
|
||||||
// cmd 5 **this** rfrGetCharacterFile titi 77 1
|
|
||||||
// cmd 5 **this** rfrGetCharacterFile titi seeker
|
|
||||||
// cmd 5 **this** rfrGetOldCharacterFileSet titi 77 1
|
|
||||||
// cmd 5 **this** rfrGetOldCharacterFileSet titi gorg
|
|
||||||
// cmd 5 **this** rfrUploadFile toto account_77_4_pdr.bin
|
|
||||||
// cmd 5 **this** rfrListRootFiles
|
|
||||||
// cmd 5 **this** rfrListGuildFiles toto
|
|
||||||
// cmd 5 **this** rfrListMailForumFiles toto gorg
|
|
||||||
// cmd 5 **this** rfrMoveMailForumFiles toto giorg georg
|
|
||||||
|
|
||||||
|
|
||||||
sub charScanTest
|
|
||||||
// cmd 0 **this** InputFileDirectory R:/code/ryzom/save_shard/characters
|
|
||||||
cmd 0 **this** InputFileDirectory D:/restored/result/characters
|
|
||||||
|
|
||||||
cmd 0 **this** charScanScriptNew test
|
|
||||||
|
|
||||||
cmd 0 **this** charScanScriptAddInfoExtractor Name
|
|
||||||
cmd 0 **this** charScanScriptAddInfoExtractor Money
|
|
||||||
cmd 0 **this** charScanScriptAddInfoExtractor HighestSkills
|
|
||||||
cmd 0 **this** charScanScriptAddInfoExtractor RespawnPointCount
|
|
||||||
cmd 0 **this** charScanScriptAddInfoExtractor PlayerRoomAndPets
|
|
||||||
|
|
||||||
cmd 0 **this** charScanScriptAddInfoExtractor VisPropStats
|
|
||||||
cmd 0 **this** charScanScriptAddInfoExtractor StanzaStats
|
|
||||||
cmd 0 **this** charScanScriptAddInfoExtractor RespawnPointStats
|
|
||||||
cmd 0 **this** charScanScriptAddInfoExtractor PlayerRoomStats
|
|
||||||
|
|
||||||
cmd 0 **this** charScanScriptAddInputFileRule AddFiles account*
|
|
||||||
cmd 0 **this** charScanScriptAddInputFileRule MinFileSize 10000
|
|
||||||
cmd 0 **this** charScanScriptAddInputFileRule MaxFileSize 42000
|
|
||||||
|
|
||||||
cmd 0 **this** charScanScriptAddFilter Money 1000 10000
|
|
||||||
cmd 0 **this** charScanScriptAddFilter BestSkill 20
|
|
||||||
|
|
||||||
cmd 0 **this** charScanScriptSave test.css
|
|
||||||
|
|
||||||
cmd 0 **this** charScanScriptTestFileList
|
|
||||||
cmd 0 **this** charScanScriptTestFilteredFileList generate
|
|
||||||
|
|
||||||
cmd 0 **this** charScanScriptRun
|
|
||||||
|
|
||||||
sub eventTest
|
|
||||||
cmd 0 **this** ToolsArchiveDirectory r:/code/ryzom/events/test
|
|
||||||
cmd 0 **this** ToolsShardName home
|
|
||||||
cmd 0 **this** modulesAdd gusnet localhost:44748
|
|
||||||
cmd 0 **this** modulesAdd gushub 44748
|
|
||||||
cmd 0 **this** modulesAdd ss
|
|
||||||
cmd 0 **this** ssScrLoad event_load_script.gss
|
|
||||||
cmd 0 **this** modulesAdd ee home ais egs ios
|
|
||||||
cmd 0 **this** modulesAdd em
|
|
||||||
|
|
||||||
sub thisTest
|
|
||||||
cmd 5 **this** help
|
|
||||||
|
|
||||||
sub doTests
|
|
||||||
runScript 0 rfrTest
|
|
||||||
// runScript 0 charScanTest
|
|
||||||
// runScript 0 eventTest
|
|
||||||
// runScript 0 thisTest
|
|
@ -1,5 +0,0 @@
|
|||||||
// link the common configuration file
|
|
||||||
RootConfigFilename = "general_utilities_service_common.cfg";
|
|
||||||
|
|
||||||
DontUseNS = 1;
|
|
||||||
DontUseTS = 1;
|
|
@ -1,50 +0,0 @@
|
|||||||
// by default, use WIN displayer
|
|
||||||
WindowStyle = "WIN";
|
|
||||||
|
|
||||||
// set to 0 if you want to use the admin system
|
|
||||||
DontUseAES = 1;
|
|
||||||
|
|
||||||
Paths =
|
|
||||||
{
|
|
||||||
"data_shard"
|
|
||||||
};
|
|
||||||
|
|
||||||
PathsNoRecurse =
|
|
||||||
{
|
|
||||||
"data_leveldesign/leveldesign/Game_elem", // for sheet_id.bin
|
|
||||||
};
|
|
||||||
|
|
||||||
// where to save generic shard data (ie: packed_sheet)
|
|
||||||
WriteFilesDirectory = "";
|
|
||||||
|
|
||||||
// where to save specific shard data (ie: player backup)
|
|
||||||
SaveFilesDirectory = "";
|
|
||||||
|
|
||||||
//NegFiltersDebug += { "NET", "ADMIN", "MIRROR", "NC", "PATH" };
|
|
||||||
//NegFiltersInfo += { "NET", "ADMIN", "MIRROR", "NC", "CF", "TimerManagerUpdate" };
|
|
||||||
//NegFiltersWarning += { "CT_LRC", "AnimalSpawned" };
|
|
||||||
|
|
||||||
FontName = "Lucida Console";
|
|
||||||
FontSize = 9;
|
|
||||||
|
|
||||||
// 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;
|
|
||||||
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
""
|
|
||||||
,"modulesAdd gusnet localhost:44748"
|
|
||||||
};
|
|
@ -1,74 +0,0 @@
|
|||||||
// By default, use WIN displayer
|
|
||||||
WindowStyle = "WIN";
|
|
||||||
|
|
||||||
PathsNoRecurse =
|
|
||||||
{
|
|
||||||
"data_leveldesign/leveldesign/Game_elem", // for sheet_id.bin
|
|
||||||
};
|
|
||||||
|
|
||||||
// set to 0 if you want to use the admin system
|
|
||||||
DontUseAES = 1;
|
|
||||||
DontUseNS = 1;
|
|
||||||
DontUseTS = 1;
|
|
||||||
|
|
||||||
// where to save specific shard data (ie: player backup)
|
|
||||||
SaveFilesDirectory = "";
|
|
||||||
|
|
||||||
NegFiltersDebug += { "NET", "ADMIN", "MIRROR", "NC", "PATH" };
|
|
||||||
NegFiltersInfo += { "NET", "SERVICE", "ADMIN", "MIRROR", "NC", "CF", "TimerManagerUpdate", "addSearchPath", "Executing command", "GUSNET" };
|
|
||||||
NegFiltersWarning += { "LNETL", "CT_LRC" };
|
|
||||||
|
|
||||||
FontName = "Lucida Console";
|
|
||||||
FontSize = 9;
|
|
||||||
|
|
||||||
// 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;
|
|
||||||
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
""
|
|
||||||
|
|
||||||
// ,"modulesAdd gushub 44748"
|
|
||||||
// ,"modulesAdd gusnet localhost:44748"
|
|
||||||
|
|
||||||
,"modulesAdd gusnet 213.208.119.219:44748"
|
|
||||||
,"modulesAdd em"
|
|
||||||
// ,"modulesAdd ee enx ais egs ios"
|
|
||||||
};
|
|
||||||
|
|
||||||
Users +=
|
|
||||||
{
|
|
||||||
""
|
|
||||||
|
|
||||||
,"sadge abc def"
|
|
||||||
,"ravna uvwxyz"
|
|
||||||
};
|
|
||||||
|
|
||||||
DisplayedVariables +=
|
|
||||||
{
|
|
||||||
""
|
|
||||||
,"EventName"
|
|
||||||
,""
|
|
||||||
,"ActiveShard"
|
|
||||||
,""
|
|
||||||
// ,"@SetEvent|emWinSetEvent"
|
|
||||||
,"@NewEvent|emWinNewEvent"
|
|
||||||
,"@Login|emWinLogin"
|
|
||||||
,"@Upload|emWinUpload"
|
|
||||||
,""
|
|
||||||
,"@View Installed Event|emPeek"
|
|
||||||
,"@Unload Installed Event|emUnload"
|
|
||||||
};
|
|
@ -1,9 +0,0 @@
|
|||||||
// link the common configuration file
|
|
||||||
RootConfigFilename = "general_utilities_service_admin.cfg";
|
|
||||||
|
|
||||||
StartCommands =
|
|
||||||
{
|
|
||||||
""
|
|
||||||
|
|
||||||
,"modulesAdd gushub 44748"
|
|
||||||
};
|
|
@ -1,19 +0,0 @@
|
|||||||
// link the common configuration file
|
|
||||||
RootConfigFilename = "general_utilities_service_common.cfg";
|
|
||||||
|
|
||||||
DontUseNS = 0;
|
|
||||||
DontUseTS = 1;
|
|
||||||
UseMirror= 1;
|
|
||||||
|
|
||||||
NSHost = "localhost";
|
|
||||||
|
|
||||||
GUSMirrorConfig =
|
|
||||||
{
|
|
||||||
"dataset fe_temp",
|
|
||||||
"property NameIndex rn",
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
DisplayedVariables += { "", "SlowestService", "SlowestTock", "", "WaitingForServices", "", "@Pause|pause" };
|
|
||||||
|
|
||||||
NegFiltersDebug += { "LNETL" } ;
|
|
@ -1,9 +0,0 @@
|
|||||||
// link the common configuration file
|
|
||||||
RootConfigFilename = "general_utilities_service_shard.cfg";
|
|
||||||
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
""
|
|
||||||
|
|
||||||
,"modulesAdd ce fr uk"
|
|
||||||
};
|
|
@ -1,9 +0,0 @@
|
|||||||
// link the common configuration file
|
|
||||||
RootConfigFilename = "general_utilities_service_shard.cfg";
|
|
||||||
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
""
|
|
||||||
|
|
||||||
,"modulesAdd ce de uk"
|
|
||||||
};
|
|
@ -1,10 +0,0 @@
|
|||||||
// link the common configuration file
|
|
||||||
RootConfigFilename = "general_utilities_service_shard.cfg";
|
|
||||||
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
""
|
|
||||||
|
|
||||||
,"modulesAdd ce en uk"
|
|
||||||
,"ceChatTexts gus_ce_chat_texts_en.txt"
|
|
||||||
};
|
|
@ -1,9 +0,0 @@
|
|||||||
// link the common configuration file
|
|
||||||
RootConfigFilename = "general_utilities_service_shard.cfg";
|
|
||||||
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
""
|
|
||||||
|
|
||||||
,"modulesAdd ce en us"
|
|
||||||
};
|
|
@ -1,19 +0,0 @@
|
|||||||
// link the common configuration file
|
|
||||||
RootConfigFilename = "general_utilities_service_admin.cfg";
|
|
||||||
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
""
|
|
||||||
|
|
||||||
,"modulesAdd cc uk 2"
|
|
||||||
,"ccLoad"
|
|
||||||
,"ccShow"
|
|
||||||
};
|
|
||||||
|
|
||||||
DisplayedVariables +=
|
|
||||||
{
|
|
||||||
"@Reload|ccLoad"
|
|
||||||
,"@Start|ccRun"
|
|
||||||
,"@Advance|ccAdvance"
|
|
||||||
,"@Stop|ccQuit"
|
|
||||||
};
|
|
@ -1,19 +0,0 @@
|
|||||||
// link the common configuration file
|
|
||||||
RootConfigFilename = "general_utilities_service_admin.cfg";
|
|
||||||
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
""
|
|
||||||
|
|
||||||
,"modulesAdd cc us 10"
|
|
||||||
,"ccLoad"
|
|
||||||
,"ccShow"
|
|
||||||
};
|
|
||||||
|
|
||||||
DisplayedVariables +=
|
|
||||||
{
|
|
||||||
"@Reload|ccLoad"
|
|
||||||
,"@Start|ccRun"
|
|
||||||
,"@Advance|ccAdvance"
|
|
||||||
,"@Stop|ccQuit"
|
|
||||||
};
|
|
@ -1,39 +0,0 @@
|
|||||||
// Use with commandline: gpm_service -C. -L. --nobreak --writepid
|
|
||||||
|
|
||||||
#include "gpm_service_default.cfg"
|
|
||||||
|
|
||||||
// ---- config local variables
|
|
||||||
|
|
||||||
// ---- service NeL variables (used by ConfigFile class)
|
|
||||||
|
|
||||||
AESAliasName= "gpms";
|
|
||||||
|
|
||||||
GraphVars += { "TickSpeedLoop", "60000" };
|
|
||||||
GraphVars += { "L5CallbackCount", "60000" };
|
|
||||||
GraphVars += { "L5CallbackTime", "60000" };
|
|
||||||
GraphVars += { "MirrorCallbackCount", "60000" };
|
|
||||||
GraphVars += { "MirrorCallbackTime", "60000" };
|
|
||||||
|
|
||||||
Paths = {
|
|
||||||
".",
|
|
||||||
"../common/data_common",
|
|
||||||
"../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,7 +0,0 @@
|
|||||||
#include "common.cfg"
|
|
||||||
|
|
||||||
CheckPlayerSpeed = 0;
|
|
||||||
SecuritySpeedFactor = 1.5;
|
|
||||||
|
|
||||||
LoadPacsPrims = 0;
|
|
||||||
LoadPacsCol = 1;
|
|
@ -1,13 +0,0 @@
|
|||||||
// a set of system messages for sending to the player during gus cc / ce contests
|
|
||||||
promptSubmitAnswers Du kannst nun Antworten geben
|
|
||||||
errorNoQuestion Deine Antwort wurde ignoriert, da keine Frage gestellt wurde
|
|
||||||
announceWinners Der Wettbewerb ist zu Ende. Die Gewinner sind:
|
|
||||||
treatedAnswer0 Du hast eine Antwort gegeben:
|
|
||||||
treatedAnswer1 Die Gewinner werden in wenigen Minuten bekannt gegeben
|
|
||||||
treatedAnswer2 Bitte bleibt eingeloggt
|
|
||||||
treatedAnswer3 Für die nächsten 60 Sekunden kannst du keine Antwort geben
|
|
||||||
queuedAnswer0 Du hast eine andere Antwort gegeben:
|
|
||||||
queuedAnswer1 Du kannst nur alle 60 Sekunden eine Antwort geben
|
|
||||||
queuedAnswer2 Diese Antwort wird in
|
|
||||||
queuedAnswer2b Sekunden behandelt
|
|
||||||
systemName Kaeru
|
|
@ -1,13 +0,0 @@
|
|||||||
// a set of system messages for sending to the player during gus cc / ce contests
|
|
||||||
promptSubmitAnswers You may now submit answers
|
|
||||||
errorNoQuestion Your answer has been ignored because no question has been asked
|
|
||||||
announceWinners The contest is over. The winners are:
|
|
||||||
treatedAnswer0 You have submitted an answer:
|
|
||||||
treatedAnswer1 The winners will be announced within the next few minutes
|
|
||||||
treatedAnswer2 Please stay on line
|
|
||||||
treatedAnswer3 You will not be allowed to submit another answer for the next 60 seconds
|
|
||||||
queuedAnswer0 You have submitted another answer:
|
|
||||||
queuedAnswer1 You are only allowed to submit one answer every 60 seconds
|
|
||||||
queuedAnswer2 This answer will be treated in
|
|
||||||
queuedAnswer2b seconds
|
|
||||||
systemName Kaeru
|
|
@ -1,13 +0,0 @@
|
|||||||
// a set of system messages for sending to the player during gus cc / ce contests
|
|
||||||
promptSubmitAnswers Vous pouvez répondre maintenant
|
|
||||||
errorNoQuestion Votre réponse n'a pas été validée car aucune question n'a été posée
|
|
||||||
announceWinners Le concours est terminé. Voici la liste des gagnants :
|
|
||||||
treatedAnswer0 Vous avez répondu :
|
|
||||||
treatedAnswer1 Les gagnants seront annoncés dans quelques minutes
|
|
||||||
treatedAnswer2 Restez connecté SVP
|
|
||||||
treatedAnswer3 Vous pourrez donner une nouvelle réponse dans une minute
|
|
||||||
queuedAnswer0 Vous avez donné une autre réponse :
|
|
||||||
queuedAnswer1 Vous n'êtes autorisé à donner qu'une réponse par minute
|
|
||||||
queuedAnswer2 Cette réponse sera traitée dans
|
|
||||||
queuedAnswer2b seconds
|
|
||||||
systemName Kaeru
|
|
@ -1,74 +0,0 @@
|
|||||||
// By default, use WIN displayer
|
|
||||||
WindowStyle = "WIN";
|
|
||||||
|
|
||||||
PathsNoRecurse =
|
|
||||||
{
|
|
||||||
"data_leveldesign/leveldesign/Game_elem", // for sheet_id.bin
|
|
||||||
};
|
|
||||||
|
|
||||||
// set to 0 if you want to use the admin system
|
|
||||||
DontUseAES = 1;
|
|
||||||
DontUseNS = 1;
|
|
||||||
DontUseTS = 1;
|
|
||||||
NSHost="localhost";
|
|
||||||
|
|
||||||
// where to save specific shard data (ie: player backup)
|
|
||||||
SaveFilesDirectory = "";
|
|
||||||
|
|
||||||
NegFiltersDebug += { "NET", "ADMIN", "MIRROR", "NC", "PATH" };
|
|
||||||
NegFiltersInfo += { "NET", "SERVICE", "ADMIN", "MIRROR", "NC", "CF", "TimerManagerUpdate", "addSearchPath" };
|
|
||||||
NegFiltersWarning += { "LNETL", "CT_LRC", "Ignoring map key (__Key__) because __Val__" };
|
|
||||||
|
|
||||||
//FontName = "Lucida Console";
|
|
||||||
FontName = "Courier New";
|
|
||||||
FontSize = 9;
|
|
||||||
|
|
||||||
// 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;
|
|
||||||
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
"modulesAdd ss",
|
|
||||||
"ssScrLoad general_utilities_service.gss",
|
|
||||||
"ssScrDisplay",
|
|
||||||
"ssScrRoutineRun doTests",
|
|
||||||
};
|
|
||||||
|
|
||||||
Users =
|
|
||||||
{
|
|
||||||
""
|
|
||||||
|
|
||||||
,"sadge thata boy"
|
|
||||||
};
|
|
||||||
|
|
||||||
DisplayedVariables +=
|
|
||||||
{
|
|
||||||
""
|
|
||||||
// ,"@NewEvent|emWinNewEvent"
|
|
||||||
// ,"EventName"
|
|
||||||
// ,""
|
|
||||||
// ,"@Login|emWinLogin"
|
|
||||||
// ,"ActiveShard"
|
|
||||||
// ,""
|
|
||||||
// ,"@Upload|emWinUpload"
|
|
||||||
// ,"@View Installed Event|emWinPeek"
|
|
||||||
// ,"@Start Event|emWinEventStart"
|
|
||||||
// ,""
|
|
||||||
// ,"@Stop Event|emWinEventStop"
|
|
||||||
// ,"@Unload Installed Event|emWinUnload"
|
|
||||||
|
|
||||||
,"ScanJobState"
|
|
||||||
};
|
|
@ -1,81 +0,0 @@
|
|||||||
// Use with commandline: input_output_service -C. -L. --nobreak --writepid
|
|
||||||
|
|
||||||
// ---- config local variables
|
|
||||||
|
|
||||||
#define DONT_USE_LGS_SLAVE
|
|
||||||
|
|
||||||
AESPort="46702";
|
|
||||||
SUPort = 50505;
|
|
||||||
SUGlobalPort = 50503;
|
|
||||||
L3MasterLGSPort = 41292;
|
|
||||||
L3SlaveLGSPort = 49993;
|
|
||||||
SUHost = "localhost";
|
|
||||||
MasterLGSHost = "localhost";
|
|
||||||
SlaveLGSHost = "localhost";
|
|
||||||
// SU - listen address of the SU service (for L5 connections)
|
|
||||||
SUAddress = SUHost+":"+SUPort;
|
|
||||||
|
|
||||||
#include "input_output_service_default.cfg"
|
|
||||||
|
|
||||||
// ---- service NeL variables (used by ConfigFile class)
|
|
||||||
|
|
||||||
AESAliasName= "ios";
|
|
||||||
|
|
||||||
// Create a char name mapper
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
"moduleManager.createModule CharNameMapper cnm",
|
|
||||||
"cnm.plug gw",
|
|
||||||
"moduleManager.createModule IOSRingModule iosrm",
|
|
||||||
"iosrm.plug gw",
|
|
||||||
};
|
|
||||||
|
|
||||||
Paths = {
|
|
||||||
".",
|
|
||||||
"../common/data_common",
|
|
||||||
"../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,95 +0,0 @@
|
|||||||
#include "common.cfg"
|
|
||||||
|
|
||||||
// ---- service NeL variables (used by ConfigFile class)
|
|
||||||
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
// L5 connect to the shard unifier
|
|
||||||
"unifiedNetwork.addService ShardUnifier ( address="+SUAddress+" sendId external autoRetry )",
|
|
||||||
|
|
||||||
// Create a gateway for global interconnection
|
|
||||||
// modules from different shard are visible to each other if they connect to
|
|
||||||
// this gateway. SU Local module have no interest to be plugged here.
|
|
||||||
"moduleManager.createModule StandardGateway glob_gw",
|
|
||||||
// add a layer 3 server transport
|
|
||||||
"glob_gw.transportAdd L3Client l3c",
|
|
||||||
// open the transport
|
|
||||||
"glob_gw.transportCmd l3c(connect addr="+SUHost+":"+SUGlobalPort+")",
|
|
||||||
|
|
||||||
// Create a gateway for logger service connection
|
|
||||||
"moduleManager.createModule StandardGateway lgs_gw",
|
|
||||||
|
|
||||||
// add a layer 3 server transport for master logger service
|
|
||||||
"lgs_gw.transportAdd L3Client masterL3c",
|
|
||||||
// open the transport
|
|
||||||
"lgs_gw.transportCmd masterL3c(connect addr="+MasterLGSHost+":"+L3MasterLGSPort+")",
|
|
||||||
};
|
|
||||||
|
|
||||||
#ifndef DONT_USE_LGS_SLAVE
|
|
||||||
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
// add a layer 3 server transport for slave logger service
|
|
||||||
"lgs_gw.transportAdd L3Client slaveL3c",
|
|
||||||
// open the transport
|
|
||||||
"lgs_gw.transportCmd slaveL3c(connect addr="+SlaveLGSHost+":"+L3SlaveLGSPort+")",
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
// Create a chat unifier client
|
|
||||||
"moduleManager.createModule ChatUnifierClient cuc",
|
|
||||||
|
|
||||||
// and plug it on the gateway to reach the SU ChatUnifierServer
|
|
||||||
"cuc.plug glob_gw",
|
|
||||||
"cuc.plug gw",
|
|
||||||
|
|
||||||
// Create the logger service client module
|
|
||||||
"moduleManager.createModule LoggerServiceClient lsc",
|
|
||||||
"lsc.plug lgs_gw",
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ---- service NeL variables (used by CVariable class)
|
|
||||||
|
|
||||||
// ---- service custom variables (used by ConfigFile class)
|
|
||||||
|
|
||||||
// a list of system command that can be run with "sysCmd" service command.
|
|
||||||
SystemCmd = {};
|
|
||||||
|
|
||||||
// IOS don't use work directory by default
|
|
||||||
ReadTranslationWork = 0;
|
|
||||||
TranslationWorkPath = "translation/work";
|
|
||||||
|
|
||||||
// Global shard bot name translation file. You sould overide this
|
|
||||||
// in input_output_service.cfg to specialize the file
|
|
||||||
// depending on the shard main language.
|
|
||||||
BotNameTranslationFile = "bot_names.txt";
|
|
||||||
|
|
||||||
// Global shard event faction translation file. You sould override this
|
|
||||||
// in input_output_service.cfg to specialize the file
|
|
||||||
// depending on the shard main language.
|
|
||||||
EventFactionTranslationFile = "event_factions.txt";
|
|
||||||
|
|
||||||
|
|
||||||
// ---- service custom variables (used by CVariable class)
|
|
||||||
|
|
||||||
// Activate/deactivate debugging of missing paremeter replacement
|
|
||||||
DebugReplacementParameter = 1;
|
|
||||||
|
|
||||||
// Default verbose debug flags:
|
|
||||||
//-----------------------------
|
|
||||||
|
|
||||||
// Log bot name translation from 'BotNameTranslationFile'
|
|
||||||
VerboseNameTranslation = 1;
|
|
||||||
// Log chat management operation
|
|
||||||
VerboseChatManagement = 1;
|
|
||||||
// Log chat event
|
|
||||||
VerboseChat = 1;
|
|
||||||
// Log string manager message
|
|
||||||
VerboseStringManager = 1;
|
|
||||||
// Log the string manager parsing message
|
|
||||||
VerboseStringManagerParser = 0;
|
|
@ -1,18 +0,0 @@
|
|||||||
// link the common configuration file
|
|
||||||
RootConfigFilename = "common.cfg";
|
|
||||||
|
|
||||||
QueryTimeout = 300;
|
|
||||||
LinePerPage = 50;
|
|
||||||
|
|
||||||
WebPort = 49899;
|
|
||||||
|
|
||||||
DontUseNS = 1;
|
|
||||||
|
|
||||||
/* Set this directory so LAS can find log directory for each shard
|
|
||||||
* PLEASE NOTICE THAT THIS LINE SHOULD ONLY BE ADDED TO LOG ANALYSER
|
|
||||||
* Other services that use PDLib should have this set to "".
|
|
||||||
*/
|
|
||||||
StartCommands =
|
|
||||||
{
|
|
||||||
"PDRootDirectory /home/nevrax/save_shard/$shard/pds"
|
|
||||||
};
|
|
@ -1,50 +0,0 @@
|
|||||||
// Use with commandline: logger_service -C. -L. --nobreak --writepid
|
|
||||||
|
|
||||||
#include "logger_service_default.cfg"
|
|
||||||
|
|
||||||
// ---- config local variables
|
|
||||||
|
|
||||||
LGSL3Port = 41292;
|
|
||||||
|
|
||||||
// ---- service NeL variables (used by ConfigFile class)
|
|
||||||
|
|
||||||
AESAliasName= "lgs";
|
|
||||||
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
"moduleManager.createModule LoggerService ls",
|
|
||||||
"moduleManager.createModule StandardGateway lgs_gw",
|
|
||||||
"ls.plug lgs_gw",
|
|
||||||
"lgs_gw.transportAdd L3Server l3s",
|
|
||||||
"lgs_gw.transportOptions l3s(PeerInvisible)",
|
|
||||||
"lgs_gw.transportCmd l3s(open port="+ LGSL3Port +")",
|
|
||||||
};
|
|
||||||
|
|
||||||
DontUseNS = 1;
|
|
||||||
|
|
||||||
Paths = {
|
|
||||||
".",
|
|
||||||
"../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 +0,0 @@
|
|||||||
#include "common.cfg"
|
|
@ -1,25 +0,0 @@
|
|||||||
// link the common configuration file
|
|
||||||
RootConfigFilename = "common.cfg";
|
|
||||||
|
|
||||||
DisplayedVariables += { "", "@Shards|shards", "@RegUsers|registeredUsers", "@OnlineUsers|onlineUsers", "OnlineUsers|OnlineUsersNumber" };
|
|
||||||
|
|
||||||
WSPort = 49999; // port for the welcome service connection (default is 49999)
|
|
||||||
|
|
||||||
WebPort = 49998; // port for the web server (default 49998)
|
|
||||||
|
|
||||||
AcceptExternalShards = 1; // 1 if you want to accept external shard that are not in database
|
|
||||||
|
|
||||||
Beep = 1; // 1 if you want to beep when a new client comes
|
|
||||||
|
|
||||||
DatabaseHost = "localhost"; // name of the host where the mysql database is (empty string mean localhost)
|
|
||||||
DatabaseName = "nel"; // name of the database where we can find needed info
|
|
||||||
DatabaseLogin = ""; // if we need a login to access the database
|
|
||||||
DatabasePassword = ""; // if we need a password to access the database
|
|
||||||
|
|
||||||
ForceDatabaseReconnection = "dummy"; // change this value to force a configfile reload and reconnection to the database
|
|
||||||
// to take in count the new value of Database*
|
|
||||||
// the content of this variable doesn't matter, it s just a fake to reload database var
|
|
||||||
|
|
||||||
DontUseNS = 1;
|
|
||||||
|
|
||||||
SId = 3;
|
|
@ -1,19 +0,0 @@
|
|||||||
// Use with commandline: mail_forum_service -C. -L. --nobreak --writepid
|
|
||||||
|
|
||||||
#include "mail_forum_service_default.cfg"
|
|
||||||
|
|
||||||
// ---- config local variables
|
|
||||||
|
|
||||||
// ---- service NeL variables (used by ConfigFile class)
|
|
||||||
|
|
||||||
AESAliasName= "mfs";
|
|
||||||
|
|
||||||
Paths = {
|
|
||||||
".",
|
|
||||||
};
|
|
||||||
|
|
||||||
// ---- service NeL variables (used by CVariable class)
|
|
||||||
|
|
||||||
// ---- service custom variables (used by ConfigFile class)
|
|
||||||
|
|
||||||
// ---- service custom variables (used by CVariable class)
|
|
@ -1,29 +0,0 @@
|
|||||||
#include "common.cfg"
|
|
||||||
|
|
||||||
// ---- service NeL variables (used by ConfigFile class)
|
|
||||||
|
|
||||||
DontUseNS = 1;
|
|
||||||
|
|
||||||
// ---- service NeL variables (used by CVariable class)
|
|
||||||
|
|
||||||
// ---- service custom variables (used by ConfigFile class)
|
|
||||||
|
|
||||||
|
|
||||||
// ---- service custom variables (used by CVariable class)
|
|
||||||
|
|
||||||
WebRootDirectory = "save_shard/www";
|
|
||||||
|
|
||||||
// Set if Hall of Fame generator is enabled
|
|
||||||
HoFEnableGenerator = 1;
|
|
||||||
|
|
||||||
// Set if HoF generator is verbose
|
|
||||||
HoFVerbose = 0;
|
|
||||||
|
|
||||||
// Directory where HDT files are
|
|
||||||
HoFHDTDirectory = "/local/www/hof/hdt";
|
|
||||||
|
|
||||||
// HoF generator maximum update period in milliseconds
|
|
||||||
HoFGeneratorUpdatePeriod = 200;
|
|
||||||
|
|
||||||
// HoF generator directory update period in seconds
|
|
||||||
HoFGeneratorDirUpdatePeriod = 60;
|
|
@ -1,35 +0,0 @@
|
|||||||
// Use with commandline: mirror_service -C. -L. --nobreak --writepid
|
|
||||||
|
|
||||||
#include "mirror_service_default.cfg"
|
|
||||||
|
|
||||||
// ---- config local variables
|
|
||||||
|
|
||||||
// ---- service NeL variables (used by ConfigFile class)
|
|
||||||
|
|
||||||
AESAliasName= "ms";
|
|
||||||
|
|
||||||
GraphVars += { "UserSpeedLoop", "60000" };
|
|
||||||
GraphVars += { "L5CallbackCount", "60000" };
|
|
||||||
GraphVars += { "L5CallbackTime", "60000" };
|
|
||||||
|
|
||||||
Paths = {
|
|
||||||
".",
|
|
||||||
"../common/data_common",
|
|
||||||
"../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,6 +0,0 @@
|
|||||||
#include "common.cfg"
|
|
||||||
|
|
||||||
// ---- service custom variables (used by ConfigFile class)
|
|
||||||
|
|
||||||
// Linux only
|
|
||||||
DestroyGhostSegments = 1;
|
|
@ -1,38 +0,0 @@
|
|||||||
// Use with commandline: monitor_service -C. -L. --nobreak --writepid
|
|
||||||
|
|
||||||
#include "monitor_service_default.cfg"
|
|
||||||
|
|
||||||
#include "used_continents.cfg"
|
|
||||||
|
|
||||||
// ---- config local variables
|
|
||||||
|
|
||||||
// ---- service NeL variables (used by ConfigFile class)
|
|
||||||
|
|
||||||
AESAliasName= "mos";
|
|
||||||
|
|
||||||
GraphVars += { "UserSpeedLoop", "60000" };
|
|
||||||
GraphVars += { "L5CallbackCount", "60000" };
|
|
||||||
GraphVars += { "L5CallbackTime", "60000" };
|
|
||||||
|
|
||||||
Paths = {
|
|
||||||
".",
|
|
||||||
"../common/data_common",
|
|
||||||
"../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 +0,0 @@
|
|||||||
#include "common.cfg"
|
|
@ -1,21 +0,0 @@
|
|||||||
// Use with commandline: ryzom_naming_service -C. -L. --nobreak --writepid
|
|
||||||
|
|
||||||
#include "naming_service_default.cfg"
|
|
||||||
|
|
||||||
// ---- config local variables
|
|
||||||
|
|
||||||
// ---- service NeL variables (used by ConfigFile class)
|
|
||||||
|
|
||||||
AESAliasName= "rns";
|
|
||||||
|
|
||||||
Paths = {
|
|
||||||
"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,7 +0,0 @@
|
|||||||
#include "common.cfg"
|
|
||||||
|
|
||||||
SId = 1;
|
|
||||||
DontUseNS = 1;
|
|
||||||
|
|
||||||
UniqueOnShardServices = {}; // { "EGS", "GPMS", "IOS", "TICKS", "WS", "AIS", "DSS" };
|
|
||||||
UniqueByMachineServices = {}; // { "MS" };
|
|
@ -1,16 +0,0 @@
|
|||||||
|
|
||||||
shard_ctrl_definitions.txt: Contains all macros for various shard services and shard configurations.
|
|
||||||
|
|
||||||
shard_ctrl_mini01.txt: Example configuration for a development domain with a single mainland and a single ring shard running on one machine.
|
|
||||||
|
|
||||||
terminal_mini01: Contains the terminal to control the patch managers of the mini01 domain. To deploy the shard configuration, install the patchman services on all services, run the terminal and hit Deploy. You may need to hit Deploy a second time if it gives an error. To install the patch version 1, run 'terminal.install mini01 1', this can be done while a previous version is still running. To launch the new version, stop the shard, then run 'terminal.launch mini01 1', this will swap the live version with the next version, and launch the shard immediately.
|
|
||||||
|
|
||||||
shard_ctrl_std01.txt: Example configuration for a full blown domain with multiple shards.
|
|
||||||
|
|
||||||
terminal_std01: Contains the terminal to control the patch managers of the mini01 domain.
|
|
||||||
|
|
||||||
default: Contains base configuration files of the services containing per-service non-domain non-shard specific values.
|
|
||||||
|
|
||||||
cfg: Contains base configuration files with domain and shard type specific values.
|
|
||||||
|
|
||||||
admin_install: Contains the scripts to launch the patch manager and the shard. This directory is built into admin_install.tgz by the build pipeline. Subdirectory patchman requires addition of the ryzom_patchman_service executable on the server, the build pipeline adds this file into the tgz archive automatically, do not add it manually. The patchman_service_local.cfg file must be installed manually per server to contain the hostname of the server. The contents of the admin_install.tgz must be installed manually to the server the first time a server is deployed. The working directory is assumed to be /srv/core, which will contain /srv/core/bin and /srv/core/patchman. The configurations under patchman must be modified to match your own domains. Launch /srv/core/bin/startup to launch the patchman services. Run '/srv/core/bin/admin stop' to stop the patchman services. There is one bridge server, which is tied to one domain, but is used by the other domains as well. The bridge server has a folder /srv/core/bridge_server, which is generated by the build pipeline when creating a new server patch.
|
|
@ -1,129 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
CMD=$*
|
|
||||||
|
|
||||||
if [ "$CMD" = "" ]
|
|
||||||
then
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo Screen sessions currently running:
|
|
||||||
screen -list
|
|
||||||
echo
|
|
||||||
echo "Commands:"
|
|
||||||
echo " 'start' to start the admin"
|
|
||||||
echo " 'stop' to stop the admin"
|
|
||||||
echo " 'join' to join the admin's screen session"
|
|
||||||
echo " 'share' to join the admin if session is shared mode"
|
|
||||||
echo
|
|
||||||
printf "Enter a command: "
|
|
||||||
read CMD
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$CMD" = "stop" ]
|
|
||||||
then
|
|
||||||
for s in $(screen -list | grep "\.admin.*" | awk '{ print $1 }'); do screen -drR $s -X quit; done
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$CMD" = "start" ]
|
|
||||||
then
|
|
||||||
# force the ulimit just in case (so that we can generate cores)
|
|
||||||
ulimit -c unlimited
|
|
||||||
|
|
||||||
# stop any admin sessions that were already up
|
|
||||||
for s in $(screen -list | grep "\.admin.*" | awk '{ print $1 }'); do screen -drR $s -X quit; done
|
|
||||||
|
|
||||||
# start the main admin session
|
|
||||||
screen -d -m -S admin -c /srv/core/bin/admin.screen.rc
|
|
||||||
|
|
||||||
# decide which hostname to use...
|
|
||||||
HOSTNAME=$(hostname)
|
|
||||||
if [ $(grep $HOSTNAME /srv/core/patchman/special_patchman_list | wc -w) = 0 ]
|
|
||||||
then
|
|
||||||
HOSTNAME=$(hostname -s)
|
|
||||||
fi
|
|
||||||
|
|
||||||
# if this machine has associated special admin functins then start the appropriate admin sessions
|
|
||||||
echo Looking for sessions for host: $HOSTNAME
|
|
||||||
for ROLE in $(grep $HOSTNAME /srv/core/patchman/special_patchman_list | awk '{ print $1 }')
|
|
||||||
do
|
|
||||||
ROLE_DIR=/srv/core/$ROLE
|
|
||||||
SRC_CFG_FILE=/srv/core/patchman/patchman_service.$ROLE.cfg
|
|
||||||
|
|
||||||
# make sure the cfg file exists for the patchman we're to launch
|
|
||||||
if [ -e $SRC_CFG_FILE ]
|
|
||||||
then
|
|
||||||
# preliminary setup prior to launching special admin patchman
|
|
||||||
CFG_FILE=$ROLE_DIR/patchman_service.cfg
|
|
||||||
SCREEN_NAME=admin_$ROLE
|
|
||||||
mkdir -p $ROLE_DIR
|
|
||||||
cp -v $SRC_CFG_FILE $CFG_FILE
|
|
||||||
|
|
||||||
# wait 2 seconds before launching the next admin to reduce system conflict
|
|
||||||
sleep 2
|
|
||||||
|
|
||||||
# start the next patchman in its own screen session
|
|
||||||
pushd $ROLE_DIR > /dev/null
|
|
||||||
echo STARTING $SCREEN_NAME \($ROLE\)
|
|
||||||
screen -d -m -S $SCREEN_NAME /bin/sh /srv/core/patchman/loop_special_patchman.sh /srv/core/patchman/ryzom_patchman_service -L. -C.
|
|
||||||
popd > /dev/null
|
|
||||||
|
|
||||||
else
|
|
||||||
# the patchman\'s cfg couln\'t be found so complain and ignore
|
|
||||||
echo FILE NOT FOUND: $SRC_CFG_FILE
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
|
|
||||||
# try launching the screen sessions that correspond to the machine type that we have...
|
|
||||||
|
|
||||||
# get the domain list
|
|
||||||
cd /srv/core/patchman/
|
|
||||||
if [ $(grep $(hostname) auto_start_domain_list |wc -l) -gt 0 ]
|
|
||||||
then
|
|
||||||
DOMAIN_LIST=$(grep $(hostname) auto_start_domain_list | cut -d\ -f2-)
|
|
||||||
elif [ $(grep $(hostname -s) auto_start_domain_list |wc -l) -gt 0 ]
|
|
||||||
then
|
|
||||||
DOMAIN_LIST=$(grep $(hostname -s) auto_start_domain_list | cut -d\ -f2-)
|
|
||||||
elif [ $(grep $(hostname -d) auto_start_domain_list |wc -l) -gt 0 ]
|
|
||||||
then
|
|
||||||
DOMAIN_LIST=$(grep $(hostname -d) auto_start_domain_list | cut -d\ -f2-)
|
|
||||||
else
|
|
||||||
echo "There are no domains to be autostarted here"
|
|
||||||
DOMAIN_LIST=none
|
|
||||||
fi
|
|
||||||
|
|
||||||
# if we have a domain list for this machine then deal with it...
|
|
||||||
if [ "$DOMAIN_LIST" != none ]
|
|
||||||
then
|
|
||||||
# iterate over the domain list...
|
|
||||||
for f in $DOMAIN_LIST
|
|
||||||
do
|
|
||||||
# see if we're setup to run this domain
|
|
||||||
if [ -e /srv/core/${f}.screen.rc ] && [ -e /srv/core/bin/domain_${f} ]
|
|
||||||
then
|
|
||||||
# see whether the domain is alredy running
|
|
||||||
if [ $( screen -list | grep \\\.${f} | wc -w ) = 0 ]
|
|
||||||
then
|
|
||||||
# the domain isn't running yet so start it
|
|
||||||
echo '****' starting domain: $f '****'
|
|
||||||
/srv/core/bin/domain_$f batchstart
|
|
||||||
else
|
|
||||||
echo '****' Domain is already running: $f '****'
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
echo skipping domain: $f
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$CMD" = "join" ]
|
|
||||||
then
|
|
||||||
screen -r -S admin
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$CMD" = "share" ]
|
|
||||||
then
|
|
||||||
screen -r -x -S admin
|
|
||||||
fi
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
|||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
|
||||||
# SCREEN KEYBINDINGS
|
|
||||||
# ------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Remove some stupid / dangerous key bindings
|
|
||||||
bind ^k
|
|
||||||
#bind L
|
|
||||||
bind ^\
|
|
||||||
# Make them better
|
|
||||||
bind \\ quit
|
|
||||||
bind K kill
|
|
||||||
bind I login on
|
|
||||||
bind O login off
|
|
||||||
|
|
||||||
# patchman
|
|
||||||
chdir "/srv/core/patchman/"
|
|
||||||
screen -t patchman /bin/sh ./loop_patchman.sh
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
|||||||
|
|
||||||
if [ -z $1 ]
|
|
||||||
then
|
|
||||||
ps -edf | grep _service | grep -v grep
|
|
||||||
else
|
|
||||||
ps -edf | grep _service | grep -v grep | grep $*
|
|
||||||
fi
|
|
@ -1,30 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
while true
|
|
||||||
do
|
|
||||||
|
|
||||||
if [ "$2" = "" ]
|
|
||||||
then
|
|
||||||
echo
|
|
||||||
echo USAGE: $0 sleep_time command_line
|
|
||||||
echo
|
|
||||||
echo example:
|
|
||||||
echo $0 3 echo hello world
|
|
||||||
echo waits 3 seconds then displays 'hello world' repeatedly, asking player to hit enter between each line
|
|
||||||
echo
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
|
|
||||||
sleep $1
|
|
||||||
shift
|
|
||||||
CMD=$*
|
|
||||||
|
|
||||||
while [ "$CMD" != "" ]
|
|
||||||
do
|
|
||||||
eval $CMD
|
|
||||||
echo "press enter"
|
|
||||||
read toto
|
|
||||||
done
|
|
||||||
|
|
||||||
break
|
|
||||||
done
|
|
@ -1,88 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
CMD=$1
|
|
||||||
DOMAIN=$(pwd|sed s%/srv/core/%%)
|
|
||||||
|
|
||||||
if [ "$CMD" = "" ]
|
|
||||||
then
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo Screen sessions currently running:
|
|
||||||
screen -list
|
|
||||||
echo
|
|
||||||
echo "Commands:"
|
|
||||||
echo " 'start' to start the shard"
|
|
||||||
echo " 'stop' to stop the ${DOMAIN}"
|
|
||||||
echo " 'join' to join the ${DOMAIN}'s screen session"
|
|
||||||
echo " 'share' to join the screen session in shared mode"
|
|
||||||
echo " 'state' to view state information for the ${DOMAIN}"
|
|
||||||
echo
|
|
||||||
printf "Enter a command: "
|
|
||||||
read CMD
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$CMD" = "stop" ]
|
|
||||||
then
|
|
||||||
if [ $(screen -list | grep \\\.${DOMAIN} | wc -l) != 1 ]
|
|
||||||
then
|
|
||||||
echo Cannot stop domain \'${DOMAIN}\' because no screen by that name appears to be running
|
|
||||||
screen -list
|
|
||||||
else
|
|
||||||
screen -d -r $(screen -list | grep \\\.${DOMAIN}| sed 's/(.*)//') -X quit> /dev/null
|
|
||||||
rm -v */*.state
|
|
||||||
rm -v */*launch_ctrl ./global.launch_ctrl
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
STARTARGS=
|
|
||||||
if [ "$CMD" = "batchstart" ]
|
|
||||||
then
|
|
||||||
STARTARGS='-d -m'
|
|
||||||
CMD='start'
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$CMD" = "start" ]
|
|
||||||
then
|
|
||||||
ulimit -c unlimited
|
|
||||||
screen -wipe > /dev/null
|
|
||||||
if [ $( screen -list | grep \\\.${DOMAIN} | wc -w ) != 0 ]
|
|
||||||
then
|
|
||||||
echo Cannot start domain \'${DOMAIN}\' because this domain is already started
|
|
||||||
screen -list | grep $DOMAIN
|
|
||||||
else
|
|
||||||
screen $STARTARGS -S ${DOMAIN} -c /srv/core/${DOMAIN}.screen.rc
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$CMD" = "join" ]
|
|
||||||
then
|
|
||||||
if [ $(screen -list | grep \\\.${DOMAIN} | wc -l) != 1 ]
|
|
||||||
then
|
|
||||||
echo Cannot join domain \'${DOMAIN}\' because no screen by that name appears to be running
|
|
||||||
screen -list
|
|
||||||
else
|
|
||||||
screen -r $(screen -list | grep \\\.${DOMAIN}| sed 's/(.*)//')
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$CMD" = "share" ]
|
|
||||||
then
|
|
||||||
if [ $(screen -list | grep \\\.${DOMAIN} | wc -l) != 1 ]
|
|
||||||
then
|
|
||||||
echo Cannot join domain \'${DOMAIN}\' because no screen by that name appears to be running
|
|
||||||
screen -list
|
|
||||||
else
|
|
||||||
screen -r -x $(screen -list | grep \\\.${DOMAIN}| sed 's/(.*)//')
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$CMD" = "state" ]
|
|
||||||
then
|
|
||||||
echo State of domain ${DOMAIN}:
|
|
||||||
if [ $(echo */*.state) = "*/*.state" ]
|
|
||||||
then
|
|
||||||
echo - No state files found
|
|
||||||
else
|
|
||||||
grep RUNNING *state
|
|
||||||
fi
|
|
||||||
fi
|
|
@ -1,4 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
cd /srv/core/mini01
|
|
||||||
/bin/sh /srv/core/bin/ryzom_domain_screen_wrapper.sh $*
|
|
@ -1,11 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
cd /srv/core
|
|
||||||
rm */*.state */*/*.launch_ctrl */*/*.state
|
|
||||||
/bin/bash /srv/core/bin/admin start
|
|
||||||
|
|
||||||
# special case for the "ep1.std01.ryzomcore.local" machine - start the admin tool graph sync script
|
|
||||||
if [ $(hostname) = "ep1.std01.ryzomcore.local" ]
|
|
||||||
then
|
|
||||||
nohup /bin/sh /srv/core/bin/sync_rrd_graphs.sh &
|
|
||||||
fi
|
|
@ -1,22 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
echo Launched: $(date)
|
|
||||||
while true
|
|
||||||
do
|
|
||||||
# retrieve ATS files from ATS admin tool machine
|
|
||||||
rsync -t ep1.std01.ryzomcore.local:ats/graph_datas/* /srv/core/mini01/rrd_graphs/
|
|
||||||
|
|
||||||
# deal with live files - duplicate files that correspond to unique services to aid with graphing of su & co
|
|
||||||
cd /srv/core/std01/rrd_graphs/
|
|
||||||
for f in $(ls *rrd | awk '/^[^_]*\./'); do cp $f $(cut -d. -f1)_unifier.$(cut -d. -f2-); done
|
|
||||||
rsync -t /srv/core/std01/rrd_graphs/* csr:std01_rrd_graphs/
|
|
||||||
|
|
||||||
# deal with test files files - see comment regarding live files above
|
|
||||||
cd /srv/core/mini01/rrd_graphs/
|
|
||||||
for f in $(ls *rrd | awk '/^[^_]*\./'); do cp $f $(echo $f|cut -d. -f1)_unifier.$(echo $f|cut -d. -f2-); done
|
|
||||||
rsync -t /srv/core/mini01/rrd_graphs/* csr:mini01_rrd_graphs/
|
|
||||||
|
|
||||||
# display a groovy message
|
|
||||||
echo Finished rsync: $(date)
|
|
||||||
sleep 60
|
|
||||||
done
|
|
@ -1,99 +0,0 @@
|
|||||||
// I'm the AES, I'll not connect to myself!
|
|
||||||
DontUseAES = 1;
|
|
||||||
// I don't need a connection to a naming service
|
|
||||||
DontUseNS = 1;
|
|
||||||
DontLog = 1;
|
|
||||||
|
|
||||||
AESAliasName= "aes";
|
|
||||||
|
|
||||||
//
|
|
||||||
DontUseStdIn = 0;
|
|
||||||
|
|
||||||
// Adress ofthe admin service (default port is 49996)
|
|
||||||
ASHost = "ep1.mini01.ryzomcore.local";
|
|
||||||
|
|
||||||
// Config for AES
|
|
||||||
AESPort = "46712";
|
|
||||||
AESHost = "localhost";
|
|
||||||
ASPort = "46711";
|
|
||||||
|
|
||||||
|
|
||||||
// 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 external 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;
|
|
||||||
|
|
||||||
NegFiltersDebug = { "REQUEST", "GRAPH", "ADMIN", "NET", "ADMIN", "MIRROR", "NC", "PATH", "BSIF" };
|
|
||||||
NegFiltersInfo = { "REQUEST", "GRAPH", "ADMIN", "NET", "ADMIN", "MIRROR", "NC", "CF", " ping", " pong" };
|
|
||||||
NegFiltersWarning = { "CT_LRC" };
|
|
||||||
|
|
||||||
#include "./aes_alias_name.cfg"
|
|
||||||
|
|
||||||
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+")",
|
|
||||||
|
|
||||||
|
|
||||||
// create the admin executor service module
|
|
||||||
"moduleManager.createModule AdminExecutorService aes",
|
|
||||||
|
|
||||||
// create a gateway to connect to as
|
|
||||||
"moduleManager.createModule StandardGateway asc_gw",
|
|
||||||
// create a layer 3 client
|
|
||||||
"asc_gw.transportAdd L3Client l3c",
|
|
||||||
"asc_gw.transportCmd l3c(connect addr="+ASHost+":"+ASPort+")",
|
|
||||||
|
|
||||||
// create a gateway for services to connect
|
|
||||||
"moduleManager.createModule StandardGateway aes_gw",
|
|
||||||
// create a layer 3 server
|
|
||||||
"aes_gw.transportAdd L3Server l3s",
|
|
||||||
"aes_gw.transportOptions l3s(PeerInvisible)",
|
|
||||||
"aes_gw.transportCmd l3s(open port="+AESPort+")",
|
|
||||||
|
|
||||||
// plug the as
|
|
||||||
"aes.plug asc_gw",
|
|
||||||
"aes.plug aes_gw",
|
|
||||||
|
|
||||||
};
|
|
@ -1,99 +0,0 @@
|
|||||||
// I'm the AES, I'll not connect to myself!
|
|
||||||
DontUseAES = 1;
|
|
||||||
// I don't need a connection to a naming service
|
|
||||||
DontUseNS = 1;
|
|
||||||
DontLog = 1;
|
|
||||||
|
|
||||||
AESAliasName= "aes";
|
|
||||||
|
|
||||||
//
|
|
||||||
DontUseStdIn = 0;
|
|
||||||
|
|
||||||
// Adress ofthe admin service (default port is 49996)
|
|
||||||
ASHost = "ep1.std01.ryzomcore.local";
|
|
||||||
|
|
||||||
// Config for AES
|
|
||||||
AESPort = "46702";
|
|
||||||
AESHost = "localhost";
|
|
||||||
ASPort = "46701";
|
|
||||||
|
|
||||||
|
|
||||||
// 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 external 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;
|
|
||||||
|
|
||||||
NegFiltersDebug = { "REQUEST", "GRAPH", "ADMIN", "NET", "ADMIN", "MIRROR", "NC", "PATH", "BSIF" };
|
|
||||||
NegFiltersInfo = { "REQUEST", "GRAPH", "ADMIN", "NET", "ADMIN", "MIRROR", "NC", "CF", " ping", " pong" };
|
|
||||||
NegFiltersWarning = { "CT_LRC" };
|
|
||||||
|
|
||||||
#include "./aes_alias_name.cfg"
|
|
||||||
|
|
||||||
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+")",
|
|
||||||
|
|
||||||
|
|
||||||
// create the admin executor service module
|
|
||||||
"moduleManager.createModule AdminExecutorService aes",
|
|
||||||
|
|
||||||
// create a gateway to connect to as
|
|
||||||
"moduleManager.createModule StandardGateway asc_gw",
|
|
||||||
// create a layer 3 client
|
|
||||||
"asc_gw.transportAdd L3Client l3c",
|
|
||||||
"asc_gw.transportCmd l3c(connect addr="+ASHost+":"+ASPort+")",
|
|
||||||
|
|
||||||
// create a gateway for services to connect
|
|
||||||
"moduleManager.createModule StandardGateway aes_gw",
|
|
||||||
// create a layer 3 server
|
|
||||||
"aes_gw.transportAdd L3Server l3s",
|
|
||||||
"aes_gw.transportOptions l3s(PeerInvisible)",
|
|
||||||
"aes_gw.transportCmd l3s(open port="+AESPort+")",
|
|
||||||
|
|
||||||
// plug the as
|
|
||||||
"aes.plug asc_gw",
|
|
||||||
"aes.plug aes_gw",
|
|
||||||
|
|
||||||
};
|
|
@ -1 +0,0 @@
|
|||||||
|
|
@ -1,18 +0,0 @@
|
|||||||
#!/bin/sh -
|
|
||||||
|
|
||||||
DOMAIN=$(pwd |sed "s%/srv/core/%%")
|
|
||||||
|
|
||||||
while(true)
|
|
||||||
do
|
|
||||||
echo AESAliasName= \"aes_$(hostname -s)\"\; > ./aes_alias_name.cfg
|
|
||||||
|
|
||||||
if [ $(grep "AESPort[ \t]*=" */*cfg | grep -v debug | sed "s/.*=[ \t]*//" | sort -u | wc -l) != 1 ] ; then echo - FIXME: services don\'t agree on AESPort ; read ; fi
|
|
||||||
echo AESPort=$(grep "AESPort[ \t]*=" */*cfg| grep -v debug | sed "s/.*=[ \t]*//" | sort -u) >> ./aes_alias_name.cfg
|
|
||||||
|
|
||||||
if [ $(grep "ASPort[ \t]*=" */*cfg | grep -v debug | sed "s/.*=[ \t]*//" | sort -u | wc -l) != 1 ] ; then echo - FIXME: services don\'t agree on ASPort ; read ; fi
|
|
||||||
echo ASPort=$(grep "ASPort[ \t]*=" */*cfg| grep -v debug | sed "s/.*=[ \t]*//" | sort -u) >> ./aes_alias_name.cfg
|
|
||||||
|
|
||||||
./live/service_ryzom_admin_service/ryzom_admin_service -A. -C. -L. --nobreak --fulladminname=admin_executor_service --shortadminname=AES
|
|
||||||
sleep 2
|
|
||||||
done
|
|
||||||
|
|
@ -1,56 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
while true
|
|
||||||
do
|
|
||||||
cd /srv/core/
|
|
||||||
if [ -e /srv/core/admin_install.tgz ]
|
|
||||||
then
|
|
||||||
tar xvzf admin_install.tgz
|
|
||||||
chmod 775 bin/admin 2> /dev/null
|
|
||||||
chmod 775 bin/ps_services 2> /dev/null
|
|
||||||
chmod 775 bin/run_forever 2> /dev/null
|
|
||||||
chmod 775 bin/shard 2> /dev/null
|
|
||||||
chmod 775 bin/domain_* 2> /dev/null
|
|
||||||
chmod 775 bin/startup 2> /dev/null
|
|
||||||
chmod 775 bin/*.sh 2> /dev/null
|
|
||||||
chmod 775 patchman/*_service 2> /dev/null
|
|
||||||
chmod 775 patchman/*.sh 2> /dev/null
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd /srv/core/patchman/
|
|
||||||
if [ $(grep $(hostname) patchman_list |wc -l) -gt 0 ]
|
|
||||||
then
|
|
||||||
export SERVER_TYPE=$(grep $(hostname) patchman_list | awk '{ print $1 }')
|
|
||||||
elif [ $(grep $(hostname -s) patchman_list |wc -l) -gt 0 ]
|
|
||||||
then
|
|
||||||
export SERVER_TYPE=$(grep $(hostname -s) patchman_list | awk '{ print $1 }')
|
|
||||||
elif [ $(grep $(hostname -d) patchman_list |wc -l) -gt 0 ]
|
|
||||||
then
|
|
||||||
export SERVER_TYPE=$(grep $(hostname -d) patchman_list | awk '{ print $1 }')
|
|
||||||
else
|
|
||||||
export SERVER_TYPE=default
|
|
||||||
echo "ERROR: Neither \'hostname\' \($(hostname)\) nor \'hostname -s\' \($(hostname -s)\) nor \'hostname -d\' \($(hostname -d)\) found in $(pwd)/patchman_list"
|
|
||||||
fi
|
|
||||||
CFGFILENAME=patchman_service.${SERVER_TYPE}.cfg
|
|
||||||
|
|
||||||
if [ ! -e $CFGFILENAME ]
|
|
||||||
then
|
|
||||||
echo ERROR: Failed to locate the following file: $CFGFILENAME
|
|
||||||
echo using default files
|
|
||||||
export SERVER_TYPE=default
|
|
||||||
CFGFILENAME=patchman_service.${SERVER_TYPE}.cfg
|
|
||||||
|
|
||||||
if [ ! -e $CFGFILENAME ]
|
|
||||||
then
|
|
||||||
echo ERROR: Failed to locate the following DEFAULT file: $CFGFILENAME
|
|
||||||
echo "press enter"
|
|
||||||
read toto
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo ssh keys file: $KEYSFILENAME
|
|
||||||
echo cfg file: $CFGFILENAME
|
|
||||||
|
|
||||||
/bin/sh loop_patchman_once.sh
|
|
||||||
done
|
|
@ -1,39 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
CFGFILENAME=patchman_service.${SERVER_TYPE}.cfg
|
|
||||||
echo cfg file: $CFGFILENAME
|
|
||||||
|
|
||||||
#AESCFGFILENAME=admin_executor_service_default.${SERVER_TYPE}.cfg
|
|
||||||
#echo aes cfg file: $AESCFGFILENAME
|
|
||||||
|
|
||||||
cd /srv/core/patchman
|
|
||||||
if [ -e $CFGFILENAME ]
|
|
||||||
then
|
|
||||||
|
|
||||||
# setup the config file for the patchman
|
|
||||||
echo Using configuration file: $CFGFILENAME
|
|
||||||
cp $CFGFILENAME patchman_service.cfg
|
|
||||||
|
|
||||||
# setup the config file for the admin executor service
|
|
||||||
#echo Using aes configuration file: $AESCFGFILENAME
|
|
||||||
#if [ -e $AESCFGFILENAME ] ; then cp $AESCFGFILENAME admin_executor_service_default.cfg ; fi
|
|
||||||
|
|
||||||
# start the patchman service
|
|
||||||
echo Launching patchman...
|
|
||||||
./ryzom_patchman_service -C. -L.
|
|
||||||
|
|
||||||
sleep 2
|
|
||||||
if [ -e core* ]
|
|
||||||
then
|
|
||||||
if [ -e dont_keep_cores ]
|
|
||||||
then
|
|
||||||
rm core*
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
else
|
|
||||||
echo ERROR: Failed to locate config file: $CFGFILENAME
|
|
||||||
echo trying again in a few seconds...
|
|
||||||
sleep 10
|
|
||||||
fi
|
|
||||||
cd -
|
|
@ -1,19 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
if [ "$1" = "" ]
|
|
||||||
then
|
|
||||||
echo
|
|
||||||
echo USAGE: $0 command_line
|
|
||||||
echo
|
|
||||||
echo example:
|
|
||||||
echo $0 echo hello world
|
|
||||||
echo displays 'hello world' repeatedly, delaying 3 seconds between repeats
|
|
||||||
echo
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
while true
|
|
||||||
do
|
|
||||||
sleep 3
|
|
||||||
eval $*
|
|
||||||
done
|
|
@ -1,110 +0,0 @@
|
|||||||
#! /bin/sh -
|
|
||||||
|
|
||||||
# note: this script should be run from a domain directory such as /srv/core/std01 or /srv/core/mini01
|
|
||||||
DOMAIN=$(pwd |sed 's/\/srv\/core\///')
|
|
||||||
if [ "patchman" = "$DOMAIN" ]; then DOMAIN= ; fi
|
|
||||||
if [ "bin" = "$DOMAIN" ]; then DOMAIN= ; fi
|
|
||||||
if [ "$DOMAIN" != $(echo $DOMAIN|sed 's/\///g') ]; then DOMAIN= ; fi
|
|
||||||
if [ _"${DOMAIN}"_ = __ ]
|
|
||||||
then
|
|
||||||
echo This is not a valid directory for running this script
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
# tell the aes to shut everybody down
|
|
||||||
printf "0" > ./global.launch_ctrl
|
|
||||||
|
|
||||||
# before entering the 'Waiting for Services' loop, get rid of the ras/ras.state file because the ras doesn't stop properly otherwise
|
|
||||||
if [ -f ras/ras.state ]
|
|
||||||
then
|
|
||||||
rm ras/ras.state
|
|
||||||
fi
|
|
||||||
|
|
||||||
# while there are still services running, wait
|
|
||||||
while [ $(grep -i RUNNING . */*.state|wc -l) != 0 ]
|
|
||||||
do
|
|
||||||
echo $DOMAIN: Waiting for $(grep -i RUNNING . */*.state|wc -l) Services to stop
|
|
||||||
sleep 2
|
|
||||||
done
|
|
||||||
|
|
||||||
# stop the screen for the shard (if there is one)
|
|
||||||
screen -drR -S $DOMAIN -X quit> /dev/null
|
|
||||||
sleep 1
|
|
||||||
|
|
||||||
# rename any old core files
|
|
||||||
for COREFILE in */core*
|
|
||||||
do
|
|
||||||
mv $COREFILE $(echo $COREFILE|sed "s%/.*%%")/v$(cat live/version)_$(echo $COREFILE|sed "s%.*/%%")
|
|
||||||
done
|
|
||||||
|
|
||||||
# rename any old log files
|
|
||||||
for LOGFILE in */log*.log
|
|
||||||
do
|
|
||||||
mv $LOGFILE $(echo $LOGFILE|sed "s%/.*%%")/v$(cat live/version)_$(echo $LOGFILE|sed "s%.*/%%")
|
|
||||||
done
|
|
||||||
|
|
||||||
# swap the live and next directories
|
|
||||||
rm -r old_live/* 2> /dev/null
|
|
||||||
echo next=$(cat next/version) live=$(cat live/version)
|
|
||||||
mv live old_live
|
|
||||||
echo next=$(cat next/version) old_live=$(cat old_live/version)
|
|
||||||
mv next live
|
|
||||||
echo old_live=$(cat old_live/version) live=$(cat live/version)
|
|
||||||
mv old_live next
|
|
||||||
echo next=$(cat next/version) live=$(cat live/version)
|
|
||||||
|
|
||||||
# restore any old log files in case of return to previous version
|
|
||||||
for LOGFILE in */v$(cat live/version)_log*.log
|
|
||||||
do
|
|
||||||
mv $LOGFILE $(echo $LOGFILE|sed "s%/.*%%")/$(echo $LOGFILE|sed "s%.*/.*_%%")
|
|
||||||
done
|
|
||||||
|
|
||||||
# make the ryzom services executable
|
|
||||||
chmod 775 live/service_*/*_service 2> /dev/null
|
|
||||||
chmod 775 live/service_*/*_server 2> /dev/null
|
|
||||||
|
|
||||||
# make directory for rrd_graphs
|
|
||||||
mkdir -p rrd_graphs
|
|
||||||
|
|
||||||
# special case to deal with www files that need a local cfg file to be properly setup
|
|
||||||
if [ -e ./live/data_www/config.php ]
|
|
||||||
then
|
|
||||||
echo \<?php >./live/data_www/config.php
|
|
||||||
echo >>./live/data_www/config.php
|
|
||||||
echo \$USERS_DIR = \'$(pwd)/www\'\; >>./live/data_www/config.php
|
|
||||||
echo \$TEMPLATE_DIR = \'./template\'\; >>./live/data_www/config.php
|
|
||||||
echo >>./live/data_www/config.php
|
|
||||||
echo \?\> >>./live/data_www/config.php
|
|
||||||
mkdir -p $(pwd)/save_shard/www
|
|
||||||
fi
|
|
||||||
|
|
||||||
# remove any launch ctrl files that are floating about
|
|
||||||
rm -v */*.*launch_ctrl *.*launch_ctrl 2> /dev/null
|
|
||||||
|
|
||||||
# initialise the state files for the new services to "xxxxx" and remove directories that are no longer of interest
|
|
||||||
for D in $(ls */log.log | sed "s%/.*%%" | sort -u)
|
|
||||||
do
|
|
||||||
if [ $(grep \"$D\" admin_executor_service.cfg | wc -l) = 1 ]
|
|
||||||
then
|
|
||||||
printf "xxxxx" > $D/$D.state
|
|
||||||
else
|
|
||||||
mkdir -p old
|
|
||||||
mv $D old/
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
# tell the aes to launch everybody...
|
|
||||||
printf "1" > ./global.launch_ctrl
|
|
||||||
|
|
||||||
# create a script for accessing the screen for this shard
|
|
||||||
SCRIPT_FILE=/srv/core/bin/domain_${DOMAIN}
|
|
||||||
echo "#!/bin/sh" > $SCRIPT_FILE
|
|
||||||
echo "cd "$(pwd) >> $SCRIPT_FILE
|
|
||||||
echo '/bin/sh /srv/core/bin/ryzom_domain_screen_wrapper.sh $*' >> $SCRIPT_FILE
|
|
||||||
chmod +x $SCRIPT_FILE
|
|
||||||
|
|
||||||
# launch the screen again now that were all done (aes will launch everybody when he comes online)
|
|
||||||
cp /srv/core/$DOMAIN/${DOMAIN}.screen.rc /srv/core/${DOMAIN}.screen.rc
|
|
||||||
#screen -S $DOMAIN -d -m -c /srv/core/${DOMAIN}.screen.rc
|
|
||||||
$SCRIPT_FILE batchstart
|
|
||||||
|
|
@ -1,23 +0,0 @@
|
|||||||
// default values for different sites
|
|
||||||
|
|
||||||
mini01 ep1.mini01.ryzomcore.local
|
|
||||||
std01 ep1.std01.ryzomcore.local
|
|
||||||
std01 su1.std01.ryzomcore.local
|
|
||||||
std01 pd1.std01.ryzomcore.local
|
|
||||||
std01 pd2.std01.ryzomcore.local
|
|
||||||
std01 pd3.std01.ryzomcore.local
|
|
||||||
std01 pd4.std01.ryzomcore.local
|
|
||||||
std01 mla1.std01.ryzomcore.local
|
|
||||||
std01 mla2.std01.ryzomcore.local
|
|
||||||
std01 mla3.std01.ryzomcore.local
|
|
||||||
std01 mla4.std01.ryzomcore.local
|
|
||||||
std01 mla5.std01.ryzomcore.local
|
|
||||||
std01 mlb1.std01.ryzomcore.local
|
|
||||||
std01 mlb2.std01.ryzomcore.local
|
|
||||||
std01 mlb3.std01.ryzomcore.local
|
|
||||||
std01 mlb4.std01.ryzomcore.local
|
|
||||||
std01 mlb5.std01.ryzomcore.local
|
|
||||||
std01 rra1.std01.ryzomcore.local
|
|
||||||
std01 rra2.std01.ryzomcore.local
|
|
||||||
std01 rrb1.std01.ryzomcore.local
|
|
||||||
std01 rrb2.std01.ryzomcore.local
|
|
@ -1,30 +0,0 @@
|
|||||||
|
|
||||||
#include "/srv/core/patchman/patchman_service_base_linux.cfg"
|
|
||||||
#include "/srv/core/patchman_service_local.cfg"
|
|
||||||
|
|
||||||
StartCommands =
|
|
||||||
{
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Setup Bridge Gateway (for retrieving files)
|
|
||||||
|
|
||||||
// Create a gateway module on layer 3 transport and open it
|
|
||||||
"moduleManager.createModule StandardGateway bridge_gw",
|
|
||||||
"bridge_gw.transportAdd L3Client l3client",
|
|
||||||
"bridge_gw.transportCmd l3client(connect addr=ep1.mini01.ryzomcore.local:44749)",
|
|
||||||
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Setup Manager Gateway (for deployment commands)
|
|
||||||
|
|
||||||
// Create a gateway module on layer 3 transport and open it
|
|
||||||
"moduleManager.createModule StandardGateway spm_gw",
|
|
||||||
"spm_gw.transportAdd L3Client l3client",
|
|
||||||
"spm_gw.transportCmd l3client(connect addr=ep1.mini01.ryzomcore.local:44752)",
|
|
||||||
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Setup the PAM module
|
|
||||||
"moduleManager.createModule PatchmanAdminModule pam",
|
|
||||||
"pam.plug spm_gw",
|
|
||||||
"pam.plug bridge_gw",
|
|
||||||
};
|
|
@ -1,38 +0,0 @@
|
|||||||
|
|
||||||
#include "/srv/core/patchman/patchman_service_base_linux.cfg"
|
|
||||||
#include "/srv/core/patchman_service_local.cfg"
|
|
||||||
|
|
||||||
StartCommands =
|
|
||||||
{
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Setup Bridge Gateway (for retrieving files)
|
|
||||||
|
|
||||||
// Create a gateway module on layer 3 transport and open it
|
|
||||||
"moduleManager.createModule StandardGateway bridge_gw",
|
|
||||||
"bridge_gw.transportAdd L3Client l3client",
|
|
||||||
"bridge_gw.transportCmd l3client(connect addr=ep1.mini01.ryzomcore.local:44749)",
|
|
||||||
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Setup Manager Gateway (for deployment commands)
|
|
||||||
|
|
||||||
// Create a gateway module on layer 3 transport and open it
|
|
||||||
"moduleManager.createModule StandardGateway spm_gw",
|
|
||||||
"spm_gw.transportAdd L3Client l3client",
|
|
||||||
"spm_gw.transportCmd l3client(connect addr=ep1.mini01.ryzomcore.local:44751)",
|
|
||||||
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Setup patch applier
|
|
||||||
|
|
||||||
// setup an 'spa' module for applying patches as required
|
|
||||||
"moduleManager.createModule ServerPatchApplier spa path=/srv/core host=" + SPAHost,
|
|
||||||
"spa.plug bridge_gw",
|
|
||||||
"spa.plug spm_gw",
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Setup the PAM module
|
|
||||||
"moduleManager.createModule PatchmanAdminModule pam",
|
|
||||||
"pam.plug spm_gw",
|
|
||||||
"pam.plug bridge_gw",
|
|
||||||
};
|
|
@ -1,65 +0,0 @@
|
|||||||
// *****************************************************************************
|
|
||||||
// *** Setup for the mini01 entry point Machine
|
|
||||||
// *****************************************************************************
|
|
||||||
|
|
||||||
#include "/srv/core/patchman/patchman_service_base_linux.cfg"
|
|
||||||
#include "/srv/core/patchman_service_local.cfg"
|
|
||||||
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------
|
|
||||||
// Displayed Variables...
|
|
||||||
|
|
||||||
DisplayedVariables +=
|
|
||||||
{
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------
|
|
||||||
// Start Commands for configuring modules
|
|
||||||
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Setup the mini01 hub
|
|
||||||
|
|
||||||
// Create a gateway modul on layer 3 transport and open it
|
|
||||||
"moduleManager.createModule StandardGateway hub_mini01",
|
|
||||||
"hub_mini01.transportAdd L3Server l3server",
|
|
||||||
"hub_mini01.transportCmd l3server(open port=44749)",
|
|
||||||
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Setup the bridge hub
|
|
||||||
|
|
||||||
// Create a gateway module on layer 3 transport and open it
|
|
||||||
"moduleManager.createModule StandardGateway hub_bridge",
|
|
||||||
"hub_bridge.transportAdd L3Server l3server",
|
|
||||||
"hub_bridge.transportCmd l3server(open port=44745)",
|
|
||||||
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Setup Manager Gateway (for deployment commands)
|
|
||||||
|
|
||||||
// Create a gateway module on layer 3 transport and open it
|
|
||||||
"moduleManager.createModule StandardGateway spm_gw",
|
|
||||||
"spm_gw.transportAdd L3Client l3client",
|
|
||||||
"spm_gw.transportCmd l3client(connect addr=ep1.mini01.ryzomcore.local:44751)",
|
|
||||||
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Setup mini01 Bridge module
|
|
||||||
|
|
||||||
// setup a bridge module to relay files from internal to mini01 networks andd plug it in
|
|
||||||
"moduleManager.createModule ServerPatchBridge bridge path=/srv/core/bridge_server/",
|
|
||||||
"bridge.plug hub_mini01",
|
|
||||||
"bridge.plug hub_bridge",
|
|
||||||
"bridge.plug spm_gw",
|
|
||||||
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Setup the PAM module
|
|
||||||
"moduleManager.createModule PatchmanAdminModule pam",
|
|
||||||
"pam.plug hub_mini01",
|
|
||||||
"pam.plug spm_gw",
|
|
||||||
};
|
|
||||||
|
|
@ -1,41 +0,0 @@
|
|||||||
// *****************************************************************************
|
|
||||||
// *** Setup for the mini01 entry point Machine
|
|
||||||
// *****************************************************************************
|
|
||||||
|
|
||||||
#include "/srv/core/patchman/patchman_service_base_linux.cfg"
|
|
||||||
#include "/srv/core/patchman_service_local.cfg"
|
|
||||||
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------
|
|
||||||
// Displayed Variables...
|
|
||||||
|
|
||||||
DisplayedVariables +=
|
|
||||||
{
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------
|
|
||||||
// Start Commands for configuring modules
|
|
||||||
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Setup the mini01 spm hub
|
|
||||||
|
|
||||||
"moduleManager.createModule StandardGateway hub",
|
|
||||||
"hub.transportAdd L3Server l3server",
|
|
||||||
"hub.transportCmd l3server(open port=44751)",
|
|
||||||
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Setup manager module for mini01 version numbers etc and plug it in
|
|
||||||
|
|
||||||
"moduleManager.createModule ServerPatchManager spm_mini01 name=spm_mini01",
|
|
||||||
"spm_mini01.plug hub",
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Setup the PAM module
|
|
||||||
"moduleManager.createModule PatchmanAdminModule pam",
|
|
||||||
"pam.plug hub",
|
|
||||||
};
|
|
||||||
|
|
@ -1,38 +0,0 @@
|
|||||||
|
|
||||||
#include "/srv/core/patchman/patchman_service_base_linux.cfg"
|
|
||||||
#include "/srv/core/patchman_service_local.cfg"
|
|
||||||
|
|
||||||
StartCommands =
|
|
||||||
{
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Setup Bridge Gateway (for retrieving files)
|
|
||||||
|
|
||||||
// Create a gateway module on layer 3 transport and open it
|
|
||||||
"moduleManager.createModule StandardGateway bridge_gw",
|
|
||||||
"bridge_gw.transportAdd L3Client l3client",
|
|
||||||
"bridge_gw.transportCmd l3client(connect addr=ep1.mini01.ryzomcore.local:44749)",
|
|
||||||
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Setup Manager Gateway (for deployment commands)
|
|
||||||
|
|
||||||
// Create a gateway module on layer 3 transport and open it
|
|
||||||
"moduleManager.createModule StandardGateway spm_gw",
|
|
||||||
"spm_gw.transportAdd L3Client l3client",
|
|
||||||
"spm_gw.transportCmd l3client(connect addr=ep1.std01.ryzomcore.local:44752)",
|
|
||||||
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Setup patch applier
|
|
||||||
|
|
||||||
// setup an 'spa' module for applying patches as required
|
|
||||||
"moduleManager.createModule ServerPatchApplier spa path=/srv/core host=" + SPAHost,
|
|
||||||
"spa.plug bridge_gw",
|
|
||||||
"spa.plug spm_gw",
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Setup the PAM module
|
|
||||||
"moduleManager.createModule PatchmanAdminModule pam",
|
|
||||||
"pam.plug spm_gw",
|
|
||||||
"pam.plug bridge_gw",
|
|
||||||
};
|
|
@ -1,41 +0,0 @@
|
|||||||
// *****************************************************************************
|
|
||||||
// *** Setup for the std01 entry point Machine
|
|
||||||
// *****************************************************************************
|
|
||||||
|
|
||||||
#include "/srv/core/patchman/patchman_service_base_linux.cfg"
|
|
||||||
#include "/srv/core/patchman_service_local.cfg"
|
|
||||||
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------
|
|
||||||
// Displayed Variables...
|
|
||||||
|
|
||||||
DisplayedVariables +=
|
|
||||||
{
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------
|
|
||||||
// Start Commands for configuring modules
|
|
||||||
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Setup the std01 spm hub
|
|
||||||
|
|
||||||
"moduleManager.createModule StandardGateway hub",
|
|
||||||
"hub.transportAdd L3Server l3server",
|
|
||||||
"hub.transportCmd l3server(open port=44752)",
|
|
||||||
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Setup manager module for std01 version numbers etc and plug it in
|
|
||||||
|
|
||||||
"moduleManager.createModule ServerPatchManager spm_std01 name=spm_std01",
|
|
||||||
"spm_std01.plug hub",
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Setup the PAM module
|
|
||||||
"moduleManager.createModule PatchmanAdminModule pam",
|
|
||||||
"pam.plug hub",
|
|
||||||
};
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
|||||||
//--------------------------------------------------------------------------------
|
|
||||||
// Stuff common to all patchman services
|
|
||||||
DontUseAES = 1;
|
|
||||||
DontUseTS = 1;
|
|
||||||
DontUseNS = 1;
|
|
||||||
UpdateAssertionThreadTimeout = 0;
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------
|
|
||||||
// Common Filters
|
|
||||||
|
|
||||||
// where to save specific shard data (ie: player backup)
|
|
||||||
NegFiltersDebug = { "NET", "VERBOSE", "GUSREP" };
|
|
||||||
NegFiltersInfo = { "LNET" };
|
|
||||||
NegFiltersWarning = { "LNETL", "CT_LRC", "VAR:" };
|
|
||||||
|
|
||||||
FileReceiverDataBlockSize = 1000000;
|
|
||||||
FileReceiverMaxMessageCount = 10;
|
|
@ -1,22 +0,0 @@
|
|||||||
//--------------------------------------------------------------------------------
|
|
||||||
// Stuff for Linux (as opposed to Windows)
|
|
||||||
|
|
||||||
#include "patchman_service_base.cfg"
|
|
||||||
|
|
||||||
// For windows boxes we dissable out stdin thread
|
|
||||||
DontUseStdIn = 0;
|
|
||||||
|
|
||||||
// how to sleep between to network update
|
|
||||||
// 0 = pipe
|
|
||||||
// 1 = usleep
|
|
||||||
// 2 = nanosleep
|
|
||||||
// 3 = sched_yield
|
|
||||||
// 4 = nothing
|
|
||||||
UseYieldMethod = 0;
|
|
||||||
|
|
||||||
SpaPreCmdLineText="/bin/sh /srv/core/patchman/service_launcher.sh";
|
|
||||||
DeploymentRootDirectory="/srv/core/patchman/";
|
|
||||||
MakeInstalledVersionLiveCmdLine="/bin/sh /srv/core/patchman/make_next_live.sh";
|
|
||||||
SpaLaunchAESCmdLine="/bin/sh /srv/core/patchman/loop_aes.sh";
|
|
||||||
InstallArchiveDirectory="/srv/core/";
|
|
||||||
InstallArchiveFileName="admin_install.tgz";
|
|
@ -1,16 +0,0 @@
|
|||||||
# ------------------------------------------------------------------------------
|
|
||||||
# SCREEN KEYBINDINGS
|
|
||||||
# ------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Remove some stupid / dangerous key bindings
|
|
||||||
bind ^k
|
|
||||||
#bind L
|
|
||||||
bind ^\
|
|
||||||
# Make them better
|
|
||||||
bind \\ quit
|
|
||||||
bind K kill
|
|
||||||
bind I login on
|
|
||||||
bind O login off
|
|
||||||
|
|
||||||
screen -t aes /bin/sh /srv/core/patchman/loop_aes.sh
|
|
||||||
|
|
@ -1,105 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# the objective is to make a launcher script that works with a command file to determine when to launch the application that it is responsible for
|
|
||||||
|
|
||||||
DOMAIN=$(pwd |sed "s%/srv/core/%%" | sed "s%/.*%%")
|
|
||||||
NAME_BASE=$(pwd | sed 's/\/srv\/core\///' | sed 's/^.*\///')
|
|
||||||
|
|
||||||
#if [ _$DOMAIN == _pre_live ]
|
|
||||||
# then
|
|
||||||
CTRL_FILE=${NAME_BASE}.launch_ctrl
|
|
||||||
NEXT_CTRL_FILE=${NAME_BASE}.deferred_launch_ctrl
|
|
||||||
#elif [ _$DOMAIN == _pre_pre_live ]
|
|
||||||
# then
|
|
||||||
# CTRL_FILE=${NAME_BASE}.launch_ctrl
|
|
||||||
# NEXT_CTRL_FILE=${NAME_BASE}.deferred_launch_ctrl
|
|
||||||
#else
|
|
||||||
# CTRL_FILE=${NAME_BASE}_immediate.launch_ctrl
|
|
||||||
# NEXT_CTRL_FILE=${NAME_BASE}_waiting.launch_ctrl
|
|
||||||
#fi
|
|
||||||
STATE_FILE=${NAME_BASE}.state
|
|
||||||
START_COUNTER_FILE=${NAME_BASE}.start_count
|
|
||||||
CTRL_CMDLINE=$*
|
|
||||||
CTRL_COMMAND=""
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo ---------------------------------------------------------------------------------
|
|
||||||
echo Starting service launcher
|
|
||||||
echo ---------------------------------------------------------------------------------
|
|
||||||
printf "%-16s = " CMDLINE ; echo $CTRL_CMDLINE
|
|
||||||
printf "%-16s = " CTRL_FILE ; echo $CTRL_FILE
|
|
||||||
printf "%-16s = " NEXT_CTRL_FILE ; echo $NEXT_CTRL_FILE
|
|
||||||
printf "%-16s = " STATE_FILE ; echo $STATE_FILE
|
|
||||||
echo ---------------------------------------------------------------------------------
|
|
||||||
echo
|
|
||||||
|
|
||||||
# reinit the start counter
|
|
||||||
echo 0 > $START_COUNTER_FILE
|
|
||||||
START_COUNTER=0
|
|
||||||
|
|
||||||
# always give ras a first run
|
|
||||||
if [ "${NAME_BASE}" = "ras" ]
|
|
||||||
then
|
|
||||||
echo Force admin service first startup
|
|
||||||
printf LAUNCH > $CTRL_FILE
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo Press ENTER to launch program
|
|
||||||
while true
|
|
||||||
do
|
|
||||||
|
|
||||||
# see if the conditions are right to launch the app
|
|
||||||
if [ -e $CTRL_FILE ]
|
|
||||||
then
|
|
||||||
|
|
||||||
# a control file exists so read it's contents
|
|
||||||
CTRL_COMMAND=$(cat $CTRL_FILE)
|
|
||||||
|
|
||||||
# do we have a 'launch' command?
|
|
||||||
if [ "$CTRL_COMMAND" = "LAUNCH" ]
|
|
||||||
then
|
|
||||||
|
|
||||||
# update the start counter
|
|
||||||
START_COUNTER=$(( $START_COUNTER + 1 ))
|
|
||||||
echo $START_COUNTER > $START_COUNTER_FILE
|
|
||||||
|
|
||||||
# big nasty hack to deal with the special cases of ryzom_naming_service and ryzom_admin_service who have badly names cfg files
|
|
||||||
for f in ryzom_*cfg
|
|
||||||
do
|
|
||||||
cp $f $(echo $f | sed "s/ryzom_//")
|
|
||||||
done
|
|
||||||
|
|
||||||
# we have a launch command so prepare, launch, wait for exit and do the housekeeping
|
|
||||||
echo -----------------------------------------------------------------------
|
|
||||||
echo Launching ...
|
|
||||||
echo
|
|
||||||
printf RUNNING > $STATE_FILE
|
|
||||||
|
|
||||||
$CTRL_CMDLINE
|
|
||||||
|
|
||||||
echo -----------------------------------------------------------------------
|
|
||||||
printf STOPPED > $STATE_FILE
|
|
||||||
|
|
||||||
# consume (remove) the control file to allow start once
|
|
||||||
rm $CTRL_FILE
|
|
||||||
|
|
||||||
echo Press ENTER to relaunch
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# either we haven't launched the app yet or we have launched and it has exitted
|
|
||||||
if [ -e $NEXT_CTRL_FILE ]
|
|
||||||
then
|
|
||||||
# we have some kind of relaunch directive lined up so deal with it
|
|
||||||
mv $NEXT_CTRL_FILE $CTRL_FILE
|
|
||||||
else
|
|
||||||
# give the terminal user a chance to press enter to provoke a re-launch
|
|
||||||
HOLD=`sh -ic '{ read a; echo "ENTER" 1>&3; kill 0; } | { sleep 2; kill 0; }' 3>&1 2>/dev/null`
|
|
||||||
if [ "${HOLD}" = "ENTER" ]
|
|
||||||
then
|
|
||||||
printf LAUNCH > $CTRL_FILE
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
done
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
|||||||
|
|
||||||
// mini01 - mini manager
|
|
||||||
|
|
||||||
mini01_spm ep1.mini01.ryzomcore.local
|
|
||||||
mini01_bridge ep1.mini01.ryzomcore.local
|
|
||||||
|
|
||||||
|
|
||||||
// std01 - std manager
|
|
||||||
|
|
||||||
std01_spm ep1.std01.ryzomcore.local
|
|
@ -1 +0,0 @@
|
|||||||
SPAHost = "ep1.mini01.ryzomcore.local";
|
|
@ -1,125 +0,0 @@
|
|||||||
// 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+")",
|
|
||||||
};
|
|
||||||
|
|
||||||
/// 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"
|
|
||||||
};
|
|
||||||
|
|
||||||
NegFiltersDebug = { "ZZZZZZZZZZZ" };
|
|
||||||
NegFiltersInfo = { "ZZZZZZZZZZZ" };
|
|
||||||
NegFiltersWarning = { "ZZZZZZZZZZZ" };
|
|
||||||
//NegFiltersDebug = { "NET", "ADMIN", "MIRROR", "NC", "PATH" };
|
|
||||||
//NegFiltersInfo = { "NET", "ADMIN", "MIRROR", "NC", "CF", "TimerManagerUpdate" };
|
|
||||||
// NegFiltersWarning = { "CT_LRC", "AnimalSpawned" };
|
|
||||||
|
|
||||||
// Block the system in the tick service that provokes stalls when overloaded
|
|
||||||
WaitForBSThreshold=0;
|
|
||||||
|
|
||||||
// Only produce log*.log files and not <service name>*.log
|
|
||||||
DontLog=1;
|
|
||||||
|
|
||||||
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;
|
|
||||||
|
|
||||||
// Configuration 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;
|
|
||||||
|
|
@ -1,80 +0,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 = "";
|
|
||||||
HoFHDTDirectory = "/srv/core/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_mini01";
|
|
||||||
// Nel DB user
|
|
||||||
DBNelUser = "su_agent";
|
|
||||||
// Ring DB user
|
|
||||||
DBRingUser = "su_agent";
|
|
||||||
// SU - password to access to the nel database with DBNelUseruser (default is no password)
|
|
||||||
DBNelPass = "p4ssw0rd";
|
|
||||||
// SU - password to access to the ring database with DBRingUser (default is no password)
|
|
||||||
DBRingPass = "p4ssw0rd";
|
|
||||||
|
|
||||||
// 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;
|
|
||||||
|
|
||||||
// Dissable generation / display of nldebug messages
|
|
||||||
DissableNLDebug = 1;
|
|
@ -1,80 +0,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 = "";
|
|
||||||
HoFHDTDirectory = "/srv/core/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_std01";
|
|
||||||
// Nel DB user
|
|
||||||
DBNelUser = "su_agent";
|
|
||||||
// Ring DB user
|
|
||||||
DBRingUser = "su_agent";
|
|
||||||
// SU - password to access to the nel database with DBNelUseruser (default is no password)
|
|
||||||
DBNelPass = "p4ssw0rd";
|
|
||||||
// SU - password to access to the ring database with DBRingUser (default is no password)
|
|
||||||
DBRingPass = "p4ssw0rd";
|
|
||||||
|
|
||||||
// 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;
|
|
||||||
|
|
||||||
// Dissable generation / display of nldebug messages
|
|
||||||
DissableNLDebug = 1;
|
|
@ -1,50 +0,0 @@
|
|||||||
// Player limits (AIS, EGS, WS, FS)
|
|
||||||
NbPlayersLimit = 1000;
|
|
||||||
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 = 300000;
|
|
||||||
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 = 5;
|
|
||||||
NbForageSourcesLimit = 1000;
|
|
||||||
NbToxicCloudsLimit = 200;
|
|
||||||
|
|
||||||
// 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 =
|
|
||||||
{
|
|
||||||
"indoors", "4", // NB : this is for uninstanciated indoors building.
|
|
||||||
"newbieland", "20"
|
|
||||||
};
|
|
||||||
|
|
||||||
// define the primitives configuration used.
|
|
||||||
UsedPrimitives =
|
|
||||||
{
|
|
||||||
"newbieland_all",
|
|
||||||
// "newbieland",
|
|
||||||
};
|
|
@ -1,51 +0,0 @@
|
|||||||
// Player limits (AIS, EGS, WS, FS)
|
|
||||||
NbPlayersLimit = 1000;
|
|
||||||
NbGuildLimit = 15000;
|
|
||||||
PlayerLimit = NbPlayersLimit;
|
|
||||||
ClientLimit = 1000;
|
|
||||||
|
|
||||||
// Set this shard as a ring (1) or mainland (0) shard (main behavior switch)
|
|
||||||
IsRingShard = 1;
|
|
||||||
|
|
||||||
// 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 = 0;
|
|
||||||
|
|
||||||
// Mirror limits
|
|
||||||
DatasetSizefe_temp = 200000;
|
|
||||||
DatasetSizefame = 26000;
|
|
||||||
|
|
||||||
// FS Specifics --------------------------------------------------------------------------
|
|
||||||
// Client bandwidth ratio, set to 1 for standard operation, more than one allocate more bandwidth
|
|
||||||
BandwidthRatio = 2;
|
|
||||||
|
|
||||||
// EGS Specifics --------------------------------------------------------------------------
|
|
||||||
// Entity Limits (EGS)
|
|
||||||
NbObjectsLimit = 2000;
|
|
||||||
NbNpcSpawnedByEGSLimit = 5;
|
|
||||||
NbForageSourcesLimit = 100;
|
|
||||||
NbToxicCloudsLimit = 20;
|
|
||||||
|
|
||||||
// AIS Specifics --------------------------------------------------------------------------
|
|
||||||
// Entity Limits (AIS)
|
|
||||||
NbPetLimit = NbPlayersLimit*4;
|
|
||||||
NbFaunaLimit = 5000;
|
|
||||||
NbNpcLimit = 35000;
|
|
||||||
NbFxLimit = 500;
|
|
||||||
|
|
||||||
// This is the list of continent to use with their unique instance number
|
|
||||||
UsedContinents =
|
|
||||||
{
|
|
||||||
"r2_desert", "10000",
|
|
||||||
"r2_forest", "10001",
|
|
||||||
"r2_jungle", "10002",
|
|
||||||
"r2_lakes", "10003",
|
|
||||||
"r2_roots", "10004",
|
|
||||||
};
|
|
||||||
|
|
||||||
// define the primitives configuration used.
|
|
||||||
UsedPrimitives =
|
|
||||||
{
|
|
||||||
};
|
|
@ -1 +0,0 @@
|
|||||||
// This cfg file defines stuff that's common to all mini unifier shards
|
|
@ -1,50 +0,0 @@
|
|||||||
// 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 =
|
|
||||||
{
|
|
||||||
"indoors", "4", // NB : this is for uninstanciated indoors building.
|
|
||||||
"newbieland", "20"
|
|
||||||
};
|
|
||||||
|
|
||||||
// define the primitives configuration used.
|
|
||||||
UsedPrimitives =
|
|
||||||
{
|
|
||||||
"newbieland_all",
|
|
||||||
// "newbieland",
|
|
||||||
};
|
|
@ -1,51 +0,0 @@
|
|||||||
// 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 = 1;
|
|
||||||
|
|
||||||
// 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 = 0;
|
|
||||||
|
|
||||||
// Mirror limits
|
|
||||||
DatasetSizefe_temp = 600000;
|
|
||||||
DatasetSizefame = 26000;
|
|
||||||
|
|
||||||
// FS Specifics --------------------------------------------------------------------------
|
|
||||||
// Client bandwidth ratio, set to 1 for standard operation, more than one allocate more bandwidth
|
|
||||||
BandwidthRatio = 2;
|
|
||||||
|
|
||||||
// EGS Specifics --------------------------------------------------------------------------
|
|
||||||
// Entity Limits (EGS)
|
|
||||||
NbObjectsLimit = 2000;
|
|
||||||
NbNpcSpawnedByEGSLimit = 5000;
|
|
||||||
NbForageSourcesLimit = 10000;
|
|
||||||
NbToxicCloudsLimit = 5000;
|
|
||||||
|
|
||||||
// AIS Specifics --------------------------------------------------------------------------
|
|
||||||
// Entity Limits (AIS)
|
|
||||||
NbPetLimit = NbPlayersLimit*4;
|
|
||||||
NbFaunaLimit = 50000;
|
|
||||||
NbNpcLimit = 50000;
|
|
||||||
NbFxLimit = 500;
|
|
||||||
|
|
||||||
// This is the list of continent to use with their unique instance number
|
|
||||||
UsedContinents =
|
|
||||||
{
|
|
||||||
"r2_desert", "10000",
|
|
||||||
"r2_forest", "10001",
|
|
||||||
"r2_jungle", "10002",
|
|
||||||
"r2_lakes", "10003",
|
|
||||||
"r2_roots", "10004",
|
|
||||||
};
|
|
||||||
|
|
||||||
// define the primitives configuration used.
|
|
||||||
UsedPrimitives =
|
|
||||||
{
|
|
||||||
};
|
|
@ -1 +0,0 @@
|
|||||||
// This cfg file defines stuff that's common to all standard unifier shards
|
|
@ -1,353 +0,0 @@
|
|||||||
|
|
||||||
// a list of system command that run at server startup.
|
|
||||||
SystemCmd = {};
|
|
||||||
|
|
||||||
|
|
||||||
//NegFiltersDebug += { "LNET", "HNET", "FEVIS"};
|
|
||||||
//NegFiltersInfo += { "LNET", "HNET", "VISION_DELTA", "FEIMPE", "FEVIS" };
|
|
||||||
// NegFiltersWarning += { "LNET", "FEHACK", "FERECV"};
|
|
||||||
// NegFiltersWarning += { "positional", "faction", "pet" };
|
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
|
||||||
//- Basic (specific) heal profile parameters ---------------------------------
|
|
||||||
// Downtime for normal heal (on other bots of the group)
|
|
||||||
HealSpecificDowntime = 100;
|
|
||||||
// Downtime for self heal
|
|
||||||
HealSpecificDowntimeSelf = 100;
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
// Disable caching of ligo primitive in binary files
|
|
||||||
CachePrims = 0;
|
|
||||||
CachePrimsLog = 0;
|
|
||||||
|
|
||||||
// do not log the corrected position.
|
|
||||||
LogAcceptablePos = 0;
|
|
||||||
// do not log group creation failure
|
|
||||||
LogGroupCreationFailure = 0;
|
|
||||||
// do not log aliad tree owner construstion.
|
|
||||||
LogAliasTreeOwner = 0;
|
|
||||||
// do not log outpost info
|
|
||||||
LogOutpostDebug = 0;
|
|
||||||
// Speed factor, for debug purpose only. Don't set to high speed factor !
|
|
||||||
SpeedFactor = 1;
|
|
||||||
// Speep up the timer triggering. Set a value between 1 (normal) and INT_MAX.
|
|
||||||
TimerSpeedUp = 1;
|
|
||||||
|
|
||||||
// Default timer for wander behavior
|
|
||||||
DefaultWanderMinTimer = 50; // 5s
|
|
||||||
DefaultWanderMaxTimer = 100; // 10s
|
|
||||||
|
|
||||||
// Fame and guard behavior
|
|
||||||
// Fame value under witch the guard attack the player in sigth
|
|
||||||
FameForGuardAttack = -450000;
|
|
||||||
// The minimum of fame for guard to help the player
|
|
||||||
FameForGuardHelp = -200000;
|
|
||||||
|
|
||||||
// The default aggro distance for NPC
|
|
||||||
DefaultNpcAggroDist = 15;
|
|
||||||
// The default escort range for escort behavior
|
|
||||||
DefaultEscortRange = 10;
|
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
|
||||||
// Aggro //
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
|
||||||
AggroReturnDistCheck = 15.0;
|
|
||||||
AggroReturnDistCheckFauna = 15.0;
|
|
||||||
AggroReturnDistCheckNpc = 1.5;
|
|
||||||
AggroD1Radius = 250.0;
|
|
||||||
AggroD2Radius = 150.0;
|
|
||||||
AggroPrimaryGroupDist = 0.0;
|
|
||||||
AggroPrimaryGroupCoef = 0.0;
|
|
||||||
AggroSecondaryGroupDist = 0.0;
|
|
||||||
AggroSecondaryGroupCoef = 0.0;
|
|
||||||
AggroPropagationRadius = 60.0;
|
|
||||||
|
|
||||||
BotRepopFx = "";
|
|
||||||
|
|
||||||
// GROUP KEYWORDS
|
|
||||||
// used mainly in event handlers to determine to which groups events apply
|
|
||||||
KeywordsGroupNpc = {
|
|
||||||
|
|
||||||
"patrol", // a group of bots who guard a patrol route or point
|
|
||||||
"convoy", // a group with pack animals who follow roads from place to place
|
|
||||||
"with_players", // a group who may travel with players
|
|
||||||
};
|
|
||||||
|
|
||||||
// BOT KEYWORDS
|
|
||||||
// used mainly in npc_state_profile to determine which ai profiles to assign to which bots
|
|
||||||
KeywordsBotNpc = {
|
|
||||||
|
|
||||||
"team_leader", // a bot who leads the way in front of their team (and acts as leader
|
|
||||||
// in discussion with players)
|
|
||||||
"animal_leader", // a bot who leads pack animals
|
|
||||||
"guard", // a bot who is a guard of some sort (eg karavan guard)
|
|
||||||
"emissary", // eg karavan emissary
|
|
||||||
"preacher", // eg kami preacher
|
|
||||||
"guardian", // typically kami guardians
|
|
||||||
"vip", // someone who has an escort of players or NPCs (assumed to be harmless)
|
|
||||||
};
|
|
||||||
|
|
||||||
// STATE KEYWORDS
|
|
||||||
// used mainly in event handlers to determine to which state events apply
|
|
||||||
// eg: when a player goes link dead if the team that this player is escorting
|
|
||||||
// is in a dangerous area the team may enter a 'protect ourselves and wait for
|
|
||||||
// players' punctual state
|
|
||||||
KeywordsStateNpc = {
|
|
||||||
|
|
||||||
"safe", // eg the gathering point at town entrance
|
|
||||||
"dangerous", // eg a route through the wilds
|
|
||||||
};
|
|
||||||
|
|
||||||
ColourNames =
|
|
||||||
{
|
|
||||||
"red : 0",
|
|
||||||
"beige : 1",
|
|
||||||
"green : 2",
|
|
||||||
"turquoise : 3",
|
|
||||||
"blue : 4",
|
|
||||||
"violet : 5",
|
|
||||||
"white : 6",
|
|
||||||
"black : 7",
|
|
||||||
|
|
||||||
"redHair: 0",
|
|
||||||
"blackHair: 1",
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
StartCommandsWhenMirrorReady = {
|
|
||||||
};
|
|
||||||
|
|
||||||
//---------------------------------------------------------
|
|
||||||
// commands for multi IA configuration
|
|
||||||
// For multi IA config, use the -m command line switch folowed
|
|
||||||
// by a semicolon separated list of command block to run.
|
|
||||||
// ex :
|
|
||||||
// -mCommon:Matis:Post
|
|
||||||
// will execute the folowing command blocks in order :
|
|
||||||
// * StartCommandsWhenMirrorReadyCommon
|
|
||||||
// * StartCommandsWhenMirrorReadyMatis
|
|
||||||
// * StartCommandsWhenMirrorReadyPost
|
|
||||||
//---------------------------------------------------------
|
|
||||||
// common commands before loading continents
|
|
||||||
StartCommandsWhenMirrorReadyCommon =
|
|
||||||
{
|
|
||||||
"RandomPosMaxRetry 6400",
|
|
||||||
"fightRangeRange 4 60",
|
|
||||||
"LogOutpostDebug 1",
|
|
||||||
"grpHistoryRecordLog",
|
|
||||||
|
|
||||||
"verboseAIProfiles",
|
|
||||||
"verboseAliasNodeTreeParserLog",
|
|
||||||
"verboseCombatLog",
|
|
||||||
"verboseFaunaMgrLog",
|
|
||||||
"verboseFaunaParseLog",
|
|
||||||
"verboseNPCBotProfiles",
|
|
||||||
"verboseNPCMgrLog",
|
|
||||||
"verboseNPCParserLog",
|
|
||||||
"verboseNpcDescriptionMsgLog",
|
|
||||||
"verbosePrimitiveParserLog",
|
|
||||||
// "verboseSwitchMultipleChangesOfAProperty",
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
// commands for indoors continent
|
|
||||||
StartCommandsWhenMirrorReadyIndoors =
|
|
||||||
{
|
|
||||||
"loadContinent indoors",
|
|
||||||
"createStaticAIInstance indoors",
|
|
||||||
"loadMapsFromCommon indoors_all",
|
|
||||||
};
|
|
||||||
|
|
||||||
// commands for Matis continent
|
|
||||||
StartCommandsWhenMirrorReadyMatis =
|
|
||||||
{
|
|
||||||
"loadContinent matis",
|
|
||||||
"createStaticAIInstance matis",
|
|
||||||
"loadMapsFromCommon matis_all",
|
|
||||||
};
|
|
||||||
|
|
||||||
// commands for Matis newbie continent
|
|
||||||
StartCommandsWhenMirrorReadyMatisNewbie =
|
|
||||||
{
|
|
||||||
"loadContinent matis",
|
|
||||||
"createStaticAIInstance matis_newbie",
|
|
||||||
"loadMapsFromCommon matis_newbie_all",
|
|
||||||
};
|
|
||||||
|
|
||||||
// commands for Zorai continent
|
|
||||||
StartCommandsWhenMirrorReadyZorai =
|
|
||||||
{
|
|
||||||
"loadContinent zorai",
|
|
||||||
"createStaticAIInstance zorai",
|
|
||||||
"loadMapsFromCommon zorai_all",
|
|
||||||
};
|
|
||||||
|
|
||||||
// commands for Zorai newbie continent
|
|
||||||
StartCommandsWhenMirrorReadyZoraiNewbie =
|
|
||||||
{
|
|
||||||
"loadContinent zorai",
|
|
||||||
"createStaticAIInstance zorai_newbie",
|
|
||||||
"loadMapsFromCommon zorai_newbie_all",
|
|
||||||
};
|
|
||||||
|
|
||||||
// commands for Fyros continent
|
|
||||||
StartCommandsWhenMirrorReadyFyros =
|
|
||||||
{
|
|
||||||
"loadContinent fyros",
|
|
||||||
"createStaticAIInstance fyros",
|
|
||||||
"loadMapsFromCommon fyros_all",
|
|
||||||
};
|
|
||||||
|
|
||||||
// commands for Fyros newbie continent
|
|
||||||
StartCommandsWhenMirrorReadyFyrosNewbie =
|
|
||||||
{
|
|
||||||
"loadContinent fyros_newbie",
|
|
||||||
"createStaticAIInstance fyros_newbie",
|
|
||||||
"loadMapsFromCommon fyros_newbie_all",
|
|
||||||
};
|
|
||||||
|
|
||||||
// commands for Tryker continent
|
|
||||||
StartCommandsWhenMirrorReadyTryker =
|
|
||||||
{
|
|
||||||
"loadContinent tryker",
|
|
||||||
"createStaticAIInstance tryker",
|
|
||||||
"loadMapsFromCommon tryker_all",
|
|
||||||
};
|
|
||||||
|
|
||||||
// commands for Tryker newbie continent
|
|
||||||
StartCommandsWhenMirrorReadyTrykerNewbie =
|
|
||||||
{
|
|
||||||
"loadContinent tryker_newbie",
|
|
||||||
"createStaticAIInstance tryker_newbie",
|
|
||||||
"loadMapsFromCommon tryker_newbie_all",
|
|
||||||
};
|
|
||||||
|
|
||||||
// commands for bagne continents
|
|
||||||
StartCommandsWhenMirrorReadyBagne =
|
|
||||||
{
|
|
||||||
"loadContinent bagne",
|
|
||||||
"createStaticAIInstance bagne",
|
|
||||||
"loadMapsFromCommon bagne_all",
|
|
||||||
};
|
|
||||||
|
|
||||||
StartCommandsWhenMirrorReadyNexus =
|
|
||||||
{
|
|
||||||
"loadContinent nexus",
|
|
||||||
"createStaticAIInstance nexus",
|
|
||||||
"loadMapsFromCommon nexus_all",
|
|
||||||
};
|
|
||||||
|
|
||||||
StartCommandsWhenMirrorReadyRouteGouffre =
|
|
||||||
{
|
|
||||||
"loadContinent route_gouffre",
|
|
||||||
"createStaticAIInstance route_gouffre",
|
|
||||||
"loadMapsFromCommon route_gouffre_all",
|
|
||||||
};
|
|
||||||
|
|
||||||
StartCommandsWhenMirrorReadySources =
|
|
||||||
{
|
|
||||||
"loadContinent sources_interdites",
|
|
||||||
"createStaticAIInstance sources",
|
|
||||||
"loadMapsFromCommon sources_all",
|
|
||||||
};
|
|
||||||
|
|
||||||
StartCommandsWhenMirrorReadyTerre =
|
|
||||||
{
|
|
||||||
"loadContinent terre_oubliee",
|
|
||||||
"createStaticAIInstance terre",
|
|
||||||
"loadMapsFromCommon terre_all",
|
|
||||||
};
|
|
||||||
|
|
||||||
// commands for Fyros Island continent
|
|
||||||
StartCommandsWhenMirrorReadyFyrosIsland =
|
|
||||||
{
|
|
||||||
"loadContinent fyros_island",
|
|
||||||
"createStaticAIInstance fyros_island",
|
|
||||||
"loadMapsFromCommon fyros_island_all",
|
|
||||||
};
|
|
||||||
|
|
||||||
// commands for Zorai Island continent
|
|
||||||
StartCommandsWhenMirrorReadyZoraiIsland =
|
|
||||||
{
|
|
||||||
"loadContinent zorai_island",
|
|
||||||
"createStaticAIInstance zorai_island",
|
|
||||||
"loadMapsFromCommon zorai_island_all",
|
|
||||||
};
|
|
||||||
|
|
||||||
// commands for Tryker Island continent
|
|
||||||
StartCommandsWhenMirrorReadyTrykerIsland =
|
|
||||||
{
|
|
||||||
"loadContinent tryker_island",
|
|
||||||
"createStaticAIInstance tryker_island",
|
|
||||||
"loadMapsFromCommon tryker_island_all",
|
|
||||||
};
|
|
||||||
|
|
||||||
// commands for Matis island continent
|
|
||||||
StartCommandsWhenMirrorReadyMatisIsland =
|
|
||||||
{
|
|
||||||
"loadContinent matis_island",
|
|
||||||
"createStaticAIInstance matis_island",
|
|
||||||
"loadMapsFromCommon matis_island_all",
|
|
||||||
};
|
|
||||||
|
|
||||||
// commands for Newbieland continent
|
|
||||||
StartCommandsWhenMirrorReadyNewbieland =
|
|
||||||
{
|
|
||||||
"loadContinent newbieland",
|
|
||||||
"createStaticAIInstance newbieland",
|
|
||||||
"loadMapsFromCommon newbieland_all",
|
|
||||||
};
|
|
||||||
|
|
||||||
// commands for Kitiniere continent
|
|
||||||
StartCommandsWhenMirrorReadyKitiniere =
|
|
||||||
{
|
|
||||||
"loadContinent kitiniere",
|
|
||||||
"createStaticAIInstance kitiniere",
|
|
||||||
"loadMapsFromCommon kitiniere_all",
|
|
||||||
};
|
|
||||||
|
|
||||||
// commands for post continents loading
|
|
||||||
StartCommandsWhenMirrorReadyPost =
|
|
||||||
{
|
|
||||||
"spawnInstances",
|
|
||||||
"updateAI",
|
|
||||||
"updateAI",
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
// commands for Ring continents
|
|
||||||
StartCommandsWhenMirrorReadyRing =
|
|
||||||
{
|
|
||||||
"loadContinent r2_desert",
|
|
||||||
"createDynamicAIInstance 10000",
|
|
||||||
"loadPrimitiveFile dummy.primitive",
|
|
||||||
|
|
||||||
// "loadContinent r2_forest",
|
|
||||||
// "createDynamicAIInstance 10001",
|
|
||||||
// "loadPrimitiveFile dummy.primitive",
|
|
||||||
|
|
||||||
// "loadContinent r2_lakes",
|
|
||||||
// "createDynamicAIInstance 10003",
|
|
||||||
// "loadPrimitiveFile dummy.primitive",
|
|
||||||
|
|
||||||
// "loadContinent r2_jungle",
|
|
||||||
// "createDynamicAIInstance 10002",
|
|
||||||
// "loadPrimitiveFile dummy.primitive",
|
|
||||||
|
|
||||||
// "loadContinent r2_roots",
|
|
||||||
// "createDynamicAIInstance 10004",
|
|
||||||
// "loadPrimitiveFile dummy.primitive",
|
|
||||||
|
|
||||||
// "spawnInstances",
|
|
||||||
"updateAI",
|
|
||||||
"updateAI",
|
|
||||||
|
|
||||||
// L5 connect to the shard unifier
|
|
||||||
"unifiedNetwork.addService ShardUnifier ( address="+SUAddress+" sendId external autoRetry )",
|
|
||||||
|
|
||||||
// Create a shard AIS Module
|
|
||||||
"moduleManager.createModule AisControl ais",
|
|
||||||
// Connect AIS
|
|
||||||
"ais.plug gw"
|
|
||||||
};
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
|
|
||||||
DontUseNS = BSDontUseNS;
|
|
||||||
NSHost = BSNSHost;
|
|
||||||
|
|
||||||
// template path from SaveShardRoot to find character saves
|
|
||||||
SaveTemplatePath = "$shard/characters/account_$userid_$charid$ext";
|
|
||||||
|
|
||||||
// character saves possible extension list
|
|
||||||
SaveExtList = "_pdr.bin _pdr.xml .bin";
|
|
@ -1,9 +0,0 @@
|
|||||||
|
|
||||||
DelayBeforeStartAct = 1;
|
|
||||||
MaxNpcs = 300;
|
|
||||||
MaxStaticObjects = 200;
|
|
||||||
|
|
||||||
StartCommands +=
|
|
||||||
{
|
|
||||||
"unifiedNetwork.addService ShardUnifier ( address="+SUAddress+" sendId external autoRetry )",
|
|
||||||
};
|
|
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue