Page 1 of 1

Sharing information about used ruleset?

Posted: Sun Sep 20, 2015 8:38 pm
by Jacew
I was wondering if there a way to add free text to .serv files, that would be shown on the server window along with the .serv options when you load the file? Or is it possible to open a separate info.txt file into server?

When you're using modded ruleset, it would be nice inform possible other human players about features of current ruleset.

Re: Sharing information about used ruleset?

Posted: Mon Sep 21, 2015 4:25 am
by cazfi
.serv is not part of the ruleset. It just contains server commands - of which loading specific ruleset is usually one. One thing you can do there is using connectmsg command:

Code: Select all

> help connectmsg
Command: connectmsg  -  Set message to show to connecting players.
Synopsis: connectmsg <message>
Level: admin
Description:
  Set message to send to clients when they connect.
  Empty message means that no message is sent.


Freeciv-2.5: In the actual ruleset, there's "description" (of limited length) in about section of game.ruleset. Players can access that from the menu: Help -> About Current Ruleset (word "Current" has been added since 2.5.1)
Freeciv-2.6: There's both "summary" (works practically like 2.5 description feature) and "description". Summary is of limited length, description can be long. Summary is shown also in the server console when ruleset is loaded

Re: Sharing information about used ruleset?

Posted: Mon Sep 21, 2015 10:46 am
by Jacew
Freeciv-2.5: In the actual ruleset, there's "description" (of limited length) in about section of game.ruleset. Players can access that from the menu: Help -> About Current Ruleset (word "Current" has been added since 2.5.1)
Freeciv-2.6: There's both "summary" (works practically like 2.5 description feature) and "description". Summary is of limited length, description can be long. Summary is shown also in the server console when ruleset is loaded


Thank you. That's exactly the feature I was searching for.

Re: Sharing information about used ruleset?

Posted: Wed Aug 17, 2016 9:06 am
by Thercits
cazfi wrote:.serv is not part of the ruleset. It just contains server commands - of which loading specific ruleset is usually one. One thing you can do there is using connectmsg command:

Code: Select all

> help connectmsg
Command: connectmsg  -  Set message to show to connecting players.
Synopsis: connectmsg <message>
Level: admin
Description:
  Set message to send to clients when they connect.
  Empty message means that no message is sent.


Freeciv-2.5: In the actual ruleset, there's "description" (of limited length) in about section of game.ruleset. Players can access that from the menu: Help -> About Current Ruleset (word "Current" has been added since 2.5.1)
Freeciv-2.6: There's both "summary" (works practically like 2.5 description feature) and "description". Summary is of limited length, description can be long. Summary is shown also in the server console when ruleset is loaded



Thanks for this also! This is what I wanted to ask for. BIG HELP indeed!