|
NightWind's Card Searcher
|
| Author |
Message |
|
02-13-2009, 08:25 PM
|
Haplo_64
64 bits of Haplosions
Posts: 2,873
Group: Registered
CMC Name: Haplo_64
Status:
Joined: Apr 2008
|
|
|
RE: NightWind's Card Searcher
But, why would you use a price function if you didn't want store prices?
|
|
|
|
|
02-13-2009, 08:37 PM
|
Santa Squid
Knows if you're naughty or nice
Ho! Ho! Ho! Merry Christmas!
Posts: 17,807
Group: Registered
CMC Name: Nacho
Status:
Joined: Aug 2005
|
|
|
RE: NightWind's Card Searcher
Because I want to know how many are in HS.
|
Checking my list 8 times.
|
|
|
|
02-13-2009, 08:45 PM
|
|
|
|
RE: NightWind's Card Searcher
Because ctrl+f on the wiki page just doesn't do the job.
Oh no wait, it does it faster.
|
Eleni's Entertaining Exploits - Issue #12 - Actions / Discussion
|
|
|
|
02-14-2009, 08:55 PM
|
|
|
|
RE: NightWind's Card Searcher
Bleah. The database is now stuffed up. Searches on main site will return double of each card and price range site will now return no results no matter the search. Will try to fix.
|
|
|
|
|
02-14-2009, 09:05 PM
|
|
|
|
RE: NightWind's Card Searcher
Database now restored.
Newest voucher, Chocolate Box can now been searched on the main site.
Test site seems to have run into some problems and is currently down.
|
|
|
|
|
02-15-2009, 12:22 AM
|
Haplo_64
64 bits of Haplosions
Posts: 2,873
Group: Registered
CMC Name: Haplo_64
Status:
Joined: Apr 2008
|
|
|
RE: NightWind's Card Searcher
Hew nightwind, when you use the buying from shops button, and you choose to buy the cards, how did you make it so if you need to click the button more than once (like buying from multiple shops) it just refreshes the same tab? (At least, that's how it does it in Firefox)
Because so far, I've only been able to open up multiple tabs using code, and I don't want that...
|
|
|
|
02-15-2009, 12:32 AM
(This post was last modified: 02-15-2009 12:35 AM by *NightWind*.)
|
|
|
RE: NightWind's Card Searcher
I did that by using JavaScript to specify the target window so that all purchases will execute in the same window no matter where it's called from. Once the url opens, the params are sent straight through so even if you load up the next window, it will still work as we don't need to wait for a response from the server.
Try using this:
Code:
window.open("http://google.com.au","myWindow");
Rereading your post, maybe turning off the "open in new tab" option might work? Maybe it's that rather than the code?
|
|
|
|
02-15-2009, 12:45 AM
(This post was last modified: 02-15-2009 01:23 AM by Haplo_64.)
|
Haplo_64
64 bits of Haplosions
Posts: 2,873
Group: Registered
CMC Name: Haplo_64
Status:
Joined: Apr 2008
|
|
|
RE: NightWind's Card Searcher
Nope, the open in new tab thing just makes it open a completely new window...
And I'm not using Java, but thanks nonetheless.
Solved!-ish. By using a CMD file to simply close explorer, (And I use firefox normally, so that's fine) I can just close the old one, and then open the new one. To your eyes, it simply refreshes to the new page.
Way to annoying.
|
|
|
|
02-15-2009, 02:22 AM
(This post was last modified: 02-15-2009 02:23 AM by *NightWind*.)
|
|
|
RE: NightWind's Card Searcher
Bugfixed site now here
*HS results bug (specific only to price range site) now fixed
*Masterwork Tools cards displayed in multiples now fixed
*MT icon now added
*Now only shows cards with selling prices with range
Note that for the past day or so, the server seems a bit unstable. So whatever strange behaviours you notice on the sites, please post here.
Let me know what you think of the most recent test site update.
(02-15-2009 12:45 AM)Runemaster Wrote: Nope, the open in new tab thing just makes it open a completely new window...
And I'm not using Java, but thanks nonetheless.
Solved!-ish. By using a CMD file to simply close explorer, (And I use firefox normally, so that's fine) I can just close the old one, and then open the new one. To your eyes, it simply refreshes to the new page.
Way to annoying.
Are you writing your program in exe-type fashion? The code I have up there is JavaScript and not Java- so if you could write a .html file, with the urls in a JavaScript method, then do onLoad(), then run the html file via the command line, it might work.
|
|
|
|
|
02-15-2009, 02:40 AM
|
|
|
|
RE: NightWind's Card Searcher
Tried a few searchers (1000-2000) and it showed prices for cards under that (providing the card had a seller for that range) so that seemed to work. But then I tried looking for mana buckets between 1000-4000 and it said no cards available (which I know to be false as I have a mana bucket in my store for 3000. But when I did a search for magic orb doing that same system, it showed up fine.
|
(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.
|
|
|
|
02-15-2009, 02:50 AM
|
Haplo_64
64 bits of Haplosions
Posts: 2,873
Group: Registered
CMC Name: Haplo_64
Status:
Joined: Apr 2008
|
|
|
RE: NightWind's Card Searcher
I'm not trying to open up my own files, but the pages here.
but you might not have been saying that, because my coding/scripting know-how is very limited.
In fact, I wasn't using C#. or C++ or Python, or Java, or Javascript, I was using something completely different. Which I have some knowledge in, but not enough.
Time to finally learn some real coding.
|
|
|
|
|
02-15-2009, 03:10 AM
|
|
|
RE: NightWind's Card Searcher
(02-15-2009 02:40 AM)Jessica Stryker Wrote: Tried a few searchers (1000-2000) and it showed prices for cards under that (providing the card had a seller for that range) so that seemed to work. But then I tried looking for mana buckets between 1000-4000 and it said no cards available (which I know to be false as I have a mana bucket in my store for 3000. But when I did a search for magic orb doing that same system, it showed up fine.
Thanks. I'll make a note of that and see if I can get it fixed. The mana bucket results are (from my interpretation) fine because not all sellers fall within the specified range. But the magic orb results are indeed strange. I'll try to get the magic orb results to behave in the same way as mana bucket. Is that what you're going for?
(02-15-2009 02:50 AM)Runemaster Wrote: I'm not trying to open up my own files, but the pages here.
but you might not have been saying that, because my coding/scripting know-how is very limited.
In fact, I wasn't using C#. or C++ or Python, or Java, or Javascript, I was using something completely different. Which I have some knowledge in, but not enough.
Time to finally learn some real coding.
Ah okays then. *gives Haplo a can of bug spray* ^_^
|
|
|
|
|
02-15-2009, 11:39 AM
|
|
|
|
RE: NightWind's Card Searcher
Magic Orb actually has a seller for 2000 (most likely doing the overpriced trick as I did with mana bucket). If they have a price in that range, no matter how ridiculous it may be, it should still show up.
|
(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.
|
|
|
|
02-15-2009, 11:45 AM
|
|
|
RE: NightWind's Card Searcher
Uh, that's the entry fee for the last WTP2 place, it's not an overpricing "trick"
|
Eleni's Entertaining Exploits - Issue #12 - Actions / Discussion
|
|
|
|
02-15-2009, 11:52 AM
|
|
|
RE: NightWind's Card Searcher
Public store ? @ 92 ea
masamunemaniac 28 @ 33 ea
karl17 28 @ 34 ea
Tamdrik 133 @ 40 ea
countspatula 5 @ 50 ea
Squirm 1 @ 2000 ea
I wasn't aware the points were going through squirm.
|
(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.
|
|
|
|
02-15-2009, 12:00 PM
|
|
|
RE: NightWind's Card Searcher
Public store ? @ 5 ea
karl17 134 @ 13 ea
masamunemaniac 252 @ 14 ea
Tamdrik 195 @ 20 ea
King of Green 8 @ 1600 ea
Tourney Fees 1 @ 2000 ea
Man, it's like you're looking at a completely different card or something
|
Eleni's Entertaining Exploits - Issue #12 - Actions / Discussion
|
|
|
|
02-15-2009, 12:21 PM
|
|
|
|
RE: NightWind's Card Searcher
I figured out what it was. The magic orb that came up was the MT magic orb. Apparently, the prime magic orb also has a 2000 seller, but when I looked for magic orb specifically with price sellers checked for a range of 1000-4000, the only one to come up is the MT one. If I don't include a price limit, both show up.
|
(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.
|
|
|
|
02-15-2009, 12:32 PM
|
|
|
RE: NightWind's Card Searcher
See, I figured that out much quicker because I didn't use the price search. It just seems like something I will never find reason to use
|
Eleni's Entertaining Exploits - Issue #12 - Actions / Discussion
|
|
|
|
02-16-2009, 09:19 AM
|
|
|
|
RE: NightWind's Card Searcher
I'm going to guess this is because of a data type conversion error. Anyways, I'll note this for the weekend. Any other cards where you notice this problem? I'm fine with just Magic Orb as a test case, but it would be nice if there was another card to verify the results.
|
|
|
|
|
02-19-2009, 05:00 AM
|
|
|
RE: NightWind's Card Searcher
Test site has been updated with more bugfixes
The bug that Jessica pointed out should now be fixed.
Price range now also included in sidebar.
Let me know if there's anything else weird with it. Give me confirmation if it works as wanted. After confirmation, I will be taking down all test sites.
|
|
|
|
|
|