Getting a lua error with worldmap, if you choose the revive location
I'm getting an error message if I try to choose my revive location, after a death.
Code:
Map/WorldMapFilters_Shared.lua:40 - attempt to index a nil value It appears the most inside the imperial city. Anyone knows where this comes from, and if we can fix this? Thanks |
This issue is caused by some addon which is trying to access map filters in Imperial City context which does not exist. It could be for example old version of LibMapPins library, but I believe that it was fixed in LMP r10.
|
If its an add-on using outdated library it would be better to fix it there. Though technically it can be fixed by adding a patch add-on.
|
Thx for the infos guys. I'll check the addons and their librarys.
|
got same error, checked, all my active addons use r10 of libmappins.
ps: in the error, it's CustomCompassPins the guilty. Does this one is IC ready? |
Looks like nil instead of callback error to me.
|
Map/WorldMapFilters_Shared.lua:40
Lua Code:
My guess is that filters[self.mapFilterType] is nil there. If you check ./ingame/map/worldmap.lua +6238, you'll see there aren't filters[mapFilterType] tables for every mapMode/mapFilterType combination. Edit: specifically, MAP_MODE_AVA_RESPAWN doesn't have filters for MAP_FILTER_TYPE_AVA_IMPERIAL Edit2: Can't test it myself Lua Code:
|
Quote:
Error occurs in this function: Lua Code:
Because self.modeVars.filters[self.mapFilterType] is nil. (In this case self = WORLD_MAP_FILTERS.imperialPvPPanel and self.modeVars = self.savedVars[mapMode]) I wonder if it is because ZO_WorldMap_GetMode() returns invalid value (mapMode is invalid or nil). But I can't be sure unless I do some tests. |
Quote:
Lua Code:
|
In response to this thread I implemented a fix for this error internally this morning. We'll get it out to you as soon as we're able. Thanks!
|
Thanks for the information.
|
All times are GMT -6. The time now is 10:31 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI