CS2 External Overlay ESP Tutorial | C++

Поділитися
Вставка
  • Опубліковано 5 січ 2025

КОМЕНТАРІ • 154

  • @Piotruxon2373cpp
    @Piotruxon2373cpp 7 днів тому

    Hello, how to get dwLocalPlayer and dwPlayerPawn? Are they the same, in same files, or what?

  • @n9ne-o0
    @n9ne-o0 Рік тому +8

    Hey, cool video! I didnt get how i get the dwPlayerPawn and dwLocalPlayer, can you help me?
    in cs2 dumper i was only able to find and dwLocalPlayerPawn dwLocalPlayerController
    also the main.cpp should end with return 0; right (it was cut off)?

    • @n9ne-o0
      @n9ne-o0 10 місяців тому

      no sorry
      @@sxmrrz

    • @minecraftsupp
      @minecraftsupp 9 місяців тому

      u need a localplayerpawn this is same as localplayer

    • @carlgwastaken
      @carlgwastaken  9 місяців тому +2

      sorry for the late response, exactly. you should use the dwLocalPlayerPawn 90% of the time, since you can get the Origin of the player from the pawn, and not the controller (last i checked), but for the most part there isn't much of a difference.

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

      @@carlgwastaken so dwLocalPlayer and dwPlayerPawn is the same?

  • @kiryD
    @kiryD 5 місяців тому +7

    Where can I get memory.h?

  • @tobyslol
    @tobyslol Рік тому +2

    Hi! i have problem with "ImGui_ImplWin32_ShutDown();" at 10:30 where it says "identifier ImGui_ImplWin32_ShutDown(); is not defined"
    EDIT: fixed it but i have now problem in render.h where "ImU32" is not defined same as "ImVec2" and "IM_COL32"
    EDIT2: nvm fixed it

    • @FlyToHeaven
      @FlyToHeaven Рік тому

      hi how did you fix the problem with "ImGui_ImplWin32_ShutDown();" ?

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

      did this method ever end up getting you banned?

  • @Wrisx
    @Wrisx Рік тому +1

    thanks for making these vids bro they really help me

  • @SokaVR1
    @SokaVR1 21 день тому

    where exactly is the memory.h ive looked on your github but cant find it

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

    Need some help, it doesnt work for me ive updated the offsets but it just creates a window and displays nothing.

  • @saleh1925
    @saleh1925 9 місяців тому

    how can i text u for any help i get error with swapchain ?

  • @ERGE-ARK
    @ERGE-ARK Рік тому +1

    I’ve coded everything, 0 errors, but when I start it after a few seconds it shows a white screen and says the code .exe has crashed

    • @tobyslol
      @tobyslol Рік тому

      maybe wrong offsets

  • @jeppie3200
    @jeppie3200 8 місяців тому

    Hi so I got everything working the boxes are rendering but for some reason the Y of the box follows my cursor up and down and idk what to do anymore, could you/someone maybe help on this, I watched the video twice and I see no mistakes.

    • @Cyka-zd4jf
      @Cyka-zd4jf 8 місяців тому

      your w2s function is wrong then, remake it or learncpp

  • @TheForgottenOnestm
    @TheForgottenOnestm Рік тому

    Hello sir, I am getting a read access violation on the
    swap_chain->GetBuffer(0U, IID_PPV_ARGS(&back_buffer));
    the app keeps crashing, how do we fix this?

  • @Poerdel
    @Poerdel Рік тому

    WTS is not correct. the red boxes of entites are far away and if i look up or down the boxes get bigger.. they are not in the right place. all offsets are correct and I get perfect results in Vector3 and WTS but its not right translated 3d to 2d. any help :(

    • @carlgwastaken
      @carlgwastaken  Рік тому

      In my Updating your cs2 esp video, i show you another WTS function you can use, try that.

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

    Did it get taken off your github?

  • @CovenetL
    @CovenetL 9 місяців тому

    Hey it says swap_chain read access violation the window dosent properly start dosent show the esp

  • @muhvy-8556
    @muhvy-8556 9 місяців тому +1

    Hi I’m looking to create a esp working for ark survival ascended will this apply for that game also ?

    • @doo_kki
      @doo_kki 8 місяців тому

      No, and Ark ascended uses Kernel Level atni cheat so your gonna need a kernel driver that are hardass to make.

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

      @@doo_kki No, you would need a DMA device

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

      @@gksxyt Which is wrong. Don't spread misinformation-.

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

      it’s safer, not required though. a kernel driver is fine but you’re gonna have to actually learn to reverse engineer

  • @leiyin1998
    @leiyin1998 11 місяців тому

    thank your video.but i am confused that why to write (8*(playerIndex & 0x7FFF) >> 9)+16)

  • @savan3790
    @savan3790 Рік тому

    Hello, what should I do if I have 12 errors with an unresolved external symbol, all related to imgui, I have already checked everything I can, all libs, all includes, all code and all properties, I don’t know what the problem could be, are there any options?

    • @RealFlappy_
      @RealFlappy_ Рік тому +1

      If your imgui files have a red symbol next to them, select all of them in the solution explorer and include them into your project

    • @savan3790
      @savan3790 Рік тому

      I already did this, I don't understand what's wrong@@RealFlappy_

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

      @@RealFlappy_ holy shit bro thanks a million

  • @angesagt9936
    @angesagt9936 Рік тому

    somehow the box doesnt render.I have the updated offsets

  • @musarapio_hha
    @musarapio_hha 9 місяців тому

    if wanna add a bunny hop where can i state that?, what line number?

    • @zgtbx
      @zgtbx 6 місяців тому +4

      learn c++

  • @SubPad
    @SubPad Рік тому +2

    i did everything correct but if i start build i get 18 errors :|

    • @carlgwastaken
      @carlgwastaken  Рік тому +2

      Sorry to tell you, then you didn't do everything correct 🤷‍♂

    • @fuckbitchesgehmoney
      @fuckbitchesgehmoney 9 місяців тому

      ... then fix the errors?? its not hard lmao

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

      i get 18 too do you now a fix?

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

    When I build it it instantly crashes , what can be the cause?

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

      use the debugger and see where it crashes

  • @romancewastaken
    @romancewastaken Рік тому +3

    dang, kiddyboxer must of downloaded this video

  • @Brutal0420
    @Brutal0420 9 місяців тому

    how to fix the delay/lag?

    • @carlgwastaken
      @carlgwastaken  9 місяців тому

      optimize, turn off g sync and v sync.

  • @lmsnakezz
    @lmsnakezz Рік тому

    bro what the hell i got 159 errors and it says imgui has many errors. whyyy??? someone explain pls. Most of them are from Imgui

    • @jakes-dev1337
      @jakes-dev1337 Рік тому

      you didnt include them properly. rewatch.

  • @jiggy162
    @jiggy162 9 місяців тому

    how do i select a directory

  • @TheHeadphonesAreNeeded
    @TheHeadphonesAreNeeded 2 місяці тому

    where can i get memory.h

    • @carlgwastaken
      @carlgwastaken  2 місяці тому

      my github, github.com/carlgwastaken

  • @atomiapx
    @atomiapx Рік тому

    Hey, came across your video while trying to find a way to fix esp lag?
    If you know way please lmk

  • @bi0s1337
    @bi0s1337 Рік тому +2

    Nice video! Thanks for it. Next step: Convert it to a driver and read the memory from there for more secure? xD

    • @carlgwastaken
      @carlgwastaken  Рік тому +3

      Something like that coming up soon, thanks for the idea though!

    • @bi0s1337
      @bi0s1337 Рік тому

      @@carlgwastaken Nice!!!

    • @sipo-x
      @sipo-x 10 місяців тому

      No need for a driver. VAC is usermode and if you're external, to avoid being detected you can hijack a handle and the rest is just common sense and it also applies to drivers.

  • @kubenq
    @kubenq 10 місяців тому +1

    How to make glow hack like in old csgo?

    • @chapparon7024
      @chapparon7024 10 місяців тому

      With the entity sensor offset.

    • @kubenq
      @kubenq 10 місяців тому

      But I see no one is doing this, in the free cheats there is not even a Glow option, only ESP I chams why?@@chapparon7024

    • @carlgwastaken
      @carlgwastaken  9 місяців тому

      vac ban is almost guaranteed.

    • @fuckbitchesgehmoney
      @fuckbitchesgehmoney 9 місяців тому

      I am using a driver to read/write memory here, so you will probably get banned if you use the winapiz
      for (auto i = 0; i < 64; i++)
      {
      uintptr_t entity_list = driver::read_memory(driver, client + client_dll::dwEntityList);
      if (entity_list == 0)
      continue;
      uintptr_t list_entry = driver::read_memory(driver, entity_list + (8 * (i & 0x7FFF) >> 9) + 16);
      if (list_entry == 0)
      continue;
      uintptr_t player = driver::read_memory(driver, list_entry + 120 * (i & 0x1FF));
      if (player == 0)
      continue;
      uint32_t player_pawn = driver::read_memory(driver, player + CCSPlayerController::m_hPlayerPawn);
      uintptr_t list_entry2 = driver::read_memory(driver, entity_list + 0x8 * ((player_pawn & 0x7FFF) >> 9) + 16);
      if (list_entry2 == 0)
      continue;
      uintptr_t p_cs_player_pawn = driver::read_memory(driver, list_entry2 + 120 * (player_pawn & 0x1FF));
      if (p_cs_player_pawn == 0)
      continue;
      if (glow_toggle)
      {
      driver::write_memory(driver, p_cs_player_pawn + C_CSPlayerPawnBase::m_flDetectedByEnemySensorTime, 100000.f);
      }
      else
      {
      driver::write_memory(driver, p_cs_player_pawn + C_CSPlayerPawnBase::m_flDetectedByEnemySensorTime, 0.f);
      }

  • @mariobabic9326
    @mariobabic9326 10 місяців тому

    it doesnt get all players in deathmatch. there is always a constant number of players in a deathmatch which can be seen throug the wall and the rest cant be seen.

    • @zebra163
      @zebra163 10 місяців тому

      maybe you have more than 32 players in math? if yes you need to change playerIndex in for loop from 32 to 64 for example

    • @carlgwastaken
      @carlgwastaken  10 місяців тому

      it's good practice to loop through 64 players like @zebra163 said, the reason i didn't is because my pc is bad, and i didn't want to put extra stress on it :)

    • @mariobabic9326
      @mariobabic9326 10 місяців тому +1

      @@carlgwastaken i already changed it to 64. then i realized that i have a team filter which is active in deathmatch. but in deathmatch u can also shoot players from your team

    • @Kutila622
      @Kutila622 10 місяців тому

      @@carlgwastaken Is this video and the logic with offsets and entities still working ? Because i think the m_VeOrigin is now _vOldOrigin.. Also i don't find dwLocalPlayer but DwLocalPlayerController, and PlayerPawn is LocalPlayerPawn for me with the dumper.

    • @carlgwastaken
      @carlgwastaken  9 місяців тому

      yea, they've changed the origin name 2 times now i think since release, also yea you should always get localPawn

  • @oxez_xd2159
    @oxez_xd2159 5 місяців тому +2

    its work now ?

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

      if you update offsets yes

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

    is it working still?

  • @Vrxcy
    @Vrxcy 11 місяців тому

    I keep getting this error, ive used the same imgui release as you and tried to define it myself but it wont work.
    #error Please '#define IMGUI_DEFINE_MATH_OPERATORS' _BEFORE_ including imgui.h!
    can anyone help?

    • @gauxalot
      @gauxalot 10 місяців тому

      the error is telling you what to do

    • @carlgwastaken
      @carlgwastaken  9 місяців тому +4

      genuinely crazy, it tells you what to do to fix the error. just do that.

  • @iMagine-rp7ed
    @iMagine-rp7ed Рік тому

    been trying to make dx11 device contexts but they just aint work
    D3D11CreateDeviceAndSwapChain fails with 0x887a0001 which translates to
    "The application provided invalid parameter data; this must be debugged and fixed before the application is released."
    i double checked that part and it just wont do.. ill see what magic i must cast to fix this

    • @carlgwastaken
      @carlgwastaken  Рік тому

      Are you building in Release? Also make sure you include d3d11.lib inside your library input.

    • @iMagine-rp7ed
      @iMagine-rp7ed Рік тому

      i got the lib included yes, im looking at imgui official examples right now to see if theres something different.
      it should build regardless if i got release or debug cuz i applied settings in all cfgs.
      i could just grab the official example and add some transparency functions inbetween to make it seethru or etc - but this is not what i need.
      I need to create a dx11 ctx in a legitemate window.

    • @carlgwastaken
      @carlgwastaken  Рік тому

      If you're not using the used implementation in the video then i'm sorry but i can't help you, if you're having problems using the exact code in the code then you coded something wrong.@@iMagine-rp7ed

    • @iMagine-rp7ed
      @iMagine-rp7ed Рік тому

      understandable i just got it working. thanks for the attention anyway

    • @KernelCommander
      @KernelCommander Рік тому

      what did you do to fix this? I am having an issue on swap_chain->GetBuffer() because swap_chain is nullptr. but we deliberately set it as nullptr. im confused.@@iMagine-rp7ed

  • @scahrahmoosh
    @scahrahmoosh 9 місяців тому +1

    make new video on CS2 ESP with new cs2-dumper file

    • @carlgwastaken
      @carlgwastaken  9 місяців тому

      everything you need to find is still there, i found m_iHealth in about 10 seconds (0x334)

    • @scahrahmoosh
      @scahrahmoosh 9 місяців тому

      @@carlgwastaken this code is not work prf

    • @DrLifeGamer
      @DrLifeGamer 9 місяців тому

      @@carlgwastaken they removed the dwLocalPlayer offset though so it doesn't work anymore

    • @DrLifeGamer
      @DrLifeGamer 9 місяців тому

      @@carlgwastaken everything else works fine though its just that the dwLocalPlayer doesn't exist anymore for some reason

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

      @@DrLifeGamer name changed, to localplayerpawn or something like that

  • @pumpkinferret
    @pumpkinferret Рік тому

    Hey Asver! I think this is a great tutorial, and I did end up getting a box to render, but it isn't rendering on players, and is only rendering a box in the same random spot in the world. I think my main problem is I'm not sure I quite understand how this whole "pawn" thing works or how the new entitylist system works now. If you could maybe provide some insight on how it works, that would be great. Thanks

    • @carlgwastaken
      @carlgwastaken  Рік тому +2

      Hey, so probably an issue with either your Origin offset, which is 0x1224 (right now)
      so about the "pawn thing", the way the game works is it's in a struct and you're basically acessing them through different entities / offsets, anyways you can take a look at the cs2 dumper on github made by a2x, you can also go check on unknowncheats.
      I was also very confused by this when it was released, and even now i can see that i made some mistakes in this video (performance wise), anyways. good luck.
      Position of the player is obtained through pCSPlayerPawn (latest i checked)

    • @HackingStuffIDontKnow
      @HackingStuffIDontKnow Рік тому

      @@carlgwastakenhad the same issue and it was the origin offset thanks

    • @pumpkinferret
      @pumpkinferret Рік тому +1

      @@carlgwastaken Alright, thanks for your help. I’ll check it out once I get home later tonight. The program seemed to only spawn 1 rect, so I’m not sure if it only looped through the for loop once. It could’ve also placed all the rectangles on top of each other so I couldn’t tell if there were just 1 or multiple.

    • @pumpkinferret
      @pumpkinferret Рік тому

      @@carlgwastaken Hey, I finally got home and had a look. Somehow, it seems I managed to get all the right offsets. I feel like it has something to do with the listentries and the playerIndex. I'll do some tinkering and see if I can get anything to work.
      I take that back. I had added the wrong offset on the origin vector, but I got it fixed now. Thanks for your help again!

    • @n9ne-o0
      @n9ne-o0 Рік тому +1

      i dont get how i get the dwPlayerPawn and dwLocalPlayer, can you help me ? @@pumpkinferret

  • @MortykManu
    @MortykManu 5 місяців тому +1

    can you add an esp repository to ur github?

  • @jacobpsutka5844
    @jacobpsutka5844 8 місяців тому +1

    Reading these comments for help is funny asf

  • @Elitez.Editz911
    @Elitez.Editz911 8 місяців тому

    How are u meant to set up visual studios cause i dont know how you get on the Solution Explorer to actually create the files

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

      go to the 3rd tab at the top "view" i think and there the 3rd thing

  • @hmangamingonlinemackinem1069
    @hmangamingonlinemackinem1069 11 місяців тому

    How does somthing like this get detected ?

    • @carlgwastaken
      @carlgwastaken  11 місяців тому

      Signatures

    • @mansonair88
      @mansonair88 10 місяців тому

      what do you mean by Signatures?@@carlgwastaken

    • @carlgwastaken
      @carlgwastaken  9 місяців тому

      running the same exe file as other people, aka if alot of people use the same exe, then enough people get detected using the cheat, the exe signature gets detected and everyone using the same exe gets banned.

  • @edy1219
    @edy1219 2 місяці тому

    Is this detected?

  • @Skyzz1_1
    @Skyzz1_1 Рік тому

    bro you need more subs you have made a full external overlay esp

  • @LuisFelipe-zl8hp
    @LuisFelipe-zl8hp 4 місяці тому

    is it safe to use, do i need a bypass?

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

      You need go in kernel mode if you want be safe

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

      yes is safe to use. Bypass is memory.h Thank me later

  • @irakaz-
    @irakaz- Рік тому

    hey i have error The program '[8124] csgo.exe' exited with code 0 (0x0).
    Can u help me pls

  • @ikwy4382
    @ikwy4382 Рік тому +2

    Cool video! Not bad explained! Few of this was copy pasted, but you tried to explain it! More of these please

  • @sazzy94
    @sazzy94 Рік тому

    bro i get an error where it says: name followed by '::' must be a class or a namespace name, when i put the offset in the code

    • @reconskull258
      @reconskull258 11 місяців тому

      because you don't have a name space for the offsets

  • @barisic4
    @barisic4 8 місяців тому

    Can u make BHOP please

    • @carlgwastaken
      @carlgwastaken  8 місяців тому

      you can check cazz' video on his driver, he shows a bhop later

    • @barisic4
      @barisic4 8 місяців тому

      @@carlgwastaken Here I watched his video, thanks for the suggestion, but BHOP doesn't work perfectly for him either. I can send you a screenshot of the code programmed for BHOP by email or on discord so you can take a look, I also looked on the internet and it seems to me that a perfect BHOP cannot be made in CS2, if you can I would be very grateful.

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

      @@barisic4hydrocheats made one externally

  • @YORRO
    @YORRO Рік тому +2

    in main.cpp row 55 Memory is undefined pls help asap

    • @malborboss
      @malborboss 10 місяців тому

      Listen carefully what he says at 1:25

    • @LevPlayTOP1GG
      @LevPlayTOP1GG 9 місяців тому

      @@malborboss what he says? I don't understand. Where find memory.h?

    • @jewonthecanoe
      @jewonthecanoe 9 місяців тому

      ⁠​⁠@@LevPlayTOP1GGAre you serious?

    • @LevPlayTOP1GG
      @LevPlayTOP1GG 9 місяців тому

      @@jewonthecanoe yes

  • @LuckyStore2024
    @LuckyStore2024 10 місяців тому

    why its says no find offsets.h

  • @samuraiscripts
    @samuraiscripts Рік тому

    hey thanks for making it mate ima try to do it later since c++ seems nice for me

  • @Mediacy1
    @Mediacy1 Рік тому

    Hey man great video. I had the same issue with the vecOrigin and its fixed now, but I am having problems with it rendering on myself even though im checking that before I draw the boxes.

  • @randomstuff6126
    @randomstuff6126 9 місяців тому

    what the sigma

  • @1Exoticc
    @1Exoticc Рік тому

    hi so can u make one for roblox???

    • @fuckbitchesgehmoney
      @fuckbitchesgehmoney 9 місяців тому

      lmfaoooo

    • @DrLifeGamer
      @DrLifeGamer 9 місяців тому

      roblox is 10000x harder, their anticheat is made by the same devs as riot vanguard which is known to be the strongest anticheat in the world. nobody has been able to crack through roblox's anticheat so far for lua execution and they likely won't ever

    • @fuckbitchesgehmoney
      @fuckbitchesgehmoney 9 місяців тому

      @@DrLifeGamer "they likely won't ever" is just flat wrong. There has already been developers who have been able to do it.

    • @DrLifeGamer
      @DrLifeGamer 9 місяців тому

      @@fuckbitchesgehmoney I know I was just trying to crush their dreams

    • @Extravi
      @Extravi 8 місяців тому

      @@DrLifeGamerAlso, the owner of Byfron was an ex-NSA.

  • @matt-eu1sb
    @matt-eu1sb 6 місяців тому +2

    just pasting didnt go through it terrible

  • @starseed-g3z
    @starseed-g3z 11 місяців тому +1

    can you make one for fortnite

  • @soulxslayerchan
    @soulxslayerchan Рік тому +1

    skill issue? can't aim? can't hear enemies?

    • @巾
      @巾 11 місяців тому +6

      no its actually just interesting to learn coding n that

    • @soulxslayerchan
      @soulxslayerchan 11 місяців тому

      @@巾 you must be 12 or something hahaha

    • @巾
      @巾 11 місяців тому +3

      @@soulxslayerchan im not but the way u type and judging by ur user name im pretty sure ur the 12 yo

    • @ADarnSmore
      @ADarnSmore 10 місяців тому +1

      skill issue? can't code? scared of knowledge?

    • @soulxslayerchan
      @soulxslayerchan 10 місяців тому

      @@ADarnSmore i'm already great at coding and cs. so jokes on you kid.

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

    Cant get the esp boxes to show up, i am able to get them to show up by calling the render function and inputing some values, i have checked my offsets with another cheat and cs2 dumper and they check out real bummer, here are my offsets if anyone is wondering
    constexpr std::ptrdiff_t dwLocalPlayer = 0x1810FA8;
    constexpr std::ptrdiff_t dwEntityList = 0x19A63A0;
    constexpr std::ptrdiff_t dwViewMatrix = 0x1A085A0;
    constexpr std::ptrdiff_t m_iHealth = 0x324; // int32
    constexpr std::ptrdiff_t dwPlayerPawn = 0x7DC; // CHandle
    constexpr std::ptrdiff_t m_iTeamNum = 0x3C3; // uint8
    constexpr std::ptrdiff_t m_vecOrigin = 0x1274; // CNetworkOriginCellCoordQuantizedVector

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

      update i followed another tutorial that used a template and got it working this tutorial is great i probably just messed something up

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

      @@poken9293 which tutorial did you watch?

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

      @@presli481_
      HOW TO MAKE CS2 WALLHACK - External Box ESP Cheat Tutorial
      kxbra

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

      for anyone reading this the esp from that video is a bit more laggy so i combined the memory reading from that one and the overlay from this one and got a great result