Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Need ideas to creat a botting program for MafiaWars in facebook

by oldmonk (Initiate)
on Aug 31, 2010 at 19:19 UTC ( #858217=perlquestion: print w/replies, xml ) Need Help??
oldmonk has asked for the wisdom of the Perl Monks concerning the following question:

Hello,

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?
  • Comment on Need ideas to creat a botting program for MafiaWars in facebook

Replies are listed 'Best First'.
Re: Need ideas to creat a botting program for MafiaWars in facebook
by Limbic~Region (Chancellor) on Aug 31, 2010 at 23:49 UTC
    oldmonk,
    This is a violation of Facebook's terms of service.

    You will not collect users' content or information, or otherwise access Facebook, using automated means (such as harvesting bots, robots, spiders, or scrapers) without our permission.

    If you have obtained permission to do this and can legally extend that permission to PerlMonks at large, please do share. I am not inclined to help you otherwise (even if bothered to share your currently non-working code).

    Cheers - L~R

      A reply falls below the community's threshold of quality. You may see it by logging in.
Re: Need ideas to creat a botting program for MafiaWars in facebook
by psini (Deacon) on Aug 31, 2010 at 19:51 UTC

    Please don't use <pre> tags in your posts, for they alter the rendering of the pages. See Perl Monks Approved HTML tags for the list of approved tags, thank you.

    Rule One: "Do not act incautiously when confronting a little bald wrinkly smiling man."

Re: Need ideas to creat a botting program for MafiaWars in facebook
by hok_si_la (Curate) on Sep 01, 2010 at 15:19 UTC
    For whatever reason as I read this thread, the Scala and Kolacny Brothers remake of Radiohead's "Creep" played itself in the depths of my mind.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://858217]
Approved by planetscape
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2018-09-24 13:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Eventually, "covfefe" will come to mean:













    Results (191 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!