So Facebook has been taking up lots of time, especially with all its funny (and fun) applications. One app that’s been taking most of my time is Warbook, which is a simple but addictive web-based MMORPG game that’s linked to Facebook.
One of the spells that you can cast in Warbook is Alchemy, which basically spends 20 mana to produce a good amount of gold. A normal player gains 6 mana each hour, so that means you can cast Alchemy every 4 hours. Problem is, my mana cap is low at 60, and if I leave the game for too long I’ll end up with lots of wasted mana. It’s not like WoW where you can actually drink and stuff to regain mana; you actually have to wait to get it replenished.
That’s when I found this Automating Facebook Interaction using Ruby and WWW::Mechanize article, showing an example of how you can automate posting to someone’s wall with random quotes. Since then, I’ve extended the example to cast Alchemy for me. Put it together with cron, and I have it running every 4 hours. ^o^
Read up a bit more on Ruby’s syntax, and now I have daily runs to use up my Vampires attack quota, and do 20 random attacks on Vampires vs. Werewolves. Yeah, they’re silly apps, but me like RPG styles stuff. 😛
Still a bunch of quirks to work out though. Facebook connections hasn’t been so good lately, and there’ve been disconnects while the scripts are running. I’ll probably get to that sometime, but not so soon.
Leave a Reply