PDA

View Full Version : NPC editing causing fg to crash



jonsharland
September 6th, 2006, 10:17
Hi,
Figured this one out - not sure how i fixed it but it now works

Jon




As some of you know from my previous posts I am customising FG for a game a friend of mine created.
I am having problems with NPC's.

I have edited the adventure.xml file - and when I start fantasy grounds I see my NPC's that I have loaded from the monsters.xml file.

when i edit refrence.xml and start FG I can see the edits I have done but when I click on the other tab FG crashes.

I have tried to compare the code between my refrence.xml and the default refrence.xml and I cannot seem to see a diffrence other than the fields I created and I copied them from adventure.xml . Anybody else seeing something similar. any ideas ?
Thanks
Jon :bandit:

Zakarius
October 13th, 2006, 17:23
I've also made a modified ruleset and completely revamped the NPC datasheet (from d20_adventure.xml). I had a couple crashes once I'd converted the 'cr' field from an integer to string (since you can't type in 1/4 as an integer). I had to modify the already existing NPCs/monsters in the campaigns/my ruleset/db.xml file to reflect this change.

However, I then realized that typing a backslash in any string field causes unpredictable junk to appear... and the application usually crashes thereafter.