JackJack

JackJack

792 Downloads

Waypoints not showing up on highest zoom level

fechan opened this issue ยท 2 comments

commented

This is because we pass in InstanceIDs (PKs of Map table) to TomTom:SetWaypoint's map param, instead of UiMapIDs (PKs of UiMap).

It seems the UiMapAssignment table maps InstanceIDs to corresponding UiMapIDs, so probably we want to use that instead. It looks like a join table; can one InstanceID have many UiMapIDs or vice versa?

If we can get the UiMapIDs reliably, then we only need to store this in the final locations lua file.

commented

It seems it actually maps PKs of AreaTable to PKs of UiMap, which throws a wrench in the works. AreaPOI is the only dataset which actually provides this information, and I'm not entirely sure I can just replace the uiMapId I get from C_Map.GetMapPosFromWorldPos directly without also transforming the mapPosition I get from it somehow.

Needs further research.