External Overlay in C++ | Works For ANY Game

  Рет қаралды 58,769

CasualGamer

CasualGamer

Күн бұрын

Пікірлер: 148
@LMleet06
@LMleet06 Жыл бұрын
If the video example doesn't work for you @2:30 remove the HWND or paste this into your code: overlayHWND = CreateWindowExW(WS_EX_TOPMOST | WS_EX_TRANSPARENT | WS_EX_LAYERED, overlayTitle, overlayTitle, WS_POPUP, 1, 1, width, height, nullptr, nullptr, hInstance, nullptr);
@georgei2480
@georgei2480 4 жыл бұрын
Mate, I don't know how your channel isn't bigger. your videos are fantastic and tons of fun to watch.
@requestfx5585
@requestfx5585 4 жыл бұрын
Very nice tutorial! There is actually a way to draw in fullscreen do some research ( I tested it for csgo fullscreen worked fine)
@casualgamer1791
@casualgamer1791 4 жыл бұрын
Thanks for the correction and code! Can confirm working overlay in fullscreen for cs:go. For anyone reading this and wondering how: use SetWindowPos with HWND_TOPMOST in your main loop
@steamhearteyes
@steamhearteyes 4 жыл бұрын
definitely my favorite game hacking related channel, love all your content, keep it up
@casualgamer1791
@casualgamer1791 4 жыл бұрын
thank you :) will do
@tigas4d4
@tigas4d4 9 ай бұрын
Founds this channel way too late, as i already sorta finished a similar project to this(but i used wpf and c#), the only issue that im having is that my game performance is affected by this by a little.. i see an increase of frametimes of around 1-3ms and i was wondering if anyone that has done something like this has gotten this same issue? im kinda struggling to find if i can even do anything to mitigate this issue...
@prout-j1u
@prout-j1u 14 күн бұрын
pls explain how od you go in that yellow screen at 6:04 it been 2 days im searching pls pls
@gabriellane8053
@gabriellane8053 3 жыл бұрын
LOVE this video, I learned a lot and you saved me so many headaches!
@adamantitehawk
@adamantitehawk 6 ай бұрын
I found this video trying to figure out a way to make a program that triggers a transparent overlay so that way I could then make a black hole effect that consumes the whole screen before playing an animation. I'm not sure how yet how effective this video will be for me but it's a step in the right direction.
@TheGorganne
@TheGorganne 3 жыл бұрын
Is using PeekMessage rather than GetMessage a good idea ? like this it can't block the position update, somme issue are resolve and there is no more latence with the position of the window and the position of the overlay
@GrandNecro
@GrandNecro Жыл бұрын
5:24 which video are you refering to?
@rdv1105
@rdv1105 4 жыл бұрын
Alternatively, it could be possible for you use GDI+ as it won't require any additional setup like adding the libraries to the project if you're on windows. Also, great video!
@casualgamer1791
@casualgamer1791 4 жыл бұрын
Interesting! Performance is worse tho right? Would not be a big deal when only drawing menus i guess
@ajinkyax
@ajinkyax 3 жыл бұрын
thanks for the video. What is D11 equivalent for IDirect3D9Ex* & IDirect3DDevice9Ex* ?
@casualgamer1791
@casualgamer1791 3 жыл бұрын
The closest thing would be ID3D11Device* I think. Not an expert tho
@uliveulearnandregret
@uliveulearnandregret Жыл бұрын
I'm getting 4 warnings on line 78 for Paint(); that targethwnd, height, width, params are not initialized, and the overlay isn't showing anything
@alieeeeennnnnn
@alieeeeennnnnn 4 жыл бұрын
Very good video! I definitely learnt a lot of stuff from it.
@jeremysingh1130
@jeremysingh1130 Жыл бұрын
Could this be combined with maybe printscreen and image recognition in order to determine elements to feed to be overlayed? Thnx, great channel.
@spinbot09
@spinbot09 Жыл бұрын
1 question can i make it so the window doesnt target any window so it targets my whole screen insted of the application?
@DixieAndMixie
@DixieAndMixie 4 жыл бұрын
Why paint.render() drops ~30fps in my game? Pls help,thx/
@cviiiiiiiiiiii
@cviiiiiiiiiiii 4 жыл бұрын
Remember to use a Sleep()
@DixieAndMixie
@DixieAndMixie 4 жыл бұрын
@@cviiiiiiiiiiii I am surprised. Thank you. I solved the problem but in a different way
@iurabatca2416
@iurabatca2416 3 жыл бұрын
Hello it's me again So I was a complete new scrub to C++ and i actually got really hard into it and with your great explaining i got to do some really nice easy programs
@casualgamer1791
@casualgamer1791 3 жыл бұрын
Glad to hear that :)
@imxtwinky
@imxtwinky 2 жыл бұрын
is it possible to fix the drawing delay somehow? If you move the window, the text moving is delayed quite a bit.
@crapyguy1234
@crapyguy1234 4 жыл бұрын
Keep up the good work, best game hacking channel I've seen in a while.
@crackthegameCPP
@crackthegameCPP Жыл бұрын
awesome but it dont work for full screen for some reason.. any help??
@jwjw4336
@jwjw4336 Жыл бұрын
lwa_colorkey kills fps for some reason. Any alternative to making a window transparent?
@Sykcin42
@Sykcin42 4 жыл бұрын
Im trying to make an ESP-only hack for cod mw/warzone. Would i use an external overlay since an internal one would latch onto the game itself, potentially setting up a red flag to get me banned more easily?
@unbracedbooch3990
@unbracedbooch3990 4 жыл бұрын
External is easier to detect
@s_e_t_z3248
@s_e_t_z3248 2 жыл бұрын
@@unbracedbooch3990 depends on what you are doing with external.
@shrekonketlol2377
@shrekonketlol2377 2 жыл бұрын
@@s_e_t_z3248 well on some games you can literally disable AC with internal. all just depends on driver
@s_e_t_z3248
@s_e_t_z3248 2 жыл бұрын
@@shrekonketlol2377 yea, if you are crazy with making drivers then external can be nice for basic features but internal can be harder and more in depth but allows for more. all in the coder.
@shrekonketlol2377
@shrekonketlol2377 2 жыл бұрын
@@s_e_t_z3248 personally I hate making drivers and they require a lot of effort
@Nioxs
@Nioxs 4 жыл бұрын
Please show how to create a simple box esp by just reading memory
@01hope01-z6i
@01hope01-z6i 2 ай бұрын
yo can you do a imgui external overlay tutorial for like every game?
@itzzgingerr1228
@itzzgingerr1228 3 жыл бұрын
is there a way to create a program within the window that could be controlled by a hot key?
@breachbase
@breachbase Жыл бұрын
How would you render imgui on this overlay?
@FusselTeddy0707
@FusselTeddy0707 3 жыл бұрын
Hey, I'm a total newcomer to coding. How could I diplay an overlay with a small table in the top right of my screen? It needs 3 columns and 8 rows.
@casualgamer1791
@casualgamer1791 3 жыл бұрын
did you watch and understand the video?
@friendlybear5924
@friendlybear5924 3 жыл бұрын
@@casualgamer1791 He didnt
@VirtualMatterTails
@VirtualMatterTails 3 жыл бұрын
have to spend a lot of time learning this Ooof
@casualgamer1791
@casualgamer1791 3 жыл бұрын
would be boring if it was easy :D
@julianomoraes4207
@julianomoraes4207 2 жыл бұрын
Hii CasualGamer, here it is not working in full screen, only in windowed mode, could you help me?
@casualgamer1791
@casualgamer1791 2 жыл бұрын
Jup that is a downside of external overlay. Pretty sure I mentioned that in the video
@madladdan
@madladdan 2 жыл бұрын
Why won't it work for fullscreen? Is there a way around it?
@InfoGamerz
@InfoGamerz 4 жыл бұрын
@CasualGamer Will this work with DX12?
@casualgamer1791
@casualgamer1791 4 жыл бұрын
You would have to adapt parts
@Brite13
@Brite13 3 жыл бұрын
@@casualgamer1791 what parts would you need to adapt/change?
@jacksniffer1252
@jacksniffer1252 3 жыл бұрын
at 6:05 How do i access That part?
@prout-j1u
@prout-j1u 14 күн бұрын
do you know now ?
@3ddan148
@3ddan148 2 жыл бұрын
well, there is about 1/4 second showing you adding a else argument idk what its for or where it goes but it must be important
@ayasemiya2475
@ayasemiya2475 4 жыл бұрын
Hey there , as I know the project from UC it got a bad performance . Did you try to fix it ?
@casualgamer1791
@casualgamer1791 4 жыл бұрын
I did not implement all the drawing functions (actually i only implemented DrawText). Did not experience performance issues with that one so had no reason to try and optimize it. If you spot issues in my code please let me know!
@angusstraford6395
@angusstraford6395 2 жыл бұрын
how do i make an overlay that doesnt need the game to be windowed?
@wranglermz
@wranglermz 2 жыл бұрын
thats impossible but an alternative is to just play in borderless windowed
@Quarkss
@Quarkss Жыл бұрын
anyone have a source example of esp with dx12? the d3d9 shit is so irrelevant now and essentially none of it is transferable to dx12.
@zzz4353
@zzz4353 2 жыл бұрын
I need help making an external esp for a browser game respond if u can help
@Kasirgaci
@Kasirgaci 4 жыл бұрын
Bro can you give me a menu only had esp option with attaching a key feature please ?
@Makotom
@Makotom 4 жыл бұрын
This is the best channel for game hacking❣️
@SoftBreadSoft
@SoftBreadSoft 3 жыл бұрын
Casual gamer Pro grammer
@Little87Dragon
@Little87Dragon Жыл бұрын
Why is the video faster than the voice???
@yourfriend3054
@yourfriend3054 3 жыл бұрын
you didn't explain or show what a initialization function is
@phuongthaocao3265
@phuongthaocao3265 2 жыл бұрын
how to insert image same text?
@jackschneider863
@jackschneider863 11 ай бұрын
doesnt the fact it doesnt work in fullscreen kind of defeat the purpose tho?
@GoldbergToastyBred
@GoldbergToastyBred 9 ай бұрын
" Very nice tutorial! There is actually a way to draw in fullscreen do some research ( I tested it for csgo fullscreen worked fine) " " Thanks for the correction and code! Can confirm working overlay in fullscreen for cs:go. For anyone reading this and wondering how: use SetWindowPos with HWND_TOPMOST in your main loop "
@erfdsw
@erfdsw 4 жыл бұрын
great video and great accent, but will this work for a 64bit game?
@casualgamer1791
@casualgamer1791 4 жыл бұрын
Sure. The overlay does not care about the game
@luawastaken
@luawastaken 4 жыл бұрын
Do you have a Discord Server by any chance? Your tutorials are awesome!
@casualgamer1791
@casualgamer1791 4 жыл бұрын
discord.gg/CRMQq4F and ty :)
@agentamme
@agentamme Жыл бұрын
i dont have that templete if u can give it to me i would really appricate it
@GoldbergToastyBred
@GoldbergToastyBred Жыл бұрын
theres download link for code in the descprition
@coinTraderAn
@coinTraderAn 4 жыл бұрын
windows10 not work...d3d9 overlay, right?
@casualgamer1791
@casualgamer1791 4 жыл бұрын
yes d3d9 but it does work on windows 10
@codenamenomadman6034
@codenamenomadman6034 4 жыл бұрын
Can we use packget from WPE PRO to c#
@casualgamer1791
@casualgamer1791 4 жыл бұрын
that is way outside of my expertise
@Rose-tl4tk
@Rose-tl4tk 4 жыл бұрын
Nice video and explanation
@shine8509
@shine8509 4 жыл бұрын
Resources Link i can't download
@casualgamer1791
@casualgamer1791 4 жыл бұрын
That link is not my code. Its just additional stuff. If you want to download it anyway you have to create a UC Account first
@shine8509
@shine8509 4 жыл бұрын
@@casualgamer1791 Thank but #include file not found xd
@FinlinCheats
@FinlinCheats 4 жыл бұрын
Hey I play undertale a lot and enjoy your tutorials...could you teach us in a vid how to code hacks...maybe gui's for undertale?
@wasaychishti5623
@wasaychishti5623 3 жыл бұрын
Is their any way to use it on Androi?
@user-kv4wg7im4t
@user-kv4wg7im4t 3 жыл бұрын
Does it work for full screen games?
@casualgamer1791
@casualgamer1791 3 жыл бұрын
Depends. Google HWND_TOPMOST
@giacomoarienti
@giacomoarienti 4 жыл бұрын
I was waiting for it
@henrikvarga1789
@henrikvarga1789 2 жыл бұрын
what about dx11 games? :D
@ytzzn
@ytzzn 2 жыл бұрын
It works on dx11 :)
@PolrFlar3
@PolrFlar3 2 жыл бұрын
@@ytzzn does it work for dx12?
@ytzzn
@ytzzn 2 жыл бұрын
@@PolrFlar3 Haven't tested yet
@Neotokio1979
@Neotokio1979 2 жыл бұрын
Great job 👏
@hundowayve
@hundowayve 4 жыл бұрын
Hey whenever you get around to it can u please make a part 2 for esp and or a menu
@prestongarvey2285
@prestongarvey2285 4 жыл бұрын
WHat does it mean exited iwth code 0
@casualgamer1791
@casualgamer1791 4 жыл бұрын
Exited with code 0 usualy means there was no error
@prestongarvey2285
@prestongarvey2285 4 жыл бұрын
@@casualgamer1791 any idea on why I the overlay didn’t work then?
@casualgamer1791
@casualgamer1791 4 жыл бұрын
@@prestongarvey2285 with the information provided the possibilities are pretty much infinite. I recommend you join the discord and post your issue in request help including all the information you can provide
@prestongarvey2285
@prestongarvey2285 4 жыл бұрын
@@casualgamer1791 what’s the link?
@casualgamer1791
@casualgamer1791 4 жыл бұрын
discord.gg/CRMQq4F
@dissdissor243
@dissdissor243 4 жыл бұрын
If you know IDA and how to find offsets in their please make a video about it
@casualgamer1791
@casualgamer1791 4 жыл бұрын
will do, probably not soon tho
@x-x1329
@x-x1329 3 жыл бұрын
Does it work in dx12?
@casualgamer1791
@casualgamer1791 3 жыл бұрын
it does not matter if the game is dx12, it that is your question
@bug1949
@bug1949 2 жыл бұрын
para un principiante se vuelve confuso en la parte de crear una clase, se acabo para mi en ese momento no te tentendi, la traduccion no es buena :( muy rapido todo
@Nioxs
@Nioxs 4 жыл бұрын
Btw the code you linked doesn't work...
@casualgamer1791
@casualgamer1791 4 жыл бұрын
How so? Which error do you get?
@Nioxs
@Nioxs 4 жыл бұрын
@@casualgamer1791 Its instantly terminates
@joelmaminski
@joelmaminski 3 жыл бұрын
​@@Nioxs That's because your target window is not opened or the name is not correct
@armaalertnews7811
@armaalertnews7811 Жыл бұрын
@@joelmaminski how do I set the target window?
@anonymousk5899
@anonymousk5899 4 жыл бұрын
Can you make Overlay Window
@casualgamer1791
@casualgamer1791 4 жыл бұрын
That's what I do in this video no?
@ZorinAndreyEvg
@ZorinAndreyEvg 4 жыл бұрын
Can you make Overlay Window with video, or ather game?
@ZorinAndreyEvg
@ZorinAndreyEvg 4 жыл бұрын
How createwindow c++ ***.mp4 overlay game
@cviiiiiiiiiiii
@cviiiiiiiiiiii 4 жыл бұрын
WHITE VISUAL STUDIO THEME.
@airidasrom583
@airidasrom583 3 жыл бұрын
fking rewrote it about 3-4 times , watched video in slow mo and it still doesnt work.. wtf is this shit ? it fking draws me nothing , i commented a lot of times no one responds.. ofc deleted comments cause no one responded...
@casualgamer1791
@casualgamer1791 3 жыл бұрын
First thing to do is figure out what exactly does not work. Debug the code: for instance breakpoint and step through each function or coment out most parts untill you have a bare bones working project then start adding things back in and check if they perform as they should Edit: you can also join the discord to get help :)
@airidasrom583
@airidasrom583 3 жыл бұрын
@@casualgamer1791 sorry for that before comment , i got mad... the problem is the text isnt appearing , im changing background numbers in that place where it says // set black background , and then appears black background , but if i leave it at 0 . nothing is appearing there are no errors nothing , as i sayd i watched you video even in slow-mo i rewrote everything .. and nothing is working
@hacubemehh2638
@hacubemehh2638 3 жыл бұрын
is there a way to make this work with minecraft to find ores?
@friendlybear5924
@friendlybear5924 3 жыл бұрын
Just download an xray texture pack or download a hacked client
@hacubemehh2638
@hacubemehh2638 3 жыл бұрын
@@friendlybear5924 i want an overlay not a hacked client or shitty texture pack
@Mapkiin
@Mapkiin 4 жыл бұрын
So I followed the whole tutorial and wrote the exact same code as you in the video... My end result was that the overlay text would not show up at all. I then copied the code from the description and now the overlay text is displayed but the background is not transparent. So I just get a great big black rectangle with the overlay text over the top.
@Mapkiin
@Mapkiin 4 жыл бұрын
If you could just address the black background / not transparent then that'd be great
@iem4644
@iem4644 2 жыл бұрын
What app is he using
@Gneey2Smooth
@Gneey2Smooth Жыл бұрын
holy shit could you speed the video up any more please
@byparix419
@byparix419 4 жыл бұрын
great video
@anonymousk5899
@anonymousk5899 4 жыл бұрын
I want you to create a menu esp with IMGUI
@GoldbergToastyBred
@GoldbergToastyBred Жыл бұрын
dude wtf why is it so fast :sob:
@Yes.Im.Mr.Anderson
@Yes.Im.Mr.Anderson 3 жыл бұрын
Eyes burn!
@faisalhere9467
@faisalhere9467 4 жыл бұрын
Keep it up!
@3ddan148
@3ddan148 2 жыл бұрын
like this editing style is insanely jumpy and makes it very hard to follow what your doing, expecially when your jumping all over editing/repurposing existing code. think you could atleast show the line numbers? like im 45 mins into the first 5 mins trying to follow your jump cuts, going frame by frame in some cases...
@CarrotGamingYT
@CarrotGamingYT 11 ай бұрын
Same issue 😢
@hacubemehh2638
@hacubemehh2638 4 жыл бұрын
If I streamed on discord and used the game window would it show the esp
@casualgamer1791
@casualgamer1791 4 жыл бұрын
Hmm probably not
@shinimizu1478
@shinimizu1478 4 жыл бұрын
keep it up
@hundowayve
@hundowayve 4 жыл бұрын
ayyyye
@casualgamer1791
@casualgamer1791 4 жыл бұрын
hey :) took a while but here it is ^^
@animekizi4897
@animekizi4897 3 жыл бұрын
please minecraft version
@ดูบอลสดๆ-ญ8ฅ
@ดูบอลสดๆ-ญ8ฅ 4 жыл бұрын
Do you hire warz overlay cheating?
@casualgamer1791
@casualgamer1791 4 жыл бұрын
I do not understand the question
@tokka2364
@tokka2364 4 жыл бұрын
topmost flag detected in some EAC/BE games
@harliepole4862
@harliepole4862 3 жыл бұрын
This Bro?
@casualgamer1791
@casualgamer1791 3 жыл бұрын
Yes ^^ Do you want to creat internal or external hack? What does the game use for rendering? (dx9/dx11/opengl?)
@felixgarcia7905
@felixgarcia7905 3 жыл бұрын
Man kann nur fast nicht merken, dass du deutsch bist XD
@BluescreenDev
@BluescreenDev 3 жыл бұрын
Hört man echt raus xd
@pvpworld
@pvpworld 2 жыл бұрын
There's no method to do this for a full screen game?
@fossilhunter5377
@fossilhunter5377 Жыл бұрын
whats your discord?
HOW ESPs WORK
7:05
cazz
Рет қаралды 148 М.
How To Make An ESP Hack - Part 1: Entity List
8:42
CasualGamer
Рет қаралды 212 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
MAKE A PROPER MENU WITH IMGUI
20:17
cazz
Рет қаралды 246 М.
Game Automation with YOLOv8: Python Bot Tutorial
21:40
ClarityCoders
Рет қаралды 52 М.
Pattern Scanning in C++ | Game Hacking Tutorial
6:36
CasualGamer
Рет қаралды 37 М.
Transparent Unity App! (Overlay, Assistant, Particles)
16:42
Code Monkey
Рет қаралды 64 М.
31 nooby C++ habits you need to ditch
16:18
mCoding
Рет қаралды 840 М.
LEGITBOT / LEGIT AIMBOT TUTORIAL CSGO
26:15
cazz
Рет қаралды 92 М.
Game Hacking Library [C++]
6:24
CasualGamer
Рет қаралды 10 М.