map_floor array > same key elements?
Floor 1/1 contains all the instance data too, so it’s possible that the same map_id shows up multiple times with different values. To circumvent this, use floor 1/2 instead
See also: https://forum-en.gw2archive.eu/forum/community/api/API-Bug-map-floor-multiple-entries-per-map
OK, so we found the cause of this bug. The underlying map floor content sometimes points to the incorrect map_id for a few map instances.
Since it’s a bug in the underlying content, it’ll take a little while for it to be fixed in a live patch.
At least you found a good workaround in the meantime, which is to read floor 2’s data instead.
(edited by smiley.1438)
thank you very much, I thought I’m going crazy here …tables with multiple keys lol
Protip:
INSERT IGNORE INTO `mytable`...
(you might want to have a look at this: https://github.com/codemasher/gw2-database )
;)
(edited by smiley.1438)