MUME / MMapper

🧙‍♂️MMapper is a graphical client designed for the MUME (Multi-Users in Middle-earth) game
https://mume.github.io/MMapper/
GNU General Public License v2.0
35 stars 26 forks source link

Moon DK timer #280

Open Kaspar-Metsa opened 1 year ago

Kaspar-Metsa commented 1 year ago

Idea to add useful information to the _time command(or new _moon command) that can be calculated from MUME time:

  1. How long in real time until Dead Knight slab opens? (Happens at 2 moonrises: 3/4waxing and full moon)

It would be amazing if the string for Last Known Full Moonrise would be somewhere in the cloud, like in a publicly shared and editable Google Sheet with last modified date. Not sure if this is doable? So MMapper2 would make an API call to Google Sheets when _moon is typed? If not possible, people can just manually check from google sheet and manually insert to their MMapper2.

Why is this useful? DK drops Palantiri, that can be traded for a Mithril Circlet with Saruman. This is a deterministic way of obtaining Mithril Circlet as opposed to chasing rats in Moria. This means that if all war sides know exactly when the slab opens, it opens up pvp opportunities!

  1. How long in real time until next Vale Warg pack? (Every winter full moon-there is more than.

Why is this useful? Very likely for darkies to find opposing Free Races doing this pack thus opening interesting pvp opportunities

  1. How long in real time until next good time to do Ancient Metal Helmet? (Moon must be up and visible, Moon is more likely to be up when it's not New Moon or 1/4 Quarter Moon(either waning or waxing). Moon being "up" means moon is visible, moon is visible when in command "time" you see a message about moon. This means moonrise has happened and moonfall is going to happen in 12-13 MUME Hours.)

(Optional but an idea) 5. How long in real time until next good time to play bear for higher chance to "meta"? (Optional but an idea) 6. How long in real time until next good time to do Moria West Gate quest?

Kaspar-Metsa commented 1 year ago

Partly duplicates this issue: https://github.com/MUME/MMapper/issues/189

Except Dunlending warchief Rushak(east of Wyrdda) which is not related to moon. Loads once a year in spring-summer. Once rohir riders load, you have 14 RL hours for it to load. Supposedly if you kill the riders, it loads faster. Zorcs camp it, it is very good for them because eff vs riding. It is random when it pops, can be sometime in Spring or Summer.

Partly delated to this issues: https://github.com/MUME/MMapper/issues/259

Kaspar-Metsa commented 1 year ago

The new moon cycle formula:

define MOON_CYCLE_MINS = ((29 MUD_HOURS_PER_DAY + 12) MUD_MINS_PER_HOUR + 44)

It's the real world length of a synodic month rounded to minutes: https://en.wikipedia.org/wiki/Lunar_month#Synodic_month

nschimme commented 1 year ago

This is technically possible now using the code snippet to track when a moon phase occurs