From: SourceForge.net <no...@so...> - 2009-05-09 01:52:42
|
Bugs item #2789189, was opened at 2009-05-08 13:12 Message generated for change (Comment added) made by amaitland You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=384719&aid=2789189&group_id=25576 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Special Ability Support Group: To be Fixed for 6.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: LegacyKing (amaitland) Assigned to: LegacyKing (amaitland) Summary: CHOOSE:ABILITY Error Initial Comment: Direct Error message: LSTERROR Illegal CHOOSE subtoken 'ABILTY' 'Special Ability|Skill Training Tier 1' for Skill Training Tier 2 LSTERROR Illegal Token 'CHOOSE' 'ABILTY|Special Ability|Skill Training Tier 1' for pcgen.core.Ability Skill Training Tier 2 Here is the code: Skill Training Tier 1 CATEGORY:Special Ability TYPE:Trainable CHOOSE:SKILLSNAMED|TYPE=Trainable SELECT:1 MULT:YES STACK:NO CCSKILL:LIST Skill Training Tier 2 CATEGORY:Special Ability TYPE:Trainable CHOOSE:ABILTY|Special Ability|Skill Training Tier 1 SELECT:1 MULT:YES STACK:NO CSKILL:LIST >From the Docs: Tag Name: CHOOSE:ABILITY|x|y,y Variables Used (x): Text (Ability category) Variables Used (y): Text (Ability name) Variables Used (y): TYPE=Text (Ability type) What it does: * Will present a list of abilities, by name and/or type, of the specified category. * At least one ability or ability type must be designated for this tag to function properly. Example: CHOOSE:ABILITY|FEAT|TYPE=Rogue Abilities A list of all "Rogue Abilities" type feats will be presented. ---------------------------------------------------------------------- >Comment By: LegacyKing (amaitland) Date: 2009-05-08 18:52 Message: Sample of the code in the pcg: #Ability ABILITY:Skill Training Choices|TYPE:NORMAL|CATEGORY:Special Ability|KEY:Skill Training Tier 1|APPLIEDTO:Arcane Knowledge|TYPE:Trainable ABILITY:Skill Training Choices|TYPE:NORMAL|CATEGORY:Special Ability|KEY:Skill Training Tier 2|APPLIEDTO:Skill Training Tier 1(Arcane Knowledge)|TYPE:Trainable #Feat ABILITY:FEAT|TYPE:NORMAL|CATEGORY:FEAT|KEY:Skill Training Tier 1|APPLIEDTO:Arcanistry (Abjuration)|TYPE:Trainable ABILITY:FEAT|TYPE:NORMAL|CATEGORY:FEAT|KEY:Skill Training Tier 2|APPLIEDTO:Arcanistry (Abjuration)|TYPE:Trainable ---------------------------------------------------------------------- Comment By: LegacyKing (amaitland) Date: 2009-05-08 18:48 Message: Okay, the typo is fixed so it works... kinda. CHOOSE:FEAT=Blah will list just the Named Choices CHOOSE:ABILITY|Special Ability|Blah will list the named choices prefaced with the ability name which breaks things that need a strict name. For instance, Weapon Focus and Weapon Specialization; if we converted them to Abilities the BONUSes we would use would fail, Instead of "Longsword" it returns "Weapon Focus(Longsword)" So there is still an error, or bug. ---------------------------------------------------------------------- Comment By: Tom Parker (thpr) Date: 2009-05-08 16:29 Message: Uhh, Ability has two i's CHOOSE:ABILITY not CHOOSE:ABILTY ? I believe that is your problem, but please leave this open with a new Subject talking about the ConcurrentModificationException ---------------------------------------------------------------------- Comment By: LegacyKing (amaitland) Date: 2009-05-08 13:14 Message: 12:51:39.269 LSTERROR Thread-3 AbilityLoader:115 Illegal CHOOSE subtoken 'ABILTY ' 'FEAT=Skill Training Tier 1' for Skill Training Tier 2 12:51:39.271 LSTERROR Thread-3 AbilityLoader:115 Illegal Token 'CHOOSE' 'ABILTY| FEAT=Skill Training Tier 1' for pcgen.core.Ability Skill Training Tier 2 12:51:56.220 SEVERE Thread-3 LstSystemLoader:477 Exception loading files. java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:4 49) at java.util.AbstractList$Itr.next(AbstractList.java:420) at pcgen.persistence.lst.LstObjectFileLoader.loadLstFiles(LstObjectFileL oader.java:107) at pcgen.persistence.lst.LstSystemLoader.loadCampaigns(LstSystemLoader.j ava:582) at pcgen.persistence.lst.LstSystemLoader.loadCampaigns(LstSystemLoader.j ava:447) at pcgen.persistence.PersistenceManager.loadCampaigns(PersistenceManager .java:189) at pcgen.gui.sources.MainSource.loadCampaigns(MainSource.java:1312) at pcgen.gui.sources.MainSource.access$1800(MainSource.java:136) at pcgen.gui.sources.MainSource$20.construct(MainSource.java:1328) at pcgen.util.SwingWorker$2.run(SwingWorker.java:144) at java.lang.Thread.run(Thread.java:595) 12:51:56.273 WARNING AWT-EventQueue-1 Globals:1851 Number of objects loaded. The following should all be greater than 0: 12:51:56.290 WARNING AWT-EventQueue-1 Globals:1853 Races=1 12:51:56.292 WARNING AWT-EventQueue-1 Globals:1854 Classes=0 12:51:56.293 WARNING AWT-EventQueue-1 Globals:1855 Skills=250 12:51:56.303 WARNING AWT-EventQueue-1 Globals:1856 Feats=740 12:51:56.306 WARNING AWT-EventQueue-1 Globals:1858 Equipment=0 12:51:56.307 SEVERE Thread-4 LstSystemLoader:477 Exception loading files. java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:4 49) at java.util.AbstractList$Itr.next(AbstractList.java:420) at pcgen.persistence.lst.LstObjectFileLoader.loadLstFiles(LstObjectFileL oader.java:107) at pcgen.persistence.lst.LstSystemLoader.loadCampaigns(LstSystemLoader.j ava:563) at pcgen.persistence.lst.LstSystemLoader.loadCampaigns(LstSystemLoader.j ava:447) at pcgen.persistence.PersistenceManager.loadCampaigns(PersistenceManager .java:189) at pcgen.gui.sources.MainSource.loadCampaigns(MainSource.java:1312) at pcgen.gui.sources.MainSource.access$1800(MainSource.java:136) at pcgen.gui.sources.MainSource$20.construct(MainSource.java:1328) at pcgen.util.SwingWorker$2.run(SwingWorker.java:144) at java.lang.Thread.run(Thread.java:595) 12:51:56.318 WARNING AWT-EventQueue-1 Globals:1859 ArmorProfs=33 12:51:56.321 WARNING AWT-EventQueue-1 Globals:1860 ShieldProfs=4 12:51:56.322 WARNING AWT-EventQueue-1 Globals:1861 WeaponProfs=93 12:51:56.323 WARNING AWT-EventQueue-1 Globals:1862 Kits=0 12:51:56.324 WARNING AWT-EventQueue-1 Globals:1863 Templates=0 12:51:56.436 WARNING AWT-EventQueue-1 Globals:1851 Number of objects loaded. The following should all be greater than 0: 12:51:56.439 WARNING AWT-EventQueue-1 Globals:1853 Races=1 12:51:56.441 WARNING AWT-EventQueue-1 Globals:1854 Classes=0 12:51:56.442 WARNING AWT-EventQueue-1 Globals:1855 Skills=250 12:51:56.448 WARNING AWT-EventQueue-1 Globals:1856 Feats=740 12:51:56.451 WARNING AWT-EventQueue-1 Globals:1858 Equipment=0 12:51:56.452 WARNING AWT-EventQueue-1 Globals:1859 ArmorProfs=33 12:51:56.454 WARNING AWT-EventQueue-1 Globals:1860 ShieldProfs=4 12:51:56.456 WARNING AWT-EventQueue-1 Globals:1861 WeaponProfs=93 12:51:56.457 WARNING AWT-EventQueue-1 Globals:1862 Kits=0 12:51:56.458 WARNING AWT-EventQueue-1 Globals:1863 Templates=0 12:52:16.69 LSTERROR Thread-5 AbilityLoader:115 Illegal CHOOSE subtoken 'ABILTY' 'Special Ability|Skill Training Tier 1' for Skill Training Tier 2 12:52:16.70 LSTERROR Thread-5 AbilityLoader:115 Illegal Token 'CHOOSE' 'ABILTY|S pecial Ability|Skill Training Tier 1' for pcgen.core.Ability Skill Training Tier 2 12:52:33.261 SEVERE Thread-5 AbstractReferenceManufacturer:876 Unconstructed Ref erence: Ability Special Ability Canonry Output 12:52:33.264 SEVERE Thread-5 TrackingReferenceContext:141 Was used in file:/D: /pcgen/pcgen_files/data/combinedcampaign/andrewcampaign/classlessd20/classless_s kills.lst in tokens: [plugin.lsttokens.AbilityLst] ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=384719&aid=2789189&group_id=25576 |