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
Your referring to this video:
[youtube]cBh2ycgRkXs[/youtube]
That was created by rabihtawil, he'll reply to your question very soon.
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.
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
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
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
OK thanks will try to fix it.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks