Download
(58 Kb)
Download
Updated: 06/02/21 08:35 PM
Pictures
File Info
Compatibility:
Blackwood (7.0.5)
Updated:06/02/21 08:35 PM
Created:06/05/16 08:06 PM
Monthly downloads:122
Total downloads:23,338
Favorites:49
MD5:
Poison Tracker  Popular! (More than 5000 hits)
Version: 1.11
by: dorrino [More]
Description

This addon displays an icon for your currently equipped poison along with the number of its stacks left at the location of your choice.

Features:
  • You can change the location of the icon, its size, type of its border and transparently of its background to your liking.

  • The icon always corresponds to the poison applied to your current weapon pair. If you swap weapon - the icon changes to the poison that is applied to your second weapon pair.

  • If no poison is applied to the current weapon pair either a empty poison icon is shown or the addon icon disappears entirely, depending on your preferences.

  • If the currently shown poison procs, the 10 second cooldown is started and is shown on the icon.

  • There's an option to display animation on the icon if the poison procs. Can be turned off in the addon ingame options.

Known issues:
  • In very rare circumstances while swapping the equipped poison with a new one the poison cooldown will activate on the icon. This behavior should be VERY rare (happens when the number of stacks of the poison you're trying to equip is exactly 1 less than the number of stacks of the poison you swap it with).

Notes:
  • The 'Unlocked' text above the icon will disappear when you lock it Locked icon can not be moved on the screen and, unlike the unlocked one, won't show on top of the game's menus (like inventory, world map etc).

  • I highly recommend to try Phinix's Poison Master, which provides a quick access to your favorite poisons and works great along with my Poison Tracker.

  • I'm a new modder so bugs can happen. Please report them to me in the comments section and i'll do my best to fix them.

  • Please feel free to offer suggestions about features you'd like to see in this addon.

If you like this addon, please check out my other addons Zone Name Alert and Innocent Blade of Woe(last). Thank you!
1.11 - fixed lua error after the patch

1.1 - added a sound that plays when your poison procs

1.06 - cleared up the code a bit. Added accountwide settings. Api version updated for Morrowind.

1.03 - API bump and LibAddonMenu update.

1.02
Fixed error on skills pickup. Sorry about that.

1.01
Prehooks rewritten. Now hides in menu screens it hasn't been hidden before (like reading books). Now shows while looting.
Archived Files (6)
File Name
Version
Size
Uploader
Date
1.1
52kB
dorrino
05/25/18 03:28 PM
1.06
49kB
dorrino
05/23/17 02:20 PM
1.03
44kB
dorrino
08/02/16 01:03 AM
1.02
40kB
dorrino
06/10/16 02:09 PM
1.01
40kB
dorrino
06/10/16 11:15 AM
1.0
40kB
dorrino
06/05/16 08:06 PM


Post A Reply Comment Options
Unread 12/17/23, 10:40 AM  
Chivana
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 36
Uploads: 1
Fix?

I made countdown and animation work by changing the line
if itemSoundCategory~=20 or bagId~=0 then return end
to
if itemSoundCategory~=0 or bagId~=0 then return end
in function PT.OnSingleSlotUpdate (line 89). The parameter itemSoundCategory seems to be 0 on proc, so 20 makes the function end before calling PT.onProc, which starts cooldown and animation.

Hope it works for you aswell and does not cause any other problems!

Ofc I also removed the libs folder like PhoenixWeb suggested. Thank you for that! It didn't make the addon work though.

Last edited by Chivana : 12/17/23 at 10:33 PM.
Report comment to moderator  
Reply With Quote
Unread 03/07/23, 08:04 AM  
PhoenixWeb
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 11
Uploads: 1
Works For Me.... with these changes.

Add the following to the header below ##SavedVariables:...
Code:
## DependsOn: LibAddonMenu-2.0
Remove the following Code below the disclaimer:
Code:
libs\LibStub\LibStub.lua


libs\LibAddonMenu-2.0\LibAddonMenu-2.0.lua

libs\LibAddonMenu-2.0\controls\panel.lua

libs\LibAddonMenu-2.0\controls\submenu.lua

libs\LibAddonMenu-2.0\controls\button.lua

libs\LibAddonMenu-2.0\controls\checkbox.lua

libs\LibAddonMenu-2.0\controls\colorpicker.lua

libs\LibAddonMenu-2.0\controls\custom.lua

libs\LibAddonMenu-2.0\controls\description.lua

libs\LibAddonMenu-2.0\controls\dropdown.lua

libs\LibAddonMenu-2.0\controls\editbox.lua

libs\LibAddonMenu-2.0\controls\header.lua

libs\LibAddonMenu-2.0\controls\slider.lua

libs\LibAddonMenu-2.0\controls\texture.lua

libs\LibAddonMenu-2.0\controls\iconpicker.lua
You *should* be able to safely remove the libs directory, but test first if you want to be sure.

In my testing:
  • The count decreases with poison use.
  • The animation works.
  • The Proc sound is heard.
Report comment to moderator  
Reply With Quote
Unread 01/02/23, 10:36 PM  
vsrs_au

Forum posts: 15
File comments: 17
Uploads: 0
Originally Posted by choekstr
Originally Posted by sMuggle
Anyone able to get this one to work?
It sorta works for me:


WORKING
- Icon hiding and unhiding if poisons are present
- Poison count on icon (only way to know if poison procs)
- moving of icon
- locking of icon in place and removing "unlocked"


NOT WORKING (the only two for which I wanted this addon)
- Sound when it procs
- count down for cooldown (supposed to be 10 seconds)
For me, the count doesn't update when I use a poison, and the poison animation and cooldown timer never show.
Report comment to moderator  
Reply With Quote
Unread 08/07/22, 02:28 PM  
BMCXP
 
BMCXP's Avatar

Forum posts: 1
File comments: 44
Uploads: 0
Working

I managed to get this working again.

What I did is easy to do, no programing.
Replace both of the Lib directories in the Lib folder with the newer versions of those lib files.

Libstub 2022 &
Libaddonmenue-2.0 2022
Report comment to moderator  
Reply With Quote
Unread 05/21/22, 12:09 PM  
BMCXP
 
BMCXP's Avatar

Forum posts: 1
File comments: 44
Uploads: 0
Reference to LibStub

Can someone remove the reference to LibStub and make this addon work properly.
Report comment to moderator  
Reply With Quote
Unread 09/26/21, 01:57 PM  
choekstr
 
choekstr's Avatar

Forum posts: 14
File comments: 391
Uploads: 0
Originally Posted by sMuggle
Anyone able to get this one to work?
It sorta works for me:


WORKING
- Icon hiding and unhiding if poisons are present
- Poison count on icon (only way to know if poison procs)
- moving of icon
- locking of icon in place and removing "unlocked"


NOT WORKING (the only two for which I wanted this addon)
- Sound when it procs
- count down for cooldown (supposed to be 10 seconds)
Report comment to moderator  
Reply With Quote
Unread 09/16/21, 12:53 PM  
sMuggle

Forum posts: 6
File comments: 124
Uploads: 0
Anyone able to get this one to work?
Last edited by sMuggle : 09/16/21 at 07:57 PM.
Report comment to moderator  
Reply With Quote
Unread 09/06/21, 11:25 PM  
Illutian

Forum posts: 0
File comments: 41
Uploads: 0
The bug of Account Wide not working is still present.
Report comment to moderator  
Reply With Quote
Unread 07/20/21, 12:36 PM  
32bitpins

Forum posts: 0
File comments: 1
Uploads: 0
I'm having issues with this addon (though it's a great addon). There's no addon menu tab for it and it seems to prevent my other addons from showing in the menu. Would be great if it could be resolved, I love the addon.

EsoUI/Libraries/ZO_Templates/ScrollTemplates.lua:762: attempt to index a nil value
stack traceback:
EsoUI/Libraries/ZO_Templates/ScrollTemplates.lua:762: in function 'AreSelectionsEnabled'
EsoUI/Libraries/ZO_Templates/ScrollTemplates.lua:1517: in function 'ZO_ScrollList_SelectData'
user:/AddOns/Poison_Tracker/libs/LibAddonMenu-2.0/LibAddonMenu-2.0.lua:769: in function 'lam:OpenToPanel'
user:/AddOns/Poison_Tracker/libs/LibAddonMenu-2.0/LibAddonMenu-2.0.lua:1017: in function 'fn'
EsoUI/Ingame/SlashCommands/SlashCommands_Shared.lua:204: in function 'DoCommand'
EsoUI/Ingame/ChatSystem/SharedChatSystem.lua:1785: in function 'SharedChatSystem:SubmitTextEntry'
EsoUI/Ingame/ChatSystem/SharedChatSystem.lua:2503: in function 'ZO_ChatTextEntry_Execute'
ZO_ChatWindowTextEntryEditBox_Enter:3: in function '(main chunk)'
(tail call): ?
(tail call): ?
Report comment to moderator  
Reply With Quote
Unread 06/02/21, 08:36 PM  
dorrino
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 203
Uploads: 10
Originally Posted by FWSWBN
possible that someone can fix it
would be very nice






i love this little addon
I gotcha The fix is being uploaded right now.
Report comment to moderator  
Reply With Quote
Unread 06/01/21, 07:16 AM  
FWSWBN
 
FWSWBN's Avatar

Forum posts: 17
File comments: 489
Uploads: 0
possible that someone can fix it
would be very nice

user:/AddOns/Poison_Tracker/Poison_Tracker.lua:357: attempt to index a nil value
stack traceback:
user:/AddOns/Poison_Tracker/Poison_Tracker.lua:357: in function 'PT.OnOff'
user:/AddOns/Poison_Tracker/Poison_Tracker.lua:394: in function 'PT.OnLoad'

user:/AddOns/Poison_Tracker/Poison_Tracker.lua:149: attempt to index a nil value
stack traceback:
user:/AddOns/Poison_Tracker/Poison_Tracker.lua:149: in function 'PT.InitControls'
user:/AddOns/Poison_Tracker/Poison_Tracker.lua:372: in function 'PT.Activated'
i love this little addon
Report comment to moderator  
Reply With Quote
Unread 04/20/20, 07:16 PM  
diazexmachina
 
diazexmachina's Avatar

Forum posts: 3
File comments: 12
Uploads: 0
I can't move the icon. It says it is unlocked, both in the addon menu and with a text above it, but I can't move it, it stays in the center of the screen. This is pretty annoying.
Report comment to moderator  
Reply With Quote
Unread 01/01/20, 03:48 PM  
elzzid

Forum posts: 5
File comments: 13
Uploads: 0
Originally Posted by Atavus
Originally Posted by dorrino
Aaad i added acount wide settings
Hi,
Account Wide settings don't seem to work or something. I have them enabled, I fix things on 1 character, but every other character still have the default settings, even if AW is on. I have to manually redo settings for each character by editing the LUA file and copying settings from 1st character to make it work.
This bug still exists.

Originally Posted by Xanderificus
I don't know if this is abandoned or not but thought I'd throw out a quick suggestion. When I'm not in combat, most of my HUD disappears....but not this one. Would be nice to have that option.

Oh, and maybe choices on which sound it makes.
Yeah, this would be really nice.

I really hope this isn't abandoned, as I have found it quite useful.
Report comment to moderator  
Reply With Quote
Unread 04/22/19, 06:13 PM  
Xanderificus

Forum posts: 7
File comments: 55
Uploads: 0
Hide when not in combat option?

I don't know if this is abandoned or not but thought I'd throw out a quick suggestion. When I'm not in combat, most of my HUD disappears....but not this one. Would be nice to have that option.

Oh, and maybe choices on which sound it makes.
Report comment to moderator  
Reply With Quote
Unread 01/12/18, 02:26 PM  
Atavus

Forum posts: 2
File comments: 128
Uploads: 0
A small suggestion, as per my changes:
Increase font size of stacks as it is currently too small, esp with reduced size scaling, and slightly adjust edge spacing as stacks number is too close to the frame edge.

Code:
<Label name="$(parent)_Stacks" horizontalAlignment="CENTER" font="$(BOLD_FONT)|28|thin-outline" color="FFFF00">
<Anchor point="BOTTOMRIGHT" relativeTo="$(parent)" relativePoint="BOTTOMRIGHT" offsetX="-2" offsetY="-1" />
</Label>
Last edited by Atavus : 01/15/18 at 05:28 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: