Posts: 6,987
Group: Registered
CMC Name:
Status:
Joined: Dec 2004
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 4 and a sac value of 3. So it would have a broken-down relative sac of +0 -4 +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.
06-25-2011, 09:36 AM (This post was last modified: 06-25-2011 09:37 AM by Horo.)
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.
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.
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.
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.
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.
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.
01-06-2012, 11:41 AM (This post was last modified: 01-06-2012 11:46 AM by Bugle.)
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:
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.
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).
@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.
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.
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?
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.
01-16-2012, 03:49 PM (This post was last modified: 01-16-2012 03:56 PM by Milo.)
Posts: 6,987
Group: Registered
CMC Name:
Status:
Joined: Dec 2004
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 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.
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.)
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.
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.