Page 1 of 1

TTmod1.5 Not installed

Posted: 30 Dec 2020, 14:10
by dΞim0s.be
Hello,
We have just launched a LIFE YO server. We all create and configure as instructed but to no avail. Every time I go to "information" of the "LiveMap" interface, I am told that the "TTmod" is not installed. And when I go to "RCON", it is indicated to me that the "TTmod" is not present.
- I have placed the "TTmod1.5" folder in the root folder of the server
- I have correctly placed the command line exec ("TTmod / init.cs"); at the end of "main.cs"
- I have indicated my GuildGUI address in the "config.cs"
- I restarted the server several times (GPortal)
Nothing helps, impossible to have a working "TTmod".
Can you help us please?
I took the subscription to run the "Tradepost mod" but it looks like the "TTmod" must work for it to work too.
Looking forward to hearing from you,
Yours,
d3im0s

Re: TTmod1.5 Not installed

Posted: 30 Dec 2020, 18:28
by Chris
- I have placed the "TTmod1.5" folder in the root folder of the server
The TTmod folder is just named TTmod. Not TTmod1.5
- I have correctly placed the command line exec ("TTmod / init.cs"); at the end of "main.cs"
There should not be any spaces around the /



Please upload the full main.cs and a server logfile

Re: TTmod1.5 Not installed

Posted: 31 Dec 2020, 11:59
by dΞim0s.be
Hello,
It is indeed the "TTmod" folder which is on the ftp and not "TTmod1.5"

Main.cs:
// 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: TTmod1.5 Not installed

Posted: 31 Dec 2020, 18:55
by canello
Hello, i need help whit the live map is not working i can't see guilds o player in it, this is what host told me,,, from what I can see, is aparently there is a different version of TTMOD now, 1.5 . In the admin lands table in the DB it has 1.4 and that is whats causing the issue

Re: TTmod1.5 Not installed

Posted: 31 Dec 2020, 23:08
by dΞim0s.be
At home, the TTmod to work until 12/26 then I deploy a new map, clean the database as indicated and since impossible to ensure that the "TTmod" folder is taken into account on the interface of the "LiveMap"

Re: TTmod1.5 Not installed

Posted: 01 Jan 2021, 15:33
by Chris
main.cs looking good,
still need server logfile.