Post Reply  Post Thread 
NightWind's Card Searcher
Author Message
06-23-2011, 05:26 PM (This post was last modified: 06-23-2011 05:31 PM by Milo.)
Post: #761
RE: NightWind's Card Searcher
My intention was "sac value - mana cost", with separate fields for total and broken-down-by-color (as you currently have for mana costs and sac value individually).

So, Ninja Borrower has a mana cost of [Image: lmana.gif]4 and a sac value of [Image: gmana.gif]3. So it would have a broken-down relative sac of [Image: dmana.gif]+0 [Image: lmana.gif]-4 [Image: gmana.gif]+3, and a total relative sac of -1.

If that takes up too much space on the form then I suppose (like Masa suggests) the total relative sac is more important.

I assumed the searching for a range thing was implicit, since all numeric fields already in the card searcher have that feature.
Find all posts by this user
Quote this message in a reply
06-25-2011, 09:36 AM (This post was last modified: 06-25-2011 09:37 AM by Horo.)
Post: #762
RE: NightWind's Card Searcher
Spent half the day working on this and finally got them done:

1) Removed Search Again button
2) Mono colour filter
3) Multi colour filter
4) Total relative sac
5) Relative dark sac
6) Relative light sac
7) Relative grey sac
8) Made the form look neater

Can you guys please test to see if anything's amiss? After I get your confirmations I'll move the code to the actual cardsearcher.

Test site:
http://users5.nofeehost.com/nightwind/filters/

[Image: link_cs.gif][Image: link_ss-1.gif]
It's back!
[Image: link_dlg-1.gif][Image: link_ag-1.gif]

How to summon a Horo Wrote: When new CSCs are released, post a message in NightWind's Cardsearcher thread. A Horo will appear to update the cardsearcher.

Horos can also be summoned using apples, but they quickly learn that some apples are in fact, fake.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-22-2011, 10:44 AM
Post: #763
RE: NightWind's Card Searcher
Cardsearcher has been updated to include the newest trophy cards.

[Image: link_cs.gif][Image: link_ss-1.gif]
It's back!
[Image: link_dlg-1.gif][Image: link_ag-1.gif]

How to summon a Horo Wrote: When new CSCs are released, post a message in NightWind's Cardsearcher thread. A Horo will appear to update the cardsearcher.

Horos can also be summoned using apples, but they quickly learn that some apples are in fact, fake.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-22-2011, 09:59 PM
Post: #764
RE: NightWind's Card Searcher
Did masa also give you the new cake cscs?

Devs are currently working on:
-Playtesting
-NGC


2.0 FAQ (Last update: 07/23/13)
Latest 2.0 article: Modifiers
Find all posts by this user
Quote this message in a reply
08-23-2011, 04:33 AM
Post: #765
RE: NightWind's Card Searcher
I didn't really do anything last night >_>

[Image: masamunemaniac.jpg][Image: civilwarxfire1.png][Image: masamunemaniac.png]
[Image: civilwarxfire2.png]
[Image: partymini.png]
Eleni's Entertaining Exploits - Issue #12 - Actions / Discussion
Visit this user's website Find all posts by this user
Quote this message in a reply
08-28-2011, 10:03 AM
Post: #766
RE: NightWind's Card Searcher
Cardsearcher has been updated with newest cake cards

[Image: link_cs.gif][Image: link_ss-1.gif]
It's back!
[Image: link_dlg-1.gif][Image: link_ag-1.gif]

How to summon a Horo Wrote: When new CSCs are released, post a message in NightWind's Cardsearcher thread. A Horo will appear to update the cardsearcher.

Horos can also be summoned using apples, but they quickly learn that some apples are in fact, fake.
Visit this user's website Find all posts by this user
Quote this message in a reply
12-09-2011, 11:13 AM
Post: #767
RE: NightWind's Card Searcher
Here is the latest cards.csc file, with the new xmas cards added.


.csc  cards.csc (Size: 239.43 KB / Downloads: 2)

[Image: masamunemaniac.jpg][Image: civilwarxfire1.png][Image: masamunemaniac.png]
[Image: civilwarxfire2.png]
[Image: partymini.png]
Eleni's Entertaining Exploits - Issue #12 - Actions / Discussion
Visit this user's website Find all posts by this user
Quote this message in a reply
12-10-2011, 02:36 AM (This post was last modified: 12-10-2011 02:37 AM by Horo.)
Post: #768
RE: NightWind's Card Searcher
A Horo appears!

It updates the cardsearcher then dives back into the wheat!

[Image: link_cs.gif][Image: link_ss-1.gif]
It's back!
[Image: link_dlg-1.gif][Image: link_ag-1.gif]

How to summon a Horo Wrote: When new CSCs are released, post a message in NightWind's Cardsearcher thread. A Horo will appear to update the cardsearcher.

Horos can also be summoned using apples, but they quickly learn that some apples are in fact, fake.
Visit this user's website Find all posts by this user
Quote this message in a reply
12-10-2011, 02:47 AM
Post: #769
RE: NightWind's Card Searcher
Thank you, Horo! Have a bushel of apples <3

Devs are currently working on:
-Playtesting
-NGC


2.0 FAQ (Last update: 07/23/13)
Latest 2.0 article: Modifiers
Find all posts by this user
Quote this message in a reply
12-10-2011, 02:57 AM
Post: #770
RE: NightWind's Card Searcher
Apples! *takes*

*is happy*

[Image: link_cs.gif][Image: link_ss-1.gif]
It's back!
[Image: link_dlg-1.gif][Image: link_ag-1.gif]

How to summon a Horo Wrote: When new CSCs are released, post a message in NightWind's Cardsearcher thread. A Horo will appear to update the cardsearcher.

Horos can also be summoned using apples, but they quickly learn that some apples are in fact, fake.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-06-2012, 11:41 AM (This post was last modified: 01-06-2012 11:46 AM by Bugle.)
Post: #771
RE: NightWind's Card Searcher
Got some more CSCs for you, Horo! However, this time will require minimal extra effort since we've changed the wording of "ability immune" and "spell immune" to "ability shield" and "spell shield." So minimal more effort in that the tick boxes will need renaming.

To apologize for the inconvinence, I've prepared some apples:

[Image: bowlOfApples_WC.jpg]

Enjoy.

(Also, I don't think the most recent update took as the holiday cards weren't searchable. So maybe something weird happened last time? I'll post here if it doesn't take again, I guess.)

Edit: also, all those filters a few posts up seem to work. Sorry no one tested them before >_< I like the new look of the form too.


Attached File(s)
.csc  cards.csc (Size: 238.96 KB / Downloads: 20)

Devs are currently working on:
-Playtesting
-NGC


2.0 FAQ (Last update: 07/23/13)
Latest 2.0 article: Modifiers
Find all posts by this user
Quote this message in a reply
01-14-2012, 02:12 PM
Post: #772
RE: NightWind's Card Searcher
Is it just me, or is the "card text" field of the card searcher not working?
Find all posts by this user
Quote this message in a reply
01-14-2012, 04:06 PM
Post: #773
RE: NightWind's Card Searcher
It's working for me, although I've noticed that it fails if you use speech marks in it.



Also, I guess the searcher would need an update to accomodate the latest changes... (F)(/F) tags are used for flavour text (italics) and (K)(/K) tags are used for keywords (blue).

[Image: masamunemaniac.jpg][Image: civilwarxfire1.png][Image: masamunemaniac.png]
[Image: civilwarxfire2.png]
[Image: partymini.png]
Eleni's Entertaining Exploits - Issue #12 - Actions / Discussion
Visit this user's website Find all posts by this user
Quote this message in a reply
01-16-2012, 07:22 AM
Post: #774
RE: NightWind's Card Searcher
@Bugle - I'll update the database this weekend. Will also see if I can remerge the filter to the main cardsearcher

@Milo - what search terms did you use?

@masa - I'll have to look into the tags over the next week or so. Looks like a fiddly code change for the cardsearcher. Are there any plans to have CMC come with a non-Nightwind cardsearcher? If so, when will it be? I'll see if the tags are worth coding.

[Image: link_cs.gif][Image: link_ss-1.gif]
It's back!
[Image: link_dlg-1.gif][Image: link_ag-1.gif]

How to summon a Horo Wrote: When new CSCs are released, post a message in NightWind's Cardsearcher thread. A Horo will appear to update the cardsearcher.

Horos can also be summoned using apples, but they quickly learn that some apples are in fact, fake.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-16-2012, 08:17 AM
Post: #775
RE: NightWind's Card Searcher
There aren't any firm plans for a searcher at the moment (certainly not one as powerful as what you have), but I'll let you know if I do start work on one at all.

Actually I just realised that just opening the CSC file in Notepad and replacing the tags with blanks would allow the searcher to use current CSCs but without the flavour/keyword formatting, so you don't need to code anything for them to be compatible. I guess considering that, and the fact that the formatting we've gone for isn't 100% finalised, that you might not consider that worth coding?

[Image: masamunemaniac.jpg][Image: civilwarxfire1.png][Image: masamunemaniac.png]
[Image: civilwarxfire2.png]
[Image: partymini.png]
Eleni's Entertaining Exploits - Issue #12 - Actions / Discussion
Visit this user's website Find all posts by this user
Quote this message in a reply
01-16-2012, 10:35 AM
Post: #776
RE: NightWind's Card Searcher
Speaking of things not working, that reminds me. I found out if I try to search all of a certain color, the cardsearcher will take forever to load before giving the timeout error. While if I try looking at only all monsters or effects for example, the cardsearcher loads fine. Which, to add on to that, if I do a color and a card type, it goes back to not working again. Only problem I've been noticing at least on my end recently.

Probably been around for a while (a few weeks that I'm aware of). If that's the only thing not working correctly (outside of recent game changes), it's probably not that big a deal, just a minor annoyance really.

(01-18-2010 07:45 PM)sXeAndriex Wrote:  My sex life has as much to do with Jess as it has to do with waffle irons.
(01-18-2010 08:48 PM)Noodle Wrote:  I am interested in your waffle iron sex Andriex.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-16-2012, 03:49 PM (This post was last modified: 01-16-2012 03:56 PM by Milo.)
Post: #777
RE: NightWind's Card Searcher
(01-16-2012 07:22 AM)Horo Wrote:  @Milo - what search terms did you use?
Any, but just for the sake of example, I'm now going to try a search with Entity Type = "follower" and Card Text = "horror" and all other fields empty. (The Entity Type restriction is just so I don't get every single card in the game as a result. What I'm expecting here is to be presented with Melrak Chantress.)

The search button then links me to http://users5.nofeehost.com/nightwind/cardsearcher/results.asp?cardid1=&cardid2=
&cardlist=&cardname=&entitytype=follower&cardcolour=&cardtype=&speed1=&speed2=&rarity1=&rarity2=&expansion=
&sortby=&groupby=&cardtext=horror&cardtext2=&dmana1=&dmana2=&lmana1=&lmana2=&gmana1=&gmana2=&tmana1=
&tmana2=&dsac1=&dsac2=&lsac1=&lsac2=&gsac1=&gsac2=&tsac1=&tsac2=&rdsac1=&rdsac2=&rlsac1=&rlsac2=&rgsac1=
&rgsac2=&rtsac1=&rtsac2=&attack1=&attack2=&life1=&life2=&tal1=&tal2=


The "Search Paramenters" table in the results page only mentions the Entity Type: follower parameter, and says nothing about a second parameter. Accordingly, the results contain 19 cards, listing all followers except for Jack 'o' All Trades.

(Edited to not break the display.)
Find all posts by this user
Quote this message in a reply
01-16-2012, 04:39 PM
Post: #778
RE: NightWind's Card Searcher
Horo: did you want the csc with the flavour/keyword tags so you could figure what to do with them?

Devs are currently working on:
-Playtesting
-NGC


2.0 FAQ (Last update: 07/23/13)
Latest 2.0 article: Modifiers
Find all posts by this user
Quote this message in a reply
01-16-2012, 05:49 PM
Post: #779
RE: NightWind's Card Searcher
Milo Wrote: Any, but just for the sake of example, I'm now going to try a search with Entity Type = "follower" and Card Text = "horror" and all other fields empty. (The Entity Type restriction is just so I don't get every single card in the game as a result. What I'm expecting here is to be presented with Melrak Chantress.)
Weird - it worked for me: http://users5.nofeehost.com/nightwind/ca...al1=&tal2=

Bugle Wrote: Horo: did you want the csc with the flavour/keyword tags so you could figure what to do with them?
The way they work on the CMC server is to have it replace all instances of the text (F) with <span class='flavor'>, (K) with <span class='keyword'>, and (/F) and (/K) with </span>, together with an updated cmc.css file.

[Image: masamunemaniac.jpg][Image: civilwarxfire1.png][Image: masamunemaniac.png]
[Image: civilwarxfire2.png]
[Image: partymini.png]
Eleni's Entertaining Exploits - Issue #12 - Actions / Discussion
Visit this user's website Find all posts by this user
Quote this message in a reply
01-16-2012, 06:54 PM
Post: #780
RE: NightWind's Card Searcher
(01-16-2012 05:49 PM)masamunemaniac Wrote:  Weird - it worked for me: http://users5.nofeehost.com/nightwind/ca...al1=&tal2=
And that link also gives correct results when I click it.

Masa's link Wrote:&cardtext=horror&cardtext2=horror
Huh.

Okay, let's try this:
http://users5.nofeehost.com/nightwind/cardsearcher/results.asp?entitytype=follower&cardtext=horror&cardtext2=
http://users5.nofeehost.com/nightwind/cardsearcher/results.asp?entitytype=follower&cardtext=&cardtext2=horror
http://users5.nofeehost.com/nightwind/cardsearcher/results.asp?entitytype=follower&cardtext=horror&cardtext2=horror
The first link fails. The latter two work.

Why is there even a cardtext2? There's only only card text input box.

...Oh, I see. You're using JavaScript. I've had it turned off because some sites I'd been visiting gave me trouble with it, and it didn't even occur to me that such a simple, straightforward form would be something that's trying to use JavaScript. All you're even doing with it is some validation checking and cleaning up whitespace, things that could easily also be done serverside.

But anyway, at least now I know how to make it work.
Find all posts by this user
Quote this message in a reply
Post Reply  Post Thread 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  NightWind's Store Searcher *NightWind* 124 8,308 01-16-2012 07:15 AM
Last Post: Horo
  Should NightWind's searcher automatically show store results? *NightWind* 7 667 09-07-2008 06:31 AM
Last Post: masamunemaniac

View a Printable Version
Send this Thread to a Friend
Subscribe to this thread |
-->