Project

Profile

Help

Feature #139

closed

Allow to run with custom configuration

Added by Vincent Le Goff about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Customization
Sprint/Milestone:
% Done:

100%

Company:
-
Contact person:
-
Additional contact persons:
-

Description

When CocoMUD runs, it assumes its settings and worlds are located at the root. Safe assertion in most cases, but it might be a nice feature to add a support for a command-line argument, allowing to specify the CocoMUD's root. It would allow to run a build version with static configuration, for instance.

Proposed API:

cocomud.exe --root-dir=<other path leading to CocoMUD's configuration>

Most information are not sensitive to the location where they are. The translations, however, should remain the same no matter the specified root directory. This constraint would prevent unpredictable code-breaking on translation changes.

Actions #1

Updated by Vincent Le Goff about 6 years ago

  • Status changed from Open to In Progress
  • Assignee set to Vincent Le Goff
  • Sprint/Milestone set to 16
Actions #2

Updated by Vincent Le Goff about 6 years ago

  • Category set to Customization
  • % Done changed from 0 to 50

The option was added in commit a88028b6a117bf9f665fa82820e67a7f7613d267. It allowed to spy a bug in the triggers, now fixed. I'm using this option first-hand to see if the old configuration breaks with the new version of CocoMUD, so hopefully, I should see early bugs with this. Not closing this issue just yet, waiting for feedback.

Actions #3

Updated by Vincent Le Goff about 6 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

Closing this, I'm running on custom configuration since this issue was implemented and haven't spotted a bug yet in aliases, macros or triggers.

Please register to edit this issue

Also available in: Atom PDF Tracking page