|Think about Loose Coupling|
Need ideas to creat a botting program for MafiaWars in facebookby oldmonk (Initiate)
|on Aug 31, 2010 at 19:19 UTC||Need Help??|
oldmonk has asked for the
wisdom of the Perl Monks concerning the following question:
I am trying to create a botting program which plays Zynga MafiaWars in Facebook (its a browser based game with lots of clicks)
I have tried IEAutomation but I could not click buttons/links inside the frames.
I have also tried Mechanize::Firefox, but it works in the background and its becoming very difficult for to see if it is really working.
If anyone has idea about the game then here is what I am looking to implement in the program.1) Login to FB -- Done 2) Goto Mafia Game application -- Done 3) Collect properties if they any thing available to collect(it can be done by navigating through links, a condition to check if a "Collect All" button/link is available) 4) Scan gifts page and ignore certain unwanted requests. I think I can do this using mechanize-firefox by searching string patters 5) As extention, auto accept and send back gifts 6) Go to MyMafia page and grab all mafia details
if it is possible at all?Can someone help me how to approach?