Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Card Vault Forums > Card Vault
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
kuni_tetsu at yahoo.com
Guest
 
Posts: n/a

Old January 20th, 2003, 06:32 AM
--- "Alex Durden <hunter.rose@att.net>" <hunter.rose@att.net> wrote:
> --- In cardvault@yahoogroups.com, "darnold02 <darnold02@s...>"
> <darnold02@s...> wrote:
> > I can't seem to find the entry for 'Mad' Pat Carrik. Is it just me,
> > or is he really missing?
>
> I keep my list sorted Faction/Type/Class/Level/Name/Number, and he's right
> their between Phar'dun and Battering Skull. I think the "'" bumps it to the
> back of the list. Not as wierd as Leveled! ending up with the 1st level
> wizard spells, mind you, but findable by my book.
>
> Can anyone explain that later anomoly to me? With the above sort, Leveled!,
> Defensive Posture, and Wild Attack all get sorted with the wizard cards as
> opposed to the all cards.

When I did Faction/Type/Class/Level/Name/Number Leveled! appeared between Jump
and Mage Armor in the Action list... In the "Wizard" section. Even when I added
an Explicit sort on Class so that "All" comes before "Wizard" (which it should
anyway) It still appears in the middle of the "Wizard" list, even when it has
an "All", "Cleric", "Fighter" and "Rogue" class tag.

I cannot see any reason why it does not sort in with the other "All" actions of
the same level (level 1).

This one is some kind of bug, I think.

[BTW: I also just noticed that Leveled! should have had a HP value of "+1" and
an AC value of "+3", which I fixed and it should be in the next release.


=====
---

Kuni Tetsu
Clan War rules guy
Moderator of ClanWar-l

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
  #1 Reply With Quote
rob
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 8,232

Old January 30th, 2003, 03:03 AM
Here's the problem. The card has multiple tags belonging to the "type"
group. When CV does the sorting, it just grabs the first tag from that
group that it finds. Consequently, cards with multiple tags will have
different tags retrieved and be sorted into different positions. This is
not exactly a bug, since it's the designed behavior, but I can definitely
see where this creates confusion. Multiple tags were NOT intended to be
used for sorting. They were intended to be used for filtering cards only.
Adding code to formalize the sequencing for cards with multiple tags from
the group will slow things done, since lots of extra work needs to be done
on EVERY card to verify that no additional tags exist and then to
distinguish between those extra tags when present. This extra processing
was intentionally NOT included in CV to ensure snappy performance.

So I'm not sure what to do now. It's obviously a confusing behavior, which
is bad. But that confusion comes from something that CV wasn't intended to
handle in the first place. And fixing it is probably going to have a
noticeable performance impact on slower systems. It's an unpleasant
tradeoff.....

Ideas? Suggestions???

Thanks, Rob

At 07:32 AM 1/20/2003 -0800, you wrote:
>When I did Faction/Type/Class/Level/Name/Number Leveled! appeared between Jump
>and Mage Armor in the Action list... In the "Wizard" section. Even when I
>added
>an Explicit sort on Class so that "All" comes before "Wizard" (which it should
>anyway) It still appears in the middle of the "Wizard" list, even when it has
>an "All", "Cleric", "Fighter" and "Rogue" class tag.
>
>I cannot see any reason why it does not sort in with the other "All"
>actions of
>the same level (level 1).
>
>This one is some kind of bug, I think.


---------------------------------------------------------------------------
Rob Bowes (rob@wolflair.com) (559) 658-6995
Lone Wolf Development www.wolflair.com
rob is offline   #2 Reply With Quote
kuni_tetsu at yahoo.com
Guest
 
Posts: n/a

Old January 30th, 2003, 05:52 AM
--- Rob Bowes <rob@wolflair.com> wrote:
> Here's the problem. The card has multiple tags belonging to the "type"
> group. When CV does the sorting, it just grabs the first tag from that
> group that it finds.

Well... if the "first tag it finds" was the first tag defined in the card
description, we would not be having this discussion, as the behavior would at
least be consistent.

Currently, when my program encounters a type of "All" it writes "Fighter",
"Cleric", "Rogue", "Wizard", and then "All" into the card definition... If CV
always used the "first tag" they would all sort under "Figher". But some cards
with "All" sort under "All", others sort under "Wizard", etc.

I can change my program so that it will always include the "All" tag first, but
CV will still "randomly" choose a tag to use in the sort... any chance of
making that always be the first tag in the card definition? That would give us
consistent behavior that I could code around.

> Multiple tags were NOT intended to be
> used for sorting. They were intended to be used for filtering cards only.
> Adding code to formalize the sequencing for cards with multiple tags from
> the group will slow things done, since lots of extra work needs to be done
> on EVERY card to verify that no additional tags exist and then to
> distinguish between those extra tags when present.

Could you not give "pride of place" to the first tag defined for a particular
tag group in the card definition? A pointer to that tag as the one to use for
sorting? That would not add a lot of extra processing to the program, and it
would be up to the data author to make sure the most relevant tag is first.

Barring that, I guess I will split the tag group into two sections... once that
lists the symbol value (4 classes + "None") and will only allow one tag value,
and a second tag group that is dynamic but allows multiple tags on a card. The
second one can be used for filtering, but since it is dynamic it will not be
available for sorting (IIRC).


=====
---

Kuni Tetsu
Clan War rules guy
Moderator of ClanWar-l

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
  #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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Warlord 2.3 data files darnold02 at sprynet.com Card Vault 2 January 30th, 2003 02:44 AM


All times are GMT -8. The time now is 04:56 PM.


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