Quantcast
Download
(6 Kb)
Download
Updated: 06/17/22 08:06 PM
Pictures
File Info
Compatibility:
High Isle (8.0.0)
Updated:06/17/22 08:06 PM
Created:05/10/22 01:37 PM
Monthly downloads:969
Total downloads:1,078
Favorites:8
MD5:
8.0.0
ExoYs Tributes Enhancement
Version: 1.1.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

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 numbers displayed are "Games won" / "number of games played"


(You currently need to manually input if you were victorious or defeated. But Zos has already agreed to enable addons with a future patch to detect the games outcome automatically. Until then a workaround is provided to have correct statistics)

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.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 (3)
File Name
Version
Size
Uploader
Date
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/23/22, 01:46 AM  
ExoY
 
ExoY's Avatar
AddOn Author - Click to view AddOns

Forum posts: 39
File comments: 105
Uploads: 10
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/22/22, 07:12 PM  
NeuroticPixels
Addon Addict
 
NeuroticPixels's Avatar
Premium Member

Forum posts: 168
File comments: 708
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.
__________________
PC/NA: @NeuroticPixels - Discord: NeuroticPixels#5045
Feel free to contact me any time.
Last edited by NeuroticPixels : 06/22/22 at 07:14 PM.
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: 39
File comments: 105
Uploads: 10
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/16/22, 09:45 PM  
DewiMorgan
 
DewiMorgan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 58
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/16/22, 09:36 PM  
DewiMorgan
 
DewiMorgan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 58
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/15/22, 11:48 AM  
ExoY
 
ExoY's Avatar
AddOn Author - Click to view AddOns

Forum posts: 39
File comments: 105
Uploads: 10
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/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/13/22, 11:05 PM  
ExoY
 
ExoY's Avatar
AddOn Author - Click to view AddOns

Forum posts: 39
File comments: 105
Uploads: 10
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/13/22, 09:29 PM  
NeuroticPixels
Addon Addict
 
NeuroticPixels's Avatar
Premium Member

Forum posts: 168
File comments: 708
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?
__________________
PC/NA: @NeuroticPixels - Discord: NeuroticPixels#5045
Feel free to contact me any time.
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: 286
File comments: 996
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, 01:22 AM  
ExoY
 
ExoY's Avatar
AddOn Author - Click to view AddOns

Forum posts: 39
File comments: 105
Uploads: 10
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/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/11/22, 01:58 PM  
NeuroticPixels
Addon Addict
 
NeuroticPixels's Avatar
Premium Member

Forum posts: 168
File comments: 708
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.
__________________
PC/NA: @NeuroticPixels - Discord: NeuroticPixels#5045
Feel free to contact me any time.
Last edited by NeuroticPixels : 06/11/22 at 04:45 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: