Yep that will be nice - for free too, at least according to the newsletter: https://wolflair.com/index.php?conte...012#pathfinderQuote:
Originally Posted by hawkwind
Printable View
Yep that will be nice - for free too, at least according to the newsletter: https://wolflair.com/index.php?conte...012#pathfinderQuote:
Originally Posted by hawkwind
Once again, I'm experiencing a lot of errors with using this parser with statblocks exported from Hero Lab. :(
The parser is claiming to have no problems itself. But once I attempt to activate the .mod in FG, I get a "Database Error: A XML parse error occurred processing file har:db.xml - Error on line 46: Error reading end tag."
I look at line 46, and I can see why. The XML is just plain broken:
which is generated from:Quote:
<p><b><u>Special Abilities</u>:</b> </p><p><b>Aura of Courage +4 (10' radius) (Su)</b> You are immune to Fear. Allies within aura gain a morale bonus to saves vs Fear. </p><p><b>Aura of Good (Ex)</b> The paladin has an Aura of Good with power equal to her class level. </p><p><b>Detect Evil (At will) (Sp)</b> You can use detect evil at will (as the spell). </p><p><b>Divine Bond (Weapon +1) (7 minutes) (1/day) (Sp)</b> Weapon shines with light and gains enhancement bonuses or chosen properties. </p><p><b>Immune to Fear (Ex)</b> You are immune to all fear effects. Immunity to Disease You are immune to diseases. </p><p><b>Just</p><p><b>ice/Law Variant Channeling (±2 Sacred) Perception, Sense Motive, attack & save bonus/zone of truth Lay on Hands (3d6) (4/day) (Su)</b> You can heal 3d6 damage, 4/day Mercy (Dazed) (Su)</b> When you use your lay on hands ability, it also removes the dazed condition. </p><p><b>Mercy (Shaken) (Su)</b> When you use your lay on hands ability, it also removes the shaken condition. </p><p><b>Paladin Channel Positive Energy 4d6 (2/day) (DC 14) (Su)</b> Positive energy heals the living and harms the undead; negative has the reverse effect. Point Blank Shot +1 to attack and damage rolls with ranged weapons at up to 30 feet. Precise Shot You don't get -4 to hit when shooting or throwing into melee. Rapid Reload (Heavy crossbow) You can reload fast with one type of Crossbow or Firearm. </p><p><b>Smite Evil (3/day) (Su)</b> +1 to hit, +7 to damage, +1 deflection bonus to AC when used.</p>
Quote:
Special Abilities
Aura of Courage +4 (10' radius) (Su) You are immune to Fear. Allies within aura gain a morale bonus to saves vs Fear.
Aura of Good (Ex) The paladin has an Aura of Good with power equal to her class level.
Detect Evil (At will) (Sp) You can use detect evil at will (as the spell).
Divine Bond (Weapon +1) (7 minutes) (1/day) (Sp) Weapon shines with light and gains enhancement bonuses or chosen properties.
Immune to Fear (Ex) You are immune to all fear effects.
Immunity to Disease You are immune to diseases.
Justice/Law Variant Channeling (±2 Sacred) Perception, Sense Motive, attack & save bonus/zone of truth
Lay on Hands (3d6) (4/day) (Su) You can heal 3d6 damage, 4/day
Mercy (Dazed) (Su) When you use your lay on hands ability, it also removes the dazed condition.
Mercy (Shaken) (Su) When you use your lay on hands ability, it also removes the shaken condition.
Paladin Channel Positive Energy 4d6 (2/day) (DC 14) (Su) Positive energy heals the living and harms the undead; negative has the reverse effect.
Point Blank Shot +1 to attack and damage rolls with ranged weapons at up to 30 feet.
Precise Shot You don't get -4 to hit when shooting or throwing into melee.
Rapid Reload (Heavy crossbow) You can reload fast with one type of Crossbow or Firearm.
Smite Evil (3/day) (Su) +1 to hit, +7 to damage, +1 deflection bonus to AC when used.
The thing that confuses me is that this is pretty much consistent. I get this with every single NPC I attempt to export now. Am I the only person who uses Hero Lab to make NPC's? Maybe it's because I'm reaching a higher level of statblock complexity because of a higher level of play, but I really hope that something can still be done to help with this. Fixing this always takes me forever. It's always the Special Abilities line. The parser can't handle something there. Is there anything that can be done? :)
Please attach an example of the text file you are parsing.Quote:
Originally Posted by darkling
Sure thing. :)
One thing to try - makes sure each line of the special abilities ends in a full-stop (period). This is used by the parser when it is trying to work out what section of the ability header to put in bold.
I'm not sure why the current one is splitting up Just-ice, it might be a limit to how far back the code looks for a full-stop.
Anyway, darkling, please send through the example text file you are parsing so I can try to work out what is causing this and fix if possible.
Cheers!
Oh whoops. I attached it to the previous post. ^^^^ :)
It's as I suspected - the entries in the Special Abilities that don't end in a full-stop (period) are causing the issues.
Just add a . to the end of the lines that don't have a period/full-stop. "Lay on hands" for all three NPCs and "Justice/Law variant" for one.
Works beautifully with NeoExodus. Praise to you! I might get my campaign in after all.:)
I'm usually pretty good with the parser but I must be tired tonight as i can't seem to get it to work
this is my error message
Reading data file: C:\Users\Falafel\Documents\thornkeep\accursed halls.txt
Logging to: C:\Users\Falafel\Documents\thornkeep\accursed halls.txt.log
Formatting creature stat block: Murgo the Oracle CR 2
Processing creature: Murgo the Oracle
Error in ReadWriteFormattedCreature, Message: Index was outside the bounds of the array.
Processing creature:
Error in ReadWriteFormattedCreature, Message: The empty string '' is not a valid local name.
Error in btnStartParse_Click, Message: The Writer is closed or in error state.
Module file created: C:\Users\Falafel\Documents\thornkeep\accursedhalls .mod
attached is my file
sorry some how the file didn't attach possibly because its a text file
here are the contents, any help would be appreciated
goblin leader
Murgo the Oracle CR 2
XP 1
NE Small humanoid
lnit +5; Senses darkvision 60 ft., vision; Perception +2
DEFENSE
AC 16, touch 12, flat-footed 15 (+4 armor, +1 Dex, +1 size)
hp 23 (3d8+6)
Fort +2, Ref +2, Will +5; +4 vs. disease
OFFENSE
Speed 30 ft.
Melee mwk longspear +3 (1d6-1/x3)
Oracle Spells Known (CL 3rd; concentration +4)
1st (6/day) -bane (DC 12), burning hands (DC 12), cause fear (DC 12),
doom (DC 12), inflict light wounds (DC 12)
O (at will) -bleed (DC 11), create water, detect magic, light, resistance
Mystery flame
STATISTICS
Str 8, Dex 12, Con 12, Int 13, Wis 14, Cha 13
Base Atk +2; CMB +O; CMD 11
Feats Combat Casting, Improved Initiative
Skills Acrobatics +6, Climb +4, Heal +8, Sense Motive +8, Spellcraft +7,
Stealth +8; Racial Modifiers +4 Ride, +4 Stealth
Languages Common, Goblin
SQ oracle's curse (wasting), revelations (burning magic, fire breath [3d4,
1/day, DC 12])
Combat Gear potion of cure light wounds, acid (2); Other Gear
masterwork chain shirt, masterwork longspear