Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Feature #854630

New server command "/list rulesets" to list the available rulesets

Added by Jacob Nevins about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Server
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

We already have the logic in the server to enumerate .serv files, to support PACKET_RULESET_CHOICES for single-player ruleset selection. We may as well make it easy to see what rulesets there are at the server prompt; we have a lot these days.

(This does further entrench the convention that a .serv file on the data path is associated with a ruleset, where strictly they could be unrelated to rulesets.)

While I'm in there:
  • There doesn't seem a good reason to cache the list, as we do currently. (The caching has been there since the feature was first added.)
  • Handle overlong / too many rulesets better (don't send client truncated filenames in PACKET_RULESET_CHOICES; add logging).
m-list-rulesets.patch (9.44 KB) m-list-rulesets.patch master Jacob Nevins, 2020-01-03 01:34 AM
30-list-rulesets.patch (9.44 KB) 30-list-rulesets.patch S3_0 Jacob Nevins, 2020-01-03 01:34 AM
26-list-rulesets.patch (9.46 KB) 26-list-rulesets.patch S2_6 Jacob Nevins, 2020-01-03 01:34 AM

History

#2 Updated by Jacob Nevins about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF