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
Ralphey at mtgmelb.com
Guest
 
Posts: n/a

Old May 1st, 2003, 07:08 PM
I amended the mnd.def file as follows in the hope of getting the rarity
column to sort in the order *I* want:

<group id="rarity" name="Rarity" width="10" mincount="1" maxcount="1"
dynamic="yes">
<value id="foilonly" name="Foil Only" order="1"/>
<value id="promo" name="Promotional" order="2"/>
<value id="rare" name="Rare" order="3"/>
<value id="uncommon" name="Uncommon" order="4"/>
<value id="common" name="Common" order="5"/>
<value id="fixeddeck" name="Fixed Deck" order="6"/>
</group>

Unfortunately, the rarity data still sorts alphabetically. Obviously I've
missed something either here, or somewhere else

Any pointers gratefully appreciated. I know I should read the dox
thoroughly, but if I did that I couldn't call myself a programmer any more

R.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading!
Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/cjB9SD/od7...tFAA/WuQolB/TM
---------------------------------------------------------------------~->
  #1 Reply With Quote
Colen
Senior Member
Lone Wolf Staff
 
Join Date: Dec 2008
Posts: 4,690

Old May 1st, 2003, 07:39 PM
At 01:09 PM 5/2/2003 +1000, you wrote:
>I amended the mnd.def file as follows in the hope of getting the rarity
>column to sort in the order *I* want:
>
> <group id="rarity" name="Rarity" width="10" mincount="1" maxcount="1"
>dynamic="yes">
> <value id="foilonly" name="Foil Only" order="1"/>
> <value id="promo" name="Promotional" order="2"/>
> <value id="rare" name="Rare" order="3"/>
> <value id="uncommon" name="Uncommon" order="4"/>
> <value id="common" name="Common" order="5"/>
> <value id="fixeddeck" name="Fixed Deck" order="6"/>
> </group>
>
>Unfortunately, the rarity data still sorts alphabetically. Obviously I've
>missed something either here, or somewhere else

You'll need to specify sequence="explicit" in the group tag, e.g:

> <group id="rarity" name="Rarity" width="10" mincount="1" maxcount="1"
>dynamic="yes" sequence="explicit">

Have a look at the 'date' tag group for an example of it in action. (The
example you gave also won't work because the tag names are slightly
different from the names of the tags that are generated and used.)

The change you made seems just as useful as sorting in alphabetical order
(if not more so), so I'll add it to the next release of the MND datafiles,
which should be out as soon Ed gets back to me with some details (hint
hint, Ed . One question, why does "Foil Only" supercede "Promotional"? I
would have thought that promotional cards would be at the top, with 'foil
only' just below. But then I'm not a CCG expert... Ah, is it because
there's only a single 'foil only' card in the whole game?


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


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs Online - Over 14,500 titles.
No Late Fees & Free Shipping.
Try Netflix for FREE!
http://us.click.yahoo.com/YoVfrB/XP....tFAA/WuQolB/TM
---------------------------------------------------------------------~->
Colen is offline   #2 Reply With Quote
Ralphey at mtgmelb.com
Guest
 
Posts: n/a

Old May 7th, 2003, 07:52 PM
At 11:33 PM 2/05/2003, Rob wrote:

>The change you made seems just as useful as sorting in alphabetical order
>(if not more so), so I'll add it to the next release of the MND datafiles,



>hint, Ed . One question, why does "Foil Only" supercede "Promotional"? I
>would have thought that promotional cards would be at the top, with 'foil
>only' just below. But then I'm not a CCG expert... Ah, is it because
>there's only a single 'foil only' card in the whole game?

There are actually 2, so it's just a likelihood of obtaining thing

R.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs Online - Over 14,500 titles.
No Late Fees & Free Shipping.
Try Netflix for FREE!
http://us.click.yahoo.com/YoVfrB/XP....tFAA/WuQolB/TM
---------------------------------------------------------------------~->
  #3 Reply With Quote
edward at bolme.com
Guest
 
Posts: n/a

Old May 7th, 2003, 08:25 PM
> >I amended the mnd.def file as follows in the hope of getting the
rarity
> >column to sort in the order *I* want:
> >
> > <value id="foilonly" name="Foil Only" order="1"/>
> > <value id="promo" name="Promotional" order="2"/>
> > <value id="rare" name="Rare" order="3"/>
> > <value id="uncommon" name="Uncommon" order="4"/>
> > <value id="common" name="Common" order="5"/>
> > <value id="fixeddeck" name="Fixed Deck" order="6"/>

The onlyproblem I see with this is that the 1st-Edition promo fils
will always sort at the top, which I personally would find annoying.

> The change you made seems just as useful as sorting in alphabetical
order
> (if not more so), so I'll add it to the next release of the MND
datafiles,
> which should be out as soon Ed gets back to me with some details
(hint hint, Ed .

Which details are you after?

> One question, why does "Foil Only" supercede "Promotional"?

There are fewer in existence. FOIL ONLY are cards that should have
been printed in Foil and non-foil versions, but the non-foil were
left off, so only a few hundred exist at all.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs from home.
Over 14,500 titles. Free Shipping
& No Late Fees. Try Netflix for FREE!
http://us.click.yahoo.com/BVVfoB/hP....tFAA/WuQolB/TM
---------------------------------------------------------------------~->
  #4 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
Name sorting Ralphey at mtgmelb.com Card Vault 4 July 3rd, 2003 08:01 AM


All times are GMT -8. The time now is 08:35 PM.


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