Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Dirtydeedz
Junior Member
 
Join Date: Sep 2013
Posts: 20

Old December 31st, 2017, 10:39 AM
I have my HL on a PC(Win 7) that I use for editing custom files, a Windows 10 laptop, a Ipad for compile testing, and a Windows 10 Tablet that I use at the gaming table.

I have the same custom files on all of the above devices, plus my GM's Win 10 laptop, and 2 Ipads belonging to players.

I have no issues except on the Windows tablet. I have even replaced all the files in the "data/pathfinder" folder on the tablet.

Error:
Thing 'ioWondItm" - Bootstrap value assignment should not be more than once for field 'sDC' on bootstrapped thing 'spOneSpell'
Thing 'ioWondItm" - Bootstrap value assignment should not be more than once for field 'sDC' on bootstrapped thing 'spTwoSpell'
Thing 'ioWondItm" - Bootstrap value assignment should not be more than once for field 'sDC' on bootstrapped thing 'spThrSpell'


Code:
<thing id="ioWondItm" name="Wondrous Item" description="CL 9th; Craft Wondrous Item or Craft Universal Item; Price 36,450 gp; Weight 1 lb." compset="Wondrous">
    <fieldval field="gWeight" value="1"/>
    <fieldval field="gCost" value="36450"/>
    <fieldval field="iCL" value="9"/>
    <usesource source="Error"/>
    <tag group="Helper" tag="ShowSpec"/>
    <tag group="iSchool" tag="Divination"/>
    <tag group="iSchool" tag="Enchant"/>
    <tag group="Helper" tag="AlwaysAvl"/>
    <tag group="gType" tag="Wonder"/>
    <bootstrap thing="spOneSpell">
      <autotag group="Helper" tag="ItemSpell"/>
      <autotag group="Usage" tag="Day"/>
      <assignval field="trkMax" value="1"/>
      <assignval field="sDC" value="17"/>
      <assignval field="sDC" value="17" behavior="maximum"/>
      </bootstrap>
    <bootstrap thing="spTwoSpell">
      <autotag group="Helper" tag="ItemSpell"/>
      <autotag group="Usage" tag="Day"/>
      <assignval field="trkMax" value="1"/>
      <assignval field="sDC" value="17"/>
      <assignval field="sDC" value="17" behavior="maximum"/>
      </bootstrap>
    <bootstrap thing="spThrSpell">
      <autotag group="Helper" tag="ItemSpell"/>
      <autotag group="Usage" tag="Day"/>
      <assignval field="trkMax" value="1"/>
      <assignval field="sDC" value="17"/>
      <assignval field="sDC" value="17" behavior="maximum"/>
      </bootstrap>
    </thing>
Thanks in advance to this Mind Boggling issue.
Dirtydeedz is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old December 31st, 2017, 10:46 AM
A possible reason you're getting the error on one device but not others: On the devices that don't show the error, in the Develop menu, I'd guess you do not have "enable data file debugging" turned on. That setting tells HL to warn you about things that are bad coding, but won't affect the user's operation while they try to create a character.

So just delete the second sDC entry on each of those spells. The entries are both 17, so they're redundant anyway, and even if an error is not being reported in all locations, it's still bad coding style.
Mathias is offline   #2 Reply With Quote
Dirtydeedz
Junior Member
 
Join Date: Sep 2013
Posts: 20

Old December 31st, 2017, 11:36 AM
Quote:
Originally Posted by Mathias View Post
A possible reason you're getting the error on one device but not others: On the devices that don't show the error, in the Develop menu, I'd guess you do not have "enable data file debugging" turned on. That setting tells HL to warn you about things that are bad coding, but won't affect the user's operation while they try to create a character.

So just delete the second sDC entry on each of those spells. The entries are both 17, so they're redundant anyway, and even if an error is not being reported in all locations, it's still bad coding style.
Data file debugging was enabled. Thank you so much, you are the man!

Not my code; but, deleting the 2nd line was my intention.

Happy New year all!!
Dirtydeedz is offline   #3 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 06:35 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.