Milestones are not displaying the Leviathan challenge anymore. Is it expected? How we can get the week challenge via API now?
I think as this milestone no longer shows up in the milestone page in game, and it's not available as an "activity challenge" in game it may not be returned in the api. try give these issues a read, maybe one of them will help as they seem to be related. I'd say this is a child issue of #432 if not a duplicate.
See also #473 and #567
It could be valid for Milestones API, but in this case, we need another method to get this info. Maybe an "activities API" that could returns all available daily activities with perks, challenges, so on.
There's no challenge anymore, but in the milestones API you should be able to get a "fake" API for the Leviathan raid: it includes the current modifiers and the phases/order of phases (though there's a bug related to completion being tracked elsewhere). There's no challenge to complete anymore, but you should still be able to get at that info through the Milestones API.
In the long term, I'd like to start including this kind of data on the activities themselves that we return in the GetProfile API, but I don't know when we'll be able to get to that. For now, take a look through those Milestones and let me know if that provides the data you're looking for.
After update Milestones API is not returning this info anymore. I still can retrieve the week rotation, but is not possible identify the challenge that is important too.
Hmm - I think there may be something important I'm missing out on. As far as I understood, Leviathan doesn't actually have a challenge associated with it anymore.
I just went and double checked in the data - and indeed, there aren't challenges anymore for the old Raids. Sorry about that - I can't show the challenge if the challenge no longer exists. It was removed from the game, which means we can't even make a "fake" challenge: whatever was being used to track it is also gone, so there's nothing left to map to.
Unless potentially we're talking about two different things - you're talking challenges as in objectives tracked on an activity that you complete for rewards? If we're talking that, there's unfortunately none of them left to return to you.
The Leviathan challenges like "stay on mid pools all the time" for Baths or "kill dogs with 24x" was gone? I am talking about that. If it was discontinued, so this issue could be closed. I will remove this from my code. Thanks in advance!
Ah, okay! Hmm... have we ever returned that information? I could be wrong, but I don't think we have: that sounds like it's more of a scripted behavior that you have to accommodate in-game, which we unfortunately don't (and have never had) any game content that we could map to in order to determine it or return it in any human readable form.
With that kind of "in-game action" challenge, if there's no explicit objective or challenge defined in the actual game content for it, it's likely something triggered in the script of the activity itself, in which case we're out of luck on providing you anything useful that you can key off of.
I could capture this info before by checking the "objectiveHash" array from old Milestone API. If it contains some specific ID from a challenge, it works.
The old "objectiveHash" was an array containing some objects that I have used to identify the rotation and the week challenge. Currently I do something similar, but I am able just identify the rotation. I have checked the manifest content to identify new possible IDs related to challenge, but no success.
Ohhh, I see - yeah, back when the weekly objectives were a more explicitly defined thing. Hmm... I'll have to take a look, but unfortunately if they moved it from being something explicitly defined as an objective to only something defined in scripted content, we won't have any human readable data to key off of anymore (and wouldn't have that data unless the concept gets revived... maybe for the new Raid there'll be something similar? But I get the feeling they won't do it for the old Raids if they do end up with a similar concept for the new one)
TFS 706974 to investigate - but I've got to forewarn you that I think it's very unlikely that this data still exists in any explicitly defined/content-defined form. If it is, I will be pleasantly surprised! My hopes are unfortunately low for it though given what I've seen of the content and milestone-related changes.
Okay, so I see some data that look like they might be what you're looking for, but they lack any sort of human readable data. I can attempt to return this data, but what I can't give is whatever localized strings they may have once returned (if any?) for them: that data, if it ever existed, doesn't appear to exist anymore. What I could give is that raw data - basically hash identifiers for the challenges, and whether they are enabled or not - but you'd have to relate those to whatever you want to show users manually unfortunately.
Let me know if that sounds good to you.
If you want that, I filed a bug TFS: 708279 to look into returning it.
@vthornheart-bng I did this manual relation by hash before and it worked fine (based on Manifest database). Just make it available again and it will solve my issue. 馃槃 Thanks for attention!
Ahhh, sweet! In that case, good stuff! I'll see what can be done.
The phase fixes are slated to be released October 2nd, though I welcome any and all bugs you can give. I'm giving what I perceive in the data to be phases, but if there's additional steps you feel ought to be there or steps that don't seem right, let me know and I can do some more digging.
The Last Wish raid's weekly completion status will also start being returned on that date in Milestones.
For the names, on that same release date you should start seeing the more specific information for each variant returned in the displayProperties.name property on the activity definition. That should be helpful for discerning between them, though you can also use things like the activityLightLevel property as well if you want something more programmatically useful!
Whoops, I just realized as I was reviewing our TFS items - my fix was for the broken _phases_ data, which also needed to be fixed, but it didn't include challenges. I'll see about getting the challenges fix in too though, I'm taking a look presently.
Okay, that is also going to come in October 2nd!
Looping back on this - see #783 for details about how to access this data.
Most helpful comment
Ahhh, sweet! In that case, good stuff! I'll see what can be done.