Loading ...
Sorry, an error occurred while loading the content.
 

Re: ABILITY:PROMPT:FEAT(x)|CHOICE:y

Expand Messages
  • rogerwllco
    If I try that, I get the following error instead: 10:01:33.16 SEVERE Thread-7 pcgen.persistence.lst.LstObjectFileLoader loadLstFile Error parsing file
    Message 1 of 4 , Mar 19 2:04 AM
      If I try that, I get the following error instead:

      10:01:33.16 SEVERE Thread-7 pcgen.persistence.lst.LstObjectFileLoader loadLstFile Error parsing file file:/Users/renting/meuk/DnD35/PCGen%206.00.0.app/Contents/Resources/Java/vendordata/cmp/rules_system_v35e/wizards_of_the_coast/generic/campaign_setting/monster_manual/mmanl_d20_fantasy_v35e_kit.lst line 14: null
      10:01:33.16 SEVERE Thread-7 pcgen.persistence.lst.LstObjectFileLoader loadLstFile Errors.LstFileLoader.Ignoring: null not defined.

      This is my current code:

      LEVELABILITY:Fighter=1
      ABILITY:PROMPT:FEAT(TYPE.Fighter)|CHOICE:CATEGORY=FEAT|Blind Fight


      --- In PCGenListFileHelp@yahoogroups.com, Eric C Smith <maredudd@...> wrote:
      >
      > Hi Folks!
      >
      > On Mar 18, 2013, at 7:33 PM, rogerwllco wrote:
      >
      > >
      > > I'm busy making sure that my datasets load in 6.00 and I'm encountering the following error:
      > >
      > > 21:06:27.908 SEVERE Thread-7 pcgen.persistence.lst.LstObjectFileLoader loadLstFile Error parsing file file:/Users/renting/meuk/DnD35/PCGen%206.00.0.app/Contents/Resources/Java/vendordata/cmp/rules_system_v35e/wizards_of_the_coast/generic/campaign_setting/monster_manual/mmanl_d20_fantasy_v35e_kit.lst line 14: String in getAbilitySelectionFromPersistentFormat must start with CATEGORY=, found: Blind Fight
      > > 21:06:27.909 SEVERE Thread-7 pcgen.persistence.lst.LstObjectFileLoader loadLstFile Errors.LstFileLoader.Ignoring: String in getAbilitySelectionFromPersistentFormat must start with CATEGORY=, found: Blind Fight not defined.
      > >
      > > This is the offending line:
      > >
      > > LEVELABILITY:Fighter=1
      > > ABILITY:PROMPT:FEAT(TYPE.Fighter)|CHOICE:Blind Fight
      >
      >
      > Try the following:
      >
      > ABILITY:PROMPT:FEAT(TYPE.Fighter)|CHOICE:CATEGORY=FEAT|Blind Fight
      >
      >
      > >
      > > I've looked at the documentation, and I can't find anything wrong with this line:
      > > http://www.pcgen-test.org/autobuilds/pcgen-docs/listfilepages/datafilestagpages/datafilesstartingkits.html#ABILITY
      >
      >
      > If the suggestion above work, we'll open a DOC JIRA and fix the docs.
      >
      > Maredudd
      >
    • rogerwllco
      I ve tried to look though the PCGen code myself to figure out what s going wrong. The code that should handle this syntax is in
      Message 2 of 4 , Mar 19 5:06 PM
        I've tried to look though the PCGen code myself to figure out what's going wrong.
        The code that should handle this syntax is in /plugins/lsttokens/kit/levelability/AbilityToken.java
        As far as I can understand that code, my syntax should work.

        The weird thing is that the error is not from this code but either from /plugins/lsttokens/choose/AbilityToken.java
        or
        /pcgen/cdom/helper/CategorizedAbilitySelection.java

        What seems to be happening is that is that is uses /plugins/lsttokens/choose/AbilityToken.java
        when it should use
        /plugins/lsttokens/kit/levelability/AbilityToken.java

        But my code-fu isn't good enough to see why it's doing that.

        Cheers,

        Adriaan Renting/RogerWilco

        --- In PCGenListFileHelp@yahoogroups.com, "rogerwllco" <g.a.renting@...> wrote:
        >
        >
        > If I try that, I get the following error instead:
        >
        > 10:01:33.16 SEVERE Thread-7 pcgen.persistence.lst.LstObjectFileLoader loadLstFile Error parsing file file:/Users/renting/meuk/DnD35/PCGen%206.00.0.app/Contents/Resources/Java/vendordata/cmp/rules_system_v35e/wizards_of_the_coast/generic/campaign_setting/monster_manual/mmanl_d20_fantasy_v35e_kit.lst line 14: null
        > 10:01:33.16 SEVERE Thread-7 pcgen.persistence.lst.LstObjectFileLoader loadLstFile Errors.LstFileLoader.Ignoring: null not defined.
        >
        > This is my current code:
        >
        > LEVELABILITY:Fighter=1
        > ABILITY:PROMPT:FEAT(TYPE.Fighter)|CHOICE:CATEGORY=FEAT|Blind Fight
        >
        >
        > --- In PCGenListFileHelp@yahoogroups.com, Eric C Smith <maredudd@> wrote:
        > >
        > > Hi Folks!
        > >
        > > On Mar 18, 2013, at 7:33 PM, rogerwllco wrote:
        > >
        > > >
        > > > I'm busy making sure that my datasets load in 6.00 and I'm encountering the following error:
        > > >
        > > > 21:06:27.908 SEVERE Thread-7 pcgen.persistence.lst.LstObjectFileLoader loadLstFile Error parsing file file:/Users/renting/meuk/DnD35/PCGen%206.00.0.app/Contents/Resources/Java/vendordata/cmp/rules_system_v35e/wizards_of_the_coast/generic/campaign_setting/monster_manual/mmanl_d20_fantasy_v35e_kit.lst line 14: String in getAbilitySelectionFromPersistentFormat must start with CATEGORY=, found: Blind Fight
        > > > 21:06:27.909 SEVERE Thread-7 pcgen.persistence.lst.LstObjectFileLoader loadLstFile Errors.LstFileLoader.Ignoring: String in getAbilitySelectionFromPersistentFormat must start with CATEGORY=, found: Blind Fight not defined.
        > > >
        > > > This is the offending line:
        > > >
        > > > LEVELABILITY:Fighter=1
        > > > ABILITY:PROMPT:FEAT(TYPE.Fighter)|CHOICE:Blind Fight
        > >
        > >
        > > Try the following:
        > >
        > > ABILITY:PROMPT:FEAT(TYPE.Fighter)|CHOICE:CATEGORY=FEAT|Blind Fight
        > >
        > >
        > > >
        > > > I've looked at the documentation, and I can't find anything wrong with this line:
        > > > http://www.pcgen-test.org/autobuilds/pcgen-docs/listfilepages/datafilestagpages/datafilesstartingkits.html#ABILITY
        > >
        > >
        > > If the suggestion above work, we'll open a DOC JIRA and fix the docs.
        > >
        > > Maredudd
        > >
        >
      Your message has been successfully submitted and would be delivered to recipients shortly.