In the text you pasted "Init" is written with a lowercase "l" and not capital "I".
Change this to I and the error goes away.
Also, but not relevant to the parser, the 0lvl spells use a capital "O" and not a zero in your text.
Printable View
In the text you pasted "Init" is written with a lowercase "l" and not capital "I".
Change this to I and the error goes away.
Also, but not relevant to the parser, the 0lvl spells use a capital "O" and not a zero in your text.
thanks a lot, that was driving me nuts
I, too, am being driven crazy. I keep reading and rereading the text and I just can't figure out what's wrong. I did have an A-ha! moment when I saw that, originally, the CMB didn't have + in front of the number, but alas, that was not the issue, I suppose.
This is the text I'm trying to parse:
Quote:
Shalelu Andosana CR 5
XP 1,600
Female elf fighter 2, ranger 4
CG Medium humanoid (elf)
Init +3; Senses low-light vision; Perception +12
DEFENSE
AC 19, touch 14, flat-footed 15 (+4 armor, +3 Dex, +1 dodge, +1 natural)
HP 53 (6d10+16)
Fort +10, Ref +8, Will +3; +2 vs. enchantments, +1 vs. fear
Defensive Abilities bravery +1
OFFENSE
Speed 30 ft.
Melee mwk short sword +8/+3 (1d6+1/19-20)
Ranged +1 composite longbow +11/+6 (1d8+1/x3)
Space 5 ft., Reach 5 ft.
Special Attacks favored enemy (goblinoids +2)
Ranger Spells Prepared (CL 1st; concentration +2)
1st-Resist Energy
TACTICS
During Combat Shalelu prefers to fight with her bow, resorting to melee only when truly desperate or when an ally seems in dire need of healing from her wand.
Morale Shalelu is loyal to her friends, and as long as even one of them remains in danger, she won't abandon them. That said, if she feels she can escape, get help, and return in time to save anyone captured by enemies before it's too late, she might try to do so.
STATISTICS
Str 12, Dex 16, Con 14, Int 12, Wis 13, Cha 8
Base Atk +6; CMB +7; CMD 21
Feats Dodge, Endurance, Point-Blank Shot, Precise Shot, Rapid Shot, Skill Focus (Acrobatics), Weapon Focus (composite longbow)
Skills Acrobatics +12, Knowledge (nature) +8, Perception +12, Stealth +15, Survival +10, Swim +10
Languages Common, Elven, Goblin
SQ elven magic, favored terrain (forest +2), hunter's bond (companions), PC gear, track +2, weapon familiarity, wild empathy +3
Treasure sleep arrows (10), potion of delay poison, potions of lesser restoration (2), wand of cure light wounds (25 charges), antitoxin (2)
This is the Error Message from the log:
Quote:
4/9/2013 9:42:56 AM: Calling sub ReadWriteFormattedCreature
4/9/2013 9:42:56 AM: ReadWriteFormattedCreature: Entered sub routine.
4/9/2013 9:42:56 AM: ReadWriteFormattedCreature: Looking for Description, line read =
4/9/2013 9:42:56 AM: ReadWriteFormattedCreature: Looking for NAME/CR, line read =
4/9/2013 9:42:56 AM: ReadWriteFormattedCreature: Processing creature:
4/9/2013 9:42:56 AM: ReadWriteFormattedCreature: Looking for XP, line read =
4/9/2013 9:42:56 AM: ReadWriteFormattedCreature: Looking for Creature Type, line read =
4/9/2013 9:42:56 AM: ReadWriteFormattedCreature: Creating XML structure...
4/9/2013 9:42:56 AM: ReadWriteFormattedCreature: Error Message: System.ArgumentException: The empty string '' is not a valid local name.
at System.Xml.XmlWellFormedWriter.WriteStartElement(S tring prefix, String localName, String ns)
at System.Xml.XmlWriter.WriteStartElement(String localName)
at PFRPGFGCreatureParser.Form1.ReadWriteFormattedCrea ture(StreamReader reader, XmlWriter writer)
4/9/2013 9:43:00 AM: Exiting sub ReadWriteFormattedCreature - will enter again unless it is the end of the intermediary formatted file.
4/9/2013 9:43:00 AM: Calling sub CloseBaseXML
4/9/2013 9:43:00 AM: Error in btnStartParse_Click, Message: System.InvalidOperationException: The Writer is closed or in error state.
at System.Xml.XmlWellFormedWriter.AdvanceState(Token token)
at System.Xml.XmlWellFormedWriter.WriteEndElement()
at PFRPGFGCreatureParser.Form1.CloseBaseXML(XmlWriter writer)
at PFRPGFGCreatureParser.Form1.btnStartParse_Click(Ob ject sender, EventArgs e)
The parser looks for "gear" towards the end of the parse to locate where the "Gear" section starts. Unfortunately, for some reason, Paizo decided to put "PC gear" in the SQ section for this NPC so the parser thinks this is where the gear entry starts. Remove that and it should parse OK.
<sniffle> I'm so happy. Thank you so very much!
No worries.Quote:
Originally Posted by guppyfish
If you have issues parsing something in the future, open the .fpf file that is created during the first pass of parsing (same name as your .txt file in the same directory). This "may" give you some pointers to where the issue lies. For the issue you had the final section of the .fpf file showed this:
The NOMATCH tag in the middle of the SQ line, just before"gear" pointed me to where the issue was occurring.Code:SQ:elven magic, favored terrain (forest +2), hunter's bond (companions), PC
NOMATCH:gear, track +2, weapon familiarity, wild empathy +3
TREASURE:sleep arrows (10), potion of delay poison, potions of lesser restoration (2), wand of cure light wounds (25 charges), antitoxin (2)
The curse of the Old ones is effecting me
this freezes the parser don't know why
THE VISITANT CR 8
XP 1
CE Mil-go Cleric 7
Init +7; Senses blindsight 30 ft., low-light vision; Perception +17
DEFENSE
AC 22, touch 18, flat-footed 14 ( +7 Dex, +1 dodge, +4 natural)
hp 107 (10d8+63)
Fort +14, Ref +10, Will +9
DR 5/slashing; Immune cold, plant traits; Resist electricity 10, fire 10
OFFENSE
Speed 30 ft., fly 50 ft . (good)
Melee 4 claws +14 (1d4+4 plus grab)
Special Attacks channel negative energy 5/day (DC 13, 2d6),
evisceration, sneak attack +2d6, wooden fist (+1, 7 rounds/day)
Spell-Like Ability (CL 3rd; concentration + 5)
7/ day-touch of chaos
Cleric Spells Prepared (CL 3 rd; concentration +7)
2nd-barkskin°, cure moderate wounds (DC 16), hold person (DC 16)
1st-cure light wounds (3), protection from law0
O (at will)-bleed (DC 14), create water, mending, stabilize
D Domain spell; Domains Chaos, Plant
TACTICS
During Combat The Visitant starts combat by using its wand at invisibility
(via Use Magic Device). It then proceeds to use its summon monster
scrolls. Once it has summoned several allies, it casts protection from
law and moves to a flanking position-PCs with healing capacities are
its preferred targets.
Morale If reduced to fewer than 30 hit points, the Visitant attempts
to flee, making for area C14 so it can escape into the woods to the
north. If it manages to do so, it can become a harrowing recurring
villain.
STATISTICS
Str 18, Dex 24, Con 23, Int 23, Wis 18, Cha 15
Base Atk +7; CMB +11 (+15 grapple); CMD 29 (37 vs. trip)
Feats Combat Reflexes, Dodge, Selective Channeling, Skill Focus (Use
Magic Device), Weapon Finesse
Skills Bluff +19, Disguise +19, Fly +24, Heal +17, Knowledge (religion)
+19,
Perception +17, Spellcraft +19, Use Magic Device +18
Languages Aklo, Azlanti, Mi-Go; cannot speak
SQ deceptive, item creation, no breath, starflight
Gear scroll of summon monster III, scroll of summon monster IV,
wand of charm monster (10 charges), wand of invisibility
(15 charges), wand of sound burst (15 charges)
SPECIAL ABILITIES
Deceptive (Ex) A mi-go is a master of deception, and gains a +4 racial
bonus on Bluff and Disguise checks. Bluff and Disguise are always
class skills for mi-go.
Evisceration (Ex) A mi-go's claws are capable of swiftly and painfully
performing surgical operations upon helpless creatures or creatures it
has grappled. When a mi-go succeeds at a grapple check (in addition
to any other effects caused by a successful check), it deals its sneak
attack damage to the victim. A creature that takes this damage
must succeed at a DC 18 Fortitude save or take an additional 1d4
points of ability damage from the invasive surgery (the type
of ability damage dealt is chosen by the mi-go at the time
the evisceration occurs). The save DC is Dexterity-based.
Item Creation (Ex) All mi-go possess the ability to create
strange items that blur the line between magic and
technology, given time and resources. But this mi-go doesn't have
time to take advantage of this ability during this adventure.
Sta rflight (Su) A mi-go can survive in the void of outer space, and flies
through space at an incredible speed. Although exact travel times
vary, a trip within a single solar system normally takes 3d20 months,
while a trip beyond should take 3d20 years (or more, at the GM's
discretion)-provided the mi-go knows the way to its destination .
Change "Spell-like Ability" to be "Spell-Like Abilities".Quote:
Originally Posted by hawkwind
This is the first time I've seen this issue - the statblock doesn't adhere to the Paizo standard. Out of curiosity, where is this creature from?
That was quick- thanks alot
Its from a level yet to be explored in the PFS mini campaign I am running, according to the pazio boards this critter caused or nearly caused a few tpk's
OK, thanks - found it. I hope Paizo haven't changed the spreadsheet they use to make statblocks to now use "Spell-like Ability" when there is only one ability... I'll have to keep an eye on that and see if I can code for it. But, this is the first time I've seen it, so hopefully it is just a one off and someone decided to manually make the title more grammatically correct...Quote:
Originally Posted by hawkwind