Thread: Explorer Coords
View Single Post
05-01-14, 02:20 AM   #23
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
The assetID is actually the ID of the overlay you reveal in WorldMapOverlay.dbc to meet the criteria and almost all of the data I'm exporting comes from that file.

I'm just getting the center of the overlay coordinates and tying the overlay to its map and then getting the achievementID associated with the map (which is a little tricky, it's mostly matching the "Explore X Zone" text with the map name).

This way I don't have to even touch Achievement_Criteria.dbc because I know it's missing data, even though I have no problem patching the rest of the files.

If I parsed the criteria dbc I could go ahead and replace the overlay assetIDs with the criteria IDs but it isn't that big of a deal. The only difference would be not having to loop over the criteria to match the assetID.
  Reply With Quote