Urban Rivals Market Bot

urban-rivals-logoUpdate: Shortly after I posted this, the good folks of Urban Rivals politely asked me to remove the post and I politely declined. About a week later, someone informed me changes were made to the market, and the first few sales for each card are now displayed as images rather than HTML. He said up until then, the bot was working great for him, but the changes to the market have caused the bot to stop working. Unless someone is able to fix it with some sort of image to text JavaScript library (I think there are some libraries that do this w/ captchas), the script is effectively dead. I will leave the source posted, in case someone is able to repair it.

Some time ago, a friend got me into an online card game called Urban Rivals. It is similar to other card games such as Magic the Gathering, but played online either via iPhone/iPad app or in your browser. One aspect of the game that quickly got my attention (other than the game itself), was the card marketplace where you can buy and sell playing cards.

It didn’t take long for me to realize that it was an inefficient market. Profitable trades presented themselves quite regularly, and with a bit of automation it would be easy to take advantage of the market. I proceeded with developing a Google Chrome extension that would allow me to do so, and it worked quite well.

(more…)