Api: Petra Venj items unavailable

Created on 26 Sep 2018  路  10Comments  路  Source: Bungie-net/api

We've discovered a bug where, if you're not actively playing in the dreaming city with the character making the Vendors request, the vendors API will not return items for Petra Venj.

The reason for this is actually kind of interesting for anyone wondering why this is happening. We have a single conceptual vendor in content for Petra Venj, which is being used in two different places in the world and in your game progress: once in the Tangled Shore, and once in the Dreaming City.

As a result, she has the same inventory that needs to be made available/unavailable in each. The folks who built the content for her gated what items should be available, in part, based on what location you're at when you pull for her vendor information: but for the API, that location is often nowhere, or somewhere entirely different. As a result, those items aren't actually being sold by Petra when you request them: they're only being sold from the moment you touch down at the Dreaming City.

I've filed a request internally to see if this content or these checks can be changed so that we can return this info from the API once more: but until then, we won't be able to return any data about Petra Venj's items for sale unless you're actively playing in the Dreaming City. Sorry folks!

bug bug filed wontfix

All 10 comments

Oh wow! I can definitely see that in the map data returned from the APIs! Welp! This will make it impossible to determine what week it is by looking at her inventory...

Yeah, it's a total pain in the butt for all of us, that's for sure.

I just figured out a way to dynamically figure out what week it is in the Dreaming City.
2103539490 - The Strand (Week 1)
2471849886 - Divalian Mists (Week 2)
2101431249 - Rheasilvia (Week 3)

Whichever quest step is in your character鈥檚 inventory is the active week and it works on characters that aren鈥檛 logged in too. The downside is that this item gets removed from your inventory once completed.

Ah, very clever!

Any update on resolving this issue?

I have been informed that the designers will not have time to change the way Petra works in order for us to get correct data. It would apparently require a significant reworking of how she functions, both in the Dreaming City and during the periods of time where she's in the Tangled Shore.

Unfortunately, this means that Petra will never show data unless you are actively logged in and at the Dreaming City.

I apologize for any inconvenience this may cause. I've had conversations with the team since this occurred, and everyone is now aware of why this happened: this will hopefully prevent vendors from being set up in such a way in the future.

General rule of thumb, if it is not an API issue and is exclusive to a specific piece of shipped content, the chances of it getting fixed will always be very low to probably never.

TLDR; Petra is cursed.

Since the inventory of Petra Venj is the same for each character and only changes once per day, wouldn't it be possible to check her with a virtual dummy character that is in the correct location and then deliver the correct response to any account/character that queries her via the API?
This would then be a purely API change with the content being untouched.
Although it would be quite a workaround :-\

We'd literally need a character to be constantly logged into the game in order to do so, unfortunately: which is something we could neither guarantee nor automate easily. It'd be a very shaky foundation on which to build the API data.

Does this also mean that Clan Challenges from Tower Hawthorne are never going to be available (see #677)? The case might be a bit different, because one bounty (LW raid one) is actually shown in the API.

Also, I guess you can close #655 now :(

Was this page helpful?
0 / 5 - 0 ratings