-
January 1st, 2024, 19:36 #161
.
hi folks. happy new year!
a bit of assist here plz...
this extension shows as "on" in forge. however, when i load up fgu (pf1e), it is not listed in the extensions list at first-open in chat window. also none of the "what is does" mentioned in post #1 is available in the modifiers window.
what am i missing?-----
roll dice. it builds character.
-
January 1st, 2024, 21:06 #162
- Join Date
- Nov 2019
- Posts
- 316
If you aren't seeing it in the extensions list for the campaign you may need to do a check for updates and try again.
Also there may be a bug of some kind with this extension I started getting errors with it and melee weapons.
-
January 1st, 2024, 21:41 #163
- Join Date
- Nov 2020
- Location
- Seattle, USA
- Posts
- 186
It shouldn't matter if the attack is made by the GM or a player ("shouldn't", heh). What would affect it is they target that is being attacked. That part of the code is checking the type of the target, specifically to see if it is a swarm, as swarms are not subject to flanking. In the case of that error, whatever the target of the attack is doesn't have a "type" in the database.
Unfortunately, I can't reproduce this. I've tried creating a new NPC and intentially not given it a type and it still returns an empty string rather than nil. I'll add some checking to catch this error though. If you can provide any details about what the player was attacking that may help (especially if it was an NPC from one of the PF Bestiaries, since I can look at them myself).
Also, is this error coming up every attack at any target, or just a specific target?
-
January 1st, 2024, 21:43 #164
- Join Date
- Nov 2020
- Location
- Seattle, USA
- Posts
- 186
Looks active in the Forge to me as well. Do you see CombatModifierCalculation.ext in your \Fantasy Grounds\Data\extensions directory?
If it's loaded the chat window should have this at startup:
Combat Modifier Calculation v1.6
Automatically calculate modifiers for flanking, range, and shooting into melee
-
January 1st, 2024, 22:14 #165
- Join Date
- Nov 2020
- Location
- Seattle, USA
- Posts
- 186
I've uploaded a new build to Forge that will check for
[ERROR] Script execution error: [string "..ModifierCalculation:..n_attack_custom.lua"]:423: attempt to index a nil value
It will give a warning in chat "Target 'type' returns nil" if the situation causing that error occurs.
-
January 1st, 2024, 23:09 #166
.
that worked. thx!
it's showing up in the list now. thx!
however, (see image)
1) i am still not seeing the other 2 buttons?
"Adds buttons to the Modifiers window for shooting into melee and flanking.
Puts buttons on the desktop for the three levels of cover, shooting into melee, flanking, and flat-footed."
2) assuming i can (can i?) reposition the dice, i don't think they are showing on desktop either?
.
.
-----
roll dice. it builds character.
-
January 1st, 2024, 23:43 #167
.
okay did a test crossbow (trap) attack...
a) i do notice extension auto-populated "rng30" in tracker
b) crossbow has 80 ft range; which is fine, no penalty
c) in chat window, "shoot melee -4" has been applied to all targets
d) penalty to shoot into melee applies only if an ally of shooter is in melee
explain plz?
-----
roll dice. it builds character.
-
January 2nd, 2024, 01:50 #168
- Join Date
- Nov 2020
- Location
- Seattle, USA
- Posts
- 186
I had to treat neutrals as either allied or enemy for purposes of shooting into melee, so I went with allied (logic being that if you don’t know that they’re hostile, the preference should be to avoid accidentally hitting them). If you change the trap to the hostile faction it won’t get the shooting into melee penalty against units in the friendly faction.
-
January 2nd, 2024, 12:44 #169
- Join Date
- Nov 2019
- Posts
- 316
-
January 2nd, 2024, 12:47 #170
- Join Date
- Nov 2019
- Posts
- 316
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks