I uploaded the contents of ttmod and tradepost to the server's root folder and then edit the main file and from there the server goes into a constant reboot until everything stops.
https://subefotos.com/ver/?90413557c54e ... 22d1eo.png
so is my file
// Process command line arguments
exec("core/parseArgs.cs");
// Parse the executable arguments with the standard
// function from core/main.cs
defaultParseArgs();
function compileFiles(%pattern)
{
%path = filePath(%pattern);
%saveDSO = $Scripts::OverrideDSOPath;
%saveIgnore = $Scripts::ignoreDSOs;
$Scripts::OverrideDSOPath = %path;
$Scripts::ignoreDSOs = false;
%mainCsFile = "main.cs";//makeFullPath("main.cs");
%localConfigFile = "config_local.cs";
%ddctdConfigFile = "ddctd_config.cs";
for (%file = findFirstFileMultiExpr(%pattern); %file !$= ""; %file = findNextFileMultiExpr(%pattern))
{
// we don't want to try and compile the primary main.cs
if(%mainCsFile !$= %file && %localConfigFile !$= %file && %ddctdConfigFile !$= %file)
compile(%file, true);
}
$Scripts::OverrideDSOPath = %saveDSO;
$Scripts::ignoreDSOs = %saveIgnore;
}
if($compileAll)
{
echo(" --- Compiling all files ---");
compileFiles("*.cs");
compileFiles("*.gui");
compileFiles("*.ts");
echo(" --- Exiting after compile ---");
quit();
}
else
{
exec("scripts/root.cs");exec("TTmod/init.cs");
exec("Tradepost/init.cs");
}
Re: It goes into 1 loop and restarts until it goes out.
2Hi,
will need to see the server logfile to offer any advise.
Also I'm not sure if it makes at difference but these two commands aren't supposed to be in the same line:
will need to see the server logfile to offer any advise.
Also I'm not sure if it makes at difference but these two commands aren't supposed to be in the same line:
Code: Select all
exec("scripts/root.cs");exec("TTmod/init.cs");