Topic: Trading Tool
Finding trades on deckbox kinda sucks so I wrote a tool to help speed up the process.
Lets say you want to trade for a Black Lotus. This is an unlikely example, but go with it. You usually wind up on this page:
http://deckbox.org/mtg/Black%20Lotus
Holy shit! Two(!) pages of users to click through? What a pain. And you don't even want to trade with anyone outside the United States. Enter DBDC. (I don't even remember what that stands for...)
DBDC gets a card name from you and then sorts through every page of users that has that card on their tradelist. It weeds out non-Americans and hits you with a nice table telling you the user's name, location, and how many of that card they got. Awesome.
So, lets see who will trade us a Black Lotus. Lets try Error121. Just click the Link cell associated with his name and copy-paste that sonofabitch into your browser.
http://deckbox.org/users/Error121
Hmm, looks terrible. He hasn't been online since November, has 0% feedback, and probably doesn't shower. Lets blacklist him. Just open up the associated blacklist.txt and put his username in using your favorite text editor. Boom! You'll never pull his profile again.
Send me a note if you want this thing. I still haven't packaged it up nice yet but I should be ready to deliver it next week. Here's some boring notes on the thing:
I wrote it in 5 hours. It doesn't do any error handling so you need to enter card names in perfectly. If you want to search "Fog" you need to enter "Fog". Not "fog", not " Fog", not "fog ", not "FOG" ...
You need Java to run it. Ain't nobody got time to teach you how to install Java so just Google it.
It won't work if you run behind a proxy.
It uses JSoup to sort through deckbox.
It sorts through deckbox very quickly. Don't go crazy with it. Deckbox probably doesn't want to serve 100 pages per second to you and they have every right to block you for using this thing too quickly.
I realize that automatically sorting out non-Americans isn't helpful to most but hey, that's all I've got for now. I tried to query in to each user's profile to sort out local traders, dead accounts, etc. but it was too complicated for a morning project so this it what it do for now.
Leave me some feedback. I could probably make this a heck of a lot more user-friendly over the weekend and any comments you have will help. Thanks!
Oh, the combo box is for changing the sort from "people who have card X" to "people who want card X". The latter isn't implemented yet so both just find users who have card X.