PDA

View Full Version : Spell Record Actions extension



Zarestia
November 18th, 2021, 15:18
As I began to enter spell automation to all of my selfmade 3.5e modules (~20 books) I wanted to punch my monitor as that workflow is ... let's say not good for my sanity.

To help comes the new Spell Record Actions extension.

Forge Link: https://forge.fantasygrounds.com/shop/items/373/view

Sometimes the save, damage and/or heal fields don't display the actual value. This is partly due to having no actual character data (e.g. Level, etc.). You can always check the actual values by clicking the magnifying glass.

What this extension does:
- Support for 3.5E/PFRPG/5E, might support more rulesets in the future if I find the time and motivation :)
- Adds actions and effects to each spell record (idea and inspiration from PF2e ruleset)
- 4 buttons to add cast, damage, heal, and effects as the right-click menu is imo user-unfriendly
- 1 clear buttons which deletes all created effects
- 1 parse button which parses on click. Please clear before parsing already parsed/added conten to minimize the possibilities of errors!
- Extended parsing when there is a duration to easier track time of effects/spells. Sets to "self" when "Personal" is in range or effect/target

If you find any bugs, please report them in this thread. Also if you have any suggestions or the like, please post them here.

Screenshot:
https://i.imgur.com/TuT8iMh.jpg

Please se the ~1min parsing demonstration video:

https://i.imgur.com/SiYcib7.mp4

Kelrugem
November 20th, 2021, 12:24
Known minor issues (not really impacting anyhting):
- Kelrugem's extended automation: throws a rather neglectable error when opening cast details, author is informed, a safety if-clause to check whether the spell is on the charsheet will help

I can confirm that the author knows about it :D And added to my tasks here: https://github.com/users/Kelrugem/projects/1

Zarestia
December 2nd, 2021, 15:59
Update v1.1 (only in this post)
- Added: SpellManager global script override (one extra if-else clause for safety) for upcoming TEST changes. Change will be uploaded on the Forge when the ruleset updates go live.

Attached you can find the updated version if you want to test it or play in TEST channel.

Zarestia
December 15th, 2021, 20:35
Update v1.1 is now live in the Forge

v1.1 - Compatibility for ruleset changes

Zarestia
December 17th, 2021, 16:31
Update v1.11:

Fixed fat-fingered blank space throwing dozen of errors

Zarestia
December 20th, 2021, 16:52
v1.12: Changed loadorder to fix some issues with Kelrugem's extended automation.

Known minor issues (not really impacting anyhting):
- Kelrugem's extended automation: throws a rather neglectable error when editing cast details directly in the spell, not on the charsheet

ColinBuckler
June 1st, 2022, 11:15
Wow - need this for 5E

Would be great if this was converted for 5E.

Zarestia
June 2nd, 2022, 01:17
Wow - need this for 5E

Would be great if this was converted for 5E.

I've added 5e support and the update is live on the Forge with version 2.0.

@Mod reading this: Can you please move this thread into the general extension subforum?

ColinBuckler
June 2nd, 2022, 21:02
This FANTASTIC.

I have just created a sample "spell" and added a healing effect. I then exported the healing effect to a mod and loaded this in another FGU campaign and it works !!!

What this means, is that I will be able to create home brew modules and add effects to class abilities, items, effects, feats and treat them as spells to add to character sheets like other retail modules and then export them as my own modules with the functionality already created.

Kazuto217
July 5th, 2022, 19:23
Hey I believe this is causing issues now in Pathfinder 1e. Spells on NPC sheets are not properly adding the ability stat bonus to their DCs.

Morenu
July 5th, 2022, 23:40
Hey I believe this is causing issues now in Pathfinder 1e. Spells on NPC sheets are not properly adding the ability stat bonus to their DCs.

My DM says that he is seeing the same thing for DC

Zarestia
July 6th, 2022, 16:33
v2.1: Fixed DC stat mod for NPCs (3.5/PF1e)

Thanks for reporting, the update is available via Forge.

Kazuto217
July 8th, 2022, 16:46
Sorry but appears to stil be broken.

Morenu
July 8th, 2022, 17:57
Our Giant Spider seemed ok, but did not test more

Zarestia
July 8th, 2022, 22:49
Sorry but appears to stil be broken.

The announcement text says v2.1 for this extension?
Are you looking at the exact same NPC and spell which hasn't worked before? Does it work if you redrag the spell into the NPC sheet again?

Zarestia
July 12th, 2022, 23:42
An update for this extension after the July ruleset update is not needed and there are no known issues.

If you experience issues, please post in this thread with as much information as you can.

maugrim8866
July 20th, 2022, 04:02
This is great.
I am using 5e and seeing something strange. Is this expected?
I have a few missing buttons in 5e, I only see Parse and Clear.

53620

Thanks

Zarestia
July 20th, 2022, 13:46
This is great.
I am using 5e and seeing something strange. Is this expected?
I have a few missing buttons in 5e, I only see Parse and Clear.

53620

Thanks

Looks fine on my side.

5E (2022-07-19)
Core RPG (2022-07-12)
Spell Record Actions v2.1


What versions do you see in chat after loading into the campaign? Are you using any other extensions (if so, disable them and test again please)?

Morenu
July 29th, 2022, 03:07
first, I have NOT updated since the right before the July12th update, so I am hoping someone will test this on a fully updated load and see if it is still an issue (we are waiting on Kelrugem's extensions to be updated).

Zarestia's Spell Record Action's ext (https://forge.fantasygrounds.com/shop/items/373/view) and Kelrugem's Extended Overlays Ext (https://forge.fantasygrounds.com/shop/items/1/view) loaded together cause CL modifier to stop working. It works as intended with Kelrugem's extension alone.

CL:2 is not adding to the caster level as intended

53778

I am replying to both Extension threads (Links on the forge pages)

Zarestia
July 29th, 2022, 21:55
v2.2 Changed loadorder to be below Kel's extended automation extension to avoid conflicts

Blackwolfe
August 25th, 2022, 03:23
Looks like your dealing with issues since July? Seems like FGU is updating every other day now. I spend 10 x more time troubleshooting mods then we do playing. *LOL.
I'm getting this error when loading Feature: Spell Record Actions. FGU 5E.

[8/24/2022 7:23:05 PM] [ERROR] Script execution error: [string "campaign/scripts/power_action.lua"]:17: attempt to call field 'setOrder' (a nil value)
[8/24/2022 7:23:05 PM] [ERROR] Script execution error: [string "campaign/scripts/power_action.lua"]:17: attempt to call field 'setOrder' (a nil value)

Thank You for all your hard work! :)

Zarestia
August 25th, 2022, 13:42
Looks like your dealing with issues since July? Seems like FGU is updating every other day now. I spend 10 x more time troubleshooting mods then we do playing. *LOL.
I'm getting this error when loading Feature: Spell Record Actions. FGU 5E.

[8/24/2022 7:23:05 PM] [ERROR] Script execution error: [string "campaign/scripts/power_action.lua"]:17: attempt to call field 'setOrder' (a nil value)
[8/24/2022 7:23:05 PM] [ERROR] Script execution error: [string "campaign/scripts/power_action.lua"]:17: attempt to call field 'setOrder' (a nil value)

Thank You for all your hard work! :)

This error actually was not caused by some FGU updates as far as I can tell. It was just happening in a way I never tested the extension in 5e.
Nevertheless, it's fixed and live in Forge.

v2.3 Fixes and icon (https://github.com/ZarestiaDev/Spell-Record-Actions/releases/tag/v2.3)

Added

Extension icon (thanks SirMotte for the contribution)

Fixed

Edge case script error in 5e when opening a spell which was created via the character sheet

Blackwolfe
August 25th, 2022, 21:36
That appears to have cleared it up.
Thank you for the quick response.

Zarestia
September 9th, 2022, 19:40
v2.4 Compatibility enhancement for 3.5E & PFRPG (https://github.com/ZarestiaDev/Spell-Record-Actions/releases/tag/v2.4)

Changed:

Massively enhanced the compatibility to other extensions and lessened the impact of ruleset updates (also reduced script size by ~90%). This is only for 3.5E/PFRPG because 5E didn't have this problem.

Kazuto217
September 27th, 2022, 18:28
Hey sorry but that issue in Pathfinder 1e is happening again. Where changing the base ability score for a save is not working with this extension enabled. For both character and NPC sheets

Zarestia
September 27th, 2022, 18:58
Hey sorry but that issue in Pathfinder 1e is happening again. Where changing the base ability score for a save is not working with this extension enabled. For both character and NPC sheets

I don't see that. Do you have other extensions loaded? What is the version of Spell Record Actions in the chat?

Kazuto217
September 27th, 2022, 19:07
2.4 is the version. I do have other extensions. I'll see what the conflict might be

Kazuto217
September 27th, 2022, 19:22
Ok this is something @Kelrugem adds with their Extended automation and overlays extension. With just their extension and this one active it ends up breaking.

Extension: https://forge.fantasygrounds.com/shop/items/1/view

Attached an image of the feature that no longer works when this extension is active.

Zarestia
September 27th, 2022, 19:46
Ok this is something @Kelrugem adds with their Extended automation and overlays extension. With just their extension and this one active it ends up breaking.

Extension: https://forge.fantasygrounds.com/shop/items/1/view

Attached an image of the feature that no longer works when this extension is active.

I see, thanks for the clarification. I have to dig a bit in both extensions on how to get this sorted out best.

Btw: The normal stat changing still works fine in the spell class, only the added cycler by Kel is not working.

Zarestia
September 27th, 2022, 21:12
v2.5 Compatibility fix for Extended Automation (https://github.com/ZarestiaDev/Spell-Record-Actions/releases/tag/v2.5)

Fixed

Issue with extended automation in spell DC stat cycler

Kazuto217
September 27th, 2022, 21:26
Works on my end! thank you!

Strongtree
November 7th, 2022, 20:59
I'm playing D&D 5E.
I have found one small bug in spell editing. There is nothing displayed in cast.
If spell is moved to character all is visible.

Otherwise, nice extension. Love it. Thanks.

Zarestia
November 8th, 2022, 18:17
I have found one small bug in spell editing. There is nothing displayed in cast.
If spell is moved to character all is visible.


This is acutally expected because the display needs to grab some character data (level, proficiency, etc.). That's why it only gets shown as soon you drag a spell to a character sheet.

estrolof
November 25th, 2022, 02:26
First: I absolutely LOVE being able to pre-add these to the spell entry and saving in a module I can share between campaigns. It's a HUGE time saver. But...

Question: Is it intended that the right-click menu on the Actions tab no longer allows for removal of individual entries?
It appears that the clear function removes the ability to remove individual Action/Effect entries. If I'm working in haste, it's easy to add an extra effect or cast action in error. Or, if I want to add them in a specific order to enhance the flow for my player, I have to clear all and then re-add in order, as opposed to removing the mistake.

Zarestia
November 25th, 2022, 20:30
Question: Is it intended that the right-click menu on the Actions tab no longer allows for removal of individual entries?
It appears that the clear function removes the ability to remove individual Action/Effect entries. If I'm working in haste, it's easy to add an extra effect or cast action in error. Or, if I want to add them in a specific order to enhance the flow for my player, I have to clear all and then re-add in order, as opposed to removing the mistake.

I can't replicate that. Can you test with just this extension enabled? Maybe another one overrides the radial menu.

estrolof
November 25th, 2022, 22:19
I can confirm, this is the only extension loaded. 55234

Honestly, it's not a "hair ripped out" frustration. I've been putting up with it without feeling compelled to track it down for a while now. But, while I was testing for a different error (unrelated to this topic, or the extension), I decided to narrow it down. shrug

No worries though. If you can't reproduce it, I can't imagine how it'd be fixable. Such is the way of software, right?

Zarestia
November 25th, 2022, 23:26
I can confirm, this is the only extension loaded. 55234

Honestly, it's not a "hair ripped out" frustration. I've been putting up with it without feeling compelled to track it down for a while now. But, while I was testing for a different error (unrelated to this topic, or the extension), I decided to narrow it down. shrug

No worries though. If you can't reproduce it, I can't imagine how it'd be fixable. Such is the way of software, right?

Ah, I see now. Seems to only happen in 5e and not in 3.5e. I'll investigate.

Zarestia
November 25th, 2022, 23:41
v2.6 Fix 5E spell action deletion (https://github.com/ZarestiaDev/Spell-Record-Actions/releases/tag/v2.6)

Fixed

Spell action deletion in 5e

Blackwolfe
November 26th, 2022, 20:12
v2.6 Fix 5E spell action deletion (https://github.com/ZarestiaDev/Spell-Record-Actions/releases/tag/v2.6)

Fixed

Spell action deletion in 5e


Maybe interference from one of the many other mods I'm running, but I still cannot delete spell actions. :(

Zarestia
November 27th, 2022, 14:50
Maybe interference from one of the many other mods I'm running, but I still cannot delete spell actions. :(

In 5e with only Spell Record Actions enabled I can delete spell actions just fine in the character sheet. So it's probably another extension overwriting some things there.

Zarestia
February 23rd, 2023, 23:30
v2.7 Feb-2023 ruleset updates (https://github.com/ZarestiaDev/Spell-Record-Actions/releases/tag/v2.7)

Changed

Migrated getDatabaseNode() to DB functions
Major rewrite and restructure of the extension to support new names, templates, layering , etc. in rulesets


Reordering now works within Spell Record Actions, very nice addition :)

Zarestia
February 28th, 2023, 15:15
v2.8 Player spell records (https://github.com/ZarestiaDev/Spell-Record-Actions/releases/tag/v2.8)

Fixed

Script error when a player opened a spell record

Morenu
November 21st, 2023, 00:43
Your extension and Kelrugems overlay extension are not playing nice together for calculating Spell save DC
59338
The DC should be 18 (10+CL8/2+WIS 4)

Kelrugem overlays (https://forge.fantasygrounds.com/shop/items/1/view)

Works correctly when your extension is removed

Kelrugem
November 29th, 2023, 23:15
Your extension and Kelrugems overlay extension are not playing nice together for calculating Spell save DC
59338
The DC should be 18 (10+CL8/2+WIS 4)

Kelrugem overlays (https://forge.fantasygrounds.com/shop/items/1/view)

Works correctly when your extension is removed

Oh, Thanks for the report :) I will try to check how to resolve this :)

(sorry for late reply, I think both of us are just very busy right now :D)

Morenu
November 30th, 2023, 01:51
Thx, no rush, the extension is missed while I am doing the feats extended mod, but not a game breaker. :) RL comes first!

Kelrugem
December 1st, 2023, 02:36
Thx, no rush, the extension is missed while I am doing the feats extended mod, but not a game breaker. :) RL comes first!

Oki :) Yeah, I have to write many applications for new jobs right now, working on that already since August; I really need holidays :D I hope I soon can relax more again, and then I play with FG again :)

Zarestia
March 8th, 2024, 21:11
v2.9 March 2024 update


Added compatiblity with the March 2024 ruleset updates


Forge is updated.

brainArid
March 9th, 2024, 22:04
Hi, thank you for all the work to get this up and running for spell records. It's wild to me that this isn't already built into FGU rulesets. Their parser is great, but this can allow us to preserve the original text for spells and still get the intended function in FGU in a way that doesn't circumvent the parser! Genius design decision. Plus it's loads more organized than other workarounds that require one giant, unorganized list of custom effects.

I'm curious of a couple of things. Are there currently plans to expand this extension or are there analogue extensions that cover other record types (items, feats, npcs, etc...)? Is anyone aware if FGU intends to implement this in their official rulesets?

bmos
March 10th, 2024, 00:35
are there analogue extensions that cover other record types (items, feats, npcs, etc...)?
https://forge.fantasygrounds.com/shop/items/33/view
you can do some of this with Advanced Effects, but only effects not the other actions you can do with spell record actions.

Morenu
July 14th, 2024, 11:47
Your extension and Kelrugems overlay extension are not playing nice together for calculating Spell save DC
59338
The DC should be 18 (10+CL8/2+WIS 4)

Kelrugem overlays (https://forge.fantasygrounds.com/shop/items/1/view)

Works correctly when your extension is removed

This is still (or again?) a problem : 61292 with both Kel's extension and yours as the only ones loaded, the ability modifier that Kel's extension adds does not calculate into the Save DC. The ABILITY Wis Stat +4 portion of the casting detail shown above is added by Kel's extension. it works correctly when your extension is not loaded. it breaks when both are loaded.

It shows incorrectly AND it rolls with the incorrect DC as well

Azure Fang
August 16th, 2024, 01:32
Disregard, I wasn't paying close enough attention to what I was doing when I posted.

Morenu
August 24th, 2024, 02:36
Just wanted to say thank you for this extension. It saves a ton of time and makes it less likely to make a mistake when I am doing my Feats extended Mod. I can open the actual spell record and edit/view it without having to put it on a character, edit it then make a new spell and erase the original. I just have to remember to turn if off while DMing since it blocks the Ability bonus from Kelrugan's extension.

poposkent
September 19th, 2024, 00:14
Thank you for providing this extension.
However, after the recent update of FGU, there is a display bug in the Main tab of Spell.

Works correctly when your extension is removed.

estrolof
September 25th, 2024, 05:22
Rule Set: D&D 5E
Symptom: The optional entries (Cast, Damage, etc.) are anchoring to the top of the spell description, and not to the bottom (as would be expected). This remains the case when editing and when viewing entries.

Zarestia
November 6th, 2024, 15:29
Rule Set: D&D 5E
Symptom: The optional entries (Cast, Damage, etc.) are anchoring to the top of the spell description, and not to the bottom (as would be expected). This remains the case when editing and when viewing entries.

Sry for the late reply, I'll see what I can do.

Blackwolfe
November 27th, 2024, 19:51
Sry for the late reply, I'll see what I can do.

I was about to send a message when I remembered to check here.
November 27, FGU is still updating weekly, Spell Record Actions is still glitching as described by others.
I hope this message finds you doing well.

Blackwolfe
December 6th, 2024, 18:43
Smiteworks has stopped pushing hotfixes everyday.
Spell Record Actions is still returning error messages due to a display change in the spell sheet window (they added a version footer)

twseifert
December 10th, 2024, 00:04
Seems like I might be experiencing the same issue as Blackwolfe and Estrolof:

Rule Set: 5E (Legacy, i.e. 2014 rules)

No Extensions Loaded:
Spell Locked
62935

Spell Unlocked
62936

Only this Extension Loaded:
Spell Locked:
62937

Spell Unlocked
62938

Spell Unlocked with Console Error displayed
62939

twseifert
December 10th, 2024, 00:05
Here is my Log File when only running this extension and unlocking a spell:
62940

Zarestia
December 12th, 2024, 20:05
Thank you for reporting. I'm slowly getting back to work. I hope I can fix this tomorrow :)

Zarestia
December 13th, 2024, 13:01
Thank you all for waiting, 5e should work now without errors - update is live on forge.

v2.10

Fixed

5e window errors

snupy
February 3rd, 2025, 21:17
Your extension and Kelrugems overlay extension are not playing nice together for calculating Spell save DC
59338
The DC should be 18 (10+CL8/2+WIS 4)

Kelrugem overlays (https://forge.fantasygrounds.com/shop/items/1/view)

Works correctly when your extension is removed

Just wanted to mention that this issue seems to still be present. It would be nice to have a fix but I greatly appreciate this extension regardless, thanks Zarestia.

The Judge
May 16th, 2025, 01:34
Getting an error when opening the spell from the Spells Library
[ERROR] window: Control (action_label_add) anchoring to an undefined control (columnanchor) in windowclass (spelldesc_main)

Azure Fang
May 17th, 2025, 20:00
In addition to Judge's mention, there's also this:
[5/17/2025 11:56:45 AM] s'ActorManager.getTypeAndNode/getTypeAndNodeName - DEPRECATED - 2025-04-22 - Use ActorManager.isPC/isRecordType/getCreatureNode/getCTNode'

Tantrum
May 25th, 2025, 10:28
Getting this error when ever opening or unlocking a spell.
64455

Zarestia
June 2nd, 2025, 16:24
I was busy with marriage and a honeymoon road trip. Now I can do Fantasy Grounds things again. :)

v2.11 ist out and live.

- Anchoring errors are fixed. @The Judge & @Tantrum
@snupy I see a correctly reported DC, please check you are up to date on both extensions.
@Azure Fang This warning doesn't originate from this extension as there is no such code in there. It's probably from Kelrugem's overlay extension.

Azure Fang
June 3rd, 2025, 03:58
Ah, my apologies for the confusion. And congrats on your marriage!

snupy
June 6th, 2025, 21:48
Congratulations!

Indeed the DC is correct, not sure what was happening when I tried.

Kelrugem
June 9th, 2025, 00:01
I was busy with marriage and a honeymoon road trip. Now I can do Fantasy Grounds things again. :)

Congratulations :D