p4535992 / foundryvtt-lights-hud-ate

Derived and updated version of LightHUD derived from Torchlight, which in turn was derived from Torch.
MIT License
1 stars 1 forks source link

Lighting works, duration does not (non DND5e) #10

Open Gray-Geist opened 2 years ago

Gray-Geist commented 2 years ago

Hi there, I am using this module and it's working effectively but the time duration is not.

The duration stays at infinity (as pictured below), why is this?

I will example the Candle settings below for you:

image

image

image

Module Settings:

image

p4535992 commented 2 years ago

@Gray-Geist Can you specify what version of the module are you using ? Can you make a screenshot of the details of the active effect create on the item ? (try to understand if is a creation issue or a retrieve issue)

p4535992 commented 2 years ago

P.S. DAE should be mutlisystem now, or at least is going in that direction.

Gray-Geist commented 2 years ago

@Gray-Geist Can you specify what version of the module are you using ? Can you make a screenshot of the details of the active effect create on the item ? (try to understand if is a creation issue or a retrieve issue)

I am on the latest version, 0.11.18.

I'm not sure I understand your request for a screenshot, I apologize. I thought I already took screen shots of the details of how the item was set up, which I attached above.

I don't want to leave you with nothing so the only other thing I can think of is the below screenshot, which shows the token, with the light on, and also a picture of the item which is a "Candle" in this case.

image

The system I am using is Zweihander Grim & Perilous RPG, but that shouldn't be affecting this situation with the timer working, at least I wouldn't think so.

p4535992 commented 2 years ago

can you export the item json and pass to me ? (you must rename with extension .txt for upload on github)

Gray-Geist commented 2 years ago

Of course!

Here is the Candle.

fvtt-Item-candle.txt

And just as a bonus, here are the others I made:

fvtt-Item-torch.txt fvtt-Item-lantern.txt fvtt-Item-storm-lantern.txt

p4535992 commented 2 years ago

@Gray-Geist this the isuse should be solved, if you want to contribute to the system 'Zweihander Grim & Perilous RPG' with this module, when you have prepared your compendium of objects and you are satisfied, pass it to me so I integrate it as a system preset for the rest of the community.

Gray-Geist commented 2 years ago

Thank you so much, I updated and that seems to have worked!

Now the only issue is the following:

When I equip the item, the light automatically turns on. When I go to the turn the light off, it shuts off properly, but when I go to turn it back on, the Light HUD option is no longer there.

fvtt-Item-candle.txt <----

1

2

3

p4535992 commented 2 years ago

@Gray-Geist Try to enable the module setting "Auto apply effect if not present on actor" it was by default before, but i have to disabled for module conflicts with other modules on dnd5e.

Gray-Geist commented 2 years ago

That worked and got the Lights HUD Option back, but selecting the light from the Off to On does nothing, no light turns on.

Console shows this:

image

p4535992 commented 2 years ago

work fine for me. any error on the web console ?

Gray-Geist commented 2 years ago

Hmm, still need help with this one - turns out the timer isn't working again either. No additional module installs occurred, I didn't update the system at all. Just kicked the tires a few times turning the light on and off and it broke.

  1. I create Candle and settings as above.

  2. I put candle onto NPC or PC and it auto-activates with the light. 1

  3. I go to the Lights HUD and it says "Expired" 2

  4. I select to shut off the Light, it goes off and shows -(Candle) 3

  5. I select to turn on the Light, it doesn't respond. 4

Gray-Geist commented 2 years ago

Here is the error on the web app. It directs me to my own console on the GM side...which is the second picture below.

1

GM Console:

1

p4535992 commented 2 years ago

try out 0.11.26 and let me know it

Gray-Geist commented 2 years ago

Hi there, thanks for continuing to help with this. I feel like we're getting close!

  1. The timer doesn't work, still.
  2. Turning the light off works, but turning it back on does not.

Here is what I see via web console:

When I have the light equipped and ON, I right click and go to LIGHT HUD and click for it to go OFF and it doesn't go OFF, it stays ON and shows this:

image

I then go to the LIGHT HUD again and click for it to go OFF and it goes OFF and shows this:

image

I then go to the LIGHT HUD and click for it to go BACK ON and it doesn't respond and shows this:

image

Below is the whole sequence of events combined for you. Where I:

  1. Equip the Candle.
  2. Open HUD and try to turn it off
  3. Open HUD again and successfully turn it off
  4. Open HUD and try to turn it on and it doesn't respond

image

Gray-Geist commented 2 years ago

Hi there - was away all weekend there, apologies. Was that enough info or do you need me to support with more?

p4535992 commented 2 years ago

Tested seem to work, have you try without others module enabled ? https://i.imgur.com/YPK0Q7o.gif

zzz