Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old June 23rd, 2017, 02:17 PM
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
As the expression is correct my guess would be that we just hit a length limitation of a search expression.

@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.
ShadowChemosh is offline   #11 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old June 23rd, 2017, 02:52 PM
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?
Mathias is offline   #12 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old June 23rd, 2017, 03:26 PM
The limit should be around 5000 characters, so there's probably something else going on.
Mathias is offline   #13 Reply With Quote
Colen
Senior Member
Lone Wolf Staff
 
Join Date: Dec 2008
Posts: 4,690

Old June 23rd, 2017, 03:33 PM
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!
Colen is offline   #14 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old June 23rd, 2017, 03:39 PM
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.
ShadowChemosh is offline   #15 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old June 23rd, 2017, 04:21 PM
@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.
ShadowChemosh is offline   #16 Reply With Quote
Quintain
Senior Member
 
Join Date: Feb 2012
Posts: 546

Old June 24th, 2017, 07:18 PM
Sadly, I'm on vacation, so I won't be able to verify until just before the 4th.
Quintain is offline   #17 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old June 24th, 2017, 08:36 PM
Quote:
Originally Posted by Quintain View Post
Sadly, I'm on vacation, so I won't be able to verify until just before the 4th.
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.
ShadowChemosh is offline   #18 Reply With Quote
Quintain
Senior Member
 
Join Date: Feb 2012
Posts: 546

Old July 2nd, 2017, 06:06 AM
Initial testing (arcanist class with summon monster spells memorized) was positive.
Quintain is offline   #19 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 07:07 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.