CodaBool / terminal

A FoundryVTT module to create interactive terminals with custom content and theming
2 stars 0 forks source link

Foundry freeze when I'm trying to use terminal with monk active trigger #6

Closed Zhikann closed 1 month ago

Zhikann commented 3 months ago

Foundry freeze when im trying to use the module with monk active trigger. I just want to trigger the module on click (see screenshot).

To Reproduce Steps to reproduce the behavior:

  1. Right click on a tile
  2. On the terminal tab, Untick enabled
  3. On the trigger tab setup -> enable -> click on the triggers tab -> Trigger tile -> current tile
  4. No logs error just freezing (need to restart foundry)

Expected behavior Trigger terminal with left click

Screenshots image image image

Setup:

Active modules:

CodaBool commented 3 months ago

I've gone through the steps you outlined. When you say freeze, do you mean that nothing happens or you have to reload the page and its unresponsive?

I have an alternative approach that you could take (using the Terminal compendium macro) but want to make sure I'm not crashing anyone's browser with my code first.

Also does this "Trigger Action" section below match yours? That's one configuration that I'm not sure if I reproduced correctly

image

Zhikann commented 3 months ago

Hello,

Yes I have the same trigger action.

When I mean a freeze, the FoundryVTT.exe did not respond, I have to restart the software.

CodaBool commented 3 months ago

Ok, I haven't been able to reproduce that then.

I'm going to be away from my desk for a bit but I put out a new version, 2.0.2, which should fit your usage.

The essential part is to use the macro from the compendium called "Open Terminal for specific user".

image

And supply the tile ID as the argument and set it to triggering player

image

Let me know how that works for you.

I'll see if I can figure out why that's crashing on you though later today

Zhikann commented 2 months ago

I will test with the macro, where did i put the tile id (argument) to be able to run the macro ?

Zhikann commented 2 months ago

Ok it's working fine with the macro