DICE PACKS BUNDLE
  1. #1

    Join Date
    Mar 2009
    Location
    Lidingö, Sweden, Europe
    Posts
    373

    Problems seeing entries in an library module

    I'm having some annoying problems with a library module.
    I'm trying to create a spell list. I've parsed a BRP pdf and extracted the info about a lot of spells from it.

    The module shows upp in FG. I can open it. I can see it in the library. I can open it in the library and I can click on the link to the index "All spells", but no spells show up. I've reduced the common.xml to but one entry with just a minimum of text - the spell still doesnt show up.

    I the error is probably an stupid one but I can't see it.

    The definition.xml looks like this:
    Code:
    <?xml version="1.0" encoding="iso-8859-1"?>
    <root>
      <name>Classic Magic</name>
      <author>Peter Brink</author>
      <ruleset>BRP</ruleset>
    </root>
    My very short common.xml looks like this:
    Code:
    <?xml version="1.0" encoding="iso-8859-1"?>
    <root version="2.0">
      <library>
        <Classic static="true">
          <name type="string">Classic Magic</name>
          <categoryname type="string">BRP Essentials</categoryname>
          <entries>
            <section-001>
              <librarylink type="windowreference">
                <class>referenceindex</class>
                <recordname>..</recordname>
              </librarylink>
              <name type="string">Classic Fantasy Spells</name>
              <index>
                <id-00000>
                  <listlink type="windowreference">
                    <class>referencespells</class>
                    <recordname>..</recordname>
                  </listlink>
                  <name type="string">All Spells</name>
                  <type type="string">Sorcery</type>
                  <source type="string">reference.classicspellist@Classic</source>
                </id-00000>
              </index>
            </section-001>
          </entries>
        </Classic>
      </library>
      <reference>
        <classicspellist>
          <id-001>
            <name type="string">Acid Fog</name>
            <type type="string">Sorcery</type>
            <text type="formattedtext">
              <p>Class: Magic-user</p>
            </text>
          </id-001>
        </classicspellist>
      </reference>
    </root>
    What could possibly be wrong?

    ps. I'be attached a screenshot ds.
    Last edited by peterb; March 6th, 2010 at 14:02.

  2. #2
    Doswelk's Avatar
    Join Date
    Jul 2005
    Location
    Surrey, UK
    Posts
    2,680
    Not having the ruleset in question this is just a guess but I think this line is the issue:
    Code:
    <source type="string">reference.classicspellist@Classic</source>
    Try:
    Code:
    <source type="string">reference.classicspellist@Classic Magic</source>
    My players just defeated an army, had a dogfight with aliens, machine-gunned the zombies, stormed the tower, became Legendary and died heroically

    Yours are still on combat round 6

    Get Savage
    Ultimate License Holder.
    First GM to post a game for the original FG Con!

  3. #3

    Join Date
    Mar 2009
    Location
    Lidingö, Sweden, Europe
    Posts
    373
    Yep, that was the problem. Thanks for spotting it!

    I thought you needed to use the name of the library entry (in my case "Classic" since the library entry tag is "<Classic static="true">"). Obviously I was wrong, you need to use the value of the name tag. Well, you learn something new everyday. My previous library modules all have the same name as the library entry tag, so this problem have never occurred until now.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
STAR TREK 2d20

Log in

Log in