Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

CreatureGen Again!

Hi Everyone, It's been a while for me and I am getting back into things. A shame that Ken L. left, but things happen. Anyway I was trying to use CreatureGen (I loved that API and it was great for all the random NPCs and monsters) and wouldn't you know it, the thing just doesn't work any more. Now, it is probably me and something I don't know, but the error I am getting seems wrong... The API is throwing this message into the chat: There was an error during token generation. Please see the log for details, and delete the erroneous journal entry. And the API Output Console lists the following for a given attempt: "GENESIS ERROR: TypeError: Cannot read property 'replace' of undefined" "--- Dumping log at level [1] ---" "[1]: RAW: %3Cstrong%3ESTREET%20THUG%20CR%201%3C/strong%3E%3Cbr%3E%3Cstrong%3EXP%20400%3C/strong%3E%3Cbr%3EHuman%20fighter%201/rogue%201%3Cbr%3ENE%20Medium%20humanoid%3Cbr%3E%3Cstrong%3EInit%3C/strong%3E%20+2%3B%20%3Cstrong%3ESenses%20%3C/strong%3E%3Ca%20href%3D%22http%3A//paizo.com/pathfinderRPG/prd/coreRulebook/skills/perception.html%23perception%22%3EPerception%3C/a%3E%20+5%3Cbr%3EDEFENSE%3Cbr%3E%3Cstrong%3EAC%3C/strong%3E%2015%2C%20touch%2012%2C%20flat-footed%2013%20%28+3%20armor%2C%20+2%20Dex%29%3Cbr%3E%3Cstrong%3Ehp%3C/strong%3E%2016%20%282%20HD%3B%201d10+1d8+6%29%3Cbr%3E%3Cstrong%3EFort%3C/strong%3E%20+3%2C%20%3Cstrong%3ERef%3C/strong%3E%20+4%2C%20%3Cstrong%3EWill%3C/strong%3E%20+0%3Cbr%3EOFFENSE%3Cbr%3E%3Cstrong%3ESpeed%3C/strong%3E%2030%20ft.%3Cbr%3E%3Cstrong%3EMelee%3C/strong%3E%20quarterstaff%20+4%20%281d6+3%29%20or%20quarterstaff%20+2/+2%20%281d6+3/1d6+1%29%20or%20dagger%20+4%20%281d4+3/19%u201320%29%20or%20sap%20+4%20%281d6+3%20nonlethal%29%3Cbr%3E%3Cstrong%3ERanged%3C/strong%3E%20dagger%20+3%20%281d4+3/19%u201320%29%3Cbr%3E%3Cstrong%3ESpecial%20Attacks%3C/strong%3E%20sneak%20attack%20+1d6%3Cbr%3ESTATISTICS%3Cbr%3E%3Cstrong%3EStr%3C/strong%3E%2016%2C%20%3Cstrong%3EDex%3C/strong%3E%2015%2C%20%3Cstrong%3ECon%3C/strong%3E%2013%2C%20%3Cstrong%3EInt%3C/strong%3E%208%2C%20%3Cstrong%3EWis%3C/strong%3E%2010%2C%20%3Cstrong%3ECha%3C/strong%3E%2012%3Cbr%3E%3Cstrong%3EBase%20Atk%3C/strong%3E%20+1%3B%20%3Cstrong%3ECMB%3C/strong%3E%20+4%3B%20%3Cstrong%3ECMD%3C/strong%3E%2016%3Cbr%3E%3Cstrong%3EFeats%3C/strong%3E%20%3Ca%20href%3D%22http%3A//paizo.com/pathfinderRPG/prd/coreRulebook/feats.html%23skill-focus%22%3ESkill%20Focus%3C/a%3E%20%28%3Ca%20href%3D%22http%3A//paizo.com/pathfinderRPG/prd/coreRulebook/skills/intimidate.html%23intimidate%22%3EIntimidate%3C/a%3E%29%2C%20%3Ca%20href%3D%22http%3A//paizo.com/pathfinderRPG/prd/coreRulebook/feats.html%23toughness%22%3EToughness%3C/a%3E%2C%20%3Ca%20href%3D%22http%3A//paizo.com/pathfinderRPG/prd/coreRulebook/feats.html%23two-weapon-fighting%22%3ETwo-Weapon%20Fighting%3C/a%3E%3Cbr%3E%3Cstrong%3ESkills%3C/strong%3E%20%3Ca%20href%3D%22http%3A//paizo.com/pathfinderRPG/prd/coreRulebook/skills/climb.html%23climb%22%3EClimb%3C/a%3E%20+8%2C%20%3Ca%20href%3D%22http%3A//paizo.com/pathfinderRPG/prd/coreRulebook/skills/intimidate.html%23intimidate%22%3EIntimidate%3C/a%3E%20+9%2C%20%3Ca%20href%3D%22http%3A//paizo.com/pathfinderRPG/prd/coreRulebook/skills/knowledge.html%23knowledge%22%3EKnowledge%3C/a%3E%20%28local%29%20+4%2C%20%3Ca%20href%3D%22http%3A//paizo.com/pathfinderRPG/prd/coreRulebook/skills/perception.html%23perception%22%3EPerception%3C/a%3E%20+5%20%28+6%20to%20find%20traps%29%2C%20%3Ca%20href%3D%22http%3A//paizo.com/pathfinderRPG/prd/coreRulebook/skills/stealth.html%23stealth%22%3EStealth%3C/a%3E%20+7%3Cbr%3E%3Cstrong%3ELanguages%3C/strong%3E%20Common%3Cbr%3E%3Cstrong%3ESQ%20%3C/strong%3Etrapfinding%20+1%3Cbr%3E%3Cstrong%3EGear%3C/strong%3E%20masterwork%20studded%20leather%2C%20daggers%20%282%29%2C%20quarterstaff%2C%20sap%2C%20manacles%20%282%29" "[1]: (0) STREET THUG CR 1" "[1]: (1) XP 400" "[1]: (2) Human fighter 1/rogue 1" "[1]: (3) NE Medium humanoid" "[1]: (4) Init +2; Senses Perception +5" "[1]: (5) DEFENSE" "[1]: (6) AC 15, touch 12, flat-footed 13 (+3 armor, +2 Dex)" "[1]: (7) hp 16 (2 HD; 1d10+1d8+6)" "[1]: (8) Fort +3, Ref +4, Will +0" "[1]: (9) OFFENSE" "[1]: (10) Speed 30 ft." "[1]: (11) Melee quarterstaff +4 (1d6+3) or quarterstaff +2/+2 (1d6+3/1d6+1) or dagger +4 (1d4+3/19-20) or sap +4 (1d6+3 nonlethal)" "[1]: (12) Ranged dagger +3 (1d4+3/19-20)" "[1]: (13) Special Attacks sneak attack +1d6" "[1]: (14) STATISTICS" "[1]: (15) Str 16, Dex 15, Con 13, Int 8, Wis 10, Cha 12" "[1]: (16) Base Atk +1; CMB +4; CMD 16" "[1]: (17) Feats Skill Focus (Intimidate), Toughness, Two-Weapon Fighting" "[1]: (18) Skills Climb +8, Intimidate +9, Knowledge (local) +4, Perception +5 (+6 to find traps), Stealth +7" "[1]: (19) Languages Common" "[1]: (20) SQ trapfinding +1" "[1]: (21) Gear masterwork studded leather, daggers (2), quarterstaff, sap, manacles (2)" "--- Log dump at level [1] complete ---" "-----Please ensure that the statistics block is properly formatted.-----" It seems to be collecting the data correctly, but says that the statistics block is not properly formatted. This stat block was taken directly from the Pathfinder Reference Document as described by Ken. Does anyone know a work around or am I just out of luck? Is there something that has changed to cause this issue? Any help would be great.
1486615690
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Have you updated your creature gen? There was a changeto the API environment a month or so ago that broke it.  Riley fixed it for the community .
Thanks Scott. I missed that by only searching for CreatureGen in the forums. I shall have to be more vigilant in the future.