• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Game of Thrones

  • Thread starter Thread starter Ralphey at mtgmelb.com
  • Start date Start date
R

Ralphey at mtgmelb.com

Guest
I'm trying to create so nice "automagic" Perl scripts to convert Card Vault
files (.def and associated .dat) into a tab delimited text files, and
vice-versa.

At the moment there's a minor problem processing the info...I'm unable to
work out why something like traits and keywords sometimes have tags, and
sometimes have tags and names, eg.

<tag group="traits" tag="Unique"/>
<tag group="traits" tag="Ally"/>
<tag group="traits" tag="traits006" name="Brotherhood Without Banners"/>
<tag group="keywords" tag="Stealth"/>

Does "Brotherhood" need a numbered tag due to the spaces in its name? I
suspect not, because I've just found :
<tag group="traits" tag="traits002" name="Dragonstone"/>

Thanks for any help/advice,

R.



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/WuQolB/TM
---------------------------------------------------------------------~->


Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/cardvault/

<*> To unsubscribe from this group, send an email to:
cardvault-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 
At 09:20 PM 2/17/2004, you wrote:
>I'm trying to create so nice "automagic" Perl scripts to convert Card Vault
>files (.def and associated .dat) into a tab delimited text files, and
>vice-versa.
>
>At the moment there's a minor problem processing the info...I'm unable to
>work out why something like traits and keywords sometimes have tags, and
>sometimes have tags and names, eg.
>
> <tag group="traits" tag="Unique"/>
> <tag group="traits" tag="Ally"/>
> <tag group="traits" tag="traits006" name="Brotherhood Without Banners"/>
> <tag group="keywords" tag="Stealth"/>
>
>Does "Brotherhood" need a numbered tag due to the spaces in its name? I
>suspect not, because I've just found :
> <tag group="traits" tag="traits002" name="Dragonstone"/>

If a trait has a name that's a legal unique id (10 or less characters, all
of which have to be alphanumeric or the _ character), then the name of the
trait is used as the tag name. If it's not a legal unique id - for example,
if it's got a space in it ("Brotherhood Without Banners") or more than 10
characters ("Dragonstone"), an arbitrary identifier ("traits007") was used
for the id by the program I was using to put together the data files.

I've sent you an email off-list about the specifics of the Game of Thrones
files.

Hope this helps,


--
Colen McAlister (colen@wolflair.com)
Lone Wolf Development www.wolflair.com




Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/cardvault/

<*> To unsubscribe from this group, send an email to:
cardvault-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 
Back
Top