Download
(20 Kb)
Download
Updated: 08/29/21 12:51 AM
Pictures
File Info
Compatibility:
Waking Flame (7.1.5)
Updated:08/29/21 12:51 AM
Created:01/30/21 11:12 AM
Monthly downloads:684
Total downloads:21,029
Favorites:20
MD5:
SquishyFinder  Popular! (More than 5000 hits)
Version: 1.6
by: Divnyi [More]
Have you ever attacked an enemy player and have an instant regret, because he is way tankier than you can handle? I had, so that's why I created this addon.

This addon shows target current health and max health around the cursor, with color and title depending on their health.

Addon differentiates between NPC (pet is NPC) and Players, with color groups & titles being defined separately.

Requirements:
* LibAddonMenu-2.0

You can see how it looks like in action in one of my videos.
1.6: Added an option to show enemy HP as percentage at the same place where execute message should appear

1.5: Now it detects damage shields and shows their value below current HP, current HP color group takes damage shield into account;
Positioning, font size;
Can now disable it in PvE content;
Can now disable it for non-targetable units (allies);

1.4: Removed LibStub dependency.

1.3: Current HP label uses color group independently from the rest of UI.
Archived Files (1)
File Name
Version
Size
Uploader
Date
1.5
19kB
Divnyi
02/04/21 06:51 PM


Post A Reply Comment Options
Unread 01/31/21, 07:26 AM  
mrx2015

Forum posts: 0
File comments: 7
Uploads: 0
Exclamation LibSub

sadly your addon needs LibStub which won´t be updated any longer. hope you find a good solution for that since the addon sounds pretty nice
Report comment to moderator  
Reply With Quote
Unread 01/31/21, 07:54 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5990
Uploads: 78
Yes, please remove LibStub from your addon! It#s not used anymore since Summerset.
Whereever you found the example from, pelase disregard this source of information and tell us where you found it so we can remove that old source, thank you.

Change the line in your txt to:
Code:
## DependsOn: LibAddonMenu-2.0>=32
-> 32 is the actual version of the library LibAddonMenu-2.0

And in your code remove the lines with LibStub
Lua Code:
  1. local LAM2 = LibStub:GetLibrary("LibAddonMenu-2.0")
and change it to
Code:
local LAM = LibAddonMenu2


PLEASE: If your addon needs libraries/dependencies then name them inside the description of your addon so players are able to see the dependencies within Minion and install them directly!
Else they would need to login and find out the addon needs a library to work.

btw:
EVENT_ADD_ON_LOADED is run for eacha ddon!! So unregister your event callback "SuqishyFinder.OnAddonLoaded) after YOUR addon got loaded! Or the function willbe called once agan for each other addon and library!

In this function do this:
Lua Code:
  1. function SquishyFinder.OnAddOnLoaded(event, addonName)
  2.   if addonName == SquishyFinder.name then
  3.     EVENT_MANAGER:UnregisterForEvent(SquishyFinder.name, EVENT_ADD_ON_LOADED)
  4.     SquishyFinder:Initialize()
  5.   end
  6. end
Last edited by Baertram : 01/31/21 at 07:56 AM.
Report comment to moderator  
Reply With Quote
Unread 01/31/21, 12:01 PM  
iiJonno
 
iiJonno's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 42
Uploads: 5
is it not already unregistered on line 39?
Report comment to moderator  
Reply With Quote
Unread 01/31/21, 02:12 PM  
Divnyi
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 8
Uploads: 1
Thanks for the comments. I've removed dependency and moved unregister event line to OnAddOnLoaded so it's more visible.
Report comment to moderator  
Reply With Quote
Unread 02/01/21, 02:55 PM  
Jurreq

Forum posts: 0
File comments: 29
Uploads: 0
Movable text?

Great idea. It'd be nice to be able to move the text around. I have another addon that shows reticle range of a target and it overlaps the squishy addon text shown to the right of the reticle. Ideally, I'd want to move the left and right text away from center by a quarter inch, but at least being able to move it as is would help resolve these interferences.

Good show,
@Jurreq
Report comment to moderator  
Reply With Quote
Unread 02/03/21, 09:02 AM  
xen32
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 104
Uploads: 1
Hey!

Is it possible to make this only active for enemy players and/or only in PvP areas?
Font size options would be lovely as well.


Looking forward to using possible future version of this, right now it is a bit too much information that I don't normally need.
Last edited by xen32 : 02/03/21 at 09:04 AM.
Report comment to moderator  
Reply With Quote
Unread 02/03/21, 01:11 PM  
iiJonno
 
iiJonno's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 42
Uploads: 5
Originally Posted by xen32
Hey!

Is it possible to make this only active for enemy players and/or only in PvP areas?
Font size options would be lovely as well.


Looking forward to using possible future version of this, right now it is a bit too much information that I don't normally need.
Both are quite possible i done this to mine
Report comment to moderator  
Reply With Quote
Unread 02/04/21, 12:39 AM  
xen32
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 104
Uploads: 1
Originally Posted by iiJonno
Originally Posted by xen32
Hey!

Is it possible to make this only active for enemy players and/or only in PvP areas?
Font size options would be lovely as well.


Looking forward to using possible future version of this, right now it is a bit too much information that I don't normally need.
Both are quite possible i done this to mine
What is the function to detect if you are targeting enemy players?
Report comment to moderator  
Reply With Quote
Unread 02/04/21, 10:31 AM  
nk125x

Forum posts: 5
File comments: 52
Uploads: 0
Can you also display their armour?
Report comment to moderator  
Reply With Quote
Unread 02/04/21, 07:11 PM  
Divnyi
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 8
Uploads: 1
Originally Posted by nk125x
Can you also display their armour?
As far as I know, it is impossible to take enemy armor values.

Anyone here can try to correct me with a snippet, would definitely include that
Report comment to moderator  
Reply With Quote
Unread 02/04/21, 07:11 PM  
Divnyi
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 8
Uploads: 1
Originally Posted by xen32
Hey!

Is it possible to make this only active for enemy players and/or only in PvP areas?
Font size options would be lovely as well.


Looking forward to using possible future version of this, right now it is a bit too much information that I don't normally need.
Done in 1.5
Report comment to moderator  
Reply With Quote
Unread 02/04/21, 07:12 PM  
Divnyi
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 8
Uploads: 1
Re: Movable text?

Originally Posted by Jurreq
Great idea. It'd be nice to be able to move the text around. I have another addon that shows reticle range of a target and it overlaps the squishy addon text shown to the right of the reticle. Ideally, I'd want to move the left and right text away from center by a quarter inch, but at least being able to move it as is would help resolve these interferences.

Good show,
@Jurreq
Done in 1.5
Report comment to moderator  
Reply With Quote
Unread 02/05/21, 05:37 AM  
xen32
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 104
Uploads: 1
Originally Posted by Divnyi
Originally Posted by xen32
Hey!

Is it possible to make this only active for enemy players and/or only in PvP areas?
Font size options would be lovely as well.


Looking forward to using possible future version of this, right now it is a bit too much information that I don't normally need.
Done in 1.5
Now this is amazing! Already tested, works great.

Thanks!
Report comment to moderator  
Reply With Quote
Unread 02/05/21, 08:00 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5990
Uploads: 78
Originally Posted by Divnyi
Originally Posted by nk125x
Can you also display their armour?
As far as I know, it is impossible to take enemy armor values.

Anyone here can try to correct me with a snippet, would definitely include that
Inspecting other players values except their attributes is not possible.
You could only do this via using the same addon and being in the same group, via a workaround like sending small info of data via e.g. LibMapPing.

But getting infos about the other parts is restricted to the given API functions that use the reticle. If they do not provide that info [and they might even behave differently within PVP areas as old addons abused it somehow (e.g. providing attack warnings for users that will be attacked from seak so they were able to block in advance...) and stuff was restricted/removed] you can't get it.
Report comment to moderator  
Reply With Quote
Unread 02/08/21, 06:01 PM  
Jurreq

Forum posts: 0
File comments: 29
Uploads: 0
Re: Re: Movable text?

Originally Posted by Divnyi
Originally Posted by Jurreq
Great idea. It'd be nice to be able to move the text around. I have another addon that shows reticle range of a target and it overlaps the squishy addon text shown to the right of the reticle. Ideally, I'd want to move the left and right text away from center by a quarter inch, but at least being able to move it as is would help resolve these interferences.

Good show,
@Jurreq
Done in 1.5
Thank you!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: