mirsch / lab2gpx

GNU General Public License v3.0
26 stars 22 forks source link

Reuse of location codes in partially completed Adventure labs using V4 API #145

Closed crs98 closed 6 months ago

crs98 commented 6 months ago

When downloading a partially completed Adventure lab using the V4 API, the system is generating a linear list of codes for the locations and ignores the fact that some locations have already been done. This can lead to duplication of codes for data that was already stored in an existing database for the previously completed adventure locations.

I've attached two screenshots that show the issue. They show snippets of GSAK database tables and in one I have the list of my previously found entries of a partially completed Adventure. The codes for these are LCUU4Y01, LCUU4Y02, and LCUU4Y04. In the second screenshot, I show the V4 API download of a partially completed Adventure for the same AL. The two remaining stops are given the codes LCUU4Y01 and LCUU4Y02 instead of LCUU4Y03 and LCUU4Y05 which they should be labeled as. GSAK database - V4 API upload of partially completed Adventures GSAK database - previously found adventures