1 //-----------------------------------------------------------------------------
3 //-----------------------------------------------------------------------------
5 // ---------------------------------
6 // shard types & exe sets
8 // mini ring -----------------------
10 define exe_set_mini_ring
22 cfg NSHost="localhost";
24 // mini mainland -------------------
26 define exe_set_mini_mainland
37 cfg NSHost="localhost";
40 // full ring -----------------------
42 define exe_set_std_ring_be
54 define exe_set_std_ring_fe
61 // full mainland -------------------
63 define exe_set_std_mainland_fe
66 use exe_set_std_mainland_fe_basics
68 define exe_set_std_mainland_fe_basics
72 define exe_set_std_mainland_be01
75 use exe_set_std_mainland_be01_basics
77 define exe_set_std_mainland_be01_basics
85 define exe_set_std_mainland_be02
88 // use exe_set_std_mainland_be02_basics
90 define exe_set_std_mainland_be02_basics
95 define exe_set_std_mainland_be03
98 use exe_set_std_mainland_be03_basics
100 define exe_set_std_mainland_be03_basics
105 // unifier and co ------------------
107 define exe_set_mini_unifier
111 define exe_set_std_unifier
116 define exe_set_std_backup_master
121 define exe_set_std_backup_slave
126 define exe_set_std_lgs_master
129 define exe_set_std_lgs_slave
133 // ---------------------------------
134 // standard data packs
145 data data_leveldesign
148 // ---------------------------------
151 // ais -----------------------------
155 cfg #include "../live/service_ai_service/ai_service.cfg"
156 cfg WriteFilesDirectory= "../live/service_ai_service/";
157 cfgAfter GraphVars += { "TickSpeedLoop", "0" };
158 cfgAfter GraphVars += { "TickSpeedLoop", "60000" };
159 cfgAfter GraphVars += { "L5CallbackCount", "0" };
160 cfgAfter GraphVars += { "L5CallbackCount", "60000" };
161 cfgAfter GraphVars += { "L5CallbackTime", "0" };
162 cfgAfter GraphVars += { "L5CallbackTime", "60000" };
163 cfgAfter GraphVars += { "MirrorCallbackCount", "0" };
164 cfgAfter GraphVars += { "MirrorCallbackCount", "60000" };
165 cfgAfter GraphVars += { "MirrorCallbackTime", "0" };
166 cfgAfter GraphVars += { "MirrorCallbackTime", "60000" };
170 cmdLine ai_service -C. -L. --nobreak --writepid -mCommon:Ring
173 // data data_r2_forest
174 // data data_r2_jungle
175 // data data_r2_lakes
176 // data data_r2_roots
180 cmdLine ai_service -C. -L. --nobreak --writepid -mCommon:Indoors:Newbieland:Post
182 data data_mainland_common_primitives
183 data data_newbieland_primitives
188 define ais_mini_mainland
190 cmdLine ai_service -C. -L. --nobreak --writepid -mCommon:Indoors:Newbieland:Post
193 define ais_newbieland
195 cmdLine ai_service -C. -L. --nobreak --writepid -mCommon:Indoors:Newbieland:Post
197 data data_mainland_common_primitives
198 data data_newbieland_primitives
203 // bms -----------------------------
207 data data_leveldesign
208 // cmdLine backup_module_service
209 // cfg #include "../live/cfg/backup_module_service.cfg"
210 cfg #include "../live/service_backup_service/backup_service.cfg"
211 // cfg #include "../live/cfg/backup_service.cfg"
212 cfg WriteFilesDirectory= "../live/service_backup_service/";
216 cmdLine backup_service -C. -L. --nobreak --writepid -P49990
217 //cfg #include "../live/cfg/backup_module_service_master.cfg"
218 cfg #include "../live/service_backup_service/backup_service.cfg"
219 cfgAfter ListeningPort = 49990;
220 cfgAfter L3ListeningPort = 49950;
221 cfgAfter WebPort = 49970;
222 cfgAfter BSReadState = 1;
223 cfgAfter SaveShardRoot = "../save_shard_bs/";
227 cmdLine backup_service -C. -L. --nobreak --writepid -P49994
228 //cfg #include "../live/cfg/backup_module_service_master.cfg"
229 cfg #include "../live/service_backup_service/backup_service.cfg"
230 cfgAfter ListeningPort = 49994;
231 cfgAfter L3ListeningPort = 49954;
232 cfgAfter WebPort = 49974;
233 cfgAfter BSReadState = 1;
234 cfgAfter SaveShardRoot = "../save_shard_bs/";
238 cmdLine backup_service -C. -L. --nobreak --writepid -P49991
239 //cfg #include "../live/cfg/backup_module_service_slave.cfg"
240 cfg #include "../live/service_backup_service/backup_service.cfg"
241 cfgAfter ListeningPort = 49991;
242 cfgAfter L3ListeningPort = 49951;
243 cfgAfter WebPort = 49971;
244 cfgAfter BSReadState = 0;
245 cfgAfter SaveShardRoot = "../save_shard_bs/";
249 cmdLine backup_service -C. -L. --nobreak --writepid -P49992
250 //cfg #include "../live/cfg/backup_module_service_master.cfg"
251 cfg #include "../live/service_backup_service/backup_service.cfg"
252 cfgAfter ListeningPort = 49992;
253 cfgAfter L3ListeningPort = 49952;
254 cfgAfter WebPort = 49972;
255 cfgAfter BSReadState = 1;
256 cfgAfter SaveShardRoot = "../save_shard_pd/";
260 cmdLine backup_service -C. -L. --nobreak --writepid -P49993
261 //cfg #include "../live/cfg/backup_module_service_slave.cfg"
262 cfg #include "../live/service_backup_service/backup_service.cfg"
263 cfgAfter ListeningPort = 49993;
264 cfgAfter L3ListeningPort = 49953;
265 cfgAfter WebPort = 49973;
266 cfgAfter BSReadState = 0;
267 cfgAfter SaveShardRoot = "../save_shard_pd/";
271 cmdLine backup_service -C. -L. --nobreak --writepid -P49994
272 //cfg #include "../live/cfg/backup_module_service_master.cfg"
273 cfg #include "../live/service_backup_service/backup_service.cfg"
274 cfgAfter ListeningPort = 49994;
275 cfgAfter L3ListeningPort = 49995;
276 cfgAfter WebPort = 49972;
277 cfgAfter BSReadState = 1;
278 cfgAfter SaveShardRoot = "../save_shard_lgs/";
279 cfgAfter UseTempFile = 0;
281 // lgs -----------------------------
284 data data_leveldesign
286 cmdLine logger_service -C. -L. --nobreak --writepid
287 cfg #include "../live/cfg/logger_service.cfg"
289 cfg LogQueryResultFile = "log_query_result.txt";
290 cfg SaveFilesDirectory = "save_shard/";
291 cfg BSHost = LGSBSHost+":"+LGSBSPort;
292 cfg L3BSPort = LGSBSPort;
295 cfgAfter StartCommands +=
297 cfgAfter "moduleManager.createModule LoggerService ls",
298 cfgAfter "moduleManager.createModule StandardGateway lgs_gw",
299 cfgAfter "ls.plug lgs_gw",
300 cfgAfter "lgs_gw.transportAdd L3Server l3s",
301 cfgAfter "lgs_gw.transportOptions l3s(PeerInvisible)",
302 cfgAfter "lgs_gw.transportCmd l3s(open port="+ LGSL3Port +")",
304 cfgAfter SaveShardRoot = "../save_shard_lgs/";
305 cfgAfter SaveFilesDirectory = "../save_shard_lgs/";
309 cfg LGSL3Port = L3MasterLGSPort;
314 cfg LGSL3Port = L3SlaveLGSPort;
317 // dss -----------------------------
321 cmdLine dynamic_scenario_service -C. -L. --nobreak --writepid
322 cfg #include "../live/service_dynamic_scenario_service/dynamic_scenario_service.cfg"
323 cfg WriteFilesDirectory="../live/service_dynamic_scenario_service/";
325 //define dss_mainland
327 // cfg #include "../live/cfg/dynamic_scenario_service_mainland.cfg"
331 // cfg #include "../live/cfg/dynamic_scenario_service_ring.cfg"
334 // egs -----------------------------
338 cmdLine entities_game_service -C. -L. --nobreak --writepid
340 cfg #include "../live/service_entities_game_service/entities_game_service.cfg"
341 cfg PathsNoRecurse= {"."};
342 cfg WriteFilesDirectory="../live/service_entities_game_service/";
343 cfg NeverAggroPriv = ":OBSERVER:G:SG:GM:SGM:EM:";
344 cfg AlwaysInvisiblePriv = ":OBSERVER:EM:";
345 cfg TimeBeforeDisconnection = 300;
347 cfgAfter StartCommands += {
348 cfgAfter "moduleManager.createModule AnimSessionManager asm",
349 cfgAfter "asm.plug gw",
351 cfgAfter GraphVars += { "NbPlayers", "60000" };
352 cfgAfter GraphVars += { "CharacterLoadPerTick", "0" };
353 cfgAfter GraphVars += { "CharacterLoadPerTick", "60000" };
354 cfgAfter GraphVars += { "CharacterSavePerTick", "0" };
355 cfgAfter GraphVars += { "CharacterSavePerTick", "60000" };
356 cfgAfter GraphVars += { "TickSpeedLoop", "0" };
357 cfgAfter GraphVars += { "TickSpeedLoop", "60000" };
358 cfgAfter GraphVars += { "L5CallbackCount", "0" };
359 cfgAfter GraphVars += { "L5CallbackCount", "60000" };
360 cfgAfter GraphVars += { "L5CallbackTime", "0" };
361 cfgAfter GraphVars += { "L5CallbackTime", "60000" };
362 cfgAfter GraphVars += { "MirrorCallbackCount", "0" };
363 cfgAfter GraphVars += { "MirrorCallbackCount", "60000" };
364 cfgAfter GraphVars += { "MirrorCallbackTime", "0" };
365 cfgAfter GraphVars += { "MirrorCallbackTime", "60000" };
366 cfgAfter RingRPXPRequiredPerAction=700;
367 cfgAfter RingRPXPRequiredPerTimeSlice=700;
372 data data_mainland_common_primitives
373 data data_newbieland_primitives
376 //cfg #include "../live/cfg/entities_game_service_mainland.cfg"
377 cfgAfter MaxXPGainPerPlayer = 30.0;
378 cfgAfter DeathXPFactor = 0.1;
379 cfgAfter CachePrims = 1;
380 cfgAfter CorrectInvalidPlayerPositions = 1;
384 data data_mainland_common_primitives
385 // data data_newbieland_primitives
386 // data data_newbieland
388 //cfg #include "../live/cfg/entities_game_service_ring.cfg" // care
391 cfg "r2_desert", "10000",
392 // cfg "r2_forest", "10001",
393 // cfg "r2_jungle", "10002",
394 // cfg "r2_lakes", "10003",
395 // cfg "r2_roots", "10004",
397 cfgAfter MaxXPGainPerPlayer = 30.0;
398 cfgAfter DeathXPFactor = 0.0;
399 cfgAfter CachePrims = 1;
400 cfgAfter CorrectInvalidPlayerPositions = 0;
401 cfgAfter RingRPEnabled = 0;
404 // fes -----------------------------
408 cmdLine frontend_service -C. -L. --nobreak --writepid
409 cfg #include "../live/service_frontend_service/frontend_service.cfg"
410 cfg WriteFilesDirectory="../live/service_frontend_service/";
411 cfgAfter GraphVars += { "TickSpeedLoop", "0" };
412 cfgAfter GraphVars += { "TickSpeedLoop", "60000" };
413 cfgAfter GraphVars += { "L5CallbackCount", "0" };
414 cfgAfter GraphVars += { "L5CallbackCount", "60000" };
415 cfgAfter GraphVars += { "L5CallbackTime", "0" };
416 cfgAfter GraphVars += { "L5CallbackTime", "60000" };
417 cfgAfter GraphVars += { "MirrorCallbackCount", "0" };
418 cfgAfter GraphVars += { "MirrorCallbackCount", "60000" };
419 cfgAfter GraphVars += { "MirrorCallbackTime", "0" };
420 cfgAfter GraphVars += { "MirrorCallbackTime", "60000" };
425 cfg FSUDPPort = 47860;
427 define fes_std_pair01
430 cfg FSUDPPort = 47851;
432 define fes_std_pair02
435 cfg FSUDPPort = 47852;
437 define fes_std_pair03
440 cfg FSUDPPort = 47853;
442 define fes_std_pair04
445 cfg FSUDPPort = 47854;
448 // gpms ----------------------------
452 cmdLine gpm_service -C. -L. --nobreak --writepid
454 cfg #include "../live/service_gpm_service/gpm_service.cfg"
455 cfg WriteFilesDirectory="../live/service_gpm_service/";
456 cfgAfter GraphVars += { "TickSpeedLoop", "0" };
457 cfgAfter GraphVars += { "TickSpeedLoop", "60000" };
458 cfgAfter GraphVars += { "L5CallbackCount", "0" };
459 cfgAfter GraphVars += { "L5CallbackCount", "60000" };
460 cfgAfter GraphVars += { "L5CallbackTime", "0" };
461 cfgAfter GraphVars += { "L5CallbackTime", "60000" };
462 cfgAfter GraphVars += { "MirrorCallbackCount", "0" };
463 cfgAfter GraphVars += { "MirrorCallbackCount", "60000" };
464 cfgAfter GraphVars += { "MirrorCallbackTime", "0" };
465 cfgAfter GraphVars += { "MirrorCallbackTime", "60000" };
471 //cfg #include "../live/cfg/gpm_service_mainland.cfg"
476 // data data_r2_forest
477 // data data_r2_jungle
478 // data data_r2_lakes
479 // data data_r2_roots
480 //cfg #include "../live/cfg/gpm_service_ring.cfg"
483 // pdss ----------------------------
488 data data_leveldesign
489 cmdLine pd_support_service -C. -L. --nobreak --writepid
491 cfg NSHost="localhost";
495 cfg "system /srv/core/bin/hourly_script.sh",
500 cfg "system /srv/core/bin/daily_script.sh",
503 cfg "fdcCacheAddFileSpecRecurse /srv/core/save_shard_backups/latest/characters/account_*_?_pdr.bin",
505 cfg "JobUpdatesPerUpdate 10",
508 cfg InputFileDirectory="/srv/core/save_shard_backups/latest/characters/";
509 cfg OutputFileDirectory="../stats/";
510 cfg ScriptDirectory="../live/service_pd_support_service/scripts/";
516 // ios -----------------------------
520 cmdLine input_output_service -C. -L. --nobreak --writepid
522 cfg #include "../live/service_input_output_service/input_output_service.cfg"
523 cfg WriteFilesDirectory="../live/service_input_output_service/";
524 cfgAfter VerboseStringManager = 0;
525 cfgAfter VerboseStringManagerParser = 0;
526 cfgAfter VerboseChat = 0;
527 cfgAfter VerboseChatManagement = 0;
528 cfgAfter VerboseNameTranslation = 0;
529 cfgAfter // Create a char name mapper
530 cfgAfter StartCommands +=
532 cfgAfter "moduleManager.createModule CharNameMapper cnm",
533 cfgAfter "cnm.plug gw",
534 cfgAfter "moduleManager.createModule IOSRingModule iosrm",
535 cfgAfter "iosrm.plug gw",
541 //cfg #include "../live/cfg/input_output_service_mainland.cfg"
545 //cfg #include "../live/cfg/input_output_service_ring.cfg"
548 // las -----------------------------
552 cmdLine log_analyser_service -C. -L. --nobreak --writepid
553 cfg #include "../live/service_log_analyser_service/log_analyser_service.cfg"
554 cfg WriteFilesDirectory="../";
557 // mfs -----------------------------
561 cmdLine mail_forum_service -C. -L. --nobreak --writepid
563 cfg #include "../live/service_mail_forum_service/mail_forum_service.cfg"
564 cfg WriteFilesDirectory="../live/service_mail_forum_service/";
570 // mos -----------------------------
574 cmdLine monitor_service -C. -L. --nobreak --writepid
575 cfg #include "../live/service_monitor_service/monitor_service.cfg"
576 cfg WriteFilesDirectory="../live/service_monitor_service/";
579 // ms ------------------------------
583 cmdLine mirror_service -C. -L. --nobreak --writepid
584 cfg #include "../live/service_mirror_service/mirror_service.cfg"
585 cfg WriteFilesDirectory="../live/service_mirror_service/";
586 cfgAfter GraphVars += { "UserSpeedLoop", "0" };
587 cfgAfter GraphVars += { "UserSpeedLoop", "60000" };
588 cfgAfter GraphVars += { "L5CallbackCount", "0" };
589 cfgAfter GraphVars += { "L5CallbackCount", "60000" };
590 cfgAfter GraphVars += { "L5CallbackTime", "0" };
591 cfgAfter GraphVars += { "L5CallbackTime", "60000" };
596 define ms_mini_mainland
602 define ms_std_mainland
606 // raes -----------------------------
610 data service_ryzom_admin_service
613 // ras -----------------------------
618 cmdLine ryzom_admin_service --fulladminname=ryzom_admin_service --shortadminname=AS -C. -L. --nobreak --writepid
619 cfg #include "../live/service_ryzom_admin_service/ryzom_as.cfg"
620 cfg WriteFilesDirectory="../";
623 // rns ------------------------------
627 cmdLine ryzom_naming_service -C. -L. --nobreak --writepid
628 cfg #include "../live/service_ryzom_naming_service/naming_service.cfg"
629 cfg WriteFilesDirectory="../live/service_ryzom_naming_service/";
638 // rws ------------------------------
642 cmdLine ryzom_welcome_service -C. -L. --nobreak --writepid
643 cfg #include "../live/service_ryzom_welcome_service/welcome_service.cfg"
644 cfg WriteFilesDirectory="../live/service_ryzom_welcome_service/";
649 // sbs ------------------------------
653 cmdLine session_browser_server -C. -L. --nobreak --writepid
654 cfg SBSPort = FSUDPPort+1000;
655 cfg WriteFilesDirectory="../live/service_session_browser_server/";
659 cfg "moduleManager.createModule SessionBrowserServerMod sbs suAddr="+SUHost+":49999 listenPort="+SBSPort+" ring_db(host="+DBHost+" user="+DBRingUser+" password="+DBRingPass+" base="+DBRingName+")",
662 cfgAfter GraphVars += { "NetSpeedLoop", "0" };
663 cfgAfter GraphVars += { "NetSpeedLoop", "60000" };
664 cfgAfter GraphVars += { "L5CallbackCount", "0" };
665 cfgAfter GraphVars += { "L5CallbackCount", "60000" };
666 cfgAfter GraphVars += { "L5CallbackTime", "0" };
667 cfgAfter GraphVars += { "L5CallbackTime", "60000" };
673 // su ------------------------------
677 cmdLine shard_unifier_service -C. -L. --nobreak --writepid
679 cfg #include "../live/service_shard_unifier_service/shard_unifier_service.cfg"
680 cfg WriteFilesDirectory="../live/service_shard_unifier_service/";
681 cfgAfter // Create a command executor
682 cfgAfter StartCommands +=
684 cfgAfter "moduleManager.createModule CommandExecutor ce",
685 cfgAfter "ce.plug gw",
686 // cfgAfter "addNegativeFilterDebug NOPE",
688 cfgAfter GraphVars += { "TotalConcurentUser", "60000" };
689 cfgAfter GraphVars += { "NetSpeedLoop", "0" };
690 cfgAfter GraphVars += { "NetSpeedLoop", "60000" };
691 cfgAfter GraphVars += { "L5CallbackCount", "0" };
692 cfgAfter GraphVars += { "L5CallbackCount", "60000" };
693 cfgAfter GraphVars += { "L5CallbackTime", "0" };
694 cfgAfter GraphVars += { "L5CallbackTime", "60000" };
704 // ts ------------------------------
708 cmdLine tick_service -C. -L. --nobreak --writepid
709 cfg #include "../live/service_tick_service/tick_service.cfg"
710 cfg WriteFilesDirectory="../live/service_tick_service/";