Closed Thread
Results 1 to 7 of 7

Thread: Making bots for the web

  1. #1
    BosanskiCevap is offline Newbie
    Join Date
    Feb 2010
    Posts
    6
    Rep Power
    0

    Making bots for the web

    Hi, I recently joined this site.

    So my question is one of the members here on CodeCall Fourm realesed an FarmVille bot.
    And I was like what the? How did he do that.

    So I downloaded his source code and I did not ( Sorry for my lanugage ) understand an ****!

    So if you are reading this or if anybody is reading this please reply to me and say what I need to learn in C# ( about movemouse, webbrowser etc... ) to make a succesful bot for the web ( also for web games like Farmville etc ).

    Thanks,
    Denis

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Nov 2009
    Location
    London
    Posts
    866
    Blog Entries
    3
    Rep Power
    14

    Re: Making bots for the web

    Your referring to this video:

    [youtube]cBh2ycgRkXs[/youtube]

    That was created by rabihtawil, he'll reply to your question very soon.

  4. #3
    QuackWare is offline Learning Programmer
    Join Date
    Jan 2010
    Posts
    95
    Rep Power
    8

    Re: Making bots for the web

    In general (Although I am not rabihtawil I have a little bit of input) it is a good idea if you have never programmed anything before to not jump directly into programming a bot. It is not that difficult but you will be frustrated and confused if you attempt to take it further then a few simulated mouse clicks and a simple web browser.

    I suggest reading an e-book or some tutorials and learning the C# language and its basics and then attempt some projects like a farmville bot. You might want to start out with something a bit easier though like making your own calculator.

    Just my 2 cents.

  5. #4
    Ray Tawil's Avatar
    Ray Tawil is offline Programmer
    Join Date
    Sep 2009
    Location
    Ohio
    Posts
    106
    Rep Power
    9

    Re: Making bots for the web

    Hi BosanskiCevap,

    Well the real trick about all programming is not to get amazed of any code. Be sure that all of what is done in coding is science which is written by the hands of common people so don't ever freeze & find it miraculous... that is my advise for you. As for my notes as following:

    1- This source code was written in vb.net not C# which is very equivalent to vb, a person with no knowledge in vb.net what so ever if he looked really close to the code can transform a good amount of block of code in a couple of minutes.

    2- Look at the idea in general, it's nothing but a simple clicker! it moves the mouse & clicks, as soon as you read this sentence you conclude 2 stuff:
    a) loop
    b) events

    3- Google, man that is research, you can find any idea you want in couple of seconds, you don't have to know everything... there is no book or tutorial that will cover all your programming knowledge at once & i assure you by the time you finish reading it tons of new stuff would have emerged.

    4- Technical wise (coding) check the video that James posted above, i think i did a pretty good explanation about how i did it & if you got any specific technical questions feel free to ask

    Best Regards.
    Share your Knowledge, It's one way to achieve immortality.
    Video Tutorial Channel

  6. #5
    BosanskiCevap is offline Newbie
    Join Date
    Feb 2010
    Posts
    6
    Rep Power
    0

    Re: Making bots for the web

    Quote Originally Posted by rabihtawil View Post
    Hi BosanskiCevap,

    Well the real trick about all programming is not to get amazed of any code. Be sure that all of what is done in coding is science which is written by the hands of common people so don't ever freeze & find it miraculous... that is my advise for you. As for my notes as following:

    1- This source code was written in vb.net not C# which is very equivalent to vb, a person with no knowledge in vb.net what so ever if he looked really close to the code can transform a good amount of block of code in a couple of minutes.

    2- Look at the idea in general, it's nothing but a simple clicker! it moves the mouse & clicks, as soon as you read this sentence you conclude 2 stuff:
    a) loop
    b) events

    3- Google, man that is research, you can find any idea you want in couple of seconds, you don't have to know everything... there is no book or tutorial that will cover all your programming knowledge at once & i assure you by the time you finish reading it tons of new stuff would have emerged.

    4- Technical wise (coding) check the video that James posted above, i think i did a pretty good explanation about how i did it & if you got any specific technical questions feel free to ask

    Best Regards.
    Allright, well I know basic C# and I'm learning more every day ( almost ). So all I think I need to learn is to get the project (my bot) to click at the lands plowed in farmville.
    I have a (kinda)question about that.
    How do I make the mouse click on all land in x, y axis. I never understood that.

    Thanks,
    Denis

  7. #6
    Ray Tawil's Avatar
    Ray Tawil is offline Programmer
    Join Date
    Sep 2009
    Location
    Ohio
    Posts
    106
    Rep Power
    9

    Re: Making bots for the web

    1- this is how you assign cursor position of x,y:

    Code:
    Cursor.Position.X
    Cursor.Position.Y

    2- this is how you make it click:

    Code:
    Form1.mouse_event(2, CInt(Me.pt.X), CInt(Me.pt.Y), 0, 0)

    3- how the position is calculated, it's through calculation, addition on starting point until it reaches the ending point.

    Look at the Timer1_Tick event in my source code.
    Share your Knowledge, It's one way to achieve immortality.
    Video Tutorial Channel

  8. #7
    BosanskiCevap is offline Newbie
    Join Date
    Feb 2010
    Posts
    6
    Rep Power
    0

    Re: Making bots for the web

    OK thanks will try to fix it.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Logic Warz - Program your own Bot, battle other people's Bots
    By logicwarz in forum Community Projects
    Replies: 1
    Last Post: 05-14-2011, 06:08 AM
  2. IRC Bots in Python: A discussion
    By pedro3005 in forum Python
    Replies: 6
    Last Post: 08-31-2010, 06:06 PM
  3. Is there a windows application equivalent to web bots?
    By appguy1010 in forum Managed C++
    Replies: 1
    Last Post: 02-17-2010, 11:01 PM
  4. Will this function miss any bots?
    By codytaylor in forum PHP Development
    Replies: 4
    Last Post: 08-08-2009, 06:55 PM
  5. Need help in making .exe
    By galacticsurfer in forum Visual Basic Programming
    Replies: 4
    Last Post: 01-05-2008, 10:41 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts