1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. While the majority of active discourse on D20PRO has moved to our Discord Channels, this forum is still active and checked-in on regularly by our staff. However, for the very latest information, conversation and/or immediate support, please join us on Discord here: http://discord.gg/Ph38ckM
    Dismiss Notice

4e herolab import monster error

Discussion in 'Bug Reports & Installation Support' started by Truwen, Sep 25, 2011.

  1. Truwen

    Truwen Member

    Joined:
    Jun 1, 2011
    Messages:
    69
    Likes Received:
    0
    I get this error when I try to import a herolab creature into d20pro.


    Code:
    This plugin is invalid.  Please recompile it using the latest API and try again.
       Caused by: Unexpected exception
       Caused by: java.lang.NullPointerException.
    I am not sure what this means at all.
     
  2. edwardcd

    edwardcd Administrator
    Staff Member

    Joined:
    Oct 13, 2010
    Messages:
    1,374
    Likes Received:
    9
    You will get this error when you try to import a herolab portfolio file (.por).

    In Hero Lab, goto File > Output > d20Pro Output. Save and try import from the new .hld20pro file.
     
  3. Truwen

    Truwen Member

    Joined:
    Jun 1, 2011
    Messages:
    69
    Likes Received:
    0
    That is exactly what I did.

    Here is the file. Or not..it is a .hld20pro file.
     
  4. edwardcd

    edwardcd Administrator
    Staff Member

    Joined:
    Oct 13, 2010
    Messages:
    1,374
    Likes Received:
    9
    ok, rename the ".hld20pro" file to ".txt" and I'll take a look at it.
     
  5. Truwen

    Truwen Member

    Joined:
    Jun 1, 2011
    Messages:
    69
    Likes Received:
    0
    There ya go. Thanks for taking the time to look at it.
     

    Attached Files:

  6. edwardcd

    edwardcd Administrator
    Staff Member

    Joined:
    Oct 13, 2010
    Messages:
    1,374
    Likes Received:
    9
    OK... found the culprit.

    Code:
    <powers>
    <power name="Basic Melee" usage="At-Will" weapon="none" attackvalue="0" attackmod="0" attackstat="Strength" damage="" damagemod="0" damagestat="Strength" damagetype="" defense="Armor Class"/>
    <power name="Basic Ranged" usage="At-Will" weapon="none" attackvalue="0" attackmod="0" attackstat="Dexterity" damage="" damagemod="0" damagestat="Dexterity" damagetype="" defense="Armor Class"/>
    <power name="Dust Veil" usage="At-Will"/>
    <power name="Foul Gust" usage="At-Will"/>
    <power name="Instant Whirlwind" usage="Encounter" uses="1"/>
    <power name="Sly Takeoff" usage="At-Will"/>
    <power name="Wafting Claw" usage="At-Will"/>
    </powers>
    Replace all "power" with "special"... well, see below:
    Code:
    <specialabilities>
    <special name="Basic Melee (At-Will)" uses="0" weapon="none" attackvalue="0" attackmod="0" attackstat="Strength" damage="" damagemod="0" damagestat="Strength" damagetype="" defense="Armor Class"/>
    <special name="Basic Ranged (At-Will)" uses="0" weapon="none" attackvalue="0" attackmod="0" attackstat="Dexterity" damage="" damagemod="0" damagestat="Dexterity" damagetype="" defense="Armor Class"/>
    <special name="Dust Veil (At-Will)" uses="0"/>
    <special name="Foul Gust (At-Will)" uses="0"/>
    <special name="Instant Whirlwind (Encounter)" uses="1"/>
    <special name="Sly Takeoff (At-Will)" uses="0"/>
    <special name="Wafting Claw (At-Will)" uses="0"/>
    </specialabilities>
    This will work, however, the Encounter power "Instant Whirlwind" will be counted as a Daily Power, simply change to Per Init after importing this character.


    This is a current error in the HeroLab (4e) Custom d20Pro Output
    This post will be stickied until a resolution is made (aka, d20Pro devs talk with HeroLab devs about fixing this)

    In the meantime, the current work-around is listed above.
     
  7. Truwen

    Truwen Member

    Joined:
    Jun 1, 2011
    Messages:
    69
    Likes Received:
    0
    Curtis, thank you very much. Only one problem. I am not sure how to do the work around? Do I do this within herolab? I am not seeing how to change the powers to special abilities.
     
  8. edwardcd

    edwardcd Administrator
    Staff Member

    Joined:
    Oct 13, 2010
    Messages:
    1,374
    Likes Received:
    9
    Open your hero lab export file using a right-click "Aarakockra_Windcaller.hld20pro" then selecting Edit. Use Notepad.

    Find the following:
    Code:
    <powers>
    <power name="Basic Melee" usage="At-Will" weapon="none" attackvalue="0" attackmod="0" attackstat="Strength" damage="" damagemod="0" damagestat="Strength" damagetype="" defense="Armor Class"/>
    <power name="Basic Ranged" usage="At-Will" weapon="none" attackvalue="0" attackmod="0" attackstat="Dexterity" damage="" damagemod="0" damagestat="Dexterity" damagetype="" defense="Armor Class"/>
    <power name="Dust Veil" usage="At-Will"/>
    <power name="Foul Gust" usage="At-Will"/>
    <power name="Instant Whirlwind" usage="Encounter" uses="1"/>
    <power name="Sly Takeoff" usage="At-Will"/>
    <power name="Wafting Claw" usage="At-Will"/>
    </powers>
    Note, it will not be on separate lines, it will be all together. Then replace that text inside the .hld20pro file with the following
    Code:
    <specialabilities>
    <special name="Basic Melee (At-Will)" uses="0" weapon="none" attackvalue="0" attackmod="0" attackstat="Strength" damage="" damagemod="0" damagestat="Strength" damagetype="" defense="Armor Class"/>
    <special name="Basic Ranged (At-Will)" uses="0" weapon="none" attackvalue="0" attackmod="0" attackstat="Dexterity" damage="" damagemod="0" damagestat="Dexterity" damagetype="" defense="Armor Class"/>
    <special name="Dust Veil (At-Will)" uses="0"/>
    <special name="Foul Gust (At-Will)" uses="0"/>
    <special name="Instant Whirlwind (Encounter)" uses="1"/>
    <special name="Sly Takeoff (At-Will)" uses="0"/>
    <special name="Wafting Claw (At-Will)" uses="0"/>
    </specialabilities>
    Save the file.
    Open d20Pro.
    Goto Creatures.
    Import from Hero Lab.
    Select your newly saved file.
    Then you can edit the powers under Abilities as stated in a previous post.
    Enjoy.
     
  9. Truwen

    Truwen Member

    Joined:
    Jun 1, 2011
    Messages:
    69
    Likes Received:
    0
    You rock Curtis. Thank you.
    Do you think I will have to do this for every monster I want to put into d20pro?
     
  10. edwardcd

    edwardcd Administrator
    Staff Member

    Joined:
    Oct 13, 2010
    Messages:
    1,374
    Likes Received:
    9
    Until there is an update for the 4e d20pro export, yes.

    For an quicker way, you can just delete all the powers on the .hld20pro export file then add them manually.
     
  11. Truwen

    Truwen Member

    Joined:
    Jun 1, 2011
    Messages:
    69
    Likes Received:
    0
    Oh yeah, I see that is much easier.
    Thanks again Curtis.
     
  12. vanith

    vanith Member

    Joined:
    Jan 22, 2011
    Messages:
    152
    Likes Received:
    8
    Yes, I am having the same issue with the special powers as well with dealing with the Barbarian levels. I don't know why it keeps flagging the account, but I am doing the same workaround to bypass it.

    Code:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <document signature="d20Pro Import File"><importer version="2" game="pathfinder"/><hero active="yes" heroname="Brawm"><keyvalue id="Size" value="Medium"/><keyvalue id="Space" value="5"/><keyvalue id="Reach" value="5"/><keyvalue id="Speed" value="40 / 50"/><keyvalue id="NumHands" name="Number of Hands" value="2"/><keyvalue id="Experience" name="Total Experience" value="635000"/><keyvalue id="Class" value="Barbarian 8, Fighter 7"/><keyvalue id="Race" value="Human"/><keyvalue id="Alignment" value="Chaotic Good"/><keyvalue id="CurrentHP" name="Current Hit Points" value="166"/><keyvalue id="MaxHP" name="Maximum Hit Points" value="166"/><keyvalue id="ACTotal" name="Total Armor Class" value="28"/><keyvalue id="ACArmor" name="AC from Armor" value="+10"/><keyvalue id="ACShield" name="AC from Shield"/><keyvalue id="ACDexMod" name="AC from Dexterity Modifier" value="+3"/><keyvalue id="ACNatural" name="AC from Natural" value="+4"/><keyvalue id="ACDeflect" name="AC from Deflection"/><keyvalue id="ACDodge" name="AC from Dodge" value="+1"/><keyvalue id="ACMisc" name="AC from Miscellaneous"/><keyvalue id="CMBTotal" name="Total CMB" value="+23"/><keyvalue id="CMDTotal" name="Total CMD" value="37"/><keyvalue id="CMDFlat" name="Flat-Footed CMD" value="33"/><keyvalue id="PP" name="Total PP" value="2792"/><keyvalue id="GP" name="Total GP" value="8"/><keyvalue id="SP" name="Total SP" value="0"/><keyvalue id="CP" name="Total CP" value="0"/><background gender="male" age="25" height="6' 2&quot;" weight="220lb." hair="Blond, Short Mohawk" eyes="Blue" skin="Tan"></background><types><type name="Humanoid"/><subtype name="Human"/></types><attributes><keyvalue id="aSTR" name="Strength" value="20/26"/><keyvalue id="aDEX" name="Dexterity" value="17"/><keyvalue id="aCON" name="Constitution" value="16"/><keyvalue id="aINT" name="Intelligence" value="13"/><keyvalue id="aWIS" name="Wisdom" value="14"/><keyvalue id="aCHA" name="Charisma" value="11"/></attributes><saves><keyvalue id="svFort" name="Fortitude Save" value="18"/><keyvalue id="svRef" name="Reflex Save" value="11"/><keyvalue id="svWill" name="Will Save" value="11"/></saves><attacks><attack id="iMagWeapon" name="+5 Glaive-Guisarme (both hands)" attack="7" damage="1d10+8" critical="19-20/x3" multiattacks="yes" class="twohanded" equipped="both" melee="true" ranged="false" thrown="false" finesse="false" damagetype="S"/><attack id="wGauntArm" name="Gauntlet (from Armor)" attack="0" damage="1d3" critical="20/x2" multiattacks="yes" class="light" equipped="" melee="true" ranged="false" thrown="false" finesse="false" damagetype="B"/><attack id="wGauntSpik" name="Gauntlet, Spiked" attack="0" damage="1d4" critical="20/x2" multiattacks="yes" class="light" equipped="" melee="true" ranged="false" thrown="false" finesse="false" damagetype="P"/><attack id="wGreatclub" name="Greatclub (both hands)" attack="0" damage="1d10" critical="20/x2" multiattacks="yes" class="twohanded" equipped="" melee="true" ranged="false" thrown="false" finesse="false" damagetype="B"/><attack id="wUnarmed" name="Unarmed Strike" attack="0" damage="1d3" critical="20/x2" multiattacks="yes" class="light" equipped="" melee="true" ranged="false" thrown="false" finesse="false" damagetype="B"/></attacks><feats><keyvalue id="fArmHeavy" name="Armor Proficiency (Heavy)"/><keyvalue id="fArmLight" name="Armor Proficiency (Light)"/><keyvalue id="fArmLight" name="Armor Proficiency (Light)"/><keyvalue id="fArmMedium" name="Armor Proficiency (Medium)"/><keyvalue id="fArmMedium" name="Armor Proficiency (Medium)"/><keyvalue id="fComExpert" name="Combat Expertise +/-4"/><keyvalue id="fComRef" name="Combat Reflexes (4 AoO/round)"/><keyvalue id="fDodge" name="Dodge"/><keyvalue id="fGreatTrip" name="Greater Trip"/><keyvalue id="fImpCrit" name="Improved Critical: Glaive-Guisarme"/><keyvalue id="fImpTrip" name="Improved Trip"/><keyvalue id="fLunge" name="Lunge"/><keyvalue id="fWepMart" name="Martial Weapon Proficiency - All"/><keyvalue id="fWepMart" name="Martial Weapon Proficiency - All"/><keyvalue id="fMobility" name="Mobility"/><keyvalue id="fPowerAtt" name="Power Attack -4/+8"/><keyvalue id="fArmShield" name="Shield Proficiency"/><keyvalue id="fArmShield" name="Shield Proficiency"/><keyvalue id="fSimple" name="Simple Weapon Proficiency - All"/><keyvalue id="fSimple" name="Simple Weapon Proficiency - All"/><keyvalue id="fSpringAtt" name="Spring Attack"/><keyvalue id="fArmTower" name="Tower Shield Proficiency"/><keyvalue id="fWepFoc" name="Weapon Focus: Glaive-Guisarme"/><keyvalue id="fWepSpec" name="Weapon Specialization: Glaive-Guisarme"/><keyvalue id="fWhirlwind" name="Whirlwind Attack"/></feats><skills><skill id="skAcrobat" name="Acrobatics" ranks="15" misc="-1" classskill="yes"/><skill id="skAppraise" name="Appraise" ranks="0" misc="0" classskill="no"/><skill id="skPUAhypno" name="Autohypnosis" ranks="0" misc="0" classskill="no"/><skill id="skBluff" name="Bluff" ranks="0" misc="0" classskill="no"/><skill id="skClimb" name="Climb" ranks="15" misc="-1" classskill="yes"/><skill id="skDiplo" name="Diplomacy" ranks="0" misc="0" classskill="no"/><skill id="skDisable" name="Disable Device" ranks="0" misc="-3" classskill="no"/><skill id="skDisguise" name="Disguise" ranks="0" misc="0" classskill="no"/><skill id="skEscape" name="Escape Artist" ranks="0" misc="-1" classskill="no"/><skill id="skFly" name="Fly" ranks="0" misc="-1" classskill="no"/><skill id="skHandleAn" name="Handle Animal" ranks="0" misc="0" classskill="yes"/><skill id="skHeal" name="Heal" ranks="0" misc="0" classskill="no"/><skill id="skIntim" name="Intimidate" ranks="8" misc="0" classskill="yes"/><skill id="skLinguist" name="Linguistics" ranks="0" misc="0" classskill="no"/><skill id="skPercep" name="Perception" ranks="10" misc="0" classskill="yes"/><skill id="skRide" name="Ride" ranks="0" misc="-1" classskill="yes"/><skill id="skSenseMot" name="Sense Motive" ranks="0" misc="0" classskill="no"/><skill id="skSleight" name="Sleight of Hand" ranks="0" misc="-1" classskill="no"/><skill id="skSpellcr" name="Spellcraft" ranks="0" misc="0" classskill="no"/><skill id="skStealth" name="Stealth" ranks="0" misc="-1" classskill="no"/><skill id="skSurvival" name="Survival" ranks="13" misc="0" classskill="yes"/><skill id="skSwim" name="Swim" ranks="15" misc="-1" classskill="yes"/><skill id="skUseMagic" name="Use Magic Device" ranks="0" misc="0" classskill="no"/><skill id="lCommon" name="Speak Common" ranks="1" misc="0" classskill="no"/><skill id="lDwarven" name="Speak Dwarven" ranks="1" misc="0" classskill="no"/></skills><gear><item id="iMagWeapon" name="+5 Glaive-Guisarme" weight="10 lbs" quantity="1"/><item id="ioAmArmor4" name="Amulet of Natural Armor +4" quantity="1"/><item id="ioBeltStr6" name="Belt of Giant Strength, +6" weight="1 lb" quantity="1"/><item id="ioBtStride" name="Boots of Striding and Springing" weight="1 lb" quantity="1"/><item id="ioClRes4" name="Cloak of Resistance, +4" weight="1 lb" quantity="1"/><item id="gGround" name="Dropped to Ground (empty)" quantity="1"/><item id="wGauntSpik" name="Gauntlet, Spiked" weight="1 lb" quantity="1"/><item id="ioGlSwim" name="Gloves of Swimming and Climbing" quantity="1"/><item id="wGreatclub" name="Greatclub" weight="8 lbs" quantity="1"/><item id="iMithSpd" name="Mithral Full Plate of Speed" weight="25 lbs" quantity="1"/><item id="irERFireMa" name="Ring of Fire Resistance, Major" quantity="1"/><item id="irSusten" name="Ring of Sustenance" quantity="1"/></gear><spellsknown/><spellsmemorized/><specialabilities><special name="Armor Training 2 (Ex)">Reduce armor check penalty and increase max DEX of armor.</special><special name="Bravery +2 (Ex)">+1 Will save vs. Fear</special><special name="Combat Expertise +/-4">Bonus to AC in exchange for an equal penalty to attack.</special><special name="Combat Reflexes (4 AoO/round)">You can make extra attacks of opportunity.</special><special name="Damage Reduction (1/-)">You have Damage Reduction against all attacks.</special><special name="Damage Resistance, Fire (20)">You have the specified Damage Resistance against Fire attacks.</special><special name="Fast Movement +10 (Ex)">+10 feet to speed, unless heavily loaded.</special><special name="Greater Trip">+2 to Trip, target provokes AoO when tripped.</special><special name="Hero Points (1)" uses="3">Hero Points can be spent at any time to grant a variety of bonuses.</special><special name="Improved Trip">You Trip at +2 and don't cause an attack of opportunity.</special><special name="Improved Uncanny Dodge (Lv &gt;=12) (Ex)">Retain Dex bonus to AC when flat-footed.</special><special name="Increase Damage Reduction (Ex)">While raging, your DR increases by 1.</special><special name="Increase Damage Reduction (Ex)">While raging, your DR increases by 1.</special><special name="Increase Damage Reduction (Ex)">While raging, your DR increases by 1.</special><special name="Lunge">-2 to AC for +5' reach</special><special name="Mobility">+4 to AC against some attacks of opportunity.</special><special name="Power Attack -4/+8">You can subtract from your attack roll to add to your damage.</special><special name="Rage (21 rounds/day) (Ex)" uses="21">+4 Str, +4 Con, +2 to Will saves, -2 to AC when enraged.</special><special name="Renewed Vigor 2d8+3 HP (1/day) (Ex)" uses="1">1/day while raging, heal yourself for 1d8 HP</special><special name="Ring of Sustenance">This ring continually provides its wearer with life-sustaining nourishment. The ring also refreshes the body and mind, so that its wearer needs only sleep 2 hours per day to gain the benefit of 8 hours of sleep. The ring must be worn for a full week before it begins to work. If it is removed, the owner must wear it for another week to reattune it to himself.
    
    Faint conjuration; CL 5th; Forge Ring, create food and water; Price 2,500 gp.</special><special name="Spring Attack">You can move - attack - move when attacking with a melee weapon.</special><special name="Trap Sense +2 (Ex)">Bonus on reflex saves and AC against traps improves by +1.</special><special name="Weapon Training: Pole Arms +1 (Ex)">Pole Arms</special><special name="Whirlwind Attack">Instead of making a full attack, you attack all nearby opponents.</special></specialabilities><userimages/></hero></document>
    
     
  13. l8knight

    l8knight New Member

    Joined:
    Mar 14, 2012
    Messages:
    8
    Likes Received:
    0
    I'm also having problems and not sure if its Hero Lab or D20Pro. I bought Hero Lab just for use with D20Pro as I wanted to be able to create Monsters easily and import them since there isn't support yet for .monster files from DDI.

    So I create NPCs in Hero Lab, export for D20Pro and then Import. I was getting the error and modifying the "Power" to "SpecialAbilities" but then stopped putting powers in at all to opt for putting them in manually on the D20pro side.

    BUT... The following things also do not import, making me have to configure a bunch more stuff (AGAIN) on the D20Pro side:

    STR/INT/WIS,etc do not show the correct bonuses that I configured in Hero Lab
    Languages do not import
    Initiative
    Description
    FORT,REF,WILL are always 0 even though I set them in Hero Lab

    Here is the message in the Notes section:

    I wanted to attach the file as .txt but its saying I can't (quota reached or something)
     
  14. edwardcd

    edwardcd Administrator
    Staff Member

    Joined:
    Oct 13, 2010
    Messages:
    1,374
    Likes Received:
    9
    Hi l8knight,

    Regarding FORT/REF/WILL these are saved and formatted in the custom defenses since they are static numbers. To view them click on the "Custom" button in the General Tab of the Edit Creature Window to view. If you do not see a "Custom" button, goto d20Pro Menu > Options > Judge > click "Custom Defense" then enter FORT, REF, WILL as the three custom defenses and close the Options Window. Then re-import the creature from the .hld20pro file.

    I'm looking into the other part... but first downloading 4e hero lab content...

    Though, you could use a file hosting website to upload both the portfolio and the herolab export and post a link and I'll take a look at it.
    DropBox is free for up to 2GB
    MediaFire is free for up to 200MB for short term storage
    FileFacotry is free for up to 500MB for 90 day storage

    for a complete list of file hosting services see: http://en.wikipedia.org/wiki/Comparison_of_file_hosting_services
     
  15. l8knight

    l8knight New Member

    Joined:
    Mar 14, 2012
    Messages:
    8
    Likes Received:
    0
    I posted it on my system here (renamed to .txt). Let me know if you're unable to get it.

    I'm trying to work through things, see if I can manage other work-arounds or script a solution to reduce as much manual work as possible :) Trying to get a campaign setup and so far I'm struggling. The software is new to me so it may just be me not knowing what I'm doing...
     
  16. edwardcd

    edwardcd Administrator
    Staff Member

    Joined:
    Oct 13, 2010
    Messages:
    1,374
    Likes Received:
    9
    Hi l8knight,

    Thanks for bringing this up to our attention. There are some errors that need to be fixed in the herolab 4e export tool in herolab. Here is what I've found that needs work. I'll pass on the information. (and I'm still downloading 4e info for hero lab)

    Current Importer Errors:

    Armor Class - misc bonus not added
    Code:
    <defense id="defAC" name="Armor Class"><keyvalue id="Misc" name="Misc Bonus" value="10"/></defense>
    No strategy for languages
    Code:
    <languages><keyvalue id="lanDwarven" name="Dwarven"/><keyvalue id="lanElven" name="Elven"/></languages>
    Basic Melee
    Code:
    <power name="Basic Melee" usage="At-Will" weapon="Longsword" attackvalue="6" attackmod="0" attackstat="Strength" damage="-+3" damagemod="0" damagestat="Strength" damagetype="" defense="Armor Class"/>
    Basic Ranged
    Code:
    <power name="Basic Ranged" usage="At-Will" weapon="none" attackvalue="0" attackmod="0" attackstat="Dexterity" damage="" damagemod="0" damagestat="Dexterity" damagetype="" defense="Armor Class"/>
    Shows up as:
    [​IMG]
     
  17. l8knight

    l8knight New Member

    Joined:
    Mar 14, 2012
    Messages:
    8
    Likes Received:
    0
    Good luck with the download, took me 3 days :(

    I'm still hoping you guys will allow .monster imports from DDI, get that working and I'll put you guys on my X-Mas card list! :D

    But sincerely, thanks for looking into this and passing it along to the HL people. Hopefully they're as responsive as you :)
     
  18. l8knight

    l8knight New Member

    Joined:
    Mar 14, 2012
    Messages:
    8
    Likes Received:
    0
    Not sure if you've had any word from Hero Lab, I've tried myself but not getting anywhere.

    I am trying to adjust the npcs in d20Pro, but can't figure out how to manually set the stat bonuses that I'd managed to do in Hero Lab (ie: STR should be +6, not +3):

    [​IMG] - [​IMG]

    Is there some tags I can change in the Hero Lab output that would help facilitate the import into D20Pro? As you listed in your post above, perhaps renaming something as was done with the "Powers" to "SpecialAbilities"?
     
  19. ogexam

    ogexam Member

    Joined:
    Jul 10, 2008
    Messages:
    526
    Likes Received:
    1
    I am working on addressing the issues of the importer currently.

    I really need your .por file and .hl20pro file. You can email them to me to wes@mindgene.com

    The issue may be unequipped gear of all things.
    I need to locate the cause of the issues and I need the .por file to fully resolve.

    Thank you

    Wesley
     
  20. l8knight

    l8knight New Member

    Joined:
    Mar 14, 2012
    Messages:
    8
    Likes Received:
    0
    Thank you Wesley, I've sent the files as requested. Really appreciate your help!
     

Share This Page