Simplest Pixel Bot menu

User Tag List

Page 3 of 6 FirstFirst 123456 LastLast
Results 31 to 45 of 81
  1. #31
    Sychotix's Avatar Moderator Authenticator enabled
    Reputation
    1443
    Join Date
    Apr 2006
    Posts
    4,001
    Thanks G/R
    295/587
    Trade Feedback
    1 (100%)
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Status: Trade
    Originally Posted by ITexpert View Post
    I used Notepad++ to convert it to a .java file. Would it work like that or would I need to convert it to a .class or .jar file? Also, what program could I use to run the code?
    Read what I linked you. The point of this post seems to be getting people interested in programming/bots... not to be spoonfed a step by step process.

    Simplest Pixel Bot
  2. #32
    ITexpert's Avatar Member
    Reputation
    5
    Join Date
    Jul 2016
    Posts
    53
    Thanks G/R
    1/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Status: Trade
    Originally Posted by Sychotix View Post
    Read what I linked you. The point of this post seems to be getting people interested in programming/bots... not to be spoonfed a step by step process.
    I just want to know what programs are required to do this.

  3. #33
    Sychotix's Avatar Moderator Authenticator enabled
    Reputation
    1443
    Join Date
    Apr 2006
    Posts
    4,001
    Thanks G/R
    295/587
    Trade Feedback
    1 (100%)
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Status: Trade
    Java and a text editor

  4. #34
    comic-1337's Avatar Banned
    Reputation
    18
    Join Date
    Jul 2016
    Posts
    97
    Thanks G/R
    0/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Java IDE

  5. #35
    qqzzxxcc's Avatar Active Member
    Reputation
    28
    Join Date
    Jun 2012
    Posts
    72
    Thanks G/R
    43/18
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Status: Trade
    Biting my elbows with zero java knowledge while trying to get hotkey to work.

    Found out about jnativehook, managed to hook itself working but for some reason I can't call moveMouse() using "if (e.getKeyCode() == NativeKeyEvent.VC_K)".
    I mean I can but calling it from inside or changing boolean doesn't works.

    Private Paste - Pastie

  6. #36
    comic-1337's Avatar Banned
    Reputation
    18
    Join Date
    Jul 2016
    Posts
    97
    Thanks G/R
    0/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Use a timer

  7. #37
    MACH9 WoW Services's Avatar Member CoreCoins Purchaser
    Reputation
    3
    Join Date
    Jun 2012
    Posts
    219
    Thanks G/R
    1/1
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Status: Trade
    @comic-1337 Where do I change the colors so it doesn't aim at random shit.

  8. #38
    Snowbot's Avatar Member
    Reputation
    3
    Join Date
    Jun 2016
    Posts
    7
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Status: Trade
    Originally Posted by qqzzxxcc View Post
    Biting my elbows with zero java knowledge while trying to get hotkey to work.

    Found out about jnativehook, managed to hook itself working but for some reason I can't call moveMouse() using "if (e.getKeyCode() == NativeKeyEvent.VC_K)".
    I mean I can but calling it from inside or changing boolean doesn't works.

    Private Paste - Pastie
    im using hold left alt to activate aimbot try this

    Code:
    import org.jnativehook.GlobalScreen;
    import org.jnativehook.NativeHookException;
    import org.jnativehook.keyboard.NativeKeyEvent;
    import org.jnativehook.keyboard.NativeKeyListener;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import java.util.logging.LogManager;
    
    public class OWAimbot implements NativeKeyListener {
        private static Robot robot;
        private static Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
        private static double width = screenSize.getWidth();
        private static double height = screenSize.getHeight();
        .
        .
        .
        private static Boolean hold = false;  
    
        public void nativeKeyPressed(NativeKeyEvent e)  {
            if (NativeKeyEvent.getKeyText(e.getKeyCode()) == "Left Alt") 
                hold = true;
        }
    
        public void nativeKeyReleased(NativeKeyEvent e) {
            if (NativeKeyEvent.getKeyText(e.getKeyCode()) == "Left Alt") 
                hold = false;
        }
    
        public void nativeKeyTyped(NativeKeyEvent e) {}
    
        .
        .
        .
        
        public static void main(String[] args) throws Exception {
    
            LogManager.getLogManager().reset();
            Logger logger = Logger.getLogger(GlobalScreen.class.getPackage().getName());
            logger.setLevel(Level.OFF);
    
            try {
                GlobalScreen.registerNativeHook();
            }
            catch (NativeHookException ex) {
                System.err.println("There was a problem registering the native hook.");
                System.err.println(ex.getMessage());
    
                System.exit(1);
            }
            
            robot = new Robot();
            OWAimbot listen = new OWAimbot();
    
            while(true){
                GlobalScreen.addNativeKeyListener(listen);
                if(hold){ 
                    moveMouse(analysis(ss())[0],analysis(ss())[1]);
                }
            }
        }
    Last edited by Snowbot; 07-30-2016 at 02:42 AM.

  9. Thanks qqzzxxcc (1 members gave Thanks to Snowbot for this useful post)
  10. #39
    ITexpert's Avatar Member
    Reputation
    5
    Join Date
    Jul 2016
    Posts
    53
    Thanks G/R
    1/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Status: Trade
    Originally Posted by Snowbot View Post
    im using hold left alt to activate aimbot try this

    Code:
    import org.jnativehook.GlobalScreen;
    import org.jnativehook.NativeHookException;
    import org.jnativehook.keyboard.NativeKeyEvent;
    import org.jnativehook.keyboard.NativeKeyListener;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import java.util.logging.LogManager;
    
    public class OWAimbot implements NativeKeyListener {
        private static Robot robot;
        private static Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
        private static double width = screenSize.getWidth();
        private static double height = screenSize.getHeight();
        .
        .
        .
        private static Boolean hold = false;  
    
        public void nativeKeyPressed(NativeKeyEvent e)  {
            if (NativeKeyEvent.getKeyText(e.getKeyCode()) == "Left Alt") 
                hold = true;
        }
    
        public void nativeKeyReleased(NativeKeyEvent e) {
            if (NativeKeyEvent.getKeyText(e.getKeyCode()) == "Left Alt") 
                hold = false;
        }
    
        public void nativeKeyTyped(NativeKeyEvent e) {}
    
        .
        .
        .
        
        public static void main(String[] args) throws Exception {
    
            LogManager.getLogManager().reset();
            Logger logger = Logger.getLogger(GlobalScreen.class.getPackage().getName());
            logger.setLevel(Level.OFF);
    
            try {
                GlobalScreen.registerNativeHook();
            }
            catch (NativeHookException ex) {
                System.err.println("There was a problem registering the native hook.");
                System.err.println(ex.getMessage());
    
                System.exit(1);
            }
            
            robot = new Robot();
            OWAimbot listen = new OWAimbot();
    
            while(true){
                GlobalScreen.addNativeKeyListener(listen);
                if(hold){ 
                    moveMouse(analysis(ss())[0],analysis(ss())[1]);
                }
            }
        }
    Is it very accurate?

  11. Thanks qqzzxxcc (1 members gave Thanks to ITexpert for this useful post)
  12. #40
    qqzzxxcc's Avatar Active Member
    Reputation
    28
    Join Date
    Jun 2012
    Posts
    72
    Thanks G/R
    43/18
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Status: Trade
    Originally Posted by Snowbot View Post
    im using hold left alt to activate aimbot try this
    Thanks, works smoother than my workaround I've had earlier, but it also has issues (maybe I'm doing smth wrong, not sure).
    When you hold alt key for too long it forgets to stop aiming.
    Longer you hold then longer it takes to understand that you've released key.

    EDIT: Nvm, my windows is drunk, and even with AHK it reacts badly to Left Alt being held.
    Last edited by qqzzxxcc; 07-30-2016 at 04:21 AM.

  13. #41
    ITexpert's Avatar Member
    Reputation
    5
    Join Date
    Jul 2016
    Posts
    53
    Thanks G/R
    1/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Status: Trade
    Originally Posted by Snowbot View Post
    im using hold left alt to activate aimbot try this

    Code:
    import org.jnativehook.GlobalScreen;
    import org.jnativehook.NativeHookException;
    import org.jnativehook.keyboard.NativeKeyEvent;
    import org.jnativehook.keyboard.NativeKeyListener;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import java.util.logging.LogManager;
    
    public class OWAimbot implements NativeKeyListener {
        private static Robot robot;
        private static Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
        private static double width = screenSize.getWidth();
        private static double height = screenSize.getHeight();
        .
        .
        .
        private static Boolean hold = false;  
    
        public void nativeKeyPressed(NativeKeyEvent e)  {
            if (NativeKeyEvent.getKeyText(e.getKeyCode()) == "Left Alt") 
                hold = true;
        }
    
        public void nativeKeyReleased(NativeKeyEvent e) {
            if (NativeKeyEvent.getKeyText(e.getKeyCode()) == "Left Alt") 
                hold = false;
        }
    
        public void nativeKeyTyped(NativeKeyEvent e) {}
    
        .
        .
        .
        
        public static void main(String[] args) throws Exception {
    
            LogManager.getLogManager().reset();
            Logger logger = Logger.getLogger(GlobalScreen.class.getPackage().getName());
            logger.setLevel(Level.OFF);
    
            try {
                GlobalScreen.registerNativeHook();
            }
            catch (NativeHookException ex) {
                System.err.println("There was a problem registering the native hook.");
                System.err.println(ex.getMessage());
    
                System.exit(1);
            }
            
            robot = new Robot();
            OWAimbot listen = new OWAimbot();
    
            while(true){
                GlobalScreen.addNativeKeyListener(listen);
                if(hold){ 
                    moveMouse(analysis(ss())[0],analysis(ss())[1]);
                }
            }
        }
    Need a bit of help figuring out what I'm doing wrong.
    The first 4 lines it says the package does not exist, On line 9 it says duplicate class, On lines 14 and 31 it says illegal start of type and on the last line it says reached end of file while parsing but shows a red marker. Can someone please tell me What's wrong and how I can fix it?

  14. #42
    qqzzxxcc's Avatar Active Member
    Reputation
    28
    Join Date
    Jun 2012
    Posts
    72
    Thanks G/R
    43/18
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Status: Trade
    Thats not whole code, thats a snippet for hotkey function.

  15. #43
    ITexpert's Avatar Member
    Reputation
    5
    Join Date
    Jul 2016
    Posts
    53
    Thanks G/R
    1/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Status: Trade
    Originally Posted by qqzzxxcc View Post
    Thats not whole code, thats a snippet for hotkey function.
    How many lines is the whole code then?

  16. #44
    drrrr56's Avatar Member
    Reputation
    1
    Join Date
    Jul 2016
    Posts
    13
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Status: Trade
    I got illegal start of statement can someone help me ? heres the code

    import java.awt.*;
    import java.awt.image.BufferedImage;
    import org.jnativehook.GlobalScreen;
    import org.jnativehook.NativeHookException;
    import org.jnativehook.keyboard.NativeKeyEvent;
    import org.jnativehook.keyboard.NativeKeyListener;
    public class test implements NativeKeyListener{
    private static Robot robot;
    private static Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
    private static double width = 1920;
    private static double height = 1080;
    private static BufferedImage img =null;
    private static int red = 0;
    private static int green = 0;
    private static int blue = 0;
    private static int rgb = 0;
    private static Boolean on=false;
    private static Boolean appended=false;

    private static int globalOffsetX,globalOffsetY;

    private static final int SEARCH_WIDTH = 490;
    private static final int SEARCH_HEIGHT = 390;




    public static void main(String[] args) throws Exception {

    try {
    GlobalScreen.registerNativeHook();
    }
    catch (NativeHookException ex) {
    System.err.println("There was a problem registering the native hook.");

    System.exit(1);
    }

    GlobalScreen.addNativeKeyListener(new test());
    robot = new Robot();
    if (on){

    moveMouse(analysis(ss())[0],analysis(ss())[1]);

    }
    }

    public void nativeKeyPressed(NativeKeyEvent e) {


    if (e.getKeyCode() == NativeKeyEvent.VC_K) {
    on=true;
    try {
    moveMouse(analysis(ss())[0],analysis(ss())[1]);
    }
    catch (Exception ex) {
    System.exit(1);
    }

    }
    }

    public void nativeKeyReleased(NativeKeyEvent e) {
    if (e.getKeyCode() == NativeKeyEvent.VC_K) {
    on=false;
    System.out.println("Key Released: " + NativeKeyEvent.getKeyText(e.getKeyCode())== "Left Alt");
    }
    }

    public void nativeKeyTyped(NativeKeyEvent e) {
    if (NativeKeyEvent.getKeyText(e.getKeyCode()) == "Left Alt")
    }


    private static void moveMouse(double x, double y){
    if(appended){
    robot.mouseMove((int)((width/2)+x+50),(int) ((height/2)+y+33));

    }
    }

    private static BufferedImage ss(){
    return robot.createScreenCapture(new Rectangle((int)(width/2)-245,(int)(height/2)-245, SEARCH_WIDTH,SEARCH_HEIGHT));
    }

    private static double[] analysis(BufferedImage iA) throws Exception{
    appended = false;
    for (int x = 0; x< iA.getWidth(); x ++) {
    for(int y = 0; y < iA.getHeight(); y ++) {
    rgb = iA.getRGB(x, y);
    red = (rgb >> 16) & 0x000000FF;
    green = (rgb >> 8 ) & 0x000000FF;
    blue = (rgb) & 0x000000FF;
    if(red>=251&&green<=3&&blue<=1{
    if(!appended){
    appended=true;
    globalOffsetX = x-(SEARCH_WIDTH/2);
    globalOffsetY = y-(SEARCH_HEIGHT/2);//145
    }
    }

    if(appended)
    break;
    }
    if(appended)
    break;
    }
    return new double[]{globalOffsetX,globalOffsetY};
    }


    }

  17. #45
    comic-1337's Avatar Banned
    Reputation
    18
    Join Date
    Jul 2016
    Posts
    97
    Thanks G/R
    0/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Man.. do not spoonfeed those people, I've given enough hints here.

Page 3 of 6 FirstFirst 123456 LastLast

All times are GMT -5. The time now is 07:42 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search