Mabinogi World Wiki is brought to you by Coty C., 808idiotz, our other patrons, and contributors like you!!
Want to make the wiki better? Contribute towards getting larger projects done on our Patreon!

Forum - Daily shadow missions by algorithm

Jump to: navigation, search
Overview > Mabinogi World Wiki > Website News & Announcements > Daily shadow missions by algorithm
[#18]

Thanks to the tireless efforts of Xcelled we now have the full daily shadow missions algorithm ourselves! This means we no longer have to pull SM information from Kukulu or Sigkill, and unlike Sigkill, this should be wholly accurate for future dates.

We will still be caching Kukulu and Sigkill for the time being but the front page won't use them anymore.


Following is API information which frankly none of you will need.

I've written a similar API to SM Dailies as I did to the weather data but have also mapped the old SM format to this. That means you may access a single day at: http://mabi.world/sm/mww/2016/02/22.json as before (but with mww as kukulu or sigkill)

The format for this is then: http://mabi.world/sm/{{source}}/{{year}}/{{month}}/{{day}}.json

However you may also query the API directly to do things like date ranges, queries per town, etc. This is done at: http://mabi.world/missions.php

The query arguments for this endpoint are as follows:

  • locale - english (default), japan, or korea.
  • of - CSV of tara and/or tail, shows only the specified towns. Default is to show all cities.
  • from - Start date in ISO format (like 2016-02-22T07:00:00) in the given timezone. Defaults to now.
  • to - End date/time of interval, much like from. Unused by default.
  • duration - You may specify this instead of to. You can either pass the number of days to show or specify a time interval of the form hours:minutes. Default is 1.
  • tz - Either +/-hours:minutes (from GMT) or +/-minutes. Defaults to server time (Pacific time). Note that raw offsets don't regard DST but the default does.
  • simple - If set to true, returns only the first day flattened into the main object, like the .json accessor. Defaults to false.

The return format is in JSON:

   {
       "from": date requested in ISO format with offset,
       "locale": requested locale,
       "missions" : [
           {
               "Taillteann": {
                   "Normal": regular daily mission name,
                   "VIP": VIP daily mission name,
               },
               "Tara": {
                   "Normal": regular daily mission name,
                   "VIP": VIP daily mission name,
               },
           }
       ... ],
       "errors": [ any errors that happened ] // does not exist if no errors occurred
   }

As stated, simple=true flattens the first day into the main object. This means the missions key won't exist and Taillteann/Tara will be in the base object like so:

   {
       "from": ...,
       "locale": ...,
       "Taillteann": { ... }
       "Tara": { ... },
       "errors": [ ... ]
   }

Future possibilities:

  • A next argument with allows you to request a mission and it will show when the next one occurs.
  • An in return value in the day objects, saying when the changeover will be in either hours or minutes (default) specified by a companion in argument.
Posted by Kadalyn (administrator) on 22 February 2016 at 23:16.
Edited by Kadalyn (administrator) on 5 December 2020 at 22:53.

Thanks to Pie we've gotten this fixed. The missions are confirmed to be accurate from 2012-08-22 to today, 2019-12-22, against the Kukulu shadow missions twitter account (which is obtained from packet logging, so it's accurate). Note that before 2012-08-22 there were no VIP missions in Japan, so while days before that are likely accurate for the normal missions, the API will report VIP missions despite those not existing. (And god knows when we got VIP missions!)

Posted by Kadalyn (administrator) on 22 December 2019 at 01:26.

The API now returns Special missions during the event period. I'll update the front page to include it tomorrow but here are links for today and tomorrow just in case!

I've also added the japan and korea locales! If anyone has the Chinese or Taiwanese SM names and event date information, let me know, and I'll add those too.

EDIT: home page updated

Posted by Kadalyn (administrator) on 5 December 2020 at 22:44.
Edited by Kadalyn (administrator) on 6 December 2020 at 12:43.