Making a bot with java (robot class) Help menu

Shout-Out

User Tag List

Results 1 to 4 of 4
  1. #1
    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)

    Making a bot with java (robot class) Help

    I tried to make a bot for a game using java, using the robot class, I have the code working ok, and the cursor moves, but when it should simulate the click, it doesnt, it only simulates clicks inside the JFrame.

    How can I make it simulate clicks outside the jframe, in the game windown?

    Making a bot with java (robot class) Help
  2. #2
    Willy's Avatar Elite User
    CoreCoins Purchaser
    Reputation
    478
    Join Date
    Mar 2007
    Posts
    682
    Thanks G/R
    147/124
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Your question is to vague. Please consider posting your code!
    Otherwise there's a great site for all your computer-related questions:
    StackOverflow

  3. #3
    Selvyre's Avatar Active Member
    Reputation
    29
    Join Date
    Jul 2013
    Posts
    104
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Make the JFrame the size of your screen and allow clicks to flow through the window then position your game your botting window at 0,0 (top left of your screen) and use normal 0,0 - your res coords to run your bot
    Skype: Argixx
    Coding Experience: Java: 8 years, c++: 4 years, python: lolk, c#: might as well be java, AutoIt: 1 year

  4. #4
    xslaver's Avatar Member
    Reputation
    1
    Join Date
    May 2008
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yo. I just done this. It has nothing to do with the JFrame. Just make sure you're using mouseRelease() after MouseClick with a delay of 100ms in between to make it simulate an actual human clicking.

Similar Threads

  1. Make your own Bot with Java Robot Class
    By whappit in forum Programming
    Replies: 19
    Last Post: 09-27-2015, 06:07 AM
  2. Help with Java Bot
    By SimpleF in forum Programming
    Replies: 8
    Last Post: 12-31-2013, 12:13 AM
  3. How-to Make Your Own Basic AntiAFK Bot With AutoIt
    By Toxik the Spammer in forum World of Warcraft Bots and Programs
    Replies: 13
    Last Post: 05-23-2008, 12:39 PM
  4. Making an anti-afk bot with AutoIT the easy way.
    By Tsai in forum World of Warcraft Bots and Programs
    Replies: 13
    Last Post: 10-02-2007, 04:22 PM
  5. Pretty easy way to make 1k+ gold, with help from a friend.
    By Cun in forum World of Warcraft Exploits
    Replies: 18
    Last Post: 09-25-2007, 03:25 PM
All times are GMT -5. The time now is 09:44 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