Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
Nikmal
Senior Member
 
Join Date: Aug 2010
Location: Twin Cities, MN
Posts: 677

Old May 5th, 2015, 04:40 PM
This is what happened.


The data files could not be loaded due to errors. Hero Lab will now attempt to lad them in recovery mode. Once loaded, you can access the editor as normal to correct any errors.

The following errors occured:

Syntax error in 'eval' script for Thing 'cPUDevaTou' (Eval Script #1) on line 9
->Error in right-side expression of assignment
Syntax error in 'eval' script for Thing 'cPWP1MrHI' (Eval Script #1) on line 14
->Error in right-side expression of assignment
Nikmal is offline   #1 Reply With Quote
Aaron
Senior Member
Lone Wolf Staff
 
Join Date: Oct 2011
Posts: 6,776

Old May 5th, 2015, 04:52 PM
I don't believe either of those things are part of our files, check your community stuff, perhaps?
Aaron is offline   #2 Reply With Quote
Exmortis
Senior Member
 
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 750

Old May 5th, 2015, 05:12 PM
I have it as well so must be a community file.

Exmortis aka "Scott"
RW - Looks like a heal spell incoming
HL - Game Master/Designer
RPG Tools - Campaign Cartographer 3+, D20 Pro Ultimate
Real Life - IT Security
Hobby - Anything on water or ATV
Exmortis is offline   #3 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,700

Old May 5th, 2015, 05:38 PM
Quote:
Originally Posted by Aaron View Post
I don't believe either of those things are part of our files, check your community stuff, perhaps?
So how come the #levelcount[] macro can't be used in a String operation anymore?

The errors are showing for the following line:
Code:
field[abText].text = #levelcount[PWBtlTmpl] & " + 1d4/maneuver level HP"
This is not uncommon code. So what happened to the macro that its now suddenly invalid?

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   #4 Reply With Quote
Aaron
Senior Member
Lone Wolf Staff
 
Join Date: Oct 2011
Posts: 6,776

Old May 5th, 2015, 09:52 PM
levelcount now counts Classes tags + LvCountAs tags, which is a new tag group the unchained classes add for counting as their CRB equivalents for the purposes of the levelcount macro. This was a fix for the stunning fist feat not calculating charges correctly for unchained monks (as well as others).

I think since it is now more than a single tagcount it won't work in string expression like that. How common is that in community stuff? I'd think that it would be relatively rare because most things have fields to store their level instead of having to count tags.
Aaron is offline   #5 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,700

Old May 6th, 2015, 09:03 AM
Quote:
Originally Posted by Aaron View Post
How common is that in community stuff? I'd think that it would be relatively rare because most things have fields to store their level instead of having to count tags.
Yeah the ones I fixed never should have been using it but it's still a major change in HL scripting logic. So I can't tell you the full cost of the change to the macro is. Still not really understanding how adding more tags to count causes it to be unusable. Isn't it still just returning a "number"?

Currently I have the 3PP Pack fixed again and released. You are correct that a Class Special should not be using #levelcount[] instead of field[xAllLevel].value but not every person doing HL stuff knows that.

Macros to me are like the base building blocks of HL. Similar to the core methods of Java. Its not cool to drastically change that logic on people. Sorry had a LONG LONG night with real work issues. Little grumpy today...

Thanks for the Answer....

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   #6 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old May 6th, 2015, 09:06 AM
I think it doesn't work because you can't do math in a string.
AndrewD2 is offline   #7 Reply With Quote
lortondm
Senior Member
 
Join Date: Aug 2012
Posts: 128

Old May 6th, 2015, 05:49 PM
Quote:
Originally Posted by ShadowChemosh View Post
Yeah the ones I fixed never should have been using it but it's still a major change in HL scripting logic. So I can't tell you the full cost of the change to the macro is. Still not really understanding how adding more tags to count causes it to be unusable. Isn't it still just returning a "number"?

Currently I have the 3PP Pack fixed again and released. You are correct that a Class Special should not be using #levelcount[] instead of field[xAllLevel].value but not every person doing HL stuff knows that.

Macros to me are like the base building blocks of HL. Similar to the core methods of Java. Its not cool to drastically change that logic on people. Sorry had a LONG LONG night with real work issues. Little grumpy today...

Thanks for the Answer....
ShadowChemosh, I think you've fixed the 2 errors first noted above. I was getting it and am not getting it anymore. But now I'm getting this error. Can this one be fixed too?

Field 'wCustMonNm' is no longer associated with pick 'MythSource'
lortondm is offline   #8 Reply With Quote
charlieluce
Senior Member
 
Join Date: Jul 2008
Posts: 1,029

Old May 6th, 2015, 08:23 PM
Quote:
Originally Posted by lortondm View Post
Field 'wCustMonNm' is no longer associated with pick 'MythSource'
That one is transitory and should go away once you re-save the portfolio.

Currently Running: Pathfinder Second Edition
Currently Playing: D&D 4e
Former Games:
Pathfinder (First Edition), D&D 5e, Mutants & Masterminds (2E & 3E), Savage Worlds






charlieluce is offline   #9 Reply With Quote
Nikmal
Senior Member
 
Join Date: Aug 2010
Location: Twin Cities, MN
Posts: 677

Old May 6th, 2015, 11:00 PM
Thanks Shadow... it's fixed!!
Nikmal is offline   #10 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 10:45 AM.


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