JavaScript is required to use Bungie.net

Forums

originally posted in:BungieNetPlatform
1/27/2016 5:40:35 PM
2

Requesting help with getting items from manifest

To start I am using the manifest php code found here [url]http://bungienetplatform.wikia.com/wiki/Manifest[/url] So, what I am doing is grabbing the json for saladin and trying to loop through the inventory found for the "Event Rewards". When I loop through the 8 entries found I query the getSingleDefinition('DestinyInventoryItemDefinition', $itemHash). Trouble is I get 5 of the 8 returning false. I have echoed out the 5 itemHash values that error out and looked them up in the inventory after extracting the JSON file and I can find the itemHash as output by my script? So, for instance, my script calls getSingleDefinition('DestinyInventoryItemDefinition', 3367786034) and returns false, but looking it up manually by opening the extracted 16MB file [json_encode(getDefinition('DestinyInventoryItemDefinition'), JSON_PRETTY_PRINT)] I see that 3367786034 is the Goldspiral shadder. Can anyone give me any insight into why I can't seem to get the data from the function call, but the data is found manually in the same table/file that the function is looking in?
English

Posting in language:

 

Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

View Entire Topic
  • Well, first of all i think this is a SO (StackOverflow) question, and i would actually go and post the script in SO and try to get some help. Second, if manually works and the script doesn't then that's a pretty good indication that the script is wrong.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

You are not allowed to view this content.
;
preload icon
preload icon
preload icon