Merge branch 'core4' into feature/core4-atys

feature/core4-atys
kaetemi 3 years ago
commit ec42a95484
No known key found for this signature in database
GPG Key ID: 9873C4D40BB479BC

18
.gitattributes vendored

@ -0,0 +1,18 @@
*.cpp ident
*.h ident
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.c text
*.h text
*.cs text
*.jade text
*.json text
*.js text
*.css text
*.htm text
*.txt text
*.sh text eol=lf

@ -612,7 +612,7 @@ void initAdmin (bool dontUseAES)
{
CUnifiedNetwork::getInstance()->setServiceUpCallback ("AES", cbAESConnection, NULL);
CUnifiedNetwork::getInstance()->setServiceDownCallback ("AES", cbAESDisconnection, NULL);
CUnifiedNetwork::getInstance()->addService ("AES", CInetAddress("localhost:49997"));
CUnifiedNetwork::getInstance()->addService ("AES", CInetAddress("localhost:43997"));
}
CUnifiedNetwork::getInstance()->addCallbackArray (CallbackArray, sizeof(CallbackArray)/sizeof(CallbackArray[0]));
}

@ -141,7 +141,7 @@ string CLoginClient::authenticateBegin(const string &loginServiceAddr, const ucs
string addr = loginServiceAddr;
if(addr.find(":") == string::npos)
addr += ":49997";
addr += ":43997";
if(_LSCallbackClient->connected())
_LSCallbackClient->disconnect();
_LSCallbackClient->connect (CInetAddress(addr));

@ -250,13 +250,19 @@ if not args.noconf:
DummyUnknownName
LinuxServiceExecutableDirectory
except NameError:
LinuxServiceExecutableDirectory = "R:/build/gcc_server/bin"
LinuxServiceExecutableDirectory = "R:/build/server_gcc/bin"
try:
if args.preset:
DummyUnknownName
LinuxClientExecutableDirectory
except NameError:
LinuxClientExecutableDirectory = "R:/build/gcc_client/bin"
LinuxClientExecutableDirectory = "R:/build/client_gcc/bin"
try:
if args.preset:
DummyUnknownName
PatchmanDevDirectory
except NameError:
PatchmanDevDirectory = "R:/patchman/terminal_dev"
try:
if args.preset:
DummyUnknownName
@ -358,6 +364,7 @@ if not args.noconf:
WindowsExeDllCfgDirectories[6] = askVar(log, "[IN] Septenary Windows exe/dll/cfg Directory", WindowsExeDllCfgDirectories[6]).replace("\\", "/")
LinuxServiceExecutableDirectory = askVar(log, "[IN] Linux Service Executable Directory", LinuxServiceExecutableDirectory).replace("\\", "/")
LinuxClientExecutableDirectory = askVar(log, "[IN] Linux Client Executable Directory", LinuxClientExecutableDirectory).replace("\\", "/")
PatchmanDevDirectory = askVar(log, "[IN] Patchman Directory", PatchmanDevDirectory).replace("\\", "/")
PatchmanCfgAdminDirectory = askVar(log, "[IN] Patchman Cfg Admin Directory", PatchmanCfgAdminDirectory).replace("\\", "/")
PatchmanCfgDefaultDirectory = askVar(log, "[IN] Patchman Cfg Default Directory", PatchmanCfgDefaultDirectory).replace("\\", "/")
PatchmanBridgeServerDirectory = askVar(log, "[OUT] Patchman Bridge Server Patch Directory", PatchmanBridgeServerDirectory).replace("\\", "/")
@ -453,6 +460,7 @@ if not args.noconf:
sf.write("WindowsExeDllCfgDirectories = " + str(WindowsExeDllCfgDirectories) + "\n")
sf.write("LinuxServiceExecutableDirectory = \"" + str(LinuxServiceExecutableDirectory) + "\"\n")
sf.write("LinuxClientExecutableDirectory = \"" + str(LinuxClientExecutableDirectory) + "\"\n")
sf.write("PatchmanDevDirectory = \"" + str(PatchmanDevDirectory) + "\"\n")
sf.write("PatchmanCfgAdminDirectory = \"" + str(PatchmanCfgAdminDirectory) + "\"\n")
sf.write("PatchmanCfgDefaultDirectory = \"" + str(PatchmanCfgDefaultDirectory) + "\"\n")
sf.write("PatchmanBridgeServerDirectory = \"" + str(PatchmanBridgeServerDirectory) + "\"\n")
@ -577,6 +585,7 @@ if not args.noverify:
findTool(log, ToolDirectories, TranslationToolsTool, ToolSuffix)
findTool(log, ToolDirectories, BuildWorldPackedColTool, ToolSuffix)
findTool(log, ToolDirectories, R2IslandsTexturesTool, ToolSuffix)
findTool(log, ToolDirectories, PatchmanServiceTool, ToolSuffix)
log.close()
if os.path.isfile("0_setup.log"):

@ -92,8 +92,13 @@ for category in InstallClientData:
for package in category["Packages"]:
printLog(log, "PACKAGE " + package[0])
mkPath(log, InstallDirectory + "/" + package[0])
copyFilesNoTreeIfNeeded(log, InstallDirectory + "/" + package[0], targetPath)
copyFilesNoTreeIfNeeded(log, InstallDirectory + "/" + package[0], targetPathLive)
if "exedll" in package[0]:
if package[0] == "exedll": # or package[0] == platformExeDll # TODO: 64-bit and Linux separation of exedll, only include one
copyFileIfNeeded(log, InstallDirectory + "/" + package[0] + "/client_default.cfg", targetPath)
copyFileIfNeeded(log, InstallDirectory + "/" + package[0] + "/client_default.cfg", targetPathLive)
else:
copyFilesNoTreeIfNeeded(log, InstallDirectory + "/" + package[0], targetPath)
copyFilesNoTreeIfNeeded(log, InstallDirectory + "/" + package[0], targetPathLive)
printLog(log, "")
log.close()

@ -0,0 +1,127 @@
#!/usr/bin/python
#
# \file b2_shard_data.py
# \brief Install shard data
# \date 2009-02-18 16:19GMT
# \author Jan Boon (Kaetemi)
# Python port of game data build pipeline.
# Install shard data
#
# NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
# Copyright (C) 2009-2014 by authors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
import time, sys, os, shutil, subprocess, distutils.dir_util
sys.path.append("configuration")
if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite_local import *
from tools import *
sys.path.append(WorkspaceDirectory)
from projects import *
# Log error
printLog(log, "")
printLog(log, "-------")
printLog(log, "--- Install to shard dev")
printLog(log, "-------")
printLog(log, time.strftime("%Y-%m-%d %H:%MGMT", time.gmtime(time.time())))
printLog(log, "")
# Find tools
PatchmanService = findTool(log, ToolDirectories, PatchmanServiceTool, ToolSuffix)
printLog(log, "")
mkPath(log, ShardDevDirectory)
mkPath(log, ShardDevDirectory + "/local")
printLog(log, ">>> Generate shard dev local.cfg <<<")
cfg = open(ShardDevDirectory + "/local.cfg", "w")
cfg.write("WindowStyle = \"WIN\";\n")
cfg.write("Paths += {\n")
cfg.write(" \"" + ShardDevDirectory + "/local\",\n")
cfg.write(" \"" + DataCommonDirectory + "\",\n")
cfg.write(" \"" + DataShardDirectory + "\",\n")
cfg.write(" \"" + LeveldesignDirectory + "\",\n")
cfg.write(" \"" + WorldEditorFilesDirectory + "\",\n")
for dir in InstallShardDataDirectories:
mkPath(log, ShardInstallDirectory + "/" + dir)
cfg.write(" \"" + ShardInstallDirectory + "/" + dir + "\",\n")
for multiDir in InstallShardDataMultiDirectories:
dstDir = multiDir[0]
mkPath(log, ShardInstallDirectory + "/" + dstDir)
cfg.write(" \"" + ShardInstallDirectory + "/" + dstDir + "\",\n")
cfg.write("};\n")
cfg.write("StartCommands += {\n")
cfg.write(" // Don't launch AES on development shard for now\n")
cfg.write(" \"gw_aes.transportRemove aes_l3c\",\n")
cfg.write("};\n")
cfg.write("DontNeedBackend = 1;\n")
cfg.flush()
cfg.close()
printLog(log, "")
for execDir in InstallShardDataExecutables:
dstDir = execDir[0]
mkPath(log, PatchmanCfgDefaultDirectory)
mkPath(log, InstallDirectory)
mkPath(log, ShardDevDirectory + "/live/" + dstDir)
printLog(log, "SHARD PACKAGE " + dstDir)
copyFileListNoTreeIfNeeded(log, PatchmanCfgDefaultDirectory, ShardDevDirectory + "/live/" + dstDir, execDir[2])
copyFileListNoTreeIfNeeded(log, InstallDirectory, ShardDevDirectory + "/live/" + dstDir, execDir[3])
for cfgName in execDir[2]:
cfgPath = ShardDevDirectory + "/live/" + dstDir + "/" + cfgName
found = False
with open(cfgPath, "r") as f:
for l in f:
if "Paths += {" in l:
found = True
if not found:
with open(cfgPath, "a") as cfg:
cfg.write("\n")
cfg.write("Paths += {\n")
cfg.write(" \"" + ShardDevDirectory + "/live/" + dstDir + "\",\n")
cfg.write("};\n")
cfg.write("\n")
cfg.flush()
printLog(log, "")
if PatchmanService == "":
toolLogFail(log, PatchmanServiceTool, ToolSuffix)
else:
mkPath(log, PatchmanDevDirectory)
cwDir = os.getcwd().replace("\\", "/")
os.chdir(PatchmanDevDirectory)
if os.path.isfile("log.log"):
os.remove("log.log")
subprocess.call([ PatchmanService, "-C.", "-L." ])
if os.path.isfile("log.log"):
f = open("log.log", "r")
for l in f:
printLog(log, l.rstrip())
f.close()
os.chdir(cwDir)
printLog(log, "")
log.close()
if os.path.isfile("b3_shard_dev.log"):
os.remove("b3_shard_dev.log")
shutil.copy("log.log", time.strftime("%Y-%m-%d-%H-%M-GMT", time.gmtime(time.time())) + "_shard_dev.log")
shutil.move("log.log", "b3_shard_dev.log")

@ -98,4 +98,5 @@ PatchGenTool = "patch_gen"
TranslationToolsTool = "translation_tools"
BuildWorldPackedColTool = "build_world_packed_col"
R2IslandsTexturesTool = "r2_islands_textures"
PatchmanServiceTool = "ryzom_patchman_service"
SevenZipTool = "7za"

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -30,7 +30,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -31,7 +31,7 @@ if os.path.isfile("log.log"):
os.remove("log.log")
log = open("log.log", "w")
from scripts import *
from buildsite import *
from buildsite_local import *
from process import *
from tools import *
from directories import *

@ -0,0 +1,147 @@
html {
background-color: rgba(0, 0, 0, 1.0);
color: rgba(210, 210, 210, 1.0);
font-size: 12px;
font-style: normal;
font-weight: normal;
text-shadow: none;
}
address, article, aside, blockquote, details, dialog, dd, div, dl, dt,
fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6,
header, hgroup, hr, li, main, nav, ol, p, pre, section, table, ul {
display: block;
}
table {
display: table;
}
input,. table, tr, td, th, textarea {
color: inherit;
font-weight: inherit;
font-style: inherit;
font-size: inherit;
text-shadow: inherit;
}
input, textarea {
text-shadow: 1px 1px #000;
}
a {
color: rgba(240, 155, 100, 1.0);
text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
color: rgba(255, 255, 255, 1.0);
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.5em;
}
h3 {
font-size: 1.17em;
}
h4 {
font-size: 1.0em;
}
h5 {
font-size: 0.83em;
}
h6 {
font-size: 0.67em;
}
pre {
font-family: monospace;
}
/* th { text-align:center; } overrides <td align=".."> property */
th {
font-weight: bold;
}
del {
text-decoration: line-through;
}
u {
text-decoration: underline;
}
em {
font-style: italic;
}
strong {
font-weight: bold;
}
small {
font-size: smaller;
}
dt {
font-weight: bold;
}
hr {
color: rgb(120, 120, 120);
}
/* td { padding: 1px; } overrides <td cellpadding=".."> attribute */
/* table { border-spacing: 2px; } overrides <td cellspacing=".."> attribute */
table {
border-collapse: separate;
}
meter::-webkit-meter-bar,
meter::-webkit-optimum-value,
meter::-webkit-suboptimum-value,
meter::-webkit-even-less-good-value {
background: none;
}
meter::-webkit-meter-bar {
background-color: rgb(100, 100, 100);
width: 5em;
height: 1em;
}
meter::-webkit-meter-optimum-value {
background-color: rgb(80, 220, 80);
}
meter::-webkit-meter-suboptimum-value {
background-color: rgb(220, 220, 80);
}
meter::-webkit-meter-even-less-good-value {
background-color: rgb(220, 80, 80);
}
progress::-webkit-progress-bar,
progress::-webkit-progress-value {
background: none;
}
progress::-webkit-progress-bar {
background-color: rgb(230, 230, 230);
width: 10em;
height: 1em;
}
progress::-webkit-progress-value {
background-color: rgb(0, 100, 180);
}

@ -31,22 +31,31 @@
<!-- BACKGROUND -->
<view type="bitmap" posref="TL TL" id="bl" texture="launcher_bg.tga" global_color="false" render_layer="-1" />
<!--
<instance template="log_box" id="window" y="-8" posref="MM MM" w="1024" h="768" color="0 0 0 0"/>
-->
<!--
<view type="bitmap" posref="MM MM" id="log" texture="launcher_log.tga" global_color="false" render_layer="-1" />
-->
<!--
<view type="bitmap" id="jena" posparent="window" posref="MR MR" x="-64" texture="log_jena.tga" global_color="false" render_layer="-1" />
-->
<!-- Login Edit_Boxes -->
<!--
<view type="text" id="txt_log" x="0" posref="TM TM" posparent="window" hardtext="uiLogin" fontsize="10" y="-200" color="255 255 255 255" />
<view type="text" id="txt_pas" posparent="txt_log" posref="TM TM" hardtext="uiPassword" fontsize="10" y="-48" color="255 255 255 255" />
-->
<instance template="edit_box_log" id="eb_login" posparent="txt_log" posref="BM TM" w="240" h="26" fontsize="12" x="0" y="-4"
text_ref="BM BM" text_y="0"
reset_focus_on_hide="false" max_historic="0"
onenter="set_keyboard_focus" params="target=ui:login:checkpass:content:submit_gr:eb_password:eb|select_all=false"
prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="20" color="135 243 28 255" />
<instance template="edit_box_log" id="eb_password" posparent="txt_pas" posref="BM TM" w="240" h="26" fontsize="12" x="0" y="-4"
text_ref="BM BM" text_y="0"
reset_focus_on_hide="false" max_historic="0" entry_type="password"
onenter="on_login" params=""
prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="60" color="135 243 28 255" />
<!--
<view type="text" id="tit_login" posparent="log" posref="TL BL" hardtext="uiLogin" fontsize="24" x="62" y="-166" color="208 212 182 255" />
<instance template="edit_box_widget_2" id="eb_login" posparent="log" posref="TM BM" w="292" h="48" fontsize="26" x="-4" y="-229"
@ -62,46 +71,37 @@
reset_focus_on_hide="false" max_historic="0" entry_type="password"
onenter="on_login" params=""
prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="20" color="135 243 28 255" />
-->
<!--
<ctrl style="log_std_but" id="but_log" posparent="eb_password" posref="TM TM" y="-32" onclick_l="on_login" hardtext="uiOnConnect" />
-->
<!--
<ctrl type="button" button_type="push_button" id="but_log" posref="BR BR" x="-304" y="157"
tx_normal="log_over.tga" tx_over="log_over.tga" tx_pushed="log_over.tga"
color="255 255 255 0" col_over="255 255 255 255" col_pushed="255 255 255 0"
onclick_l="on_login" render_layer="-1" />
<view type="text" id="txt_log" posparent="but_log" posref="MM MM" hardtext="uiOnLogin" shadow="true" fontsize="16" y="0" color="208 212 182 255" />
-->
<!-- Boxes Web Shortcuts
<instance template="server_box" id="web_win" posparent="eb_login" posref="BL TL" w="568" h="202" y="-24" /> -->
<!-- Create Account -->
<!--
<ctrl style="log_std_but" id="but_create_account" posparent="but_log" posref="BM TM" y="-28"
onclick_l="on_create_account" hardtext="uiCreateAccount" />
-->
<!-- Edit Account -->
<!--
<ctrl style="log_std_but" id="but_edit_account" posparent="but_create_account" posref="BM TM" y="-8"
onclick_l="open_url" params_l="cfg_EditAccountURL" hardtext="uiEditAccount" />
-->
<!-- Upgrade Account -->
<!-- <ctrl style="log_std_but" id="but_upgrade_account" posparent="but_create_account" posref="BM TM" y="-8"
onclick_l="open_url" params_l="cfg_EditAccountURL" hardtext="uiUpgradeAccount" /> -->
<!-- Forget Password -->
<!--
<ctrl style="log_std_but" id="but_forget_pwd" posparent="but_edit_account" posref="BM TM" y="-8"
onclick_l="open_url" params_l="cfg_ForgetPwdURL" hardtext="uiForgetPwd" />
-->
<!-- Free Trial
<ctrl style="log_spe_but" id="but_free_trial" posparent="but_forget_pwd" posref="BL TL" y="-8"
@ -109,11 +109,8 @@
-->
<!-- Login Support -->
<!--
<ctrl style="log_std_but" id="but_login_support" posparent="but_forget_pwd" posref="BM TM" y="-8"
onclick_l="open_url" params_l="cfg_LoginSupportURL" hardtext="uiLoginSupport" />
-->
<!-- Scan Data -->
<!--
<ctrl style="log_spe_but" id="but_scan_data" posparent="but_login_support" posref="BL TL" y="-8"
@ -138,22 +135,25 @@
<!-- RESOLUTION ET LEVEL OF DETAILS -->
<instance template="server_box" id="res_win" posparent="window" posref="TL TL" w="276" h="24" y="-733" x="10"/>
<instance template="server_box" id="lod_win" posparent="res_win" posref="TR TL" w="276" h="24" x="16" />
<instance template="server_box" id="ver_win" posparent="lod_win" posref="TR TL" w="276" h="24" x="26" />
<!-- Game Configuration -->
<!-- <ctrl style="log_std_but" id="but_game_configuration" posparent="lod_win" posref="TR TL" x="26" onclick_l="on_game_configuration" hardtext="uiGameConfiguration" /> -->
<!-- EXIT BUTTON -->
<!--
<ctrl style="log_button" id="but_exit" posparent="windows" posref="BR BR" y="6" onclick_l="login_quit" hardtext="uiExitLogin" />
-->
<!--
<ctrl type="button" button_type="push_button" id="but_quit" posref="TR TR" x="-30" y="-30"
tx_normal="quit_over.tga" tx_over="quit_over.tga" tx_pushed="quit_over.tga"
color="255 255 255 0" col_over="255 255 255 255" col_pushed="255 255 255 0"
onclick_l="login_quit" />
-->
<!-- Textes -->
<view type="text" id="title_res" posparent="res_win" posref="TL BL" y="2" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiLOGResolution" />
<view type="text" id="title_lod" posparent="lod_win" posref="TL BL" y="2" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiLOGLod" />
<view type="text" id="title_ver" posparent="ver_win" posref="TL BL" y="2" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiClientVersion" />
<view type="text" id="res_value" posparent="res_win" posref="MM MM" y="0" color="135 243 28 255" fontsize="10" shadow="true" hardtext="uiResValue" />
<view type="text" id="lod_value" posparent="lod_win" posref="MM MM" y="0" color="135 243 28 255" fontsize="10" shadow="true" hardtext="uiLodValue" />
<view type="text" id="ver_value" posparent="ver_win" posref="MM MM" y="0" color="135 243 28 255" fontsize="10" shadow="true" hardtext="" />
<!-- Boutons Res -->
@ -296,7 +296,7 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
checkbox_bitmap_pushed=""
checkbox_bitmap_over=""
background_bitmap_view=""
home="release.html"
home=""
browse_next_time="true"
form_text_area_group="edit_box_widget_multiline"
>
@ -512,7 +512,7 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
checkbox_bitmap_pushed=""
checkbox_bitmap_over=""
background_bitmap_view=""
home="release.html"
home=""
browse_next_time="true"
form_text_area_group="edit_box_widget_multiline"
>

@ -185,6 +185,9 @@
<ctrl style="new_element_header" id="add_button" posref="MR MR" x="-16" y="0" wmargin="8" hardtext="uittNewKeyShortcut"
onclick_l="keys_new" />
<ctrl style="new_element_header" id="save_button" posparent="add_button" posref="ML MR" x="-4" y="0" wmargin="8" hardtext="uiSaveUI"
onclick_l="save_ui" />
</group>
<group id="content" x="0" y="0" w="0" child_resize_h="true" child_resize_hmargin="0" posref="TL TL" >

@ -696,15 +696,10 @@
onclick_l="leave_modal" />
</group>
<!-- Web box
<group id="webstart" posref="BR BR" w="200" h="200" active="true" >
<group id="content" x="0" y="0" w="200" h="200" posref="TL TL" >
<group type="html" id="webstart_html" posref="TL TL"
<group id="webstart" posref="BR BR" w="100" h="60" active="true" >
<group id="content" x="0" y="0" w="100" h="60" posref="MM MM" >
<group id="webstart_html" type="html" posref="MM MM"
url=""
title_prefix="uiQuickhelpTitle"
sizeref="wh" x="0" y="0" w="-40" h="-40"

@ -376,6 +376,24 @@ function game:bonusMalusSetText(ui, slot, fmt)
end
end
------------------------------------------------------------------------------------------------------------
-- Called from c++ to format icon regen timer text
-- timer: number, ie 123, -123
-- dbPath: UI:VARIABLES:BONUS:0
--
-- Activate it in "bonuses" and/or "maluses" xml group.
-- If using color tags, then also set both colors to white
-- regen_text_fct="lua:game:formatRegenTimer"
-- regen_text_color="255 255 255"
-- regen_text_disabled_color="255 255 255"
function game:formatRegenTimer(timer, dbPath)
if timer > 60 then
return string.format("%dm", timer / 60);
else
return string.format("%ds", timer);
end
end
------------------------------------------------------------------------------------------------------------
-- From given DB vals, compute the 'Xp Bonus' text info
function game:updateXpCatQuantity(textSlot, ui)
@ -469,7 +487,7 @@ end
------------------------------------------------------------------------------------------------------------
-- update if needed the ActionHandler and text update from DB
function game:updateBonusMalusTextSetup()
local numLocalBonusMalus= getDefine("num_local_bonus_malus");
local numLocalBonusMalus= tonumber(getDefine("num_local_bonus_malus"));
local uiBonus= getUI('ui:interface:bonus_malus:header_opened:bonus');
local uiMalus= getUI('ui:interface:bonus_malus:header_opened:malus');
local dbXpCat= "@SERVER:CHARACTER_INFO:XP_CATALYSER:Count";
@ -658,12 +676,14 @@ function game:updatePlayerBonusMalus()
-- get
local sheet= getDbProp(dbServerBonusBase .. tostring(i) .. ":SHEET" );
local disabled= getDbProp(dbServerBonusBase .. tostring(i) .. ":DISABLED" );
local timer = getDbProp(dbServerBonusBase .. tostring(i) .. ":DISABLED_TIME" );
if(sheet~=0) then
mustShowBonus= true;
end
-- copy (to index shifted if needed)
setDbProp(dbLocalBonusBase .. tostring(destIndex) .. ":SHEET", sheet );
setDbProp(dbLocalBonusBase .. tostring(destIndex) .. ":DISABLED", disabled );
setDbProp(dbLocalBonusBase .. tostring(destIndex) .. ":DISABLED_TIME", timer);
destIndex= destIndex+1;
end
if(mustShowBonus) then
@ -708,12 +728,14 @@ function game:updatePlayerBonusMalus()
-- get
local sheet= getDbProp(dbServerMalusBase .. tostring(i) .. ":SHEET" );
local disabled= getDbProp(dbServerMalusBase .. tostring(i) .. ":DISABLED" );
local timer = getDbProp(dbServerMalusBase .. tostring(i) .. ":DISABLED_TIME" );
if(sheet~=0) then
mustShowMalus= true;
end
-- copy
setDbProp(dbLocalMalusBase .. tostring(destIndex) .. ":SHEET", sheet );
setDbProp(dbLocalMalusBase .. tostring(destIndex) .. ":DISABLED", disabled );
setDbProp(dbLocalMalusBase .. tostring(destIndex) .. ":DISABLED_TIME", timer);
destIndex= destIndex+1;
end
if(mustShowMalus) then
@ -958,3 +980,27 @@ function game:updateCrystallizedSpellTooltip(crystallizedSpell)
updateTooltipCoords()
return text
end
------------------------------------------------------------------------------------------------------------
-- update craft window craftplan or item name and description
-- craftphan
-- uiCaller == ui:interface:phrase_faber_execution:header_opened
-- dbPath == UI:PHRASE:FABER:FABER_PLAN:SHEET
-- selected item
-- uiCaller == ui:interface:phrase_faber_execution:header_opened:item_result
-- dbPath == UI:PHRASE:FABER:RESULT_ITEM:SHEET
function game:updatePhraseFaberPreview(dbPath)
local ui= getUICaller();
local sheet = getSheetName(getDbProp(dbPath))
local name = ui:find("name")
if (name ~= nil) then
ui:find("name").hardtext = getSheetLocalizedName(sheet)
end
local desc = ui:find("desc")
if (desc ~= nil) then
ui:find("desc").hardtext = getSheetLocalizedDesc(sheet)
end
end

@ -231,6 +231,7 @@
<action handler="set" params="dblink=UI:SAVE:DAY_COLOR|value=makeRGB(219,254,174)" />
<action handler="set" params="dblink=UI:SAVE:NIGHT_COLOR|value=makeRGB(127,190,254)" />
<action handler="set" params="dblink=UI:SAVE:SHOW_3D_ITEM_PREVIEW|value=1" />
<action handler="set" params="dblink=UI:SAVE:SHOW_ICON_BUFFS|value=1" />
<action handler="set" params="dblink=UI:SAVE:PLAYER:DISP_SAP|value=1" />
<action handler="set" params="dblink=UI:SAVE:PLAYER:DISP_STA|value=1" />

@ -5,6 +5,36 @@ WebBrowser = {
apps = {}
}
function WebBrowser:addWindow(id, title, ui)
local found_app = nil
for k,app in pairs(self.apps) do
if app.id == id then
found_app = app
app.title = title
app.uiWindow = ui
app.winw = ui.w
app.winh = ui.h
end
end
if found_app == nil then
local app = {}
app.id = id
app.title = ""
app.url = ""
app.uiWindow = ui
app.winid = "ui:interface:" .. id
app.winw = ui.w
app.winh = ui.h
app.minimized = true
app.activeUrl = ""
app.closedw = 150
app.closedh = 0
table.insert(self.apps, app)
end
return ui
end
function WebBrowser:openWindow(id, url)
-- default value if url is not set
url = url or "http://app.ryzom.com/"
@ -22,6 +52,8 @@ function WebBrowser:openWindow(id, url)
app.winid = "ui:interface:" .. id
app.winw = 780
app.winh = 500
app.closedw = 150
app.closedh = 0
app.minimized = true
app.activeUrl = ""
@ -109,8 +141,8 @@ function WebBrowser:saveWindow(app)
app.winw = app.uiWindow.w
app.winh = app.uiWindow.h
-- minimize
app.uiWindow.w = 150
app.uiWindow.h = 0
app.uiWindow.w = app.closedw
app.uiWindow.h = app.closedh
end
function WebBrowser:restoreWindow(app)
@ -121,6 +153,58 @@ function WebBrowser:restoreWindow(app)
end
end
------------------------------------------------------------------------------------------------------------
--
function WebBrowser:saveWindowPop(app)
if app == nil then
app = self:findAppFromUiCaller()
end
if app then
app.minimized = true
-- save size
app.winw = app.uiWindow.w
app.winh = app.uiWindow.h
app.pop_min_h = app.uiWindow.pop_min_h
app.pop_max_h = app.uiWindow.pop_max_h
app.pop_min_w = app.uiWindow.pop_min_w
-- minimize
app.uiWindow.w = app.closedw
app.uiWindow.h = app.closedh
app.uiWindow.pop_min_h = 32
app.uiWindow.pop_min_w = app.closedw
end
end
------------------------------------------------------------------------------------------------------------
--
function WebBrowser:restoreWindowPop(app)
if app == nil then
app = self:findAppFromUiCaller()
end
if app and app.minimized then
app.uiWindow.w = app.winw
app.uiWindow.h = app.winh
if app.pop_min_h ~= nil then
app.uiWindow.pop_min_h = app.pop_min_h
end
if app.pop_max_h ~= nil then
app.uiWindow.pop_max_h = app.pop_max_h
end
if app.pop_min_w ~= nil then
app.uiWindow.pop_min_w = app.pop_min_w
end
app.minimized = false
end
end
function WebBrowser:onClickRedo()
-- caller is :header_opened:browse_redo
local uiWindow = getUICaller().parent.parent

File diff suppressed because it is too large Load Diff

@ -391,7 +391,7 @@ void CBSIINonModule::activate()
return;
}
if (host.find (":") == string::npos)
host+= ":49990";
host+= ":43990";
_BSMasterAddress = CInetAddress(host);
CUnifiedNetwork::getInstance()->addService ("BS", _BSMasterAddress);
@ -401,7 +401,7 @@ void CBSIINonModule::activate()
if (!host.empty())
{
if (host.find (":") == string::npos)
host+= ":49990";
host+= ":43990";
_BSSlaveAddress = CInetAddress(host);
CUnifiedNetwork::getInstance()->addService ("BS", _BSSlaveAddress);
@ -413,7 +413,7 @@ void CBSIINonModule::activate()
// if (_HaveSeparatePDBS)
// {
// if (host.find (":") == string::npos)
// host+= ":49990";
// host+= ":43990";
// CUnifiedNetwork::getInstance()->addService ("PDBS", CInetAddress(host));
//
// // connect to the global slave bs if any
@ -421,7 +421,7 @@ void CBSIINonModule::activate()
// if (!host.empty())
// {
// if (host.find (":") == string::npos)
// host+= ":49990";
// host+= ":43990";
// CUnifiedNetwork::getInstance()->addService ("PDBS", CInetAddress(host));
// }
// }

@ -630,12 +630,18 @@ namespace DEPCFG
NLMISC::CVectorSString lines;
fileContents.splitLines(lines);
// get hostname
std::string hostName = NLNET::IService::getInstance()->getHostName();
// process the lines one by one
for (uint32 i=0;i<lines.size();++i)
{
// setup a context string to pre-pend to error messages
NLMISC::CSString context= NLMISC::toString("%s:%u: ",fileName.c_str(),i);
// replace hostname macro
lines[i] = lines[i].replace("NL_HOSTNAME", hostName.c_str());
// remove comments and encapsulating blanks
NLMISC::CSString line= lines[i].splitToLineComment().strip();
if (line.empty()) continue;

@ -17,7 +17,12 @@
#ifndef RYZOM_VERSION_H
#define RYZOM_VERSION_H
#define RYZOM_VERSION "3.0.0"
#ifdef HAVE_CONFIG_H
# include "config.h"
#else
# define RYZOM_VERSION "3.0.0.0"
# define RYZOM_PRODUCT_VERSION "3.0.0"
#endif
#endif // RYZOM_VERSION_H

@ -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;

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save