Automating calendar events

Discussions About MOSS (Myst Online Server Software)

Moderator: a'moaca'

Post Reply
User avatar
Posts: 174
Joined: Fri Dec 26, 2008 1:19 am

Automating calendar events

Post by Marten » Sat Dec 24, 2011 8:29 pm

Throughout the calendar year, there are a number of items in Uru/MOUL which change or are enabled/disabled. I'm interested in automating this for MOSS so that server admins don't have to manipulate the vault at set dates and times.

The first step to this process is to define the list of items to be automated and propose rules for dates. Through Prologue and Season One, there were some inconsistencies with when certain items were enabled/disabled. For example, in 2007, Delin became winter on February 20th, but the only mention I can find for this in 2008 was on March 8 (due to a post from Erik on UruObsession).

Below is a proposed calendar of items. The dates I've collected thus far originate from UuObsession, DRCSite, Guild of Greeters, and MystLore. Assistance in verifying or improving on this data would be great. For example, I remember that the Kadish helmet vanished and then returned sometime during Season One but either my memory is wrong, or records of this are deficient.

I expect that'ni_timeke ... algorithms should be helpful in ensuring that D'ni holidays are computed for our modern calendar correctly. contains documentation for SDL values that haven't changed since Until Uru - if there's a newer resource that covers all of the MOUL additions, I haven't seen it and a link would be great.

Proposals for any other additions to the list would be great too.
Clothing: Viking Helmet
Location: Kadish Tolesa
Added : December 20, 2006
Removed : Unknown (GoG claims "Still available")
Proposal: Make monthly random, 40% chance to appear

Clothing: First Month Shirt
Location: Great Stair, City
Added : December 21, 2006
Removed : February 1, 2007
Proposal: Make available 1st month per shard

Clothing: St. Patrick's Hat
Location: Closet
Added : March 7, 2007
Removed : Unknown (GoG claims "Still available")
Proposal: Make available for 21 days with St. Patrick's in the middle

Clothing: College Basketball Jersey Shirt
Location: Closet
Added : March 11, 2007
Removed : Unknown (GoG claims "Still available")
Proposal: Make available during normal March Madness week(s)

Clothing: Santa Hat
Location: Closet
Added : December 24, 2003; December 21, 2006
Removed : December 26, 2003; January 1, 2007
Proposal: Add December 14, remove w/ New Year (same as tree)

Decor : Fall Decorations
Location: Neighborhoods
Added : November 22, 2003; October 26, 2007
Removed : Unknown
Proposal: Add 1 week before Halloween, remove on Saturday after Thanksgiving

Decor : Christmas Tree
Location: Baron's Office
Added : December 20, 2003; December 20, 2006
Removed : Unknown; January 2, 2007
Proposal: Add December 14, remove January 2

Decor : Menorah
Location: Takotah Rooftop
Added : December 20,2003
Removed : Unknown
Proposal: Add/Remove on appropriate dates each year,
Proposal: Light candles at appropriate sunset times for New Mexico

Decor : New Year's Banner and Fireworks
Location: Neighborhoods
Added : December 30, 2006
Removed : January 2, 2007
Proposal: Add December 30, remove January 2

Decor : Winter in Delin
Location: Eder Delin
Added : February 20, 2007; March 8, 2008 (?)
Removed : April 5, 2007
Proposal: Add randomly mid-Feb to mid-March, remove mid-April to mid-May

Event : D'ni New Year - Leefo 1
Date : April 21, 2007

Event : First Feast of the Maker - Lenovoo 10
Date : March 27, 2007

Event : First Common Library of D'ni Opened - Leefo 12
Date : May 5, 2007

Event : Second Feast of the Maker - Leebro 20
Date : June 21, 2007

Event : The Day of Dancing - Leetar 21
Date : September 3, 2007

Event : First Arrival of the Great King - Leevot 12
Date : September 28, 2007

Event : Third Feast of the Maker, Leevofo 18
Date : November 11, 2007

Event : Coornation of King Kerath - Leevofo 27
Date : November 23, 2007

Event : Anniversary Lost Book of Birenni
Date : December 10, 2003

Event : D'ni Guild of Writers Founded - Leevot 9
Date :

Event : The Day of the Circle - Leenoovo 18
Date :

Event : Pento War Begins - Leevot 12
Date :

Event : Fall of D'ni - Leesahn 8
Date :

Flame : January Flame
Location: Gahreesen
Added : January 17, 2007; January 2, 2008
Removed : February 1, 2007
Proposal: Add January 1, remove February 1

Flame : February Flame
Location: Kadish Tolesa
Added : February 1, 2007
Removed : March 1, 2007
Proposal: Add February 1, remove March 1

Flame : March Flame
Location: Eder Gira
Added : March 1, 2007
Removed : April 2, 2007
Proposal: Add March 1, remove April 1

Flame : April Flame
Location: Gahreesen
Added : April 2, 2007
Removed : May 1, 2007
Proposal: Add April 1, remove May 1

Flame : May Flame
Location: Descent
Added : May 1, 2007
Removed : June 1, 2007
Proposal: Add May 1, remove June 1

Flame : June Flame
Location: Minkata
Added : June 1, 2007
Removed : July 2, 2007
Proposal: Add June 1, remove July 1

Flame : July Flame
Location: Gahreesen
Added : July 2, 2007
Removed : August 1, 2007
Proposal: Add July 1, remove August 1

Flame : August Flame
Location: Jalak Dador
Added : August 1, 2007
Removed : September 8, 2007
Proposal: Add August 1, remove September 1

Flame : September Flame
Location: Teledahn
Added : September 8, 2007
Removed : October 3, 2007
Proposal: Add September 1, remove October 1

Flame : October Flame
Location: Phil's Relto
Added : October 3, 2007
Removed : November 1, 2007
Proposal: Add October 1, remove November 1

Flame : November Flame
Location: Great Zero
Added : November 1, 2007
Removed : December 7, 2007
Proposal: Add November 1, remove December 1

Flame : December Flame
Location: Myst
Added : December 7, 2007
Removed : January 2, 2008
Proposal: Add December 1, remove January 1
The music is reversible, but time is not.

User avatar
Posts: 174
Joined: Fri Dec 26, 2008 1:19 am

Re: Automating calendar events

Post by Marten » Sat Dec 31, 2011 7:42 am

I have written scripts to schedule the most complex event for calendar automation - the Hanukkah Menorah. I would appreciate reviews of the script as well as the rules that I've chosen to apply (noted below). I wanted this to follow proper traditional rules and I have done so to the best of my ability, according to the research I've done.

Important Note: This script requires either GNU or BSD date. It will probably not work with the default 'date' command on System V UNIXes including Solaris.

Main script: (CR-LF format for easy viewing)
All scripts in a bundle: (UNIX file format files within)

  • The menorah will appear at sunset the day before the first lighting is to occur.
  • On each of the eight days, one new candle will be lit at sunset (as calculated approximately for the Carlsbad Caverns Visitor Center), except...
  • ... when a day of Hanukkah lands on a Friday, the menorah will be lit 18 minutes early that day to allow for Shabbat
  • Once lit, each candle stays lit for the duration of the holiday (rather than being extinguished at night and re-lit at dawn), because D'ni is a city that does not sleep and someone may be present at any time
  • The menorah will be removed at sunset one day after the eighth candle is lit
The music is reversible, but time is not.

User avatar
Posts: 174
Joined: Fri Dec 26, 2008 1:19 am

Re: Automating calendar events

Post by Marten » Sun Jan 01, 2012 5:33 am

I have updated the above script to support GNU date, and added a link to a bundle that includes 10 vault-editing scripts for use with the MOSS server. It is my expectation (and intent) that the vault-editing scripts could be swapped with alternatives to support any type of Myst Online server.
The music is reversible, but time is not.

User avatar
Posts: 174
Joined: Fri Dec 26, 2008 1:19 am

Re: Automating calendar events

Post by Marten » Sun Jan 01, 2012 7:03 am

I've posted a set of scripts for manipulating most of the other vault items in the big list above. Haven't done the scheduling scripts for these yet.

  • Christmas Tree on/off
  • Delin Winter/Autumn
  • Minorah on/1/2/3/4/5/6/7/8/off
  • New Year on/off
  • Santa Hat on/Event clothing off
  • Spark 1/2/3/4/5/6/7/8/9/10/11/12 on/off
  • Thanksgiving on/off
None of these are tested yet - this is posted for review...

One script I'm particularly uncertain about is "EventClothingOff" because I could not find any examples for setting an empty string with global_sdl_manager. I chose to use "" for an empty string. Since I still don't have my own server up yet, I can't test what this will do.
The music is reversible, but time is not.

User avatar
Posts: 174
Joined: Fri Dec 26, 2008 1:19 am

Re: Automating calendar events

Post by Marten » Mon Jan 02, 2012 5:52 pm

I have filed which is a blocking issue to fully implementing the vision I have for automated updates to the game from the server side. While I can continue working on the cron/at scripts, they will only apply to Ages that aren't active (so for example, at New Years, everyone would have to leave their 'hoods empty for 3 minutes before banners could appear).
The music is reversible, but time is not.

Post Reply

Return to “MOSS”

Who is online

Users browsing this forum: No registered users and 1 guest