chrisk123999 / chris-premades

MIT License
42 stars 47 forks source link

Conflict with the Walled Templates module #223

Closed SilvesTheRog closed 4 months ago

SilvesTheRog commented 4 months ago

I've encountered a problem with the Hunger of Hadar spell when I was testing it out. It works fine, but I couldn't move the tokens that were affected by the spell with my mouse. When I tried to drag them, the drag ruler module showed as if I was dragging something from the center of the spell area, but the tokens remained still.

Turned out, it happens because of the Walled Templates module (https://github.com/caewok/fvtt-walled-templates). Disabling it fixed the problem.

I recorded a video to demonstrate the issue: https://www.youtube.com/watch?v=NELuzWTHDiY

Would be nice to have compatibility between these two.

txm3278 commented 4 months ago

This spell has support for walled templates, does the same issue happen without drag ruler?

SilvesTheRog commented 4 months ago

Yes, it happens only when Walled Templates module is enabled. I even tried testing it by disabling everything except for CPR and its dependencies. And then enabling Walled Templates alone caused the issue again:

https://www.youtube.com/watch?v=ISRgDT13JbM

txm3278 commented 4 months ago

oh I see, that looks like it might be something new with walled templates. I will take a look

SilvesTheRog commented 4 months ago

Thanks! I also noticed that Spirit Guardians don't reduce enemy movement speed. Is it intended or is it another bug by Walled Templates?

image

txm3278 commented 4 months ago

Ever since enhanced terrain layer stopped being updated there hasn't been a good way to do this until recently. Could potentially be a feature request for CPR using Caewok's Terrain Mapper to do that

SilvesTheRog commented 4 months ago

I see. Well, I added an aura that halves the movement speed of affected enemies to the spirit guardians effect, and it seems to work just fine, so I'll just stick to this workaround (:

LukasPrism commented 4 months ago

I see. Well, I added an aura that halves the movement speed of affected enemies to the spirit guardians effect, and it seems to work just fine, so I'll just stick to this workaround (:

Note that's a decent workaround but doesn't really solve the issue. For instance a PC might move 20' before entering the template. At which point their 30' of movement speed is halved by your AE, equalling 15'. Drag ruler should(?) show they've used all their movement because they already spent 20 but now only "have" 15... but actually they would still be able to move 5' (half of their actual remaining 10). Maybe DR is smart enough to figure this out, but last I checked it was a problem.

caewok commented 4 months ago

Try Walled Templates v0.7.6. BTW, I cannot guarantee compatibility with Drag Ruler. If you run into compatibility issues, try my Elevation Ruler module.

SilvesTheRog commented 4 months ago

Oh yes, it's working now! Thank you!

image

NdranC commented 3 months ago

I'm not sure if this is exactly related to my issue but I came here to post an issue I have between Walled Templates, Chris's Premades, Gambit's Premades and sightly Drag Ruler.

Here is a video showcasing my problem https://youtu.be/1GCY0k10jsY

If I use all 4 mods together, I start having issues dragging tokens to move and the darkness spell breaks completely.

If I disable Walled Templates everything works just fine.

I suspect some of these issues are not solely on Walled Templates but also the templates created by Gambit's to track attacks of opportunities. I figured I would post here since this issue sounds very similar to my own.

Versions: Dnd 5e 3.1.2 Walled Templates 7.10 Chris's 0.10.73 Gambit's 0.1.41 Drag Ruler 1.13.8

chrisk123999 commented 3 months ago

I think you'll want to use the legacy setting in GPS. As this is likely caused from something Gambit's Premades does, you may want to make an issue with that module.

NdranC commented 3 months ago

I think you'll want to use the legacy setting in GPS. As this is likely caused from something Gambit's Premades does, you may want to make an issue with that module.

So I have uninstalled Drag Ruler and replaced it with the Elevator Ruler and the dragging issues seem to be solved. But that is not why I made a post over here. Darkness still doesn't work when I have Walled Templates enabled. When I try to place it just like in the video nothing happens. I can see a template on the map but the macro doesn't run and I get a ton of errors in the console

image Like so

chrisk123999 commented 3 months ago

That error doesn't appear to involve CPR.

NdranC commented 3 months ago

You are right, I was getting several errors when I enabled Walled Templates and not all were related to each other or from the same mods/settings. Now that I cleared the dragging issue I can see the error seem to be walled templates/midi-qol. I tested with a basic spell that was not modified by CPR.

Is walled templates a recommended or commonly used mod in the midi-qol ecosystem? I'm trying to hide the templates around Gambit's attacks of opportunity and this was recommended as a way to deal with it but I've had a lot of issues with it.

chrisk123999 commented 3 months ago

I don't personally use it, but it should work fine. I'd ask Gambit or some more familiar with the module what settings may need to be looked at.