GithubHelp home page GithubHelp logo

imxnoobx / cs2-external-esp Goto Github PK

View Code? Open in Web Editor NEW
220.0 220.0 51.0 411 KB

Simple external esp using discord's/gdi overlay to render a box-esp on top of Counter-Strike 2, highlighting your enemies and teammates including their health.

License: Other

C++ 99.80% Python 0.20%
cheat counter-strike counter-strike-2 cs2 esp external hack

cs2-external-esp's Introduction

imxnoobx

"I'm ready to learn"

About Me

🌱 Currently Learning: I'm on a journey to learn game hacking and reverse engineering but im still a newbie.

πŸš€ Goals:

  • 2021 Goals: Achieved! I've been dedicated to continuous learning and have made significant progress.
  • 2022 Goals: My aim is to further enhance my skills and knowledge. I'm particularly focused on automating my social media accounts using Node.js.
  • 2023 Goals: Learn game hacking and work on many side projects!
  • 2024 Goals: Finish my biggest projects until now and develop many many more!

Projects in Progress

fstick:         "[β– β– β– β– β–  β– β– β– β– β–  β– β– β– β– β–  β– β– β– β– β–  β– β– β– β– β–  β– β– β– β– β–  β– β– β– β– β–  β–‘β–‘β–‘β–‘β–‘ β–‘β–‘β–‘β–‘β–‘ β–‘β–‘β–‘β–‘β–‘] 70%"
future_project: "[β– β– β– β– β–  β– β– β– β– β–  β– β– β– β– β–  β– β– β– β– β–  β– β– β– β– β–  β– β– β– β– β–  β– β– β– β– β–  β– β– β– β– β–  β– β– β– β–‘β–‘ β–‘β–‘β–‘β–‘β–‘] 85%"
ghost:          "[β– β– β– β– β–  β– β– β– β– β–  β– β– β– β– β–  β– β– β– β– β–  β– β– β– β– β–  β– β– β– β– β–  β– β– β– β– β–  β– β– β– β– β–  β– β– β– β– β–  β–‘β–‘β–‘β–‘β–‘] 90%"
irl:            "[β– β– β– β– β–  β– β– β– β– β–  β–‘β–‘β–‘β–‘β–‘ β–‘β–‘β–‘β–‘β–‘ β–‘β–‘β–‘β–‘β–‘ β–‘β–‘β–‘β–‘β–‘ β–‘β–‘β–‘β–‘β–‘ β–‘β–‘β–‘β–‘β–‘ β–‘β–‘β–‘β–‘β–‘ β–‘β–‘β–‘β–‘β–‘] 20%"

Stats

My workspace

Languages

Social

Discord

Donations

If you want to support any of my projects, you can do it here <3

Donate Donate

cs2-external-esp's People

Contributors

ant0n-0x0000 avatar auzgame avatar bekston avatar budddwyer-0x00 avatar catchysmile avatar elongaties avatar fariklol avatar ifbars avatar imxnoobx avatar ixve avatar kwaytv avatar leocdi avatar microgame0 avatar notcpuid avatar tkqu avatar tucucu avatar xfwil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cs2-external-esp's Issues

improved protection

soon this source code will be noticed by vac to prevent this, you must change the way handle_ = OpenProcess(PROCESS_VM_READ, FALSE, pid_)); change the way to NtOpenProcess it opens handle_ from ring0 and this way of handle is unnoticed by vac (memory.cpp 79,107)

Fix please

Allow us to turn off the team overlay. Tell us how to make the overlay fps better (maybe use imgui) and how to make it show on all players, maybe even give it a gui

It doesn't work on my computer,

It doesn't work after compiling and running. I still ran it as an administrator. The game is also in full-screen window. Windows version is home version 22h2,Does it have anything to do with it?

Skeleton ESP cause crash

When I turn on Skeleton (F8), the ESP work for a few seconds (competitive) before crashing. In practice mode, the esp work for about 1-2 minutes then crash.

Exception thrown at 0x00007FF70DD39D15 in cs2-external-esp.exe: 0xC0000005: Access violation reading location 0x0000000000000008.

FindSignature

Hi,
I wanted to use findsignature with your library. Can you give us some example? maybe read to client.dll like entityList.

Thank you!

Functions

Maybe add new functions to config? Like enabling skeleton esp, rounded box and how much rounded(i tested it but i cant normally code, when u are on bigger distance then rounded is more, idk how to fix it), make more beautiful and maybe add what weapon equiped?

Shield Bug

The shield with the new offsets is broken because it goes upwards of kilometers

Armor values

Armor value seems to be attached to another value and it is showing another output,
image

update_offsets.py error

Every time i open the file update_offsets,py in the offsets folder i get this error

Traceback (most recent call last):
File "C:\Users\Utente\Desktop\dll injector\cs2-external-esp-main\offsets\update_offsets.py", line 36, in
dest_data["dwBuildNumber"] = source_data["engine_2dll"]["data"]["dwBuildNumber"]["value"]
KeyError: 'engine_2dll'

Head

Add the option to enable/disable Head circle

Discord version sometimes stop working

Hello, I'm using discord version of ur project cuz nvidia is lagging for me but I have one problem with it - sometimes stop working for like 30s. It looks like it stops after me or oponent throw nade. I added prints to ur code to see when it stops and looks like somewhere here

if (screenpos.z >= 0.01f) {
	printf(" here3?\n\n", head);
	OverlayCord::Drawing::Pixel health_color = { 75,
		(unsigned char)(55 + playerHealth * 2),
		(unsigned char)(255 - playerHealth),
		255
	};
	printf(" here4?\n\n", head);
	OverlayCord::Drawing::DrawRectangle(
		mainFrame,
		screenhead.x - 25.f,
		screenhead.y,
		width,
		height,
		(localTeam == playerTeam ? team_color : enemy_color)
	);
	printf(" here5?\n\n", head);
	OverlayCord::Drawing::DrawRectangle(
		mainFrame,
		screenhead.x - 30.f,
		screenhead.y + (height * (100 - playerHealth) / 100),
		2,
		height - (height * (100 - playerHealth) / 100),
		health_color

	);
	printf(" tu6?\n\n", head);
}

Sometimes it stops on "here4?" but if i hash it then it stops after "here5?" Whats wrong here? Can u help?

New game update

Can you please supply me a new offsets.json update for the new game version as i cant work out how to update it myself.

when i run the script it says the build number is upto date but the esp doesnt show up

Updating Offsets Issue

There seems to be an issue pertaining in the way that the cheat handles updating offsets

A few people have been having this issue on UC forums. See Images below.
image
image
Below image is caused by the armor value returning a random number, aka wrong offset used
image
As you can see, they have already updated armor offset, but to no avail
image
Seems as if updating the offset in auto_updater.hpp fixed the issue possibly
image
Goes to update offsets using offset.json as it is meant to be used
image
Once again, they update offsets, but armor still provides wrong value
image
Issue fixed by fetching latest repo from my fork at the time, which I believe just updated the auto_updater.hpp offsets to latest game manually, however in theory, this shouldn't had to have been done as offsets.json had latetst offsets
image

As far as what exactly is causing this problem: I am not sure, but I am almost certain it is either the .py for updating offsets or auto_updater cpp or hpp.

As far as solutions go: The main thing that seemed to be fixing this, was fetching the latest commit from my fork of the repo at the time, as it's auto_updater.hpp and offsets.json had the latest offsets in it. That is one thing that leads me to believe it is due to the auto updating of offsets. It seems to be something that was changed/added around the 17th or so, as that was when the issue started to arise. The issue has show itself in many different forms, as you have seen in the images. From the correct armor offset in offsets.json not returning the armor value, aka using the old armor offset, to the program saying the build number is outdated & esp not working, even when the offsets.json has the newest build number & offsets.

Lastest game update breaks esp

The latest game update (10/9/23) seems to have caused the ESP to stop working. I honestly am not sure if I updated the offsets correctly, however it does not render the esp on screen. See updated offsets below...

The old offsets are the ones the ESP currently uses, new ones are the newest offsets that I dumped with haze dumper on the 10/9/23 update

Old Offsets

{
"dwEntityList": 24676568,
"dwLocalPlayer": 25648200,
"dwPawnHealth": 2056,
"dwPlayerPawn": 2044,
"dwSanitizedName": 1824,
"dwViewMatrix": 25650992,
"m_iTeamNum": 959,
"m_vecOrigin": 4628

Updated Offsets

"dwEntityList": 117416692,
"dwLocalPlayer": 119189120,
"dwPawnHealth": 2056,
"dwPlayerPawn": 2044,
"dwSanitizedName": 1824,
"dwViewMatrix": 113513507,
"m_iTeamNum": 780,
"m_vecOrigin": 4628

Old Offsets

constexpr ::std::ptrdiff_t dwEntityList = 0x17888D8;
constexpr ::std::ptrdiff_t dwLocalPlayerPawn = 0x1875C48;
constexpr std::ptrdiff_t m_iPawnHealth = 0x808;
constexpr std::ptrdiff_t m_hPlayerPawn = 0x7FC;
constexpr std::ptrdiff_t m_sSanitizedPlayerName = 0x720;
constexpr ::std::ptrdiff_t dwViewMatrix = 0x1876730;
const nint m_iTeamNum = 0x3BF;
constexpr std::ptrdiff_t m_vOldOrigin = 0x1214;

New Offsets

constexpr ::std::ptrdiff_t dwEntityList = 0x6FFA2F4;
constexpr ::std::ptrdiff_t dwLocalPlayerPawn = 0x71AAE80;
constexpr std::ptrdiff_t m_iPawnHealth = 0x808;
constexpr std::ptrdiff_t m_hPlayerPawn = 0x7FC;
constexpr std::ptrdiff_t m_sSanitizedPlayerName = 0x720;
constexpr ::std::ptrdiff_t dwViewMatrix = 0x6C41423;
const nint m_iTeamNum = 0x30C;
constexpr std::ptrdiff_t m_vOldOrigin = 0x1214;

I could just be missing something, like updating more than just those offsets I updated, however I am not sure.

New offsets

{
"dwEntityList": 24697064,
"dwLocalPlayer": 25668680,
"dwPawnHealth": 2056,
"dwPlayerPawn": 2044,
"dwSanitizedName": 1824,
"dwViewMatrix": 25671472,
"m_iTeamNum": 959,
"m_vecOrigin": 4628
}

Low fps

I managed to make it work but my fps in now at around 10 anyone knows a fix?

Skeleton

Add the option in the config to enable the skeleton of the enemies, it will be a very cool feature

New offsets

Please let us know new offsets which are working

Offsets

can someone give me the new offsets?

Offsets

Can someone give me an updated offset? i updated them manually but they don't work

Update offset for offsets.json

new offset

{
    "dwEntityList": 23248928,
    "dwLocalPlayer": 23584096,
    "dwPawnHealth": 2056,
    "dwPlayerPawn": 1500,
    "dwSanitizedName": 1824,
    "dwViewMatrix": 24236512,
    "m_iTeamNum": 959,
    "m_vecOrigin": 4612
}

New CS2 update - Off

There was a major update to CS2 and although the offsets are updated, it doesn't work.
I think the signatures changed too.

GDI upgrade

Hi, cool project, you're doing great.You can change the overlay to something more modern directx or imgui, because GDI takes 45-60 fps, you can also add a simple anti-aliasing aimbot that works only through the mouse

Updater Issue

Hello, I am gettting the following build error on the latest release, could you advise as to the issue?

Error LNK2019 unresolved external symbol __imp_InternetCloseHandle referenced in function "bool __cdecl updater::download_file(char const *,char const *)" (?download_file@updater@@YA_NPEBD0@Z

Client.dll is missing

when i saw the video it was shows Client.dll is missing but after the game was opened it shows a success message but mine didnt

Overlay FPS issue.

Hi there. ive been working with your code for a week now messing around.

the major fps issue comes from LWA_COLORKEY

SetLayeredWindowAttributes(hwnd, RGB(0, 0, 0), 255, LWA_ALPHA);
MARGINS margin = { -1 };
DwmExtendFrameIntoClientArea(hwnd, &margin);


This will fix it but i think you need to add some stuff however it makes the ESP look really transparent in light which i haven't found away around yet.


May i ask why you dropped the discord version? seems to work alot better and i think you can bypass the block by running as admin and the launch option for discord overlay doesnt even drop trust factor. that was a myth

Errori in auto_update.obj

I can't compile the file because I have 4 errors in the auto_update.obj file, can someone help me, does anyone have this problem or is just a mine issue?

Getting Weapon Name

I have not tested this yet, however in theory this should work.

read the entitylist, input the handle and bitshift. Like this:

process->read<uintptr_t>(dwEntityList + (((process->read<uintptr_t>(LocalPlayer + p_clippingWeapon) & 0xFFF) - 1) * 0x10));

Create a discord server

I would also like to help with this project, easy communication would be nice!

Just a simple discord server dont need anything fancy

FPS Issue

When i use cs2-external-esp.exe my fps drops from 220 to 150-160, pls fix it

offsets

can you do a tutorial how to update offsets myself?

esp not working

hello the esp is not working for me. i updated offsets with dumper and when i start game esp rendering somewhere in map textures with random name but not working on players
1

Doesn't work

I have compiled the newest version and it launches properly, but when i play a match there are no esp boxes. Anyone knows a fix?

It closes when i open cs 2

I opened the esp (the newest version) but when i open cs 2 it just dissapears and when i try to open it again it closes after a second

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.