Results 1 to 6 of 6
  1. #1
    geels's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    2
    My Mood
    Amused

    Mw3 hack (Aimbot)

    Hello,



    Well I've got a lot of other projects to complete so I am going to give my Java hack to the public also explaining about this hack.. This hack is 100% SCRIPTABLE for all the users.. Memory writers readers etc..



    What does the hack come with at the moment?



    AdvancedUAV - cardoow

    AimBot trigger (Will head shoot them when you press your F and if you get stuck press V)

    AutoKnife - Will knife anyone in knifing rage changing the view angels to the player boom knife.

    ThermalOverlay - cardoow

    ZeroRecoil..



    When the hack is running it will wait till the MW3 process has started.. Once the process has started you will get a UI displaying something like this.








    Once you've clicked what script you want press execute and the scripts WILL ONLY run when your in game.



    Skeleton of the script engine:

    Code:
     import com.sun.jna.Memory;
    
     
    
    import net.mw3.etewt3.handlers.MWPlayer;
    
    import net.mw3.etewt3.handlers.MemoryHack;
    
    import net.mw3.etewt3.script.ScriptEngine;
    
    import net.mw3.etewt3.utils.Constants;
    
    import net.mw3.etewt3.utils.Filter;
    
    import net.mw3.etewt3.utils.Vector;
    
     
    
    /**
    
     * @Author Mark
    
     * 
    
     */
    
    public class Test extends ScriptEngine {
    
     
    
        @override
    
        public int loop() {
    
            return 5;
    
        }
    
     
    
        @override
    
        public boolean onStart() {
    
            return true;
    
        }
    
    }


    Javadocs: Generated Documentation (Untitled)



    Example of aim bot

    Code:
     import java.awt.AWTEvent;
    
    import java.awt.Dimension;
    
    import java.awt****bot;
    
    import java.awt.Toolkit;
    
    import java.awt.event.AWTEventListener;
    
    import java.awt.event.InputEvent;
    
    import java.awt.event.KeyEvent;
    
    import java.awt.event.KeyListener;
    
     
    
    import net.mw3.etewt3.utils.Filter;
    
    import net.mw3.etewt3.utils.Vector;
    
    import com.sun.jna.Memory;
    
     
    
    import net.mw3.etewt3.WIN.User32;
    
    import net.mw3.etewt3.handlers.GameInput;
    
    import net.mw3.etewt3.handlers.MWPlayer;
    
    import net.mw3.etewt3.handlers.MemoryHack;
    
    import net.mw3.etewt3.handlers.WindowHandler;
    
    import net.mw3.etewt3.script.ScriptEngine;
    
    import net.mw3.etewt3.utils.Constants;
    
     
    
    public class Aimbot extends ScriptEngine {
    
     
    
        public static Aimbot instance = null;
    
        private double distance;
    
     
    
        public Aimbot() {
    
            instance = this;
    
        }
    
     
    
        @override
    
        public int loop() throws Exception {
    
            if (WindowHandler.user32.GetAsyncKeyState(User32.Keys  .V) << 16 != 0) {
    
                MemoryHack.writeMemory(Constants.VIEWANGLEBUFFER, new float[] {
    
                        100, 100 }, 8);
    
            }
    
            if (WindowHandler.user32.GetAsyncKeyState(User32.Keys  .F) << 16 != 0) {
    
     
    
                Robot robot = new Robot();
    
                MWPlayer our = getLocalPlayer();
    
                MWPlayer targetPlayer = getClosest();
    
                if (targetPlayer != null) {
    
                    distance = (1 / targetPlayer.getDistance());
    
                    float dist = 4;
    
                    if (!our.isZoomed())
    
                        robot.mousePress(InputEvent.BUTTON3_MASK);
    
                    sleep(200);
    
                    for (int i = 0; i < 75; i++) {
    
                        if (targetPlayer != null)
    
                            if (targetPlayer.isValid()) {
    
                                dist = getDist(targetPlayer, our);
    
                                aimAt(targetPlayer, (distance * dist));
    
                                GameInput.setEvent(GameInput.InputType.Mouse,
    
                                        InputEvent.BUTTON1_MASK);
    
                                sleep(20);
    
                                targetPlayer = getClosest();
    
                            }
    
     
    
                    }
    
                    robot.mouseRelease(InputEvent.BUTTON3_MASK);
    
                }
    
            }
    
            return 50;
    
        }
    
     
    
        private MWPlayer getClosest() {
    
            MWPlayer[] players = getAll(new Filter<MWPlayer>() {
    
     
    
                @override
    
                public boolean accept(MWPlayer player) {
    
                    if (!allForOne()
    
                            && player.getTeam() != getLocalPlayer().getTeam()
    
                            && player.isValid() || allForOne() && player.isValid()
    
                            && player.index != localIndex()) {
    
                        return true;
    
                    }
    
                    return false;
    
                }
    
     
    
            });
    
            MWPlayer targetPlayer = null;
    
            for (MWPlayer player : players) {
    
                if (player.index == getLocalPlayer().index || !player.isValid())
    
                    continue;
    
                float[] angles = getAnglesTo(player);
    
                double dist = Math.sqrt((angles[0] * angles[0])
    
                        + (angles[1] * angles[1]));
    
     
    
                if (dist < 20) {
    
                    if (targetPlayer == null) {
    
                        if (player.getDistance() < 100)
    
                            targetPlayer = player;
    
                    }
    
                    if (player.getDistance() < targetPlayer.getDistance())
    
                        targetPlayer = player;
    
                }
    
            }
    
            return targetPlayer;
    
        }
    
     
    
        private int getDist(MWPlayer targetPlayer, MWPlayer our) {
    
            if (targetPlayer.getViewAngles()[0] >= 62 && !targetPlayer.isProne()
    
                    && !targetPlayer.isCrouched()) {
    
                return (int) (targetPlayer.getViewAngles()[0]-our.getViewAngles()[0])-62;
    
            } else if (targetPlayer.getViewAngles()[0] >= 28
    
                    && targetPlayer.getViewAngles()[0] < 62
    
                    && !targetPlayer.isProne() && !targetPlayer.isCrouched()) {
    
                return (int) (targetPlayer.getViewAngles()[0]-our.getViewAngles()[0]) - 28;
    
            } else {
    
                if (our.isCrouched() && targetPlayer.isCrouched() || our.isProne()
    
                        && targetPlayer.isProne())
    
                    return 6;
    
                if (our.isStanding() && targetPlayer.isCrouched())
    
                    return 23;
    
                if (our.isStanding() && targetPlayer.isProne())
    
                    return 65;
    
                if (our.isCrouched() && targetPlayer.isStanding())
    
                    return -15;
    
                if (our.isCrouched() && targetPlayer.isProne())
    
                    return 23;
    
                if (our.isProne() && targetPlayer.isStanding())
    
                    return -56;
    
                if (our.isProne() && targetPlayer.isCrouched())
    
                    return -29;
    
                return 6;
    
            }
    
        }
    
     
    
        @override
    
        public boolean onStart() {
    
            return true;
    
        }
    
     
    
        public float[] getAnglesTo(MWPlayer target) {
    
            Memory viewAxisBuffer = MemoryHack.readMemory(Constants.REFDEF + 0x24,
    
                    36);
    
            float[][] viewAxis = new float[3][3];
    
            int index = 0;
    
            for (int i = 0; i < 3; i++) {
    
                viewAxis[i][0] = viewAxisBuffer.getFloat(index++ * 4);
    
                viewAxis[i][1] = viewAxisBuffer.getFloat(index++ * 4);
    
                viewAxis[i][2] = viewAxisBuffer.getFloat(index++ * 4);
    
            }
    
     
    
            float[] vector = Vector.vectorSubtract(target.getRawLocation(),
    
                    getLocalPlayer().getRawLocation());
    
     
    
            vector = Vector.normalize(vector);
    
     
    
            return new float[] {
    
                    (float) Vector.toDegree((float) Math.asin(Vector.dotProduct(
    
                            viewAxis[1], vector))),
    
                    (float) Vector.toDegree((float) -Math.asin(Vector.dotProduct(
    
                            viewAxis[2], vector))) };
    
        }
    
     
    
        public boolean aimAt(MWPlayer target, double verticalOffset) {
    
            MWPlayer local = getLocalPlayer();
    
            if (target == null || local == null)
    
                return false;
    
     
    
            Memory angleBuffer = MemoryHack
    
                    .readMemory(Constants.VIEWANGLEBUFFER, 8);
    
     
    
            float[] angles = getAnglesTo(target);
    
     
    
            angles[0] += angleBuffer.getFloat(4);
    
            angles[1] += angleBuffer.getFloat(0) + verticalOffset;
    
     
    
            MemoryHack.writeMemory(Constants.VIEWANGLEBUFFER, new float[] {
    
                    angles[1], angles[0] }, 8);
    
            return true;
    
        }
    
    }


    In action:








    When I get more time I will make more features and functions into this hack..



    Love,

    Mark <3





    EDIT:

    Replace ZeroRecoil.java in 'scripts' with



    Code:
     import com.sun.jna.Memory;
    
     
    
    import net.mw3.etewt3.handlers.MWPlayer;
    
    import net.mw3.etewt3.handlers.MemoryHack;
    
    import net.mw3.etewt3.script.ScriptEngine;
    
    import net.mw3.etewt3.utils.Filter;
    
     
    
    /**
    
     * @Author Mark
    
     *
    
     */
    
    public class ZeroRecoil extends ScriptEngine {
    
        @override
    
        public int loop() {
    
            MemoryHack.writeMemory(0x01063718+0x0044, new int[]{0,0,0}, 12);
    
            return 5;
    
        }
    
     
    
        @override
    
        public boolean onStart() {
    
            return true;
    
        }
    
     
    
    }


    and AdvancedUAV in 'scripts' with

    Code:
     import com.sun.jna.Memory;
    
     
    
    import net.mw3.etewt3.handlers.MWPlayer;
    
    import net.mw3.etewt3.handlers.MemoryHack;
    
    import net.mw3.etewt3.script.ScriptEngine;
    
    import net.mw3.etewt3.utils.Constants;
    
    import net.mw3.etewt3.utils.Filter;
    
    import net.mw3.etewt3.utils.Vector;
    
     
    
    /**
    
     * @Author Mark
    
     * 
    
     */
    
    public class AdvancedUAV extends ScriptEngine {
    
        private int value = -1;
    
     
    
        @override
    
        public int loop() {
    
            if(MemoryHack.readMemory(value + 0xC, 4).getInt(0) != 1)
    
                MemoryHack.writeMemory(value + 0xC, 1, 4);
    
            MemoryHack.writeMemory(0x8FF080 + 0x204, 1, 4);
    
            return 5;
    
        }
    
     
    
        @override
    
        public boolean onStart() {
    
            value = MemoryHack.readMemory(0x1C2C39C, 4).getInt(0);
    
            MemoryHack.writeMemory(value + 0xC, 1, 4);
    
            return true;
    
        }
    
    }
    and run "Compile-scripts.bat"







    I did not create this! Credits to etewt3
    Attached Thumbnails Attached Thumbnails
    LppKp.png  

    Last edited by geels; 01-14-2012 at 07:43 AM.

  2. The Following User Says Thank You to geels For This Useful Post:

    wildcat12 (12-08-2013)

  3. #2
    1998kevin's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0
    give some credit to those who created this..

  4. #3
    roflsecurity's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    33
    Reputation
    38
    Thanks
    1
    My Mood
    Breezy
    interesting.. waiting on attachment approval.

  5. #4
    TeamDarkness's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    Right Behind You!
    Posts
    307
    Reputation
    10
    Thanks
    3,372
    1. Nice Copy & Paste
    2. Double Post , search before posting http://www.mpgh.net/forum/404-call-d...java-hack.html

    3. @ Mods Trash it

  6. #5
    whoonk's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    0
    My Mood
    Angry
    1. Nice post... http://www.mpgh.net/forum/404-call-d...va-hack-1.html
    2. Fake-video, omg...
    3. FAIL!

  7. #6
    lolbie's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Netherlands
    Posts
    5,207
    Reputation
    288
    Thanks
    2,090
    My Mood
    Angelic
    repost

    /closed
    /But I don't delete the topic since it got some useful information in it
    I love it when people keep their agreements /sarcasm ftw

Similar Threads

  1. [Detected] Mw3 hack (Aimbot, Wallhack) and how to use it!!!
    By billpao in forum Call of Duty Modern Warfare 3 Tutorials
    Replies: 35
    Last Post: 04-13-2012, 08:18 AM
  2. [Patched] MW3 Hack Pro-Bot [1.4.382] (Aimbot/AutoKnife/NoRecoil Java Hack)
    By Xantoor in forum Call of Duty - Modern Warfare 3 (MW3) Hacks & Cheats
    Replies: 99
    Last Post: 02-10-2012, 02:08 PM
  3. fear comba(multiplayer) hacks aimbots
    By snak302 in forum Hack Requests
    Replies: 1
    Last Post: 01-03-2010, 12:55 AM
  4. *UNPATCHED* MULTI-Hack Aimbot and MUCH MORE :D
    By crazyxxjr in forum CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    Replies: 2
    Last Post: 08-11-2009, 08:35 AM
  5. Looking for No Fog Hack, Aimbot, as Well as Speed Hack
    By Hautkopf1488 in forum Combat Arms Hacks & Cheats
    Replies: 5
    Last Post: 10-27-2008, 01:21 PM