originally posted in:BungieNetPlatform
View Entire Topic
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
-
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.