Tradepost Mod

1
Hey Nyuton,
I donated friday and downloadet the Tradepost-Mod, and i've been working like crazy on pricelists all weekend,
suddenly today it stoped working?
I no longer get the message in systemchat where it should have said "tradepost mod activated",
I have tried to reinstall the client-mod, and i have checked all the files which seems fine,

what could be wrong?

Re: Tradepost Mod

4
That works.
your main.cs file is broken. You did not follow install instructions.
Please read TTmod and Tradepost Server Mod instructions again.

You can see the full error report in the beginning of the logfile

Code: Select all

main.cs Line: 46 - parse error
WARN 2018-09-16 15:44:51.303 {} <> [0] >>> Advanced script error report.  Line 46.
WARN 2018-09-16 15:44:51.303 {} <> [0] >>> Some error context, with ## on sides of error halt:
ERRR 2018-09-16 15:44:51.303 {} <> [0] 
{

   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");
WARN 2018-09-16 15:44:51.303 {} <> [0] >>> Error report complete.

It should just be

Code: Select all

exec("TTmod/init.cs");
exec("Tradepost/init.cs");
... at the end of the original main.cs file. No extra } or anything.