CS2 External ESP/AIMBOT in C# .NET! With ImGui! | Part 3 - Coding the ESP 🥵 [ Tutorial ]

Поділитися
Вставка
  • Опубліковано 29 тра 2024
  • #swedz #csharp #cs2
    And we are back on the Counter-strike 2 external series grind 💪 With the third installment, coding the ESP 😮.
    📺 Video Overview:
    And my favorite fan base is at it again, perfect as always ❤️ Today we will take a big step in the series by creating the actual ESP. It will contain different features that can be adjusted at run time using our ImGui menu 🎨. You will learn two methods to finding the view-matrix in cs 2 by using knowledge about the view-matrix in DirectX. Then when we have found the needed offsets we will carry on to code all of the functions that will finally draw 3d positions on the 2d screen. This part is probably the most knowledgeable and if you can you pull this off just imagine what you can go on an create in the future😉
    Key features 🔥
    - Finding team-num offset
    - Finding the view-matrix
    - Create overlay
    - Create customizable ESP colors
    - Reading the view-matrix
    - Create the world to screen function
    - Convert 3d objects to 2d ones
    - Drawing shapes on screen
    🎉 Subscribe and Stay Tuned:
    Don't miss out on future tutorials and programming tips! Subscribe to our channel and hit the notification bell to stay updated with our latest content.
    🙌 Have Questions or Feedback?
    We're here to help! Drop your questions and thoughts in the comments section below. Let's learn, code, and innovate together.
    Follow along with our easy-to-understand instructions and take your game hacking and memory manipulation skills to the next level. Whether you're interested in game development or just want to enhance your gaming experience, this tutorial has something for everyone.
    Here is the byte array that we used in method 1 of finding the view-matrix:
    FB 78 11 3F 0C EA FC BE B8 55 0D 33
    this should work as long as there is not a significant change to the engine 😎
    [ Timestamps ⌚]
    0:00 Introduction
    1:31 Showcase
    2:44 Tutorial starts
    3:25 Finding the team num
    6:05 Finding the view-matrix, method 1
    7:29 Finding the view-matrix, method 2
    12:14 Back to coding
    12:30 Fixing offsets
    13:11 Class variables
    16:00 Adding more attributes to entity class
    17:47 Grouping teammates and enemies
    18:09 Calculate window variables
    19:17 Drawing menu with tabs
    21:22 Creating overlay
    22:31 View-matrix class
    23:05 Reading the view-matrix
    23:50 World to screen function
    26:10 Fixing update entity to hold 2d positions
    27:32 Drawing visuals
    33:16 ESP loop
    34:10 Fixing errors
    37:25 Testing results
    [ Links 🖱️]
    Become a member and use exclusive emotes/emojis!:
    / @swedishtwat
    Subscribe to the channel: ua-cam.com/channels/4et.html....
    Discord : / discord
    Part 1: • CS2 External ESP/AIMBO...
    Part 2: • CS2 External ESP/AIMBO...
    All parts : • Counter strike 2 C# .N...
    [ Credits ✨]
    you guys ❤️
  • Ігри

КОМЕНТАРІ • 84

  • @sambatt6612
    @sambatt6612 Місяць тому

    Is this tutorial work with others 3d fps game? Or just cs go

  • @TheDvd3000
    @TheDvd3000 7 місяців тому

    This stuff is hella interesting to me

  • @leonardoreis674
    @leonardoreis674 7 місяців тому +1

    Just passing by to say that your videos are insane, keep going, much better than a paid course. I would like to know how you learned and how can I continue learning about it?

    • @SwedishTwat
      @SwedishTwat  7 місяців тому +2

      I learned most of my stuff on my own with the free resources available online, but also by solving the problems that the viewers suggest I solve 🙂 Almost everything comes down to basic memory reading/writing and then logic, it's really not much more to my craft.

  • @user-pz3ve6dl8h
    @user-pz3ve6dl8h 7 місяців тому

    It seems like m_Crosshair is missing. I made a work around by comparing ent 2d absposition to the local player screen origin (1920/2, 1080/2) with a range so it doesn't have to be a specific pixel. It works but not as well as I want it. Ik that m_Crosshair has to exist somewhere or something equivalent. Do you know how I might get it?

    • @SwedishTwat
      @SwedishTwat  7 місяців тому

      Haven't used any m_crosshair, what are you trying to create?

    • @user-pz3ve6dl8h
      @user-pz3ve6dl8h 7 місяців тому

      @@SwedishTwat I was trying to just make a trigger bot. When you use m_CrosshairID in csgo it would give you the entity id of the thing your crosshair is looking at. So if your aiming at a player it would return a value 1-64 and you could tell your program to click. I know it still has to exist because when you aim at your teammate rn it puts an X on your crosshair. (Sorry I left out a lot in my last comment. When I typed it the first time it was so long so I shortend it lmao.)

  • @de_stmarc
    @de_stmarc 7 місяців тому +3

    only orphans use hack

  • @vnega89
    @vnega89 6 місяців тому

    Wait this part client = swed.GetModuleBase("client.dll"); aint working i get a System.InvalidOperationException error help?
    Also anyway to change the ImGui menus look

  • @alexplazrblx7855
    @alexplazrblx7855 3 місяці тому

    can when i tried the code it just shows my esp box. Help??

  • @anilrauber
    @anilrauber 6 місяців тому +1

    i followed exactly what you did but my esp appears behind my player and moves relatively to my mouse.

  • @susboy8476
    @susboy8476 4 місяці тому

    WHERE DID YOU GET THIS VALUE, FB 78 11 3F 0C EA FC BE B8 55 0D 33, I SEARCHED AND CAN'T FIND ANYTHING, WHAT COULD BE MISSING?

    • @susboy8476
      @susboy8476 4 місяці тому

      byte array not working

  • @ThePirateHistory
    @ThePirateHistory 7 місяців тому

    Can you tell me pls, how to make cheats for browser game that written in JavaScript, where i should start digging?

  • @WzrterFX
    @WzrterFX 7 місяців тому

    bro will there be bhope function in the cheat?)
    I know that it is done with m_fFlags, but it doesn’t work for me(

    • @SwedishTwat
      @SwedishTwat  7 місяців тому +1

      I don't think in this series we will have that, but later prob🙂. You can check the bytes inside of the m_fFlag, it might be hidden a bit.

  • @Snpss
    @Snpss 7 місяців тому

    It currently does not adapt to crouched players as a viewoffset is used for abs. We'd probably need to get to bonematrix in order to get an accurate box. Anyone figured how to get from BaseEntity to the bone matrix?

    • @SwedishTwat
      @SwedishTwat  7 місяців тому

      we are simulating the height of the boxes from the usual value of a character when they are standing (65). you can find the view-offset nearby the origin offset and use that to determine the height. You don't really need the bones to set the height, but yeah it might give the exact height of the entity.

    • @Snpss
      @Snpss 7 місяців тому +1

      @@SwedishTwat You're right, we don't. But if a player gets in crouched position you'll think he'll still be standing as the box's height will remain the same, that's all I'm saying.
      By the way, I've noticed a bug where entity list won't update after a new player joins a match. Has anyone had a similar issue?

  • @alexplazrblx7855
    @alexplazrblx7855 3 місяці тому

    you should make a yt vid for hwid lock so other people dont get there hands on you cheats

  • @tobyslol
    @tobyslol 5 місяців тому

    did everything correctly even fixed the code at the end but it just doesnt work. do you think i have the wrong matrix offset?
    edit: fixed it but the line and these things are not attached to enemy

    • @SwedishTwat
      @SwedishTwat  5 місяців тому

      hmm 🤔 are your resolution values correct? Check that the window size and location is correct.

    • @tobyslol
      @tobyslol 5 місяців тому

      yeah its correct its just that the box and this is always in a random building on dust2 and its just not attached to enemy@@SwedishTwat

    • @tobyslol
      @tobyslol 5 місяців тому

      i asked for help on your server and one guy said that this video is outdated so it doesnt work@@SwedishTwat

  • @sulfuricacid-
    @sulfuricacid- 7 місяців тому

    When I run it all of the lines are in the same position, ontop of each other and when i move my camera they bug out, what's the problem?

    • @SwedishTwat
      @SwedishTwat  7 місяців тому

      sounds like you are getting the entity positions but the transformation to 2d is failing, check that the worldtoscreen function is correct and the drawvisuals too. I have provided an overview of the functions at the end of video, before the showcase of the results that should help! 🫡

    • @sulfuricacid-
      @sulfuricacid- 7 місяців тому +1

      ​@@SwedishTwat it is still not working, I'm not sure why as ive followed through the end multiple times, and cannot find errors now, but it is still going wrong

    • @chrismc6850
      @chrismc6850 5 місяців тому

      Sounds like you have the wrong Matrix address. Same thing happened to me until I found the right one!

  • @goozjeesh46
    @goozjeesh46 7 місяців тому

    hey man when you zoom out so much it makes it hard to see so if you could zoom in a little bit that would be cool. also why u need to speed it up?

    • @SwedishTwat
      @SwedishTwat  7 місяців тому

      Zoomed in the next episode🫡, we speed the video up because it would be way too long without it and scare a lot of people away 😉

    • @goozjeesh46
      @goozjeesh46 7 місяців тому

      @@SwedishTwat thanks for the explanation! i get that, i used to see the length of a video be 2 hours and just think that i wouldnt be able to do it.

  • @myfishisfish3007
    @myfishisfish3007 7 місяців тому

    ok man ,,KEEP YOUR SELF SAFE"

  • @Abdo-GM-999
    @Abdo-GM-999 6 місяців тому

    Can this method be done on a phone?

    • @SwedishTwat
      @SwedishTwat  6 місяців тому

      no

    • @Abdo-GM-999
      @Abdo-GM-999 6 місяців тому

      @@SwedishTwat Is it possible to source a hack for the game Subway?

  • @rynzuki
    @rynzuki 7 місяців тому

    Amazing again looking forward to the next part

  • @Nekx86
    @Nekx86 7 місяців тому +1

    PERFECT

  • @fireboxtales
    @fireboxtales 7 місяців тому +1

    please next time , discuss about entitiy list in mmorpg like a bot or something

  • @Zaptine
    @Zaptine 7 місяців тому

    Great video as always keep up the great work and get more talent into the cheating niche !

  • @splxshVFX
    @splxshVFX 6 місяців тому

    all my code is right none of the viusals are showing

    • @user-mp2qg9ro2e
      @user-mp2qg9ro2e 5 місяців тому

      Do you have up to date offsets

    • @chrismc6850
      @chrismc6850 5 місяців тому

      Probably wrong Matrix address being used.

  • @DarkHvH2
    @DarkHvH2 7 місяців тому

    Do u think that this method of making a esp can work on games with antichsat (if so i will search for a dump online ) for exaple destiny 2, unterned etc

    • @SwedishTwat
      @SwedishTwat  7 місяців тому +1

      Please do not test this method on a game with an anti-cheat, you are probably going to be banned. I chose cs2 specifically because they have the -insecure option available.

    • @DarkHvH2
      @DarkHvH2 7 місяців тому

      @@SwedishTwat shh nobody will know we are talking here soo how can I bypass dem anti cheats 👀

    • @Villager_U
      @Villager_U 7 місяців тому

      ​​@@DarkHvH2get gud i guess

    • @DarkHvH2
      @DarkHvH2 7 місяців тому

      @@Villager_U men vad da faq

    • @nullifiedpntr
      @nullifiedpntr 7 місяців тому

      you can bypass kernel level anticheats by making your own kernel driver that can get module address and that can read/write memory.@@DarkHvH2

  • @rbeatzremixs2018
    @rbeatzremixs2018 7 місяців тому +1

    This is sad fr ...

    • @spriteman1925
      @spriteman1925 7 місяців тому

      Bro shut up i literally have no plans of using it online because i dont wanna get vac banned plus it wouldnt be fun im trying to make a bo1 zombies trainer

  • @morik777
    @morik777 7 місяців тому +2

    Now
    EntityList = 0x16A56A0
    localPlayer = 0x1877CF8
    viewMatrix = 0x18787E0

    • @SwedishTwat
      @SwedishTwat  7 місяців тому +1

      The savior we need 🫡

  • @xKaiser47
    @xKaiser47 7 місяців тому +1

    silvers

  • @karlsson9520
    @karlsson9520 7 місяців тому

    L33T 👌

  • @alexb5953
    @alexb5953 7 місяців тому +1

    Daddy

  • @irizkyw
    @irizkyw 7 місяців тому

    daddy

  • @Sweet-gm3ig
    @Sweet-gm3ig 7 місяців тому

    it cost me several hours of watching your video on how to make esp for l4d2

  • @DarkHvH2
    @DarkHvH2 7 місяців тому

    W video can u make a smoothing aimbot guide pwease >.< (jesus please forgive my sins)

  • @Ainigma
    @Ainigma 7 місяців тому +9

    Amazing, now can you please delete all Videos that are related to cheating in CS2? The uprising cheating-community leaves a permanent mark on esport gaming.

    • @dmgg8917
      @dmgg8917 7 місяців тому

      I don't even know why cheaters even bother. Just git gud fuckin cheaters

    • @naivejulian9532
      @naivejulian9532 7 місяців тому +2

      bahahahaha =))

    • @dmgg8917
      @dmgg8917 7 місяців тому

      @@naivejulian9532 username checks out

    • @nathanbarratt9161
      @nathanbarratt9161 7 місяців тому +1

      Meh, it falls on the shoulders of Valve (literally one of the biggest devs in the world) to ensure their anticheat actually works.

    • @rkrb3112
      @rkrb3112 7 місяців тому

      Nah these videos are the reason why valve needs to start working on their anticheat showing the vulnerabilities

  • @vilounos
    @vilounos 6 місяців тому +1

    Hello! I have a problem :( Can you send me your discord link please? I didn't find it.

  • @mr-jhrox
    @mr-jhrox 7 місяців тому

    Top G ❤😂

  • @SophiaNhya
    @SophiaNhya 7 місяців тому

    CS2 External ESP/AIMBOT in C++! With ImGui! | Part 3 - Coding the ESP 🥵 [ Tutorial ]