Download
(1 Kb)
Download
Updated: 09/08/15 10:29 PM
Addon for:
MiniMap by Fyrakin.
Pictures
File Info
Compatibility:
Update 6 (1.6.5)
Updated:09/08/15 10:29 PM
Created:04/21/15 07:33 AM
Monthly downloads:112
Total downloads:13,062
Favorites:5
MD5:
MapFix  Popular! (More than 5000 hits)
Version: 1.04
by: Fyrakin [More]
This is a tiny add-on to fix map issues associated with add-ons that call SetMapToPlayerLocation() function while world map is open.
Version 1.04
  • Added patch for http://www.esoui.com/forums/showthread.php?t=5131.
  • Updated API version to 100012.

Version 1.03
  • Added slash commands /mfix on, /mfix off, /mfix safe.
  • Added safe mode which would partially block SetToPlayerLocation, only when wayshrine and transitus interface is shown.

Version 1.02
  • Map zoom to player now works in wayshrine interface too (just like it is supposed to).

Version 1.01
  • Map zoom to player now works while still not allowing other add-ons to SetToPlayerLocation() while map is shown.
Archived Files (3)
File Name
Version
Size
Uploader
Date
1.03
1kB
Fyrakin
04/21/15 12:12 PM
1.01
704B
Fyrakin
04/21/15 10:28 AM
1.0
625B
Fyrakin
04/21/15 07:36 AM


Post A Reply Comment Options
Unread 04/21/15, 11:38 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 577
File comments: 1667
Uploads: 40
Originally Posted by QuadroTony
its clearly Atlas issue, right?
Yes.
ATLAS hides the World Map, and does bring it back for the build-in tabs only.
An OnHide event handler would be better, but that's not Fyrakin's problem.

More scary is, that SetMapToPlayerLocation is blocked every second, even without any other addon.
I guess this is to follow the player?

edit 1:
Yes, I just left the map
Last edited by votan : 04/21/15 at 11:50 AM.
Report comment to moderator  
Reply With Quote
Unread 04/21/15, 11:28 AM  
Fyrakin
 
Fyrakin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 129
File comments: 866
Uploads: 7
Originally Posted by QuadroTony
Originally Posted by Fyrakin
Originally Posted by QuadroTony
thanks
i assume its different issue this addon not fixed

i use Atlas Reborn
and when i call world map first time after using this addon i see nothing

second time i press M all become normal





its clearly Atlas issue, right?
I suspect something, can you type
/script d(ZO_WorldMap:GetAlpha()) d(ZO_WorldMap:IsHidden())
while you don't see the map but everything else?
what are results?
0, false?
1, true
oh its smthing with waypointit tab
on other tabs all okay
will report to circonian
Well, at these result figures nothing is blocked by MapFix
Report comment to moderator  
Reply With Quote
Unread 04/21/15, 11:25 AM  
DeaTHCorE

Forum posts: 0
File comments: 7
Uploads: 0
hmm i have downloaded atlas and tested with and without my changes - the same result: no error with atlas! the problem is a another, a list of addons, where QuadroTony use is helpful to find the error...

EDIT: ups QuadroTony, you post at the time where i have write circonian waypoints i think you mean? sorry for my bad english and my interest is: i have drastic frame drops by change the zone (hardware: ci7 2600k@4,3 Ghz, 16gb ram, gigabyte gtx 970 gaming g1, game and system - win8 x64 - both on a seperate ssd, the system is powerfull enough), so i will search for a way to eliminate this and i write addons in wow since over 6 years

Originally Posted by Fyrakin
Originally Posted by QuadroTony
thanks
i assume its different issue this addon not fixed

i use Atlas Reborn
and when i call world map first time after using this addon i see nothing

second time i press M all become normal





its clearly Atlas issue, right?
I suspect something, can you type
/script d(ZO_WorldMap:GetAlpha()) d(ZO_WorldMap:IsHidden())
while you don't see the map but everything else?
what are results?
0, false?
Last edited by DeaTHCorE : 04/21/15 at 11:37 AM.
Report comment to moderator  
Reply With Quote
Unread 04/21/15, 11:22 AM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
Originally Posted by Fyrakin
Originally Posted by QuadroTony
thanks
i assume its different issue this addon not fixed

i use Atlas Reborn
and when i call world map first time after using this addon i see nothing

second time i press M all become normal





its clearly Atlas issue, right?
I suspect something, can you type
/script d(ZO_WorldMap:GetAlpha()) d(ZO_WorldMap:IsHidden())
while you don't see the map but everything else?
what are results?
0, false?
1, true
oh its smthing with waypointit tab
on other tabs all okay
will report to circonian
Last edited by QuadroTony : 04/21/15 at 11:23 AM.
Report comment to moderator  
Reply With Quote
Unread 04/21/15, 11:13 AM  
Fyrakin
 
Fyrakin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 129
File comments: 866
Uploads: 7
Originally Posted by QuadroTony
thanks
i assume its different issue this addon not fixed

i use Atlas Reborn
and when i call world map first time after using this addon i see nothing

second time i press M all become normal





its clearly Atlas issue, right?
I suspect something, can you type
/script d(ZO_WorldMap:GetAlpha()) d(ZO_WorldMap:IsHidden())
while you don't see the map but everything else?
what are results?
0, false?
Last edited by Fyrakin : 04/21/15 at 11:14 AM.
Report comment to moderator  
Reply With Quote
Unread 04/21/15, 10:30 AM  
Fyrakin
 
Fyrakin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 129
File comments: 866
Uploads: 7
"Current Location" zoom will work with MapFix.
Report comment to moderator  
Reply With Quote
Unread 04/21/15, 09:49 AM  
Fyrakin
 
Fyrakin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 129
File comments: 866
Uploads: 7
Well, the function replacement here is strictly to filter out any attempts to do it in a wrong time, otherwise it allows to set map to player location. In fact it is compatible with MiniMap. If there is still an issue it might be other function as well, there are more functions that can mess up the map.
Report comment to moderator  
Reply With Quote
Unread 04/21/15, 08:47 AM  
DeaTHCorE

Forum posts: 0
File comments: 7
Uploads: 0
i think not, that this fix here help - the function is overwritten and if the worldmap opened first time calls the function SetMapToPlayerLocation(), is logical a with the fix here become the map wrong information i think, this fix is not the answer... hmm a timed check - all 2 secounds or so - is a call allowed is possibly the way? a test can give answer


EDIT: you can try this: (overwrite all in the file MapFix.lua with the follow)

local _SetMapToPlayerLocation = SetMapToPlayerLocation
local firstCall = nil
function SetMapToPlayerLocation()
if ZO_WorldMap:IsHidden() then
firstCall = nil
return _SetMapToPlayerLocation()
end

if not firstCall then
firstCall = true
return _SetMapToPlayerLocation()
end
return SET_MAP_RESULT_CURRENT_MAP_UNCHANGED
end

let me know if this fix the problem with atlas... i don't have atlas a i interessted

Originally Posted by QuadroTony
thanks
i assume its different issue this addon not fixed

i use Atlas Reborn
and when i call world map first time after using this addon i see nothing

second time i press M all become normal





its clearly Atlas issue, right?
Last edited by DeaTHCorE : 04/21/15 at 09:11 AM.
Report comment to moderator  
Reply With Quote
Unread 04/21/15, 08:28 AM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
thanks
i assume its different issue this addon not fixed

i use Atlas Reborn
and when i call world map first time after using this addon i see nothing

second time i press M all become normal





its clearly Atlas issue, right?
Report comment to moderator  
Reply With Quote
Unread 04/21/15, 07:38 AM  
Fyrakin
 
Fyrakin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 129
File comments: 866
Uploads: 7
MapFix

This should help to those who struggle to find a fix for odd map behavior. If you are experiencing incorrect map display after changing zones, this small add-on may help.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: