[MOD] BasilMod::MotD

Place for sharing your game modifications for Life is Feudal: Your Own
User avatar
Osovich
Beta Tester
 
Posts: 29
Joined: 16 Dec 2015, 13:06
Location: Russia, Moscow

Re: [MOD] BasilMod::MotD

Post by Osovich » 24 Dec 2015, 14:06

Custodian wrote:Server console window example (random image from the internet)

Thank You, Vasily! That's the only problem. We lease the server. There is a way to access the console server on a rented server? :)

User avatar
Custodian
Mod Developer
 
Posts: 655
Joined: 08 Jun 2015, 14:58
Location: Lisbon

Re: [MOD] BasilMod::MotD

Post by Custodian » 24 Dec 2015, 15:17

Osovich wrote:We lease the server. There is a way to access the console server on a rented server? :)

Ask your hosting provider.


Dealtime
 
Posts: 4
Joined: 30 Oct 2014, 15:54

Re: [MOD] BasilMod::MotD

Post by Dealtime » 25 Dec 2015, 23:04

any possibility to put a message interval in the global chat? or limited to system and local?

User avatar
Custodian
Mod Developer
 
Posts: 655
Joined: 08 Jun 2015, 14:58
Location: Lisbon

Re: [MOD] BasilMod::MotD

Post by Custodian » 26 Dec 2015, 12:03

Dealtime wrote:any possibility to put a message interval in the global chat? or limited to system and local?

Global chat cannot be accessed without client mod.

User avatar
Leaf
 
Posts: 76
Joined: 01 Feb 2014, 16:47

Re: [MOD] BasilMod::MotD

Post by Leaf » 31 Dec 2015, 05:30

The 12/29/15 update will require editing your main.cs again.


Genhis
 
Posts: 8
Joined: 27 Sep 2014, 17:34
Location: Slovakia

Re: [MOD] BasilMod::MotD

Post by Genhis » 02 Jan 2016, 10:55

Hello!

Is it possible to put messages in a queue and pop a single message after the time set in config? The order of messages should be preserved, of course.

I'd like to do that, because I think periodic messages are showing in chat too often and irregularly.

By the way, thanks for this mod. :)

Genhis.
Image

User avatar
Custodian
Mod Developer
 
Posts: 655
Joined: 08 Jun 2015, 14:58
Location: Lisbon

Re: [MOD] BasilMod::MotD

Post by Custodian » 02 Jan 2016, 15:27

Genhis wrote:Is it possible to put messages in a queue and pop a single message after the time set in config? The order of messages should be preserved, of course.

Nice idea. Will see what I can do about it.

Genhis wrote:I'd like to do that, because I think periodic messages are showing in chat too often and irregularly.

Periodic messages appears at exact time as you configure them.


Genhis
 
Posts: 8
Joined: 27 Sep 2014, 17:34
Location: Slovakia

Re: [MOD] BasilMod::MotD

Post by Genhis » 02 Jan 2016, 16:37

Custodian wrote:Periodic messages appears at exact time as you configure them.

Yes, I know. I asked you if it is possible to make a queue and configure time for it - for a group of messages - instead of setting time for every single message.

I would do it myself if your code wasn't being compiled, but, unfortunately, it is. So I'll be happy to see this feature in your mod. :)

Thanks,
Genhis.
Image

User avatar
Osovich
Beta Tester
 
Posts: 29
Joined: 16 Dec 2015, 13:06
Location: Russia, Moscow

Re: [MOD] BasilMod::MotD

Post by Osovich » 05 Jan 2016, 19:01

Custodian wrote:Ask your hosting provider.

Asked. Got such a great response.
Unfortunately we are unable to provide any type of access to the database the server uses, or the server's command line. Additionally, I do not believe Life is Feudal supports rcon at this time. You can view GM commands at the following URL: http://lifeisfeudal.gamepedia.com/Game_Master_mode Your GM password can be found at my.gameservers.com > Config.

All this is not happy. :(

User avatar
Custodian
Mod Developer
 
Posts: 655
Joined: 08 Jun 2015, 14:58
Location: Lisbon

Re: [MOD] BasilMod::MotD

Post by Custodian » 06 Jan 2016, 11:57

Osovich wrote:All this is not happy. :(

Change your hosting provider.


Zhalls
Alpha Tester
 
Posts: 89
Joined: 14 Mar 2014, 19:30

Re: [MOD] BasilMod::MotD

Post by Zhalls » 07 Jan 2016, 17:02

Custodian wrote:
Xhodan wrote:So when I go to exec the file in the command console. I get an error saying the motd.cs file is missing from BasilMod/motd/motd.cs

You have placed mod files into wrong directory, or misspelled the name of folders. Make sure you place files into server, which you will start.

Server side installation documentation describes 4 steps:
Spoiler


Your help file is sort of misleading. You will need to change it so people don't make the same mistake as this guy did, (just as I did as well).

The help file currently says:

"1) Place these 2 files (config.cs and motd.cs.dso) in "BasilMod/motd" folder of server root."

You should change it to say:

"1) Place these 2 files (config.cs and motd.cs.dso) from the "BasilMod/motd" folder, and place them into your server root folder."


This will save people a lot of time trying to interpret what that sentence is trying to convey. It's not easy to understand.

User avatar
Custodian
Mod Developer
 
Posts: 655
Joined: 08 Jun 2015, 14:58
Location: Lisbon

Re: [MOD] BasilMod::MotD

Post by Custodian » 07 Jan 2016, 18:32

Zhalls wrote:The help file currently says:

"1) Place these 2 files (config.cs and motd.cs.dso) in "BasilMod/motd" folder of server root."

You should change it to say:

"1) Place these 2 files (config.cs and motd.cs.dso) from the "BasilMod/motd" folder, and place them into your server root folder."


Your sentence is incorrect.

You should create folder "Life is Feudal Your Own Dedicated Server\BasilMod\MotD\" and place files there.

Full path of the file should be:
Life is Feudal Your Own Dedicated Server\BasilMod\MotD\motd.cs.dso


Zhalls
Alpha Tester
 
Posts: 89
Joined: 14 Mar 2014, 19:30

Re: [MOD] BasilMod::MotD

Post by Zhalls » 07 Jan 2016, 20:46

Custodian wrote:
Zhalls wrote:The help file currently says:

"1) Place these 2 files (config.cs and motd.cs.dso) in "BasilMod/motd" folder of server root."

You should change it to say:

"1) Place these 2 files (config.cs and motd.cs.dso) from the "BasilMod/motd" folder, and place them into your server root folder."


Your sentence is incorrect.

You should create folder "Life is Feudal Your Own Dedicated Server\BasilMod\MotD\" and place files there.

Full path of the file should be:
Life is Feudal Your Own Dedicated Server\BasilMod\MotD\motd.cs.dso


Weird, that's what I thought you meant at first, but they dont work like that because the server spits out the "can't find motd.cs" and the only way to correct this is to place the two files directly into the server root folder as described in my message. Wont work any other way unless your pack purports some other protocol that redirects them. I only installed the standalone, not the whole pack.


EDIT: unless the redirect is case sensitive, which is why motd doen't work, but MotD does.

User avatar
Custodian
Mod Developer
 
Posts: 655
Joined: 08 Jun 2015, 14:58
Location: Lisbon

Re: [MOD] BasilMod::MotD

Post by Custodian » 07 Jan 2016, 20:51

Zhalls wrote:dont work like that because the server spits out the "can't find motd.cs"

make sure you add
Code: Select all
exec("BasilMod/motd/motd.cs");
to your main.cs.

Zhalls wrote:EDIT: unless the redirect is case sensitive, which is why motd doen't work, but MotD does.

This depends on your hostring provider. Default(steam release) server running on windows is case insensitive.


Zhalls
Alpha Tester
 
Posts: 89
Joined: 14 Mar 2014, 19:30

Re: [MOD] BasilMod::MotD

Post by Zhalls » 07 Jan 2016, 20:54

Custodian wrote:
Zhalls wrote:This depends on your hostring provider. Default(steam release) server running on windows is case insensitive.


Then there we go. Your provided help file has them listed in lower case. You'll need to correct that. Thanks for the clarification!

User avatar
Custodian
Mod Developer
 
Posts: 655
Joined: 08 Jun 2015, 14:58
Location: Lisbon

Re: [MOD] BasilMod::MotD

Post by Custodian » 07 Jan 2016, 21:24

Zhalls wrote:Then there we go. Your provided help file has them listed in lower case. You'll need to correct that.

I doubt. As I said, case does not matter.
If your hosting provider changes default server behaviour, you should be aware of that. All mods are designed to work with official steam release of the server.


Ozersk
 
Posts: 12
Joined: 10 Jan 2016, 12:36

Re: [MOD] BasilMod::MotD

Post by Ozersk » 12 Jan 2016, 05:01

Custodian, It is possible to make a message in global chat? Very useful... ;)
Image

User avatar
Custodian
Mod Developer
 
Posts: 655
Joined: 08 Jun 2015, 14:58
Location: Lisbon

Re: [MOD] BasilMod::MotD

Post by Custodian » 12 Jan 2016, 06:01

Ozersk wrote:Custodian, It is possible to make a message in global chat? Very useful... ;)

With server-side only mod it is not possible (I dont know a way to do it).


Cogollops
 
Posts: 40
Joined: 04 Dec 2015, 14:56
Location: Spain

Re: [MOD] BasilMod::MotD

Post by Cogollops » 30 Jan 2016, 18:42

Please reupload file motd.cs.dso or motd.cs

Can't load file!
Image

Image

User avatar
Custodian
Mod Developer
 
Posts: 655
Joined: 08 Jun 2015, 14:58
Location: Lisbon

Re: [MOD] BasilMod::MotD

Post by Custodian » 30 Jan 2016, 18:52

Cogollops wrote:Please reupload file motd.cs.dso or motd.cs
Can't load file!

Follow link from the installation instruction at first post. Mod files available via dropbox.


Frankenshtine
 
Posts: 11
Joined: 26 May 2016, 12:15

Re: [MOD] BasilMod::MotD

Post by Frankenshtine » 26 May 2016, 15:24

Timed messages is ok, but if I want, for example, give an automated warning to players about night is coming, and in 24h is not fit exactly whole number of ingame days - timed messages will not be useful because night will come in different time from server restarts (if server restarts randomly or in fixed real time).
So, is it possible to add another type of MotD, bound to ingame time?

User avatar
Custodian
Mod Developer
 
Posts: 655
Joined: 08 Jun 2015, 14:58
Location: Lisbon

Re: [MOD] BasilMod::MotD

Post by Custodian » 26 May 2016, 18:27

Frankenshtine wrote:So, is it possible to add another type of MotD, bound to ingame time?

Timetable for scheduled messaged based on ingame time will be added in next version of the mod.


Seregaman
 
Posts: 7
Joined: 17 Jun 2016, 19:32

Re: [MOD] BasilMod::MotD

Post by Seregaman » 17 Jun 2016, 19:41

Мое почтение! Подскажите пожалуйста, что надо сделать, что бы в чате отображалась Кириллица?!

My regards! Please tell me what to do, to be displayed in the chat Cyrillic ?!
P.S. Sorry for my English

User avatar
Custodian
Mod Developer
 
Posts: 655
Joined: 08 Jun 2015, 14:58
Location: Lisbon

Re: [MOD] BasilMod::MotD

Post by Custodian » 17 Jun 2016, 19:49

Seregaman wrote:My regards! Please tell me what to do, to be displayed in the chat Cyrillic ?!

Save your config.cs file in utf-8 encoding.
Spoiler


Seregaman
 
Posts: 7
Joined: 17 Jun 2016, 19:32

Re: [MOD] BasilMod::MotD

Post by Seregaman » 17 Jun 2016, 20:04

Thank you very-very much!!!

Spoiler


Seregaman
 
Posts: 7
Joined: 17 Jun 2016, 19:32

Re: [MOD] BasilMod::MotD

Post by Seregaman » 17 Jun 2016, 20:52

My regards! Is it possisible to edit settings for global chat?
Spoiler

User avatar
Custodian
Mod Developer
 
Posts: 655
Joined: 08 Jun 2015, 14:58
Location: Lisbon

Re: [MOD] BasilMod::MotD

Post by Custodian » 18 Jun 2016, 09:36

Seregaman wrote:My regards! Is it possisible to edit settings for global chat?

Please, be more specific what do you mean?
Spoiler


Seregaman
 
Posts: 7
Joined: 17 Jun 2016, 19:32

Re: [MOD] BasilMod::MotD

Post by Seregaman » 18 Jun 2016, 11:59

Make the same settings in both system and local chat.
Spoiler

User avatar
Custodian
Mod Developer
 
Posts: 655
Joined: 08 Jun 2015, 14:58
Location: Lisbon

Re: [MOD] BasilMod::MotD

Post by Custodian » 18 Jun 2016, 22:55

Seregaman wrote:Make the same settings in both system and local chat.

I dont understand what do you want. If you would like to display message at global chat, this is not possible with this server-side only mod.
Spoiler


BladeRavinger
 
Posts: 8
Joined: 05 Jun 2015, 21:03

Re: [MOD] BasilMod::MotD

Post by BladeRavinger » 26 Jun 2016, 08:54

Hey Fella, i keep getting the no motd.cs file error, and it would seem the DL dosent contain a motd.cs, mistake?

Return to Game mods