Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
So as soon as I use your long string of spells I get a HL script error as soon as I try and select the feat. Is this what you where getting?
Code:
Invalid tag expression specified for 'foreach' statement Location: Procedure 'HaveSpell' near line 25 - - - Invalid tag expression specified for 'foreach' statement Location: Procedure 'HaveSpell' near line 25 - - - Invalid tag expression specified for 'foreach' statement Location: Procedure 'HaveSpell' near line 25 - - - Invalid tag expression specified for 'foreach' statement Location: Procedure 'HaveSpell' near line 25 - - - Invalid tag expression specified for 'foreach' statement Location: Procedure 'HaveSpell' near line 25 - - - Invalid tag expression specified for 'foreach' statement Location: Procedure 'HaveSpell' near line 25 - - - Invalid tag expression specified for 'foreach' statement Location: Procedure 'HaveSpell' near line 25 - - - Invalid tag expression specified for 'foreach' statement Location: Procedure 'HaveSpell' near line 25 - - - Invalid tag expression specified for 'foreach' statement Location: Procedure 'HaveSpell' near line 25 - - - Invalid tag expression specified for 'foreach' statement Location: Procedure 'HaveSpell' near line 25 @Mathias or Aaron my foreach expression is 358 characters long. What is the maximum length of a expression for a foreach loop? Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#11 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
I've asked Colen. In the meantime, can you do a debug, get the actual string, and post it, so that we can make sure it's not just a mis-spelling or missed parentheses within the string?
|
#12 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
The limit should be around 5000 characters, so there's probably something else going on.
|
#13 |
Senior Member
Lone Wolf Staff
Join Date: Dec 2008
Posts: 4,690
|
Yeah, 358 should definitely be within the limit. Let us know the exact tag expression string, and our eagle eyes will hopefully spot the issue!
|
#14 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Awesome thanks guys. I just double checked and the string getting produced had a space after one of the periods. My bad sorry!
Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#15 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
@Quintain I just uploaded a new version to GitHub see if it works better...
Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#16 |
Senior Member
Join Date: Feb 2012
Posts: 546
|
Sadly, I'm on vacation, so I won't be able to verify until just before the 4th.
|
#17 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Damn if your "sadly on vaca" I think you need to pick a better vacation spot!
Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#18 |
Senior Member
Join Date: Feb 2012
Posts: 546
|
Initial testing (arcanist class with summon monster spells memorized) was positive.
|
#19 |
Thread Tools | |
Display Modes | |
|
|