Quantcast
Download
(5 Kb)
Download
Updated: 11/12/17 02:36 PM
Pictures
File Info
Compatibility:
Clockwork City (3.2)
Updated:11/12/17 02:36 PM
Created:10/15/17 12:20 PM
Monthly downloads:703
Total downloads:735
Favorites:5
MD5:
3.2
Trials Weekly Reset Tracker Extended
Version: 1.5.1
by: simarsenault [More]
Trials Weekly Reset Tracker Extended

Keep track of your characters' trial rewards timers.

To show your timers, use the command /twrte.
Each timer activates the first time you receive the reward of a trial (per character).

This addon is based on Trials Weekly Reset Tracker by Randactyl. It is pretty much the same, but with two main differences:
  1. It shows timers for all your characters, not only the current character.
  2. It shows the trial name instead of the quest name. (Example: "Sanctum Ophidia" instead of "The Oldest Ghost")

GitHub: https://github.com/simarsenault/Tria...rackerExtended
1.5.1 (2017-11-12)
- Fixed typo in trial name "Aetherian Archive" (Thanks to BrightOblivion)
- Halls of Fabrication timer should now work (Thanks to BrightOblivion)

1.5.0 (2017-11-06)
- Added /twrtedebug to output all looted items and completed quests with their ID

1.4.0 (2017-11-05)
- Normal and veteran versions of a trial now share the same timer

1.3.1 (2017-10-29)
- Fixed nil exception on coffer loot

1.3.0 (2017-10-29)
- Fixed a bug that would reset timer when it should not
- Added logs for easier debugging

1.2.0 (2017-10-27)
- Added key binding

1.1.1 (2017-10-25)
- New supported trial: Asylum Sanctorium

1.1.0 (2017-10-24)
- API bump: 100021
- Added last looted item and last completed quest per character in saved variables for debugging purposes

1.0.0 2017-10-15)
- Initial release
Optional Files (0)


Archived Files (8)
File Name
Version
Size
Author
Date
1.5.0
5kB
simarsenault
11/06/17 08:54 PM
1.4.0
5kB
simarsenault
11/05/17 09:13 PM
1.3.1
5kB
simarsenault
10/29/17 08:00 PM
1.3.0
5kB
simarsenault
10/29/17 07:45 AM
1.2.0
5kB
simarsenault
10/27/17 06:53 PM
1.1.1
4kB
simarsenault
10/25/17 07:27 PM
1.1.0
4kB
simarsenault
10/25/17 04:18 AM
1.0.0
3kB
simarsenault
10/15/17 12:20 PM


Post A Reply Comment Options
Unread 11/12/17, 02:27 PM  
simarsenault
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 4
Uploads: 1
Hi BrightOblivion,

You spotted it! It was because the loot ids weren't in the TWRTE.lootIds table. When you looted the coffer, it didn't find it in the table so the addon didn't process the loot event. I will publish an update.

Thank you very much!

Edit 1: Update 1.5.1 published, it should be available on Minion soon.

Edit 2: Since you seem to know coding a bit, in the lootReceived function the line if TWRTE.lootIds[itemId] then returned false because the IDs were missing. Can't believe I didn't see that
Last edited by simarsenault : 11/12/17 at 02:41 PM.
Report comment to moderator  
Reply With Quote
Unread 11/12/17, 01:37 PM  
BrightOblivion

Forum posts: 0
File comments: 5
Uploads: 0
So I did some poking around and some tweaking of both the main.lua file and the Saved Variables file, and did manage to get the Halls of Fabrication timer to pop up when typing twrte. That said, I'm not sure if that's just due to the Saved Variables changes and I'll need to do them again next time or not, and won't until someone else tests it (maybe someone whose coffer is available before next Sunday at 12:31 AM).

I was going to post the contents of the file here, in their entirety, but it's too many characters and the comment thing said no. So, I'll just list the changes and where they go. What I changed in the main.lua is that I went to the TWRTE.lootIds section and added the lines

Code:
[126130] = "",
[126131] = "",
I also put the 'e' back in 'Aetherian Archive' in all instances because that was bugging me for some reason.

Because that will (theoretically) only work for the next time I get the Fabricant's Burnished Coffer (y'know, if it works at all), I then went to the Saved Variables folder for TWRTE, found the entry for the character who had done Halls of Fabrication, and added two lines directly below where it listed the entry for completing the quest:

Code:
[2] = "1510468254: timer reset for quest 5894 (item 126130)",
[3] = "1510468254: looted 1 |H0:item:126130:1:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h (126130)",
The time (the string of numbers at the beginning) was taken directly from the line stating when the quest had been completed. I then added the following line with the other listings under "coffers"

Code:
[5894] = 1511073054,
That time is the Unix time code for when your coffer will be available the next time, and can be found by going to a Unix Epoch Converter, taking your time of coffer receipt, adding 7 days, and plugging that in to find the Unix string for that. Again, if I was right in what I think the problem is/was, the addon should do these two parts the next time you get the Fabricant's Coffer, and does so for the other trials.

After I added in a comma that I was missing, I stopped getting errors and was able to see when all 6 coffers were available.

I hope that helps you suss out the error and a possible fix, simarsenault/ anyone else, and, y'know, I didn't just break anything.

A word of caution: Before attempting any of these changes, make sure to back up the two files somewhere safe. When checking to see if the Saved Variables changes had worked when I'd left off the comma, it was throwing off an LUA error and wiping the contents of the file, including all the time codes for the completed quests and available coffers for every character.
Last edited by BrightOblivion : 11/12/17 at 01:54 PM.
Report comment to moderator  
Reply With Quote
Unread 11/12/17, 12:40 AM  
BrightOblivion

Forum posts: 0
File comments: 5
Uploads: 0
The quest- 5894
The coffer- 126130

So said twrtedebug.

Edit: One cause I might have found is that, near the top under runtime data-> TWRTE.lootIds, neither the ID for the normal HoF coffer, nor the one for the vet coffer are listed.
Last edited by BrightOblivion : 11/12/17 at 08:29 AM.
Report comment to moderator  
Reply With Quote
Unread 11/06/17, 08:59 PM  
simarsenault
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 4
Uploads: 1
BrightOblivion,

I added a new command /twrtedebug. Next time you run HoF and you expect a coffer, run the command (make sure it says [TWRTE] Debug mode enabled. in chat) before turning the quest. When you turn the quest, it will display the quest id and coffer id. Take a screenshot or copy/paste it here. Quite busy right now, I don't think I'll run HoF this week.
Report comment to moderator  
Reply With Quote
Unread 11/05/17, 03:51 PM  
simarsenault
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 4
Uploads: 1
Re: Halls of Fabrication Timer

Originally Posted by BrightOblivion
This is an awesome mod, and I really appreciate it (It definitely helps me to tell at a glance when I'm going to get a coffer, so that I'm not caught by surprise after finishing a trial).

However, there's one problem.

For whatever reason, when it's printing out the timers using the /twrte command, it's not including Halls of Fabrication. It's including everything else, but not Halls. Not even to say "Fabricant's Burnished Coffer is available."

This is that character's section in the Saved Variables, in case that will help you figure out what's going on. As you can see, I completed "Forging the Future" last night, and I know for a fact I got a coffer (It contained a purple Master Architect resto staff and another Dwarven Construct Repair Part), so the timer should have reset, or at least showed up. This is the second week in a row, though, that I've completed Halls with the addon active and it's not shown anything (but is showing everything else for multiple characters as intended.

{}

I'd poke and prod and see if I could figure out what's up, but I'd really rather avoid breaking anything by accident, if that's alright with you.
Hi BrightOblivion,

Thanks for your report, I'll check that as soon as I can. It looks like the item ID for HoF is wrong in the addon so it didn't register when you looted it.
Report comment to moderator  
Reply With Quote
Unread 11/05/17, 01:54 PM  
BrightOblivion

Forum posts: 0
File comments: 5
Uploads: 0
Halls of Fabrication Timer

This is an awesome mod, and I really appreciate it (It definitely helps me to tell at a glance when I'm going to get a coffer, so that I'm not caught by surprise after finishing a trial).

However, there's one problem.

For whatever reason, when it's printing out the timers using the /twrte command, it's not including Halls of Fabrication. It's including everything else, but not Halls. Not even to say "Fabricant's Burnished Coffer is available."

This is that character's section in the Saved Variables, in case that will help you figure out what's going on. As you can see, I completed "Forging the Future" last night, and I know for a fact I got a coffer (It contained a purple Master Architect resto staff and another Dwarven Construct Repair Part), so the timer should have reset, or at least showed up. This is the second week in a row, though, that I've completed Halls with the addon active and it's not shown anything (but is showing everything else for multiple characters as intended.

{
["quests"] =
{
[5352] =
{
[94089] = 1510198797,
},
[6090] =
{
[134585] = 1510372960,
},
[5171] =
{
[87705] = 1510194239,
},
[5102] =
{
[87702] = 1509852570,
},
[5087] =
{
[87703] = 1509483238,
},
},
["name"] = "Sadrisa Sarethi",
["eventslog"] =
{
["config"] =
{
["amount"] = 100,
["enabled"] = true,
},
["logs"] =
{
[1] = "1509859231: completed quest Saints' Mercy (6090)",
[2] = "1509856470: completed quest Forging the Future (5894)",
[3] = "1509770016: completed quest Saints' Mercy (6090)",
[4] = "1509768160: timer reset for quest 6090 and item 134585",
[5] = "1509768160: looted 1 |H0:item:134585:123:50:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h (134585)",
[6] = "1509768160: completed quest Saints' Mercy (6090)",
[7] = "1509677916: completed quest Saints' Mercy (6090)",
[8] = "1509674024: completed quest Saints' Mercy (6090)",
[9] = "1509593997: timer reset for quest 5352 and item 94089",
[10] = "1509593997: looted 1 |H0:item:94089:123:50:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h (94089)",
[11] = "1509593997: completed quest Into the Maw (5352)",
[12] = "1509589439: timer reset for quest 5171 and item 87705",
[13] = "1509589439: looted 1 |H0:item:87705:123:50:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h (87705)",
[14] = "1509589439: completed quest The Oldest Ghost (5171)",
},
},
},

I'd poke and prod and see if I could figure out what's up, but I'd really rather avoid breaking anything by accident, if that's alright with you.
Last edited by BrightOblivion : 11/05/17 at 01:59 PM.
Report comment to moderator  
Reply With Quote
Unread 10/29/17, 08:08 PM  
simarsenault
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 4
Uploads: 1
Originally Posted by Tonyleila
Coud you maybe do a "dungon reward" and "Rewards of the Worthy" Reset Tracker so I can maximize the Transmutation Geode farm?
I'll look into dungeon rewards, but for the other one I don't PVP so I'd be hard to test
Report comment to moderator  
Reply With Quote
Unread 10/29/17, 11:58 AM  
Tonyleila
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 254
File comments: 541
Uploads: 6
Coud you maybe do a "dungon reward" and "Rewards of the Worthy" Reset Tracker so I can maximize the Transmutation Geode farm?
__________________
My Addons @ WoWInterface
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: