BladeRavinger wrote:Hey Fella, i keep getting the no motd.cs file error,
You haven't completed the installation process.
BladeRavinger wrote: and it would seem the DL dosent contain a motd.cs, mistake?
No.
basilmod-motd-t14543/page10/#p61683
BladeRavinger wrote:Hey Fella, i keep getting the no motd.cs file error,
BladeRavinger wrote: and it would seem the DL dosent contain a motd.cs, mistake?
Custodian wrote:BladeRavinger wrote:Hey Fella, i keep getting the no motd.cs file error,
You haven't completed the installation process.BladeRavinger wrote: and it would seem the DL dosent contain a motd.cs, mistake?
No.
basilmod-motd-t14543/page10/#p61683
BladeRavinger wrote:it keeps returning "file dosen't exist"
Custodian wrote:BladeRavinger wrote:it keeps returning "file dosen't exist"
Verify, that you have installed mod to your server, and you entering command at server console. This is not ctrl+~ console at LiF:Yo game client.
Ozzie88 wrote:I think it could be that im not too sure where to put it in the main.cs file?
Ozzie88 wrote:and also a screen shot of the config.cs too?
Ozzie88 wrote: My server rules are not showing in any chat. I set it to show in system chat. what could cause this issue?
// Process command line arguments
exec("core/parseArgs.cs");
exec("BasilMod/pack/pack.cs");
exec("BasilMod/gmannounce/gmannounce.cs");
exec("BasilMod/ravens/ravens.cs");
exec("BasilMod/chats/chats.cs");
exec("fix/playersave.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("BasilMod/MotD/motd.cs");
/*
BasilMod::motd mod
2015 Basil Semuonov
Configure messages for MotD greetings when player joins server.
Add periodic messages to be sended by the server to the players.
Current version (standalone BasilMod::motd) limits message length to 230 letters.
Example:
Add message to be shown when player joins server.
BasilMod::motd_registerWelcome(
true, //Show message in "System" channel. Message is shown if value is "true".
false, //Show message in "Local" channel. Message is shown if value is "true".
"message" //Message text to be shown. Message support default coloring.
);
Add periodic message to be shown to players.
BasilMod::motd_registerPeriodic(
1, //Interval of message display, in minutes.
false, //Show message in "System" channel. Message is shown if value is "true".
true, //Show message in "Local" channel. Message is shown if value is "true".
"message" //Message text to be shown. Message support default coloring.
);
*/
//Delay in seconds after player spawn before sending messages
$BasilMod::motd::welcome_delay = 60;
//Example setup of greetings messages, and samples for messages with timeouts
//Welcome Massage System & Local Chanel
BasilMod::motd_registerWelcome(false, true, "Willkommen in der <spush><color:EE8607>Ruhmeshalle<spop>");
BasilMod::motd_registerWelcome(false, true, "Unseren TS³ findet ihr unter <spush><color:07ACEE>ts3.ruhmeshalle.de<spop>");
BasilMod::motd_registerWelcome(false, true, "<color:EE1A07>Die Server Regeln findet Ihr im Forum!");
BasilMod::motd_registerWelcome(false, true, "<color:158B1B>Der Server startet jeden Morgen um 5:00 Uhr neu!");
//Zeitgesteuerte Anzeigen 1=true->Systemn & 2=true->Local
BasilMod::motd_registerPeriodic(180, false, true, "<spush><color:07ACEE>Der Tägliche Server Neustart findet um 5:00 Uhr Morgens statt.<spop>");
K475u wrote:hey some wierd stuff going on
installed MoTD on my Testserver included exec.. Command in main.cs Server Loades it everything iss fine.
Server dont Load it from my main.cs
Custodian wrote:K475u wrote:hey some wierd stuff going on
installed MoTD on my Testserver included exec.. Command in main.cs Server Loades it everything iss fine.
Server dont Load it from my main.cs
Please read mods description carefully.
Why you had added all other mods exec lines to the begin of the main.cs file?
Each mod cleary says, that you must add mod loading exec lines to the end of main.cs.
Check mod directory name, and make sure that command you are entering in the console is the same as in the main.cs file.
If you think everything is correct, search latest server log for "motd" and check for loading errors around, or share your server latest log with me.
K475u wrote:All mods running with exec.. commands at the beginning.
K475u wrote:no errors at the Log -> Nothing about MotD at the log.
Schwimmmaus88 wrote:can you speak german?
Schwimmmaus88 wrote:It would be really great if you coud help me, please. (Sorry for the english)
JohnValentine wrote:3. uploaded config[1].cs
4. uploaded motd.cs[1].dso
Trade.by wrote:Никак не пойму как делать цветной текст или слово в тексте. Напишите пример пожалуйста.
Trade.by wrote:BasilMod::motd_registerWelcome(true, false, "This server supports BasilMod::Pack. To enable TradeWindow and other mods, visit <spush><color:C65F5F> http://my-kickass-server.earth/modpacks.);<spop>
не работает
BasilMod::motd_registerWelcome(true, false, "This server supports BasilMod::Pack. To enable TradeWindow and other mods, visit <spush><color:C65F5F>http://my-kickass-server.earth/modpacks.<spop>");