Thread: Weird Hazard Automation Glitch
-
July 8th, 2022, 23:51 #1
Weird Hazard Automation Glitch
While trying to add automation to a hazard, I seem to have triggered some kind of weird glitch. Putting some automation code into the Actions Auto field causes the Actions field to rename itself to Actions(A) with a star after it (like the one you click for auto applying spell effects).
At that point, typing anything at all into the Actions(A) field causes that field to absolutely explode with a constant stream of self-generating text.
At no point in this process does the automation appear to actually work.
-
July 10th, 2022, 14:13 #2
I can't recreate this. Could you provide step-by-step details of how to recreate please?
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
July 12th, 2022, 05:59 #3
-
July 12th, 2022, 23:50 #4
Here we go - no campaign file since I was able to recreate this on a fresh hazard.
Step 1: Create a new bestiary entry.
Step 2: Toggle it to be a hazard.
Step 3: Paste this into the Actions (Auto) field:
"[DC 15 Fortitude save]" | Save:Fortitude[DC:15]
"[Stage 1]"|Damage: 1d4 poison
"[Stage 2]"|Damage: 1d6 poison
"[Enfeebled 1]" | Effect: Spear Frog Poison; Enfeebled: 1
Step 5: Type anything at all in Actions (A), wait a couple seconds, watch the fireworks.
I suspect the issue here is a formatting error - my partner is fairly new to doing automation, following ShadeRaven's guide, and probably mistyped something in the above. However, I figure it's pretty concerning that a mere formatting error can cause what appears to be an infinite loop of text generation.
EDIT: If it helps, here's a screenshot of the textplosion that results.
Textplosion.png
EDIT2: I have also just remembered there was a mention of hazard automation changes being part of update 19, which led me to realize this might be a test channel bug, and therefore I should take it over to the Lab. Sorry if that is the case.Last edited by MaxAstro; July 12th, 2022 at 23:57.
-
July 13th, 2022, 08:48 #5
Generally, you don't need the square brackets inside the quotation marks. In fact, those are likely what are causing the issue. The automation is usually looking for the text in the quotation marks in the Effects field and then puts square brackets around that; so if you're already having square brackets that might cause a loop.
Try putting this inside the automation field:
"DC 15 Fortitude save" | Save:Fortitude[DC:15]
"Stage 1"|Damage: 1d4 poison
"Stage 2"|Damage: 1d6 poison
"Enfeebled 1" | Effect: Spear Frog Poison; Enfeebled: 1
And then the following in the Actions field:
A creature who steps inside the trigger area must make a DC 15 Fortitude save. On a failure, it's affected by Spear Frog Poison. Stage 1 - Stage 2 - Enfeebled 1
I hope that gives you an idea on how the automation is supposed to work
This should give you an idea on how automation is supposed to work
-
July 13th, 2022, 15:28 #6
Yep, that's causing the issue. Don't put square brackets in the automation match string.
More information on this can be found in the Wiki here: https://fantasygroundsunity.atlassia...tomation-fieldPrivate Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
July 14th, 2022, 01:37 #7
I'll pass that along - although may I also suggest some sanity checking in the code to block an infinite loop? If you accidentally create one there's basically no way to salvage the hazard except to delete it and start over. If you are lucky Ctrl+A + backspace can work, but not always or reliably.
-
July 14th, 2022, 16:17 #8Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks