• 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

Eval error caused by Replacing Thing

Fox Lee

Well-known member
Hi folks,

I was trying to fix an issue with the Hybrid Avenger (it fails to grant the cut-down version of Oath of Enmity that it ought to give) and ran into an odd quirk. In a fresh user file in the editor, I copied the Hybrid Avenger class and set the new version to replace the existing one. Without changing anything yet, I activated the new version of the class in HeroLab and found that when the class is given to a character, I get the error:

Invalid tag expression specified for 'findchild'
Location: 'evalrule' script for Component 'Class' (eval rule '#2') near line 15

I tried to check this out in the data files, but line 15 of the file thing_validate.dat is an empty line, so clearly it's deeper than that.

The error is clearly tied to the replacement class - it's fine as soon as I change classes, remove the user file and reload, remove the replacement class from the user file and reload, and so forth.

Any advice on what might be causing this? Thanks!
 
Last edited:
Hi folks,

I was trying to fix an issue with the Hybrid Avenger (it fails to grant the cut-down version of Oath of Enmity that it ought to give) and ran into an odd quirk. In a fresh user file in the editor, I copied the Hybrid Avenger class and set the new version to replace the existing one. Without changing anything yet, I activated the new version of the class in HeroLab and found that when the class is given to a character, I get the error:

Invalid tag expression specified for 'findchild'
Location: 'evalrule' script for Component 'Class' (eval rule '#2') near line 15

I tried to check this out in the data files, but line 15 of the file thing_validate.dat is an empty line, so clearly it's deeper than that.

The error is clearly tied to the replacement class - it's fine as soon as I change classes, remove the user file and reload, remove the replacement class from the user file and reload, and so forth.

Any advice on what might be causing this? Thanks!

If you send me the user file I can have a look at it (send to tirionareonwe at gmail.com).

Hmmm, I wonder, if you select "CountsAs" Hybrid Avenger, does this help ? (though if you replace, this should not actually be needed).

BTW: If you have any other (working) bugfixes, feel free to upload to http://hl4e.cryptoknight.org ;-)

Best regards,
MagicSN
 
If you send me the user file I can have a look at it (send to tirionareonwe at gmail.com).

Hmmm, I wonder, if you select "CountsAs" Hybrid Avenger, does this help ? (though if you replace, this should not actually be needed).

BTW: If you have any other (working) bugfixes, feel free to upload to http://hl4e.cryptoknight.org ;-)

Thanks Magic SN :) I'll send you a copy shortly. I'm pretty sure I tried making it count as itself, but that may have been when I was meddling with the hybrid psion instead. Guess I'd best go check that first!

...Hmmm, nope, that gives me a message like "Contains duplicates of tag 'clsAvengHy", which is a bit interesting 'cus that's the ID for the official one, not mine. Is it trying to copy the Avenger equivalency tag from the Hybrid Avenger?

So here's a thing: now if I change the equivalency back and try to test it, I get a "thing to replace is already replaced by another thing and cannot be superceded" message, and I notice that in the "counts as" tag list there is a separate entry for my version and the original version. Is that as it should be? I would have thought that only the replacing version should exist. Have I maybe corrupted one of my data files or something? ^^;

(All that aside, the file is on its way to you. I just thought I would mention the new stuff too.)

Anyway, I certainly will upload any bugfixes I have working, once I'm sure that they are. I have occasionally found myself sondering whether or not fixing a couple of spelling mistakes in a theme is worth updating a file... probably most people are not as pedantic as me :p Currently I'm trying to fix up the "Noble Adept" theme, but I fear it may be a lost cause for me, due to the need to do weird power swaps (and because I can't for the life of me find the right way to refer to a character's power point total).

By the by, are you interested in homebrew stuff at all, on the forum? Or strictly conversions of legit stuff?

Thanks! :)
 
I still haven't figured this out, but it seems like maybe it has to do with other things not recognising it? Used in a hybrid build, it gives the validation message "must have at least one at-will power from each class" even when the build has one at-will power from each class.
 
At first it was just that I didn't realise it had already been done (I thought I had them all). But actually, as it turns out, I managed to solve the problem you were having with the level 10 feature, by drawing on multiclass feats and skill focus as examples.
 
Back
Top