hi, im planning to make a bot and was just wondering if its even possible in java to get it to read the different conditions in WoW (health, mana, position) and command it to hit different keys accordingly.
hi, im planning to make a bot and was just wondering if its even possible in java to get it to read the different conditions in WoW (health, mana, position) and command it to hit different keys accordingly.
If you are asking if its possible to do it in a anguage, you probably don't have enough knowledge it to make a bot in the first place.
sorry i didnt take the time to memorize the thousands of possibilities of code. Maybe next time if you comment give me an answer or dont comment at all. Besides im simply checking into which languages can do it so i dont learn one that i find useless in the end.
Last edited by Shadow11; 10-22-2009 at 11:33 AM.
Sorry if google isn't good enough for you. I could find the answer in a minute or two with a quick search if I really wanted to.
Unless you have some sort of background programming experience, it is going to take you a month or two to even attain the knowledge needed to program a decent bot.
The easiest language that I know of that you can create a bot in is Auto-It. This language is, however, slow at doing large amounts of processing. If you want an efficient bot, with a more difficult programming language, I would recommend C++ or VB.
Thanks that's all i needed to know, I'll probably end up learning C++ then. I'm just currently in a java class (well it was supposed to be programming in general) but the teacher decided on java for some reason. I'll have to learn c++ in my spare time with a book or something, one thing i don't like about java is the lack of the .exe file...something about a .jar just doesn't make me happy haha.
This is the exact problem I have. The AP computer science course here in California is teaching Java instead of C++ now. So I'm stuck having to learn C++ in my spare time. But once you learn one programming language it's easier to pick another one up.
yeah lol, you cant just memorize thousands of whatevers of code, it doesnt work like that.
as for a java bot, using the build in robot class would handle all mouse and keyboard controls, as for reading health, you would need read wows memory, and i don't have experience in that respect of java, ive only worked on runescape java bots, where you load the game inside of your bot in a classloader, which is impossible for wow as its not a java based game
@Mike3667: yeah it amazes me that they would just teach java...i mean as far as i understand its supposed to be an easier language to start off with but i don't really want to use it just because its not the greatest for games, gonna try my best on c++ and find a good book. Shouldnt be too difficult to learn another language after learning one i'd imagine.
@Vindicated: haha yeah i know, you can always just use the files you made before. Can't wait to try C++ though...and another thing i never understood is why someone would actually charge for a WoW bot...especially the ones that cost monthly :P.
@alias1991: I'm gonna keep looking into java and see if its possible at all. My final project in programming (which happens to be worth 40% of my mark) includes being able to demonstrate a program i've made during the year in a different language so I'm definately going to learn C++ but I'm still interested in figuring out if its possible to find all the different conditions in WoW.
ofc it can be done, but doing it in C++ or # is alot easier and makes overall more sense.
I don't believe there's any function similar to ReadProcessMemory(); in Java, so it would be difficult to read the current amount of HP etc. (You could probably do it by making some addons and mess around with that)
I tried to make a fishing bot in Java, and I do believe it's possible to complete it and make it work perfectly.
Take a look at it: http://www.mmowned.com/forums/java/2...-bot-help.html
@Shadow11:
Writing a bot using Java is possible, but you would have to make use of either C/C++ or assembler anyway since Java won't let you access RAM directly. You would have to write the code that reads and writes to the memory in C or asm and then use Java's Native-API to hook that code up to your actual Java bot.
So you might want to consider doing your project in C/C++ right from the start.
Btw, Java is a really beautiful language for projects that don't rely on direct memory access. Contrary to what other people may say, Java is NOT easy.
Last edited by doubledown; 10-28-2009 at 03:55 PM.
@doubledown: yeah i might just make a simple bot to start off with in java that doesnt use memory just to test it out, then i'll learn c++ and make a new one from scratch that does use memory. I don't find Java too difficult to understand for the most part, just lately Arrays have been pissing me off haha.