PDA

View Full Version : Error on character load



BenKimball
Jul 7th, '03, 11:33 AM
HD 1.46, Win2000 (under Virtual PC). When I open my character file in HD, I get an "Error retrieving template" error message:

"An error occurred retrieving the template used for the saved character. Using 'Standard Super' template.

Error Message: Error on line 539 of document file S:/Koan.hdc: Illegal character at end of document, E."

Clicking OK results in a second error:

"Error loading template: An error occurred loadig the template. Data loss may occur if you save. Please shut down Hero Designer and restart." This is followed by the same "Error Message" text as before.

I looked at Koan.hdc, and it doesn't have a line 539 (it's 490 lines long). I removed the two trailing linefeeds just to see what happened, but there was no effect. Then I tried looking at the .hdt file referenced by the error, but I couldn't see anything wrong with its line 539 (definition of CON cost) either -- no extra 'E' at the end of the line, for example.

Maybe I should edit my .hdc file to specify a different template? Any help appreciated!

Cheers,
Ben

P.S. I've enclosed the HDC file in question in case it helps.

Simon
Jul 7th, '03, 12:38 PM
Looks like, for whatever reason, you had some garbage tossed in at the end of the file. Delete all lines after </CHARACTER> -- about 3 lines, from what I can see.

Once you delete those lines, the document should parse fine.

BenKimball
Jul 7th, '03, 01:21 PM
Originally posted by dsimon
Looks like, for whatever reason, you had some garbage tossed in at the end of the file. Delete all lines after </CHARACTER> -- about 3 lines, from what I can see.

Once you delete those lines, the document should parse fine.

Thanks! It worked. There was some extra XML in there that was badly formatted.

Cheers,
Ben

caris
Jun 13th, '04, 01:11 PM
OK, sorry, but I am not extremely programing savvy. A new player brought his character over today on disk. I was able to open his character with no problem, but now I'm unable to open any characters (including the version of his character that I saved to my system). I get two error message windows when I try to open a character.

First:

"An error occured retrieving the template used for saved character. Using 'Standard Super' template"

"Error message: Connection refused: connect"

After clicking OK, second message:

"An error occured loading the template.
Data loss may occur if you save.

Please shut down Hero Designer and restart.

Error Message: Connection refused: connect"

After clicking ok, a character opens named the same as the file I tried to open, but there is no data displayed for the character.

This happens with every character file I try to open.

It sounds similar to this problem. Any suggestions?

caris
Jun 13th, '04, 01:22 PM
Never mind. We figured it out.