- changed status to resolved
GetMapContinents needs to be replaced
The GetMapContinents() function was removed in 8.2.0 API and is also removed from Wow Classic. Need to update to use an alternative method.
Comments (8)
-
reporter -
reporter - changed status to open
Replacement function causes errors
-
reporter Date: 2019-09-08 13:10:29
ID: 3
Error occured in: Global
Count: 1
Message: Usage: local info = C_Map.GetMapChildrenInfo(uiMapID [, mapType, allDescendants])
Debug:
[C]: GetMapChildrenInfo()
...ace\AddOns\RecipeRadarClassic\RecipeRadarClassic.lua:808: RecipeRadar_GetMapContinents()
...ace\AddOns\RecipeRadarClassic\RecipeRadarClassic.lua:354: RecipeRadar_GetCurrentContinent()
...ace\AddOns\RecipeRadarClassic\RecipeRadarClassic.lua:297: RecipeRadar_NewRegion()
...ace\AddOns\RecipeRadarClassic\RecipeRadarClassic.lua:188: RecipeRadar_OnEvent()
[string ":OnEvent"]:1:
[string ":OnEvent"]:1
Locals:
(*temporary) = "Usage: local info = C_Map.GetMapChildrenInfo(uiMapID [, mapType, allDescendants])" -
reporter re
#8-- Need to replace GetMapZones as well, as it was also removedAllows options panel to work somewhat better, but it still needs more work
→ <<cset b39c57c11336>>
-
reporter - changed status to resolved
Fix
#8-- Need to define COSMIC_MAP_ID→ <<cset 434162f0055e>>
-
reporter Fix
#8- Set the cosmic map ID to be 947 (Azeroth) as there are no other worlds in Classic→ <<cset 0f333b57722d>>
-
reporter re
#8re#13- Change continent values to be the actual continent ID→ <<cset 5b039afc8034>>
-
reporter re
#8#13more fixes for continent changes and lack of instance names→ <<cset 08beee654bc2>>
- Log in to comment
Fix
#8-- Replace GetMapContinents with internal functionUse replacement function as described in LibTourist to fix the fact that GetMapContinents() was removed
→ <<cset a2c8b756e424>>