Log in

View Full Version : Problem Chat Triggers



Cozy
November 4th, 2024, 11:16
Some chat triggers does not take effect.
Long Rest and Short Rest gives no sound.
Ahhhh, Alpaca, Yeti, Wings does work.
Maybe it is only single words that work?

SilentRuin
November 4th, 2024, 13:38
Assuming you are talking about sound chat pattern matching, those are not raw string matches they are lua pattern matches.

https://www.lua.org/pil/20.2.html

Cozy
November 4th, 2024, 14:28
I do not know much about LUA and how that work in Fantasy Grounds.

A couple of months agoo it always played the long and short rest sounds. But not anymore.

I use Syrinscape and have a paid subscription there. On the right side of Fantasy Grounds there are "Sounds Sets" and "Syrinscape".
Inside "Syrinscape" there are "Chat Triggers".
When I do a long rest in the CT there are text in the Chat window: "GM: Party taking Long Rest.". I guessed that it was that string that triggered the sound as it works like that if I write, for example, "Ahhhh" and also for some other texts included in the Chat Trigger list.

LordEntrails
November 4th, 2024, 14:31
Have you tested in a new campaign without any extensions? Can you provide more information such as ruleset you are using, screen shots and steps to reproduce?

Trenloe
November 4th, 2024, 14:33
1) Which ruleset are you using?
2) Extensions may be having an impact. Have you tried testing in a new campaign without any extensions loaded?

Can you give specific examples - including showing screenshots of the chat triggers you expect to trigger please? It's hard for us to give help without this detail, all we can do is guess what might be going wrong.

So, please give some feedback on #1 and #2 above, plus provide a screenshot showing the chat output and the sound trigger that isn't working.

Trenloe
November 4th, 2024, 14:38
As a side note - the triggers are case sensitive. For example, if you're using the D&D 5e ruleset, the short rest string FG outputs to chat is "Party taking Short Rest" - so make sure you use that exactly in your Chat trigger (without the quotes) including the lower/upper case characters exactly as shown in chat.

Cozy
November 4th, 2024, 14:43
I just tested with an empty campain. Both with and without Syrinscape activated. No "Long rest sound". And the Syrinscape Chat Triggers window is empty now.

LordEntrails
November 4th, 2024, 14:45
I just tested with an empty campain. Both with and without Syrinscape activated. No "Long rest sound". And the Syrinscape Chat Triggers window is empty now.
Please provide the details both Trenloe and I have asked for so that we can better help you.

Cozy
November 4th, 2024, 14:46
I do not see any way to enter an image here at this forum. Where can I submit a screenshot?

Cozy
November 4th, 2024, 14:56
As I can not send images yet, do not why, I put it in text for now:
Ruleset:
5E (not the 2024)

Extensions:
Feature: Shops
Feature: Syrinscape Sounds
Theme: Legaxy - Baron
5E - Auto Encumbrance
5E - Automatic Flanking
5E Elven Accuracy
B9 - Common Core
B9 - Spell Tokens
MNM Automatic Actions
MNM Automatic Actions Uppgrade
MNM Coin Manager
MNM Coin Manager Upgrade
MNM Core
MNM Forge Upgrader
MNM Party Combat Stats
MNM Party Combat Stats Upgrade
MNM Spellcaster Helper
Rob2E Module Updater

I will send images as soon as I find out how.
Ooops I where in some kind of not full site for the forum

Cozy
November 4th, 2024, 15:05
62524
Here in the CT I press MENU and choose long rest

62525
In the chat text it says "GM: Party taking Long Rest". I have not entered the text manually.

62526
In the Syrinscape Chat Triggers there are alot of triggers listed. Here I have searched for jut the "Long Rest". The spelling is the same that my long rest produces.

Most other sounds like arrows, swords, dying etc works per automatic.

Cozy
November 4th, 2024, 15:16
In a test campaign.

Ruleset DND 5E (not 2024)

Extension:
Only one
62527

Modules:
62528

Clicking the CT long rest. No sound.
Manual texting Ahhhh. Do get sound
62529

Trenloe
November 4th, 2024, 16:17
The Syrinscape Sounds extension is not needed for the built-in FG Syrinscape support.

Please provide a screenshot of the long rest chat trigger.

Cozy
November 4th, 2024, 16:30
62530

If I remove the Syrinscape Extension I do not get the Syrinscape on the left side of Fantasy Grounds. And not the "Chat Trigger" window.

Trenloe
November 4th, 2024, 16:38
I don't have the MK Syrinscape modules, so I can't test. More information on them here: https://www.fantasygrounds.com/forums/showthread.php?53459-MK-Syrinscape-Sound-Links-module

But, as I mentioned earlier, these types of triggers are case sensitive. The screenshot you show has "Party taking long rest." which doesn't match with the D&D 5E ruleset chat text - which displays "Party taking Long Rest." - note the capital L and R for Long Rest. Edit your trigger to be 100% the same as the chat text you want to match.

Cozy
November 4th, 2024, 16:51
Ok, the Chat Trigger is wrong. So maybee I should inform the creator of MK.
Thanks, now I know how to correct the problem.

How changed title to solved?

LordEntrails
November 4th, 2024, 18:50
How changed title to solved?
No need. We don't mark threads closed or answered. But thanks for letting us know you got this resolved.