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

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:

  • server - english (default), japan, or korea.
  • locale - english, japan, or korea. Defaults to the specified server.
  • 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. - now using naive times, not sure if this will change, may affect "now" in the future.
  • 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" : [
           {
               "Day": date and time of when the missions rolled over to this (or the requested from/to, on the ends)
               "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 23 February 2016 at 00:16.
Edited by Kadalyn (administrator) on 23 July 2021 at 17:54.

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 02: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 23:44.
Edited by Kadalyn (administrator) on 6 December 2020 at 13:43.

This has been updated to reflect the new Stardust shadow missions. All pre-Stardust dates will use the pre-Stardust table, still, so no worries if you want to look into the past! This respects the go-live date for all supported servers, english (NA), japan, and korea.

In order to regard the timings of events and Stardust in other servers, use the new server param rather than locale. This way you can see any locale names (that we have) for any server configuration.

Posted by Kadalyn (administrator) on 23 July 2021 at 17:52.