Make your own Bot with Java Robot Class menu

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    krelit's Avatar Member
    Reputation
    1
    Join Date
    Mar 2009
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very good guide
    would give rep if i could. gonna check this out for educational purposes since i am currently studying java atm in school. in the prosess of makeing a checkers game so will try to post it when i finish that.

    Make your own Bot with Java Robot Class
  2. #17
    WhiteShizzle's Avatar Active Member
    Reputation
    17
    Join Date
    Jun 2008
    Posts
    248
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In need of a little bit of help, How would you go about searching an image for a certain colour?

    Thanks

  3. #18
    ASDF4Ever's Avatar Member
    Reputation
    1
    Join Date
    Jul 2013
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I tried to use the robot class to click outside the JFrame I created, but the clicks arent registered outside the JFrame, so I cant make the bot...

  4. #19
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1584
    Join Date
    May 2010
    Posts
    1,829
    Thanks G/R
    188/531
    Trade Feedback
    16 (100%)
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Nice 4 year thread bump lols, you should create a new thread really.

  5. #20
    botMaker's Avatar Member
    Reputation
    2
    Join Date
    Sep 2015
    Posts
    1
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks to Molleren, whappit and frikos, I created could create an Opensource Project https://github.com/sudogooglex/ClickRecorder

    I used some of your code to create my generic class here https://github.com/sudogooglex/Click.../main/java/Bot

    You can see mouse methods here https://github.com/sudogooglex/Click.../Position.java

    I created a new Class to use all Keyboard methods https://github.com/sudogooglex/Click.../Keyboard.java
    I used stackoverflow for public void type(char character). Thanks to this class you can type text strings.


    You can use it like this :

    Code:
    //https://github.com/sudogooglex/Click.../Bot/Main.java
        public static void main(String[] args) {
            Bot b = new Bot();
            b.startBot();
        }
    
    // https://github.com/sudogooglex/Click...a/Bot/Bot.java
        public void startBot() {
            setMouse(500, 500);
            moveMouseVertically(1005, 100);
            press('1', 100);
            pressString("I can speak now !", 100);
            scroll(-100);
        }
    Checkout the whole project if you want : it will create a generic csv file with custom rules like 1) move mouse to (x, y). 2) wait. 3) Type "string". 4) Scroll Mouse.
    I used it for a game and it works, even on my two screens. However, it doesn't implement now any image detection but I created a method to get the pixel under the mouse.

  6. Thanks Ket (1 members gave Thanks to botMaker for this useful post)
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Making a bot with java (robot class) Help
    By ASDF4Ever in forum Programming
    Replies: 3
    Last Post: 09-10-2013, 01:50 AM
  2. [Tutorial] Make your own signature with photoshop
    By Kevve in forum Art & Graphic Design
    Replies: 10
    Last Post: 10-20-2008, 04:46 PM
  3. How to make your own bots!
    By Zeltraz500 in forum World of Warcraft Guides
    Replies: 10
    Last Post: 09-22-2008, 03:35 PM
  4. F making your own bot path
    By Cherry Got Wowed in forum World of Warcraft Guides
    Replies: 7
    Last Post: 10-22-2007, 01:46 PM
  5. Make your own Bots for Wow/EQ2
    By HunterHero in forum World of Warcraft Bots and Programs
    Replies: 0
    Last Post: 10-19-2006, 10:05 AM
All times are GMT -5. The time now is 03:30 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search