EC: Tracking skill UI and additional improvement (part 1)

This is a bug / improvement to tracking.

Two changes:
  1. Reliably show tracking markers for targets in the mini-map.
  2. Attempt to attribute name of target in tracking marker.  (hover over marker will show name, right click  "View Waypoint data" will also show name).
A separate post will cover some improvements to the way the tracking gump is handled.

Changes in MapCommon.lua:

MapCommon.UpdateWaypoints(), comment out this code:

		--if( IsMobile(waypointId) == true)then			
-- continue
--end

MapCommon.WaypointMouseOver(), replace existing wname code line with new code below.

					--wname = GetStringFromTid(1155436)
if(TrackingPointer.TrackWaypoints[waypointId].MobName ~= nil) then
wname = TrackingPointer.TrackWaypoints[waypointId].MobName
wtype = 58 -- type = target
else
if(WindowData.MobileName[waypointId] and WindowData.MobileName[waypointId].MobName) then
wname = WindowData.MobileName[waypointId].MobName
TrackingPointer.TrackWaypoints[waypointId].MobName = wname
wtype = 58 -- type = target
else
wname = GetStringFromTid(1155436)
end
end

MapCommon.WaypointOnRButtonUp(), replace existing wname code line with new code below.
				--wname = GetStringFromTid(1155436)				
if(TrackingPointer.TrackWaypoints[waypointId].MobName) then
wname = TrackingPointer.TrackWaypoints[waypointId].MobName
wtype = 58 -- type = target
else
if(WindowData.MobileName[waypointId] and WindowData.MobileName[waypointId].MobName) then
wname = WindowData.MobileName[waypointId].MobName
TrackingPointer.TrackWaypoints[waypointId].MobName = wname
wtype = 58 -- type = target
else
wname = GetStringFromTid(1155436)
end
end

New results when using tracking:




Moderator, feel free to move to the bugs subforum -- BUT  I've read the "General Discussions" may get more reading attention from the developer(s), however (reference: link)?

Comments

  • YoshiYoshi Posts: 3,322
    “How do you track more than 1 target?
    when you use the skill again doesn’t it cancel the initial track?”
    Posts on this account have been pre filtered from personal comment or opinion in an effort to suppress conservative views in order to protect the reader.
  • ForeverFunForeverFun Posts: 802
    edited May 2023
    Yoshi said:
    “How do you track more than 1 target?
    when you use the skill again doesn’t it cancel the initial track?”

    True, it's an optical illusion of sorts - once a new target is picked, you only get updates for the new target.  So the mini-map maintains the last tracked position of the prior targets as it stands now.

    I've made some other improvements, like prioritzing tracking invisible targets, color coding the marker based on notoriety (for visible/known targets), and last movement timestamp.  May post that later.
Sign In or Register to comment.