PDA

View Full Version : Make your own Bot with Java Robot Class



Wise
12-03-16, 10:19 PM
Dear forumpeople,


Noticing I couldnt buy my way to the top I thought it might be a nice idea to give something to the community that I can provide.
I have been making my own bots for wow for as long as it's around and one of the easiest ways to make em was using the Java Robot class. It is almost impossible to detect a bot made with the robot class because you just type some random things and you couldve done that yourself.

You dont hack your way into memory or whatsoever, and since you made em yourself Blizzard wont notice a signature, because your application will always differ from big releases as Glider etc...

What do you need?


- You need to have java Software Development Kit: https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jdk-6u12-oth-JPR@CDS-CDS_Developer
- A java editor (Notepad will do but editors provide help) For this example Im gonna assume you use Jcreator LE, since it is free, and you can just hit compile/run instead of doing all those pesky commandline java commands. JCreator — Java IDE (http://www.jcreator.com/download.htm)
- Creativity
- A brain doesnt hurt


What is the JAVA Robot class
The java Robot class is a class that can easily make use of your keyboard and mouse and read out the circumstances you might wanna create for em (Like pixelcolor and mouseposition).

Read more about it. and read which awesome moves your robot can make here: Robot (Java 2 Platform SE v1.4.2) (http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Robot.html)

What can you use it for
All sorts of bots like:


- a fishing bot (Go to the pixel with your bobber color and rightclick as soon as you hear the spalsh wav and recastthe button with fishing in your actionbar.
- An afk bot. Walk around the farm / stables hitting random instants /jumps and tabs for example.
- Spambots / whateverobots.


What can't you use it for?
Speedhacks, flyhacks, tracking etc....

Ok, how does it work?
Well, after you installed the sdk and jCreator. Make a new file called myBot.java .

When you compile / run this myBot.java the compiler creates myBot.class and this is your actual bot. You can run it using jCreator or from commandline.

Ok: now the code....

First import the following packages, you need them coz thats where the robot class lives.


import java.awt.*;
import java.awt.event.*;
Then open and close your class. A constructor is not necessary. easypeasy mode. Within public static.... you construct your own Robot called myRobot.


public class myBot{
public static void main(String[] args)
throws AWTException{
Robot myRobot = new Robot();


}

}
Woohoo, you did it, you have your own robot. Now lets add some fancy stuff to him... To make him do something you can use the functions on Robot (Java 2 Platform SE v1.4.2) (http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Robot.html). For example, if you wanna make the robot go to pixel 500,500 in your screen you call call out the next line and he will do so.


myRobot.mouseMove(500,500);
Ok next a complete example code which makes your robot move your mouse downwards. Useless but it shows how easy it is to make a bot like that. It will stop after a few seconds so dont worry :d



import java.awt.*;
import java.awt.event.*;

public class myBot{
public static void main(String[] args)
throws AWTException{
Robot myRobot = new Robot();
for(int i = 0; i<100; i++){

myRobot.delay(100);
myRobot.mouseMove(1005,i);
}

}

}

See: it goes a pixel down every 0.1 seconds (The delay is in ms).

Use the general ideas on top to make your own fishbots etc... It's easy and you'll learn along the way.

Klololos
21-02-22, 11:30 AM
The difficult task with which it will be copyright will not be easy. Especially if you are in this newcomer. But this does not mean that there is no exit. I think that it is best for you to turn here (https://8allocate.com/dedicated-teams/) to solve any questions of this kind. That is especially important - this is what you can order a turnkey project, for any of its tasks and guidelines. You will only be required to correctly formulate the task and go to your goal. It is incredibly important, since in the future you will get a unique result for you.