Download
(2 Kb)
Download
Updated: 09/14/20 04:52 AM
Pictures
File Info
Compatibility:
Stonethorn (6.1.5)
Updated:09/14/20 04:52 AM
Created:09/14/20 12:36 AM
Monthly downloads:48
Total downloads:3,991
Favorites:4
MD5:
Rewards for the Worthy
Version: 1.0.2
by: bitrock [More]
A simple addon that informs you whether you have a Transmutation Geode available to loot from a Rewards for the Worthy coffer, or how much time remains before your next one becomes available. Also sends an alert in the chat box when the cooldown is up and the next coffer will contain a Transmutation Geode.

Use the command /rftw to check how much time is left or to see if it is available.
1.0.2
- Implemented code quality fixes (Thanks zelenin)
- Changed cooldown timer to account-wide instead of installation-wide

1.0.1
- Critical bugfix

1.0.0
- Initial release
Optional Files (0)


Post A Reply Comment Options
Unread 09/16/20, 06:49 AM  
bitrock
 
bitrock's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 16
Uploads: 5
Re: Request

Originally Posted by Elo106
Can you please add cooldowns to Siege of Cyrodiil Merit (Imperial City Reward) and Arena Gladiator's Proof (Cyrodiil Reward) ?
That's something I didn't think of. Adding them should be quite trivial. I could add this the next time I have some free time I'd like spending on this. Thanks for the suggestion.
Last edited by bitrock : 09/16/20 at 06:53 AM.
Report comment to moderator  
Reply With Quote
Unread 09/16/20, 05:20 AM  
Elo106

Forum posts: 1
File comments: 3
Uploads: 0
Request

Can you please add cooldowns to Siege of Cyrodiil Merit (Imperial City Reward) and Arena Gladiator's Proof (Cyrodiil Reward) ?
Report comment to moderator  
Reply With Quote
Unread 09/14/20, 04:53 AM  
bitrock
 
bitrock's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 16
Uploads: 5
Thanks for these suggestions. I've implemented them in the latest update.

Originally Posted by zelenin
Code:
function RewardsForTheWorthy.ReceivedLoot(eventCode, lootedBy, itemLink, quantity, itemSound, lootType, isStolen)
isStolen => isMe
(EVENT_LOOT_RECEIVED (number eventCode, string receivedBy, string itemName, number quantity, ItemUISoundCategory soundCategory, LootItemType lootType, boolean self, boolean isPickpocketLoot, string questItemIcon, number itemId, boolean isStolen)

so you can remove this:
Code:
local formattedLootedBy = LocalizeString("<<1>>", lootedBy) -- no control codes
if(formattedLootedBy ~= playerName) then return end
for
Code:
if not isMe then return end
Report comment to moderator  
Reply With Quote
Unread 09/14/20, 04:13 AM  
zelenin
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 192
Uploads: 12
Code:
function RewardsForTheWorthy.ReceivedLoot(eventCode, lootedBy, itemLink, quantity, itemSound, lootType, isStolen)
isStolen => isMe
(EVENT_LOOT_RECEIVED (number eventCode, string receivedBy, string itemName, number quantity, ItemUISoundCategory soundCategory, LootItemType lootType, boolean self, boolean isPickpocketLoot, string questItemIcon, number itemId, boolean isStolen)

so you can remove this:
Code:
local formattedLootedBy = LocalizeString("<<1>>", lootedBy) -- no control codes
if(formattedLootedBy ~= playerName) then return end
for
Code:
if not isMe then return end
Report comment to moderator  
Reply With Quote
Unread 09/14/20, 04:02 AM  
zelenin
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 192
Uploads: 12
Now you have one timer for all accounts and servers.

Need change
Code:
RewardsForTheWorthy.savedVars = ZO_SavedVars:NewAccountWide("RFTWSavedVars", 1, nil, RewardsForTheWorthy.defaults, nil, "$InstallationWide")
to
Code:
RewardsForTheWorthy.savedVars = ZO_SavedVars:NewAccountWide("RFTWSavedVars", 2, nil, RewardsForTheWorthy.defaults, GetWorldName())
Last edited by zelenin : 09/14/20 at 04:16 AM.
Report comment to moderator  
Reply With Quote
Unread 09/14/20, 01:56 AM  
bitrock
 
bitrock's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 16
Uploads: 5
Re: UI error

Originally Posted by wraith1515
user:/AddOns/RewardsForTheWorthy/RewardsForTheWorthy.lua:74: operator < is not supported for nil < number
stack traceback:
user:/AddOns/RewardsForTheWorthy/RewardsForTheWorthy.lua:74: in function 'RewardsForTheWorthy.CheckGeodeReady'

This keeps popping up

P.S. uninstalled, in the current state error notifications are too annoying
Sorry about that, I missed an edge case. Thanks for the heads up and error log. Fixed in update.
Last edited by bitrock : 09/14/20 at 02:06 AM.
Report comment to moderator  
Reply With Quote
Unread 09/14/20, 01:33 AM  
wraith1515

Forum posts: 0
File comments: 7
Uploads: 0
UI error

user:/AddOns/RewardsForTheWorthy/RewardsForTheWorthy.lua:74: operator < is not supported for nil < number
stack traceback:
user:/AddOns/RewardsForTheWorthy/RewardsForTheWorthy.lua:74: in function 'RewardsForTheWorthy.CheckGeodeReady'

This keeps popping up

P.S. uninstalled, in the current state error notifications are too annoying
Last edited by wraith1515 : 09/14/20 at 01:41 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: