Larkinabout / fvtt-token-action-hud-pf2e

Token Action HUD is a repositionable HUD of actions for a selected token.
10 stars 15 forks source link

Attacks Disappearing from HUD in PF2e #79

Closed computerpro82 closed 1 year ago

computerpro82 commented 1 year ago

In my games the last two weeks, we have had issues with attacks disappearing from the HUD. I am running the latest version of the HUD. During the first instance, I was running on Foundry V10 and I was having this issue as the GM. During the session on 7/29, one of the players had the issue.. Between the sessions, I had upgraded to V11. I am running in The Forge. My previous version had been V10 Build 303. I am now on V11 Build 306. The issue is intermittent, and I have not been able to reproduce it.

Larkinabout commented 1 year ago

There's been a few other reports of the same, although I've not yet been able to reproduce. If it happens again and you're able to have a look at the browser console, capture any errors that might be there as that'll help diagnose the issue.

computerpro82 commented 1 year ago

Do you have specific steps for capturing what you need? I am pretty computer savvy, but I am not a developer.

Eric S. Parker 719-481-0786(h) 719-339-6509(c) Quote from Babylon 5, US Television show, originally aired 1993-1998"Mr. Garibaldi, there're days I'm very glad I don't have to think the way you do." Ivanova, And the Sky Full of Stars

“There is a cult of ignorance in the United States, and there has always been. The strain of anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that democracy means that 'my ignorance is just as good as your knowledge.” ― Isaac Asimov

On Sun, Jul 30, 2023 at 4:04 PM Larkinabout @.***> wrote:

There's been a few other reports of the same, although I've not yet been able to reproduce. If it happens again and you're able to have a look at the browser console, capture any errors that might be there as that'll help diagnose the issue.

— Reply to this email directly, view it on GitHub https://github.com/Larkinabout/fvtt-token-action-hud-pf2e/issues/79#issuecomment-1657276419, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBTTIBNHP26C2TTNQKXDKQ3XS3K6RANCNFSM6AAAAAA25OJCD4 . You are receiving this because you authored the thread.Message ID: @.***>

lammonaaf commented 1 year ago

I'm facing the same issue: I do not see anything special in console, but what I've noticed is that if I unlock HUD (via lock icon), the attack section appears, containing no entries. Also, re-selecting the token helps.

Larkinabout commented 1 year ago

Do you have specific steps for capturing what you need?

You can open the browser console by pressing F12. Usually at the bottom of the window that pops up is the console log showing everything that has happened. If you scroll through the log, you may see errors coloured red. Take a screenshot of these.

Larkinabout commented 1 year ago

I'm facing the same issue: I do not see anything special in console, but what I've noticed is that if I unlock HUD (via lock icon), the attack section appears, containing no entries. Also, re-selecting the token helps.

The Attack section is specifically for familiars and will not show anything for characters. When you unlock the HUD is shows all the sections, even ones that are usually hidden when the HUD is locked.

Is it the Strikes section that disappears?

lammonaaf commented 1 year ago

Yes, I misremembered the actual name of the section, sorry. To be precise, both Strikes and Spells sections disappear at the same time, seemingly at random moments. That also applies to monster tokens too.

Larkinabout commented 1 year ago

Yes, I misremembered the actual name of the section, sorry. To be precise, both Strikes and Spells sections disappear at the same time, seemingly at random moments. That also applies to monster tokens too.

It sounds like the HUD might be detecting multiple tokens. Can you see the character name at the top of the HUD? Does it say 'Multiple'?

Put this code into a script macro and If it happens again, execute the macro, save the file and upload it to this issue: saveDataToFile(JSON.stringify(game.tokenActionHud.hud, null, 2), 'text/json', 'token-action-hud.json')

lammonaaf commented 1 year ago

Okay, here it is. I also have a vague feeling that it may somehow relate to interaction with Monk's combat details. I'm also attaching the normal state after re-selection token, for comparison.

reproduced.zip normal.zip

lammonaaf commented 1 year ago

I also have a vague feeling that it may somehow relate to interaction with Monk's combat details.

Cannot confirm. I disabled all monk's modules, and the issue is still here: It somewhat reliably triggers at the start of a combat encounter and when switching to the next combatant from combat tracker.

computerpro82 commented 1 year ago

As a point of reference, I don't have any of monk's modules installed, much lees active/enabled. I will try to reproduce in a more realistic combat encounter using the combat tracker when I can.

Eric S. Parker 719-481-0786(h) 719-339-6509(c) Quote from Babylon 5, US Television show, originally aired 1993-1998"Mr. Garibaldi, there're days I'm very glad I don't have to think the way you do." Ivanova, And the Sky Full of Stars

“There is a cult of ignorance in the United States, and there has always been. The strain of anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that democracy means that 'my ignorance is just as good as your knowledge.” ― Isaac Asimov

On Tue, Aug 1, 2023 at 10:16 PM Alexander Yushkov @.***> wrote:

I also have a vague feeling that it may somehow relate to interaction with Monk's combat details.

Cannot confirm. I disabled all monk's modules, and the issue is still here: It somewhat reliably triggers at the start of a combat encounter and when switching next combatant from combat tracker.

— Reply to this email directly, view it on GitHub https://github.com/Larkinabout/fvtt-token-action-hud-pf2e/issues/79#issuecomment-1661465114, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBTTIBJMSTMR6GSQVXCZM7DXTHICXANCNFSM6AAAAAA25OJCD4 . You are receiving this because you authored the thread.Message ID: @.***>

lammonaaf commented 1 year ago

Can confirm that after the last update of the core module I'm no longer facing this issue.

Larkinabout commented 1 year ago

Can confirm that after the last update of the core module I'm no longer facing this issue.

Thanks for the update.