• 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

Strange Error Message

GodPole

Well-known member
Hi all,

Recently, I've been getting a weird error message whenever I am creating a race that has natural attacks, such as Bite or Claw:

"Attempt to access field 'gSizeDiff' that does not exist for thing 'wClaw'
Location: 'synthesize #0' script for Dossier 'statblock' near line 366"

This has only been occurring since I added the Lawful_G Secondary Update URL.
Not trying to place blame; only trying to make a correlation.

The strange thing is that is doesn't seem to have any negative effects on how the natural attack stats are calculated: Everything looks good when I use the race, I just keep getting the error...
Also, the error only appears when I try to save a portfolio that has a character of the Race that has the natural attack.
The custom race compiles in the editor with no errors.

Anyone else seen this?

Thanks.

-GP
 
Last edited:
Hi all,

Recently, I've been getting a weird error message whenever I am creating a race that has natural attacks, such as Bite or Claw:

"Attempt to access field 'gSizeDiff' that does not exist for thing 'wClaw'
Location: 'synthesize #0' script for Dossier 'statblock' near line 366"

Got that also, not yet tracked it down as it doesn't seem to cause any display problems. I suspect it is a timing issue.
 
I'm not sure how it's a timing issue.
We don't have any ability (that I know of) to go in a modify the "timing" of natural attacks.
Heck, I'm still hoping someone comes up with a way to create new ones (tongue, etc...).

-GP
 
You can't create new ones, but you can rename some of the less used ones (sting is one of my favorites) so they look new and assign whatever tags you like to make them conform to what you want.
 
Its something I'm doing also that makes this happen.

I've got some new weapons and whenever I reload the character, it happens.

I wonder if I'm not putting in a gSizeDiff field I need?
 
The problem is that part of the weapon code in the statblock is looking for the size of a weapon - that size field doesn't exist for natural attacks, only regular weapons. This wasn't encountered often in the past, but one of the recent HL updates made it so all portfolios now generate a statblock and store it within the portfolio file (down the road, this will allow previews of the statblock when you're selecting a character/stock portfolio to load). So, that means the error is now generated on every save of something with a natural attack.

This is on my to-do list for the next update (I'll hopefully be able to squeeze in some time for that update within the next few weeks).
 
Back
Top