• 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

More Raw Deal Trouble

  • Thread starter Thread starter kschafer1 at kc.rr.com
  • Start date Start date
K

kschafer1 at kc.rr.com

Guest
Well, I thought I had this licked but it's reared its ugly head
again.

Raw Deal background: Decks are built around a WWE Superstar and may
contain any number of non-superstar specific cards, but may only
contain their own superstar specific cards. The Rock cannot use a
Steve Austin card, for example.

Right now Superstar specific cards have a tag from the group reqss.

Superstar cards have a tag from the group isSS.

I have tried to steal the Will Only Join rule from the L5R files.

So I first identify the type of deck being played with a series of
rules along this line:

<rule id="Is3Min" message="Error: Cannot set Is3Min" priority="1"
scope="deck2">
<![CDATA[
eval Is3Min as { test { card:isSS.3Min > 0, 1, 0}}
]]>
</rule>

Then check the cards with this rule:

scope="card"
!reqss.? | (reqss.3Min & ( @Is3Min > 0))

This works fine except that there are over 70 superstar cards so the
rule over flows and won't parse.

So I broke the rule into 26 pieces and did one rule for each letter
of the alphabet. This would work fine except that some cards have
more than one superstar and so it activates more than one rule so I
get false negatives.

The only solution I can think of right now is to do seperate entries
for the different superstars and indentical them together, but that
seems like to much of a kludge. Any thoughts?




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 07:21 AM 3/10/2004, you wrote:
>Well, I thought I had this licked but it's reared its ugly head
>again.
>
>Raw Deal background: Decks are built around a WWE Superstar and may
>contain any number of non-superstar specific cards, but may only
>contain their own superstar specific cards. The Rock cannot use a
>Steve Austin card, for example.
>
>Right now Superstar specific cards have a tag from the group reqss.
>
>Superstar cards have a tag from the group isSS.
>
>I have tried to steal the Will Only Join rule from the L5R files.
>
>So I first identify the type of deck being played with a series of
>rules along this line:
>
><rule id="Is3Min" message="Error: Cannot set Is3Min" priority="1"
>scope="deck2">
><![CDATA[
>eval Is3Min as { test { card:isSS.3Min > 0, 1, 0}}
>]]>
></rule>
>
>Then check the cards with this rule:
>
>scope="card"
>!reqss.? | (reqss.3Min & ( @Is3Min > 0))
>
>This works fine except that there are over 70 superstar cards so the
>rule over flows and won't parse.

The rule 'over flows'? What do you mean?


--
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/
 
My rule was going over 100 terms.
----- Original Message -----
From: Colen McAlister
To: cardvault@yahoogroups.com
Sent: Saturday, March 13, 2004 6:17 PM
Subject: Re: [CardVault] More Raw Deal Trouble


At 07:21 AM 3/10/2004, you wrote:
>Well, I thought I had this licked but it's reared its ugly head
>again.
>
>Raw Deal background: Decks are built around a WWE Superstar and may
>contain any number of non-superstar specific cards, but may only
>contain their own superstar specific cards. The Rock cannot use a
>Steve Austin card, for example.
>
>Right now Superstar specific cards have a tag from the group reqss.
>
>Superstar cards have a tag from the group isSS.
>
>I have tried to steal the Will Only Join rule from the L5R files.
>
>So I first identify the type of deck being played with a series of
>rules along this line:
>
><rule id="Is3Min" message="Error: Cannot set Is3Min" priority="1"
>scope="deck2">
><![CDATA[
>eval Is3Min as { test { card:isSS.3Min > 0, 1, 0}}
>]]>
></rule>
>
>Then check the cards with this rule:
>
>scope="card"
>!reqss.? | (reqss.3Min & ( @Is3Min > 0))
>
>This works fine except that there are over 70 superstar cards so the
>rule over flows and won't parse.

The rule 'over flows'? What do you mean?


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




------------------------------------------------------------------------------
Yahoo! Groups Links

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

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

c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



[Non-text portions of this message have been removed]



------------------------ 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/
 
Try breaking your rule up into pieces, assigning the results of each piece
to a variable. For example, if you have 200 terms, create 10 variables that
process 20 terms each. Then have your rule verify the 10 variables.

I'm tempted to believe that a rule with more than 100 terms can be written
differently, eliminating many of the current terms. But that's just a gut
feeling and completely unfounded. We leave for a tradeshow tomorrow morning
and won't be back until next week. If you want, press me on this issue when
we're back next week and I'll see if I can come up with a more creative
solution for you to try. In the meantime, the trick mentioned above ought
to get you operational.

Hope this helps,
Rob

At 11:49 PM 3/13/2004 -0600, you wrote:
>My rule was going over 100 terms.
> ----- Original Message -----
> From: Colen McAlister
> To: cardvault@yahoogroups.com
> Sent: Saturday, March 13, 2004 6:17 PM
> Subject: Re: [CardVault] More Raw Deal Trouble
>
>
> At 07:21 AM 3/10/2004, you wrote:
> >Well, I thought I had this licked but it's reared its ugly head
> >again.
> >
> >Raw Deal background: Decks are built around a WWE Superstar and may
> >contain any number of non-superstar specific cards, but may only
> >contain their own superstar specific cards. The Rock cannot use a
> >Steve Austin card, for example.
> >
> >Right now Superstar specific cards have a tag from the group reqss.
> >
> >Superstar cards have a tag from the group isSS.
> >
> >I have tried to steal the Will Only Join rule from the L5R files.
> >
> >So I first identify the type of deck being played with a series of
> >rules along this line:
> >
> ><rule id="Is3Min" message="Error: Cannot set Is3Min" priority="1"
> >scope="deck2">
> ><![CDATA[
> >eval Is3Min as { test { card:isSS.3Min > 0, 1, 0}}
> >]]>
> ></rule>
> >
> >Then check the cards with this rule:
> >
> >scope="card"
> >!reqss.? | (reqss.3Min & ( @Is3Min > 0))
> >
> >This works fine except that there are over 70 superstar cards so the
> >rule over flows and won't parse.
>
> The rule 'over flows'? What do you mean?


---------------------------------------------------------------------------
Rob Bowes (rob@wolflair.com) (650) 588-8252
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/
 
Well, there are over 60 superstars in Raw Deal and each one requires at least 2 terms to check. :)

I've tried using variables and I haven't been very sucessful with the project. My current solution is to multiple copies of the card with only one superstar tag on the card and then mark them as identical. The upside is that it makes the rules much simpler, the downside is that the cards collapse into one another unless you are specifically searching for a given superstar.
----- Original Message -----
From: Rob Bowes
To: cardvault@yahoogroups.com
Sent: Monday, March 15, 2004 4:58 AM
Subject: Re: [CardVault] More Raw Deal Trouble


Try breaking your rule up into pieces, assigning the results of each piece
to a variable. For example, if you have 200 terms, create 10 variables that
process 20 terms each. Then have your rule verify the 10 variables.

I'm tempted to believe that a rule with more than 100 terms can be written
differently, eliminating many of the current terms. But that's just a gut
feeling and completely unfounded. We leave for a tradeshow tomorrow morning
and won't be back until next week. If you want, press me on this issue when
we're back next week and I'll see if I can come up with a more creative
solution for you to try. In the meantime, the trick mentioned above ought
to get you operational.

Hope this helps,
Rob

At 11:49 PM 3/13/2004 -0600, you wrote:
>My rule was going over 100 terms.
> ----- Original Message -----
> From: Colen McAlister
> To: cardvault@yahoogroups.com
> Sent: Saturday, March 13, 2004 6:17 PM
> Subject: Re: [CardVault] More Raw Deal Trouble
>
>
> At 07:21 AM 3/10/2004, you wrote:
> >Well, I thought I had this licked but it's reared its ugly head
> >again.
> >
> >Raw Deal background: Decks are built around a WWE Superstar and may
> >contain any number of non-superstar specific cards, but may only
> >contain their own superstar specific cards. The Rock cannot use a
> >Steve Austin card, for example.
> >
> >Right now Superstar specific cards have a tag from the group reqss.
> >
> >Superstar cards have a tag from the group isSS.
> >
> >I have tried to steal the Will Only Join rule from the L5R files.
> >
> >So I first identify the type of deck being played with a series of
> >rules along this line:
> >
> ><rule id="Is3Min" message="Error: Cannot set Is3Min" priority="1"
> >scope="deck2">
> ><![CDATA[
> >eval Is3Min as { test { card:isSS.3Min > 0, 1, 0}}
> >]]>
> ></rule>
> >
> >Then check the cards with this rule:
> >
> >scope="card"
> >!reqss.? | (reqss.3Min & ( @Is3Min > 0))
> >
> >This works fine except that there are over 70 superstar cards so the
> >rule over flows and won't parse.
>
> The rule 'over flows'? What do you mean?


---------------------------------------------------------------------------
Rob Bowes (rob@wolflair.com) (650) 588-8252
Lone Wolf Development www.wolflair.com




------------------------------------------------------------------------------
Yahoo! Groups Links

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

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

c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



[Non-text portions of this message have been removed]




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