Download
(244 Kb)
Download
Updated: 05/30/23 05:37 PM
Pictures
File Info
Compatibility:
High Isle (8.0.0)
Updated:05/30/23 05:37 PM
Created:05/10/22 01:37 PM
Monthly downloads:143
Total downloads:8,872
Favorites:16
MD5:
ExoYs Tributes Enhancement  Popular! (More than 5000 hits)
Version: 1.5.0
by: ExoY [More]
This addon provides some simple but usefull additions to the new card games
"Tales of Tribute", which is released with the High Isle Chapter.



Dependencies: LibExoYsUtilities, LibAddonMenu

This addon provides
  • Time left for current turn
  • Button to whisper your opponent
  • Information about the current game length
  • Statistics about your games, wins and how long you have played ToT in total
  • Statistics about how you win or lose (new!)
  • Automatically accept activity finder (new!)
  • Automatically change your status (online, away, do not disturb, offline) for each match type ( (new!)

use /tributes_stats do show/hide a window (beta!) displaying the number of games and how often you won with each character. The design and displayed information will be polished with the upcoming patches. I just wanted to introduce a basic raw model to already enable some access to the stats.

The statistics are only displayed for the current character at the moment. The window will get expanded in the future.

This addon is still under development. I decided to already publish it to allow players to start creating their statistics from the very beginning.


To move the indicators use "/hourglass". Make sure to use the chat command again, to prevent any problems with the controls preventing you to click on whats beneath them.
1.5.0 [31.05.23]
* API bump
* compatibility update with LibExoYsUtilities V6


1.4.0 [16.8.22]
* added hotkey for stats window
* started reworking turn helper ui (aka turn time gui)
* code clean up and optimization

1.3.0 [6.8.22]
* record how the victory/defeat is achieved
* started to rework the stats gui
* option to automatically change player status during a match
* option for auto accept of casual and ranked games

1.2.0 [7.7.22]
* uses api to detect victory/defeat, thus no need for manual input anymore
* updates character name after a character name change

1.1.0
* fixed type of whisper
* added a raw model for the stats window

1.0.1

* potential hotfix for lua error when entering match outcome
Archived Files (7)
File Name
Version
Size
Uploader
Date
1.5.0
12kB
ExoY
08/16/22 06:14 PM
1.3.0
11kB
ExoY
08/06/22 04:01 AM
1.2.0
6kB
ExoY
07/07/22 04:35 PM
1.1.0
6kB
ExoY
06/17/22 08:06 PM
1.0.1
5kB
ExoY
06/13/22 01:17 AM
1.0.0
5kB
ExoY
06/06/22 05:11 AM
0.0.1
2kB
ExoY
05/10/22 01:37 PM


Post A Reply Comment Options
Unread 06/11/22, 01:58 PM  
NeuroticPixels
Addon Addict
 
NeuroticPixels's Avatar
Premium Member

Forum posts: 211
File comments: 869
Uploads: 0
Got the popup to select a win or defeat when I tried to concede during the tutorial, because the audio wasn't playing correctly. Whenever I tried to select victory or defeat, I got an error.

user:/AddOns/ExoYsTributesEnhancement/ExoYsTributesEnhancement.lua:272: attempt to index a nil value
stack traceback:
user:/AddOns/ExoYsTributesEnhancement/ExoYsTributesEnhancement.lua:272: in function 'ETE.SaveData'
|caaaaaa<Locals> victory = F, CreateCharStatistics = user:/AddOns/ExoYsTributesEnhancement/ExoYsTributesEnhancement.lua:259, charId = 8796093035941557 </Locals>|r
user:/AddOns/ExoYsTributesEnhancement/ExoYsTributesEnhancement.lua:243: in function 'm_callback'
/EsoUI/Libraries/ZO_Dialog/ZO_Dialog.lua:77: in function 'HandleCallback'
|caaaaaa<Locals> clickedButton = ud, dialog = ud, instanceId = 19 </Locals>|r
/EsoUI/Libraries/ZO_KeybindButton/ZO_KeybindButton.lua:194: in function 'ZO_KeybindButtonMixin:OnClicked'
|caaaaaa<Locals> self = ud, visible = T </Locals>|r
/EsoUI/Libraries/ZO_KeybindButton/ZO_KeybindButton.lua:265: in function 'ZO_KeybindButtonTemplate_OnMouseUp'
|caaaaaa<Locals> self = ud, button = 1, upInside = T </Locals>|r
ZO_Dialog1Button2_MouseUp:3: in function '(main chunk)'
|caaaaaa<Locals> self = ud, button = 1, upInside = T, ctrl = F, alt = F, shift = F, command = F </Locals>|r
Edit/Update:

Same thing after a victory against a novice NPC.

user:/AddOns/ExoYsTributesEnhancement/ExoYsTributesEnhancement.lua:272: attempt to index a nil value
stack traceback:
user:/AddOns/ExoYsTributesEnhancement/ExoYsTributesEnhancement.lua:272: in function 'ETE.SaveData'
|caaaaaa<Locals> victory = T, CreateCharStatistics = user:/AddOns/ExoYsTributesEnhancement/ExoYsTributesEnhancement.lua:259, charId = 8796093035941557 </Locals>|r
user:/AddOns/ExoYsTributesEnhancement/ExoYsTributesEnhancement.lua:237: in function 'm_callback'
/EsoUI/Libraries/ZO_Dialog/ZO_Dialog.lua:77: in function 'HandleCallback'
|caaaaaa<Locals> clickedButton = ud, dialog = ud, instanceId = 2 </Locals>|r
/EsoUI/Libraries/ZO_KeybindButton/ZO_KeybindButton.lua:194: in function 'ZO_KeybindButtonMixin:OnClicked'
|caaaaaa<Locals> self = ud, visible = T </Locals>|r
/EsoUI/Libraries/ZO_KeybindButton/ZO_KeybindButton.lua:265: in function 'ZO_KeybindButtonTemplate_OnMouseUp'
|caaaaaa<Locals> self = ud, button = 1, upInside = T </Locals>|r
ZO_Dialog1Button2_MouseUp:3: in function '(main chunk)'
|caaaaaa<Locals> self = ud, button = 1, upInside = T, ctrl = F, alt = F, shift = F, command = F </Locals>|r
Oh, and "Whisper" is spelled wrong on the UI. "Wisper Opponent" should be "Whisper Opponent". it's missing the H.
Last edited by NeuroticPixels : 06/11/22 at 04:45 PM.
Report comment to moderator  
Reply With Quote
Unread 06/12/22, 01:01 PM  
SgtKnux

Forum posts: 2
File comments: 1
Uploads: 0
Request: Add a Patron Card Counter

Hello!

I made a post in the request forum, but this seems like something that would fit great with what you've done already. How would you feel about adding a visual to the board that shows the patron cards you've played so far this turn? I feel like it'd help plan for combos more easily without having to hover over your played cards stack.

Thanks for your contributions so far!

Original thread: https://www.esoui.com/forums/showthread.php?t=10228

Report comment to moderator  
Reply With Quote
Unread 06/13/22, 01:22 AM  
ExoY
 
ExoY's Avatar
AddOn Author - Click to view AddOns

Forum posts: 88
File comments: 134
Uploads: 12
Re: Request: Add a Patron Card Counter

Originally Posted by SgtKnux
Hello!

I made a post in the request forum, but this seems like something that would fit great with what you've done already. How would you feel about adding a visual to the board that shows the patron cards you've played so far this turn? I feel like it'd help plan for combos more easily without having to hover over your played cards stack.

Thanks for your contributions so far!

Original thread: https://www.esoui.com/forums/showthread.php?t=10228


Hi,
to the best of my knowledge such a feature is not possible at the moment, because there isnt any way for addons to detect when and what card is played. But I will monitor the situation if anything gets added with future patches.
Report comment to moderator  
Reply With Quote
Unread 06/13/22, 07:52 AM  
Anceane
 
Anceane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 306
File comments: 1018
Uploads: 1
Changing font do nothing

Every thing so far worked fine for me, excepted the font stay did not change (choose handwritten)

The size of the font changed though.

THank you for this addon
Report comment to moderator  
Reply With Quote
Unread 06/13/22, 09:29 PM  
NeuroticPixels
Addon Addict
 
NeuroticPixels's Avatar
Premium Member

Forum posts: 211
File comments: 869
Uploads: 0
The description says "You currently need to manually input if you were victorious or defeated."
And I have been marking them.
Buuuut... I don't know how to view my statistics. Is there a command I need to use, or is it somewhere in the UI?
Report comment to moderator  
Reply With Quote
Unread 06/13/22, 11:05 PM  
ExoY
 
ExoY's Avatar
AddOn Author - Click to view AddOns

Forum posts: 88
File comments: 134
Uploads: 12
Originally Posted by NeuroticPixels
The description says "You currently need to manually input if you were victorious or defeated."
And I have been marking them.
Buuuut... I don't know how to view my statistics. Is there a command I need to use, or is it somewhere in the UI?
it will come soon.

i am currently moving and dont have my computer nor proper internet. actually did the hotfix on my tablet yesterday. (let me tell you, that was no fun

as a disclaimer, statistics might have not been saved properly during the first week due to the lua error.
Report comment to moderator  
Reply With Quote
Unread 06/15/22, 08:47 AM  
Mr-Socrates

Forum posts: 0
File comments: 1
Uploads: 0
Thumbs up Round Counter

Thanks a lot! And another important one would be a Round Counter.

The option to see the number of played rounds would help a lot, both in learning the game and also in knowing and sharing the game stats - on which turn you won and so on, which would help the visibility of the addon too.

Best regards

Originally Posted by ExoY
Originally Posted by NeuroticPixels
The description says "You currently need to manually input if you were victorious or defeated."
And I have been marking them.
Buuuut... I don't know how to view my statistics. Is there a command I need to use, or is it somewhere in the UI?
it will come soon.

i am currently moving and dont have my computer nor proper internet. actually did the hotfix on my tablet yesterday. (let me tell you, that was no fun

as a disclaimer, statistics might have not been saved properly during the first week due to the lua error.
Last edited by Mr-Socrates : 06/15/22 at 08:51 AM.
Report comment to moderator  
Reply With Quote
Unread 06/15/22, 11:48 AM  
ExoY
 
ExoY's Avatar
AddOn Author - Click to view AddOns

Forum posts: 88
File comments: 134
Uploads: 12
Re: Round Counter

Originally Posted by Mr-Socrates
Thanks a lot! And another important one would be a Round Counter.

The option to see the number of played rounds would help a lot, both in learning the game and also in knowing and sharing the game stats - on which turn you won and so on, which would help the visibility of the addon too.

Best regards

Originally Posted by ExoY
Originally Posted by NeuroticPixels
The description says "You currently need to manually input if you were victorious or defeated."
And I have been marking them.
Buuuut... I don't know how to view my statistics. Is there a command I need to use, or is it somewhere in the UI?
it will come soon.

i am currently moving and dont have my computer nor proper internet. actually did the hotfix on my tablet yesterday. (let me tell you, that was no fun

as a disclaimer, statistics might have not been saved properly during the first week due to the lua error.


I can definitely add a turn counter to the current ui.

I also like the general idea you also suggested. I am planing to add more game stats but also try to now overload the save variable file. I will have to see what i can come up with.






Originally Posted by Anceane
Every thing so far worked fine for me, excepted the font stay did not change (choose handwritten)

The size of the font changed though.

THank you for this addon
Thanks for the report, I will look into it.
Report comment to moderator  
Reply With Quote
Unread 06/16/22, 09:36 PM  
DewiMorgan
 
DewiMorgan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 83
Uploads: 1
Card counting? Probably not feasible, the UI would be too flaily.

Feels like it'd be possible to make a card-counting addon, though it'd be crazy hectic to use.

It'd require the user to manually input:
- Which decks were selected (buttons by each deck)
- Who goes first (button by hourglass)
- Cards bought (button by each card)
- Cards in the tavern (2-part selector, deck -> card)

This would allow their deck to be displayed at the top of the screen, with a probability on each card; and a graph of what gold, power etc they would be able to play overall the next turn.

Downside is, people play and buy their cards WAY faster than I could enter the data, and I likely wouldn't remember it for long enough to enter it. Plus, I run out of time on some urns as it is, without more clicking needed.

It could in theory be automated by an external screen-reader app, but I think that would be...
1) a pain to code because we'd either need to store a version of each graphic for each orientation it can be onscreen, or find a fuzzy-match image algorithm that could identify the cards at any perspective on the table.
2) against the ToS because you can't emulate input to the game, which I assume includes input to addons. So to be ToS-compliant, the counter would also have to be an external application, rather than an addon.

So... it's not likely to get written, and people with memories (so, not me!) will have a definite advantage in this game for the forseeable future
Report comment to moderator  
Reply With Quote
Unread 06/16/22, 09:45 PM  
DewiMorgan
 
DewiMorgan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 83
Uploads: 1
Sounds to detect win/lose?

Waiting for ZoS to implement a promised feature would leave you at the mercy of their ticket triage & refinement process. So having a backup approach might be nice, in case they take a while.

Does the game play different sounds for a win and a loss?

I think you MIGHT be able to detect that, if so. There is another addon that mentioned in its changelog that it now checked which audio played at some point, in order to tell whether an event had been valid or not... darned if I can remember which addon it was, though.
Report comment to moderator  
Reply With Quote
Unread 06/17/22, 01:03 AM  
ExoY
 
ExoY's Avatar
AddOn Author - Click to view AddOns

Forum posts: 88
File comments: 134
Uploads: 12
Re: Sounds to detect win/lose?

Originally Posted by DewiMorgan
Waiting for ZoS to implement a promised feature would leave you at the mercy of their ticket triage & refinement process. So having a backup approach might be nice, in case they take a while.

Does the game play different sounds for a win and a loss?

I think you MIGHT be able to detect that, if so. There is another addon that mentioned in its changelog that it now checked which audio played at some point, in order to tell whether an event had been valid or not... darned if I can remember which addon it was, though.
It is an interessting idea to check for sounds and I will keep it in mind.
I am very confident though, that the feature will come within a reasonable amount of time. As it was announce directly by the employee respondsible for the api-interface for addons and all functions already exists and just need to be enabled for addons.



About the counting idea.
Anything using a external programm would be against ToS and outside the scope of my cababilities of coding for the time being.

You already have access to all the data in general just by clicking on your own or your opponents deck.

I might look into something like this in the future, but as this would only be of interest for the more competetive people I believe. Hence for the time beeing I am gonna focus on other things like a propper way to display the statistics and add some general quality of life features everybody can benefit from.
Report comment to moderator  
Reply With Quote
Unread 06/22/22, 07:12 PM  
NeuroticPixels
Addon Addict
 
NeuroticPixels's Avatar
Premium Member

Forum posts: 211
File comments: 869
Uploads: 0
is the tributes_stats window wins/losses or losses/wins?
I've played so many, I honestly don't know which is which.

Also,
Statistics about your games, wins and how long you have played ToT in total
The window doesn't include "how long" I've played ToT in total. I know it's in beta, but I just wanted to give a tiny reminder.
Last edited by NeuroticPixels : 06/22/22 at 07:14 PM.
Report comment to moderator  
Reply With Quote
Unread 06/23/22, 01:46 AM  
ExoY
 
ExoY's Avatar
AddOn Author - Click to view AddOns

Forum posts: 88
File comments: 134
Uploads: 12
Originally Posted by NeuroticPixels
is the tributes_stats window wins/losses or losses/wins?
I've played so many, I honestly don't know which is which.

Also,


The window doesn't include "how long" I've played ToT in total. I know it's in beta, but I just wanted to give a tiny reminder.

It displayes "wins/total games". I will add this to the addon description for the time being.

I am still trying to figure out a need way to display all the statistics I have already the data. But I have not forgotten about the time played part.
Report comment to moderator  
Reply With Quote
Unread 06/28/22, 10:41 AM  
NeuroticPixels
Addon Addict
 
NeuroticPixels's Avatar
Premium Member

Forum posts: 211
File comments: 869
Uploads: 0
A week or two ago, I changed my main character's name from Klepto Katlyn to Klepto Katarina.
The Tribute Stats window still shows the old name Klepto Katlyn.

Also, after looking at my wife's stats, it has me wondering something.
It shows 29/70. 29 wins out of 70 games.
I can gaurantee she's won more than 29 times out of the 70 games the addon has counted.
I'm wondering if information is being lost if the game crashes or whatnot.
More than likely, it is. And there's probably nothing you can do about that.
But it almost seems like it counts the games (70), but doesn't remember if she won the games (if ESO crashes or whatever). It would be best, if it works like that, that it wouldnt remember the game at all, rather than counting the game as a loss.
Does that make sense?
Report comment to moderator  
Reply With Quote
Unread 06/28/22, 01:36 PM  
ExoY
 
ExoY's Avatar
AddOn Author - Click to view AddOns

Forum posts: 88
File comments: 134
Uploads: 12
Originally Posted by NeuroticPixels
A week or two ago, I changed my main character's name from Klepto Katlyn to Klepto Katarina.
The Tribute Stats window still shows the old name Klepto Katlyn.
I will include that the name gets properly changed. The stats recorded should be unaffected since they use a character unique id, so thats an overall easy fix.


Originally Posted by NeuroticPixels
Also, after looking at my wife's stats, it has me wondering something.
It shows 29/70. 29 wins out of 70 games.
I can gaurantee she's won more than 29 times out of the 70 games the addon has counted.
I'm wondering if information is being lost if the game crashes or whatnot.
More than likely, it is. And there's probably nothing you can do about that.
But it almost seems like it counts the games (70), but doesn't remember if she won the games (if ESO crashes or whatever). It would be best, if it works like that, that it wouldnt remember the game at all, rather than counting the game as a loss.
Does that make sense?
In general, if the games crashes save variables are not properly saved. In almost all cases they just dont get saved. But it is not selective. That means what you described that it save the amout of games but did not save the amount of wins can not happen.

So I am not entirely sure what could cause this. I can include a debug option with the next patch which will display what the game was counted on, so you might find the problem this way and can report it.
I will also add an option the change how the last game was counted in case of a wrong input.

As it is right now, the addon considers a game as "countworthy" as soon as the first hand is dealt. So if e.g. the opponent conceded right away and she did not checked it as a win or simply skipped through the dialog the addon would consider it a loss. I will also include a "dont count the game" option.

Also keep in mind those stats is only for you guys, and maybe to share with others. But it is never going to be "worth" something or considered reliable for any references as it can be easily manipulated within the save variable file.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: