🧙‍♂️ Brought to you by Peptides.gg — Use code UO20 for 20% off — GLP-1's, 90+ Peptides and more!

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

Started by ForeverFun · 2023-05-07 · 3 posts · General Discussions
#0
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)?

#1
“How do you track more than 1 target?
when you use the skill again doesn’t it cancel the initial track?”
#2
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.
← Browse more General Discussions discussions