The whole reason i starting learning C++ was to try to creat a bot... now iv been learning how to code for over 3 mounths and i have started geting the hang of it. But so far iv only created console aplications, my question to you is how do i start craeting windows and real programs...
Also on anouther note does anyone now how i could start to learn pixle recognization "If this is possible in C++" i will be needing it to creat the bot id like to make :)
Although this is a C++ forum, if you're looking for a personal use bot that doesn't take much coding, I'd suggest using AHK. It's a fully functioning macro language and very easy to implement. To do this in C++ is quite possible, but takes a lot of experience and knowledge. If you want simple, go to AHK, if you want quality and knowing you made it all by yourself, use C++. There is many places to start, but you need to get a strong grasp on the basics of the language before you can use something like the win32 API.
I personally believe C++ is the better language. Java is very versatile, but I don't believe it has the expansion that C++ has, nor the great community. This site has a beginners tutorial on console applications, here: http://www.cplusplus.com/doc/tutorial/
Thanks for the tutorials im iv alreadys read to compounds and data types on the first one and i will look into a book
i just got 1 more question about this AHK thing you mentioned. The bot im makeing is going to have to recognize pixle groupings then use a virtual mouse and keyboard to do actions well the game is minimized without pulging in to the game or server what so ever. is this possible with one of these AHK? and is the scripting similar to C++?
Edit: Is there anyway to rep someone on this forum?
As for AHK, Auto HotKey, it's another "language" if you will, but not really at the same time. As far as I know, AHK was built using C++ though. It's essentially a macro, and it can be used to detect pixels, but this is fairly slow. There is a bunch of ways to implement AHK into any game, and it is typically ran in the background and works on the layer over the game, clicking through to the application.
Be warned now, any game, especially those that are paid for, can have numerous anti-botting scripts that prevent farming and so on. You can lose your account and possibly have you IP banned if they even THINK you're botting.
That being said, AHK is definitely a better bet without having to learn everything, and you can improve on what your script does, but if you want the hard work an the experience, I'd suggest sticking around. There is plenty of things AHK can't do but C++ can do.
Im thinking ill try both :P anyway what you said about anti-bot scripts thats why i said that i dont want it to change the client the games played on or alter there servers i just want it to run clicking stuff like a human. This is safe right??
No, that's still considered botting. Essentially a perfect server will be able to detect non human interactions with a game. A typical server, however, will detect almost lightning like reflexes when it comes to clicking, precision with each click being in the same exact spot. There is ways around all of this stuff, but I won't tell you how.
I made a few bots that we're undetectable on games, and people loved them. But I did it for personal uses and close friends. I was bored with the game and have since quit playing. Anything is possible, but like I said, design at your own risk.
I'd suggest learning c++ and how to use different APIs and libs. If you feel you already have a good grasp on basic c++, then you would probably want to move on to something like Opengl, Windows API, SDL, Directx, etc (Depending on the platform output you're designing for. Personally I prefer Opengl/SDL as they can be used cross platform with minimal changes required).
By platform I mean windows/linux/iOS/android/honeycomb/etc (Operating systems).
Basically what I'm saying is that if you're going to learn a new set of functions, you generally don't want those functions to be useful for one thing and one thing only. By learning to do it in these libraries you'll not only be learning how to make a bot for your game, but also how to develop other things such as your own games.