I was using these macros for hunter tracking from this post on us forums Hunter tracking by name
But they stopped working with The War Within pre-patch. The only thing I noticed is the change from GetSpellInfo
to C_Spell.GetSpellInfo
, but it’s not enough to get them working again.
Any insight would be greatly appreciated.
TRACK HIDDEN
/run for i=1,C_Minimap.GetNumTrackingTypes() do local x,_,y=C_Minimap.GetTrackingInfo(i) if x==GetSpellInfo(19885) then C_Minimap.SetTracking(i, not y) z='OFF' if not y then z='ON' end DEFAULT_CHAT_FRAME:AddMessage("| Track Hidden |---> "..z) end end
TRACK DEMON
/run for i=1,C_Minimap.GetNumTrackingTypes() do local x,_,y=C_Minimap.GetTrackingInfo(i) if x==GetSpellInfo(19878) then C_Minimap.SetTracking(i, not y) z='OFF' if not y then z='ON' end DEFAULT_CHAT_FRAME:AddMessage("| Track Demon |---> "..z) end end
TRACK BEASTS
/run for i=1,C_Minimap.GetNumTrackingTypes() do local x,_,y=C_Minimap.GetTrackingInfo(i) if x==GetSpellInfo(1494) then C_Minimap.SetTracking(i, not y) z='OFF' if not y then z='ON' end DEFAULT_CHAT_FRAME:AddMessage("| Track Beasts |---> "..z) end end
TRACK HUMANOIDS
/run for i=1,C_Minimap.GetNumTrackingTypes() do local x,_,y=C_Minimap.GetTrackingInfo(i) if x==GetSpellInfo(19883) then C_Minimap.SetTracking(i, not y) z='OFF' if not y then z='ON' end DEFAULT_CHAT_FRAME:AddMessage("| Track Humanoids |---> "..z) end end
TRACK GIANTS
/run for i=1,C_Minimap.GetNumTrackingTypes() do local x,_,y=C_Minimap.GetTrackingInfo(i) if x==GetSpellInfo(19882) then C_Minimap.SetTracking(i, not y) z='OFF' if not y then z='ON' end DEFAULT_CHAT_FRAME:AddMessage("| Track Giants |---> "..z) end end
TRACK UNDEAD
/run for i=1,C_Minimap.GetNumTrackingTypes() do local x,_,y=C_Minimap.GetTrackingInfo(i) if x==GetSpellInfo(19884) then C_Minimap.SetTracking(i, not y) z='OFF' if not y then z='ON' end DEFAULT_CHAT_FRAME:AddMessage("| Track Undead |---> "..z) end end
TRACK DRAGONKIN
/run for i=1,C_Minimap.GetNumTrackingTypes() do local x,_,y=C_Minimap.GetTrackingInfo(i) if x==GetSpellInfo(19879) then C_Minimap.SetTracking(i, not y) z='OFF' if not y then z='ON' end DEFAULT_CHAT_FRAME:AddMessage("| Track Dragonkin |---> "..z) end end
TRACK ELEMENTALS
/run for i=1,C_Minimap.GetNumTrackingTypes() do local x,_,y=C_Minimap.GetTrackingInfo(i) if x==GetSpellInfo(19880) then C_Minimap.SetTracking(i, not y) z='OFF' if not y then z='ON' end DEFAULT_CHAT_FRAME:AddMessage("| Track Elementals |---> "..z) end end
TRACK MECHANICALS
/run for i=1,C_Minimap.GetNumTrackingTypes() do local x,_,y=C_Minimap.GetTrackingInfo(i) if x==GetSpellInfo(229533) then C_Minimap.SetTracking(i, not y) z='OFF' if not y then z='ON' end DEFAULT_CHAT_FRAME:AddMessage("| Track Mechanicals |---> "..z) end end