• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Getting weird error message

AndrewD2

Well-known member
On an archetype I made I've started getting this error message after it's been added (and every time anything tries to be added after)

Reference to undeclared variable: 'result'
Location: 'eval' script for Component 'Class' (Eval Script '#10') near line 173

I am guessing this is referencing something I can't see because I have no eval script #10 and line 173 in my file is just an item with just a text description.
 
I'm wondering if it may have something to do with all the tags for additional bonus feat selections, I have something like 43 on there.
 
Once upon a time, the variable "result" was used instead of the function perform. For example:

Code:
var result as number
result = assign[Tag.Tag]

has been replaced by:
Code:
perform assign[Tag.Tag]

My guess is this error stems from someone attempting to use the older way of doing things but forgetting to specify result as a variable. As to where this is occurring, I don't know. With something like this, I usually use Windows Grep to search through the user files.
 
I am guessing this is referencing something I can't see because I have no eval script #10 and line 173 in my file is just an item with just a text description.
As the "Thing" is a Class I expect like you its under the covers. Have you manually added some tag or placed a value in a odd field? Something like that could be turning on a outdated feature of the Class Thing.... :confused:
 
I just did some testing to confirm my suspicions. It is from how many additional bonus feat selections I added. 35 seems to be the limit allowed between additional bonus feats and removed bonus feats.
 
Probably ran out of room in the candidate expression field. I think it's the same issue I was warning you of with ClsAllowSp tags. Can the list be boiled down to a class of feats plus or minus a few others? I.E. All metamagic feats except Silent spell, or All combat feats plus Improved Initiative.
 
Back
Top