• 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

error message :(

Corwyn

Active member
Hi everyone,
trying to make an magic item and everything was working fine to till the end.. when I got this error.

-> Extra characters at end of line

it's set to pre-levels / 5000

var bonus as number
bonus += 4 + #skillbonus[skPercep]

doneif(field[gIsEquip].value <> 0)

if (field[gIsEquip].value <> 0) then
#enhancementbonus[hero.childfound[skPercep],4]
endif

I'm basically trying to add a +4 visual bonus to perception, but only when the In-Play check-box is clicked, of course it has to be worn as well, but as soon as I put it on, it gives it the +4 to perception. Yes, it is supposed to be an enhancement bonus. *smile* special item. (when I look at it when I put it in and editting it, it shows the spacing, but not when I post... interesting)

Any ideas?
Thanks,
Corwyn
 
Error messages in HL can be right-clicked and copied, then pasted here, so we can see the entire message - that message should have a line number, which would be helpful in tracking down where the error is.

One thing to try - a space in-between doneif and the (.
 
the space between the doneif and (, got rid of the error... but now it's not giving the bonus, and the checkbox is checked for both equipped and in-play..

Andrew... i removed the doneif statement and now the bonus shows up as soon as it's equipped, instead of needing both the equipped & in-play.

is there a way to have it check both the equipped and in-play checkbox, or even just the in-play one?

Thanks for the help... any other ideas? if need be, I can open the user file and copy it here.
Corwyn
 
Last edited:
aarrrggghhh... if it's not one thing, it's another. I just did the update for pathfinder that came out and I got the following error:

Syntax error in 'eval' script for Thing 'fFRSoutMag' (Eval Script '#1') on line 2
-> Tag 'Classes.Inquisitor' no defined

now, I didn't tough the class or use any Thing, etc that's attached to the inquisitor.
think it's the community pack, there was also a huge list of errors (can post if needed)

Shannon
 
Last edited:
doneif for equipment should be

doneif (field[gIsEquip].value = 0)

and if statement would be

if (field[gIsEquip].value <> 0) then

endif

best bet for needing activation would be

Code:
doneif (field[gIsEquip].value = 0)
doneif (field[abilActive].value = 0)

#enhancementbonus[hero.child[skPercep], 4]

I'd probably put it pre-attribute 10000
 
Getting the same thing myself: Something from one of the Forgotten Realms files maybe?

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

The following errors occurred:

Syntax error in 'eval' script for Thing 'fFRSoutMag' (Eval Script '#1') on line 2
-> Tag 'Classes.Inquisitor' not defined

I started getting this after updating Herolab and the Pathfinder files. I have no idea what data file needs to be fixed or purged to end this.
 
I didn't think so either... shrug. but with that error loading up, none of my user files will load. :(
any ideas anyone?
Corwyn
 
Grab a good text editor like Notepad++ or Atom or something and do a "Search in Folder" for

<tag group="Classes" tag="Inquisitor" />

You should find the problem file, then you can edit it and report the bug to the right person.

For personal stuff I like to work in a blank copy of Pathfinder (no outside user files) and then import them into my house files or whatever system I use.
 
doneif for equipment should be

doneif (field[gIsEquip].value = 0)

and if statement would be

if (field[gIsEquip].value <> 0) then

endif

best bet for needing activation would be

Code:
doneif (field[gIsEquip].value = 0)
doneif (field[abilActive].value = 0)

#enhancementbonus[hero.child[skPercep], 4]

I'd probably put it pre-attribute 10000

=========

Thanks Andrew,
this hit the spot. :)
I also removed the tag line with the bonus += 4 that must have been the one that was putting it in when I equipped it.
so, thanks once again,
Corwyn
 
I have no way of fixing that issue if its true.... :(

Personal Update: Using the manage third party update tool, I removed the RavenX package and that fixed the problem, which sadly confirms the source. I've sent him a private message about it.
 
Last edited:
Back
Top