Page 1 of 10 123 ... LastLast
Results 1 to 15 of 138
  1. #1
    mirose001's Avatar
    Join Date
    May 2016
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    172

    Post PUBG - 3D ESP source code [source]

    Hi MPGH!!

    A simple box helps to estimate the enemy's distance.
    In this topic,
    you will learn the drawing method 3D box around each athlete.
    You can add boxes for easy / crouching players in different sizes.
    If you always want to have a box size,
    you can calculate the size of the box by the bone: PUBG - in the ESP (skeleton) WallHack [source of the following code],
    but in reality it is not so necessary

    Code:
    public void Draw3DBox(FMinimalViewInfo POV, AActor actor)
        {
            float l, w, h, o;
            l = 60f; w = 60f; h = 160f; o = 50f; //box size for standing player
         
            float zOffset = -100f;
         
            if (actor.Type == ActorTypes.Vehicle) //vehicles have a bigger box
            {
                zOffset = 50;
                l = 200f; w = 160f; h = 80f; o = 0f;
            }         
         
            //build box
            Vector3 p00 = new Vector3(o, -w / 2,0f);
            Vector3 p01 = new Vector3(o, w / 2, 0f);
            Vector3 p02 = new Vector3(o - l, w / 2, 0f);
            Vector3 p03 = new Vector3(o - l, -w / 2, 0f);
         
            //rotate rectangle to match actor rotation
            float theta1 = 2.0f * (float)Math.PI * (actor****tation.Y) / 180.0f;
            Matrix rotM = Matrix****tationZ((float)(theta1 / 2)); // rotate around Z-axis
         
            Vector3 curPos = new Vector3(actor.Location.X, actor.Location.Y, actor.Location.Z + zOffset);
            p00 = Vector3.TransformCoordinate(p00, rotM) + curPos;
            p01 = Vector3.TransformCoordinate(p01, rotM) + curPos;
            p02 = Vector3.TransformCoordinate(p02, rotM) + curPos;
            p03 = Vector3.TransformCoordinate(p03, rotM) + curPos;
         
            RawVector2 s00 = W2S(p00, POV);
            RawVector2 s01 = W2S(p01, POV);
            RawVector2 s02 = W2S(p02, POV);
            RawVector2 s03 = W2S(p03, POV);
            RawVector2[] square0 = { s00, s01, s02, s03, s00 };
         
            DrawLines(square0);
            
            // top rectangle
            p00.Z += h; s00 = W2S(p00, POV);
            p01.Z += h; s01 = W2S(p01, POV);
            p02.Z += h; s02 = W2S(p02, POV);
            p03.Z += h; s03 = W2S(p03, POV);
         
            RawVector2[] square1 = { s00, s01, s02, s03, s00 };
            DrawLines(square1);
         
            // upper/lower rectangles get connected
            DrawLine(new RawVector2(square0[0].X, square0[0].Y), new RawVector2(square1[0].X, square1[0].Y));
            DrawLine(new RawVector2(square0[1].X, square0[1].Y), new RawVector2(square1[1].X, square1[1].Y));
            DrawLine(new RawVector2(square0[2].X, square0[2].Y), new RawVector2(square1[2].X, square1[2].Y));
            DrawLine(new RawVector2(square0[3].X, square0[3].Y), new RawVector2(square1[3].X, square1[3].Y));
        }

    Code:
    public void DrawLines(RawVector2[] point0)
                {
                    if (point0.Length < 2)
                        return;
         
                    for (int x = 0; x < point0.Length - 1; x++)
                        DrawLine(point0[x], point0[x + 1],);
                }
    Last edited by mirose001; 09-07-2017 at 06:40 AM.

  2. The Following 12 Users Say Thank You to mirose001 For This Useful Post:

    aggelos13e (07-26-2018),ahmed9620 (08-14-2018),dod916 (09-02-2018),drakon023 (09-20-2018),jameelnekola2002 (08-06-2018),kevinsawhn (11-28-2018),lozici1 (01-01-2019),musty1994 (09-07-2017),shyamguvala (09-10-2018),thbenicio (09-09-2018),tual666 (04-26-2019),xxbalxx (08-07-2018)

  3. #2
    M.A1380's Avatar
    Join Date
    Jun 2016
    Gender
    male
    Posts
    32
    Reputation
    10
    Thanks
    77
    My Mood
    Bored
    you could give the source code in a file:\

  4. #3
    ben12397's Avatar
    Join Date
    Sep 2017
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    4
    how to apply the code ?

  5. The Following 4 Users Say Thank You to ben12397 For This Useful Post:

    CarlosSA (11-26-2018),Chandoggie (11-30-2018),miguelcara12 (08-25-2018),sekkbykill (04-02-2019)

  6. #4
    basemas030's Avatar
    Join Date
    Jul 2016
    Gender
    male
    Posts
    17
    Reputation
    10
    Thanks
    5
    isnt this the source from UC ?

  7. #5
    musty1994's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by mirose001 View Post
    Hi MPGH!!

    A simple box helps to estimate the enemy's distance.
    In this topic,
    you will learn the drawing method 3D box around each athlete.
    You can add boxes for easy / crouching players in different sizes.
    If you always want to have a box size,
    you can calculate the size of the box by the bone: PUBG - in the ESP (skeleton) WallHack [source of the following code],
    but in reality it is not so necessary

    Code:
    public void Draw3DBox(FMinimalViewInfo POV, AActor actor)
        {
            float l, w, h, o;
            l = 60f; w = 60f; h = 160f; o = 50f; //box size for standing player
         
            float zOffset = -100f;
         
            if (actor.Type == ActorTypes.Vehicle) //vehicles have a bigger box
            {
                zOffset = 50;
                l = 200f; w = 160f; h = 80f; o = 0f;
            }         
         
            //build box
            Vector3 p00 = new Vector3(o, -w / 2,0f);
            Vector3 p01 = new Vector3(o, w / 2, 0f);
            Vector3 p02 = new Vector3(o - l, w / 2, 0f);
            Vector3 p03 = new Vector3(o - l, -w / 2, 0f);
         
            //rotate rectangle to match actor rotation
            float theta1 = 2.0f * (float)Math.PI * (actor****tation.Y) / 180.0f;
            Matrix rotM = Matrix****tationZ((float)(theta1 / 2)); // rotate around Z-axis
         
            Vector3 curPos = new Vector3(actor.Location.X, actor.Location.Y, actor.Location.Z + zOffset);
            p00 = Vector3.TransformCoordinate(p00, rotM) + curPos;
            p01 = Vector3.TransformCoordinate(p01, rotM) + curPos;
            p02 = Vector3.TransformCoordinate(p02, rotM) + curPos;
            p03 = Vector3.TransformCoordinate(p03, rotM) + curPos;
         
            RawVector2 s00 = W2S(p00, POV);
            RawVector2 s01 = W2S(p01, POV);
            RawVector2 s02 = W2S(p02, POV);
            RawVector2 s03 = W2S(p03, POV);
            RawVector2[] square0 = { s00, s01, s02, s03, s00 };
         
            DrawLines(square0);
            
            // top rectangle
            p00.Z += h; s00 = W2S(p00, POV);
            p01.Z += h; s01 = W2S(p01, POV);
            p02.Z += h; s02 = W2S(p02, POV);
            p03.Z += h; s03 = W2S(p03, POV);
         
            RawVector2[] square1 = { s00, s01, s02, s03, s00 };
            DrawLines(square1);
         
            // upper/lower rectangles get connected
            DrawLine(new RawVector2(square0[0].X, square0[0].Y), new RawVector2(square1[0].X, square1[0].Y));
            DrawLine(new RawVector2(square0[1].X, square0[1].Y), new RawVector2(square1[1].X, square1[1].Y));
            DrawLine(new RawVector2(square0[2].X, square0[2].Y), new RawVector2(square1[2].X, square1[2].Y));
            DrawLine(new RawVector2(square0[3].X, square0[3].Y), new RawVector2(square1[3].X, square1[3].Y));
        }

    Code:
    public void DrawLines(RawVector2[] point0)
                {
                    if (point0.Length < 2)
                        return;
         
                    for (int x = 0; x < point0.Length - 1; x++)
                        DrawLine(point0[x], point0[x + 1],);
                }
    Hi friend, can you help me with this code?

  8. #6
    juice76849's Avatar
    Join Date
    Apr 2014
    Gender
    male
    Posts
    353
    Reputation
    10
    Thanks
    410
    Can you at least credit the guy from uc ?

  9. #7
    Blitzard's Avatar
    Join Date
    Jul 2017
    Gender
    female
    Location
    Im from Anywhere
    Posts
    23
    Reputation
    10
    Thanks
    4
    My Mood
    Aggressive
    Please, put the credit for the real creator and screen proof with functional code.


    "People who dont know how to use the codes, google it, stop to be lazy and receive eas things

  10. #8
    M.A1380's Avatar
    Join Date
    Jun 2016
    Gender
    male
    Posts
    32
    Reputation
    10
    Thanks
    77
    My Mood
    Bored
    Quote Originally Posted by Blitzard View Post
    Please, put the credit for the real creator and screen proof with functional code.


    "People who dont know how to use the codes, google it, stop to be lazy and receive eas things
    well we just retarded and don't know what shoud we search :|

  11. #9
    Zombie's Avatar
    Join Date
    Nov 2013
    Gender
    male
    Location
    Clearwater, Florida
    Posts
    412
    Reputation
    52
    Thanks
    91
    My Mood
    Happy
    Quote Originally Posted by M.A1380 View Post
    well we just retarded and don't know what shoud we search :|
    Then you literally shouldn't be on this forum lmao.
    Quote Originally Posted by thepieceofshit View Post
    i have another hack

    come pm on mpgh

    u press f1 you get dick in ur butt

  12. #10
    Blitzard's Avatar
    Join Date
    Jul 2017
    Gender
    female
    Location
    Im from Anywhere
    Posts
    23
    Reputation
    10
    Thanks
    4
    My Mood
    Aggressive
    Quote Originally Posted by M.A1380 View Post
    well we just retarded and don't know what shoud we search :|

  13. The Following User Says Thank You to Blitzard For This Useful Post:

    xsharptail (09-23-2017)

  14. #11
    Vqnishhh's Avatar
    Join Date
    Aug 2017
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    2
    How do you use im stupid yes just please help what do i use???

  15. The Following User Says Thank You to Vqnishhh For This Useful Post:

    felipehesper (05-05-2019)

  16. #12
    Snowpuff's Avatar
    Join Date
    Sep 2017
    Gender
    male
    Posts
    0
    Reputation
    10
    Thanks
    3
    no one tell him

  17. #13
    Vqnishhh's Avatar
    Join Date
    Aug 2017
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    2
    why im new but id love to get into it just tell me what to use to do it ill figure everything else out

  18. The Following User Says Thank You to Vqnishhh For This Useful Post:

    GamerRalf (3 Weeks Ago)

  19. #14
    Lolzyouz721's Avatar
    Join Date
    Sep 2017
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    1
    This code is a snippet and teaches you how to draw boxes around players, you need to complete the code to get your wall hack and even they you still need to bypass battle eye

  20. The Following User Says Thank You to Lolzyouz721 For This Useful Post:

    Xtiv3n (08-28-2018)

  21. #15
    TimeBandit56's Avatar
    Join Date
    May 2017
    Gender
    male
    Location
    Michigan
    Posts
    5
    Reputation
    10
    Thanks
    0
    My Mood
    Stressed
    Good find hopefully we can apply some anti-cheat to it and actally use it one day

Page 1 of 10 123 ... LastLast

Similar Threads

  1. [Source Code] FULL ESP Source Code
    By MarkHC in forum Call of Duty Modern Warfare 3 Coding, Programming & Source Code
    Replies: 31
    Last Post: 10-01-2012, 06:29 PM
  2. [Source Code] ESP hitbox source code
    By Maui_Hawaii_USA in forum Crysis 2 Hacks / Cheats
    Replies: 3
    Last Post: 06-07-2012, 10:05 PM
  3. [Release] CF 2D Boxes ESP Source Code ;)
    By -iFaDy..* in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 11
    Last Post: 03-28-2012, 02:38 PM
  4. Everyone created their own private esp from old source code?
    By Birdshit in forum Call of Duty Modern Warfare 3 Discussions
    Replies: 1
    Last Post: 11-11-2011, 02:35 AM
  5. [SOLVED] External Esp source code editing question
    By Demented420 in forum Call of Duty Modern Warfare 2 Help
    Replies: 6
    Last Post: 06-04-2010, 11:13 AM