Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > Hero Lab Discussion
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Lawful_g
Senior Member
Volunteer Data File Contributor
 
Join Date: Mar 2007
Posts: 1,245

Old June 29th, 2007, 06:04 AM
Since I updated to version 1.1h i've been getting this error for every custom spell I entered into Hero Lab.

WoTL Spells.dat - ## - Thing - Field 'sSummary' referenced but not defined

How do I fix this without having to redo each of the spells I have already entered? It's really bugging me now that I am up to 1.1i because it forces you to save each time you create a new thing and the error is stopping it from saving. Each time I want to create a new thing I have to open the editor with a new file.

Also, I've noticed the ## in the middle is the only thing that varies between the multiple error messages, and I assume it must be some sort of identifier meant to help me find the relevent thing in that data file, but I am not sure how. Does each thing have a number somewhere that I don't know about? How do I use the ## to find out which thing has the error (in general, because in this case it is with all spells in the file)?
Lawful_g is offline   #1 Reply With Quote
Colen
Senior Member
Lone Wolf Staff
 
Join Date: Dec 2008
Posts: 4,690

Old June 29th, 2007, 03:57 PM
Lawful_g wrote:
>
>
> Since I updated to version 1.1h i've been getting this error for every
> custom spell I entered into Hero Lab.
>
> WoTL Spells.dat - ## - Thing - Field 'sSummary' referenced but not defined
>
> How do I fix this without having to redo each of the spells I have
> already entered? It's really bugging me now that I am up to 1.1i because
> it forces you to save each time you create a new thing and the error is
> stopping it from saving. Each time I want to create a new thing I have
> to open the editor with a new file.


This is an error that was caused by me making changes to the data files
when I shouldn't have. I've restored stuff so that when we come out with
a bugfix release (which should be real soon) your old stuff will
continue to load again.


> Also, I've noticed the ## in the middle is the only thing that varies
> between the multiple error messages, and I assume it must be some sort
> of identifier meant to help me find the relevent thing in that data
> file, but I am not sure how. Does each thing have a number somewhere
> that I don't know about? How do I use the ## to find out which thing has
> the error (in general, because in this case it is with all spells in the
> file)?


The text in the middle is the unique id of the spell that has the
problem. Whenever you create a thing, you need to specify a unique id so
that Hero Lab knows what to call it internally, so Hero Lab returns you
the unique id so that you know where to look for the problem.


Unfortunately, the error messages that Hero Lab gives aren't always that
helpful (it's something we're working on). Here's how to break down this
particular error message:


"WoTL Spells.dat" - This is the file that the error occurred in.

"unique id" - the unique id of the thing with the problem.

"Thing - Field 'sSummary' referenced but not defined" - The actual
error. First, the problem is with a thing (our term for everything the
data files use - classes, spells, feats). Secondly, the problem is with
a field on that thing, with the unique id "sSummary". Lastly, the
problem is that the thing references the field, but the field isn't
defined anywhere. (This is the field that got mistakenly deleted.)


Armed with this knowledge, if you want to solve the problem yourself,
you can:

1) Open the file "WoTL Spells.dat" in a text editor (such as Notepad).

2) Search for the unique id of the spell in the error message.

3) Find the reference to sSummary for that thing (it should be on an
indented line a few rows below it).

4) Delete only the line that references sSummary.

5) Repeat as appropriate for each spell.

This might take a while if you have more than one spell, so I'd
recommend that you wait for the patch we'll be releasing very soon.


I hope this info enlightens you about the error message, and sorry for
the inconvenience in the first place. Thanks for your patience!

--
Colen McAlister (colen@wolflair.com)
Chief Engineer, Lone Wolf Development
http://www.wolflair.com/
Colen is offline   #2 Reply With Quote
Reply


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 07:40 PM.


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