Part 2 is out -> kzbin.info/www/bejne/n4C0aI2og7Z_q6s
@oggirf Жыл бұрын
i love this man so much
@vulturegaming38773 жыл бұрын
at first 3 minutes watching ur video...my hand automatically subscribed
@nigeI3 жыл бұрын
Great video, it’s one of the only ones that actually explain properly
@krog64733 жыл бұрын
Cannot wait until part 2 ! You rock !
@nuclearasmr52943 жыл бұрын
Can I ask how you learn to do all of this? I like that you guide us through every step and whatnot, but for me it feels like more of a copying process. I'm not bashing your videos in any way, they are perfect for people who want to make their own cheats and you do a great job with that. For me though, I prefer to learn how I could do it on my own, maybe even for another game in the future. How did you learn what all you need to include for something like this, how do you know what's relevant and needed (header files, things you downloaded)? How can I figure out what may be required for another game in the future? How did you figure out all of the nuances in the entry point code section? etc, etc, ...... my list of questions could be endless but you get the idea. I want to learn how I can do this for myself, even for games other than CSGO. There isn't much information about how to truly learn things relevant to game hacking. I've wanted to do this for years now and I've tried multiple times to begin learning. Last year, as well as previous years, I gave up because I was so overwhelmed and felt no sense of real progress. I guess all I'm asking is where did you start and how can I learn this stuff for myself? I'm willing to put in the time and the effort, thanks!!
@IrusuuX2 жыл бұрын
Guided hacking
@shanx12432 жыл бұрын
You need to learn the required things to be able to understand this video and once you have learned all of that. You can understand this tutorial and implement it with other games on your own liking
@jjjj-x9g2 жыл бұрын
Oh and most importantly: learn to google and look stuff up!
@xtrfy14392 жыл бұрын
Start by learning cpp and than you can go to game hacking, I know it takes time. Btw Win32 for the entrypoint
@NoriakTv Жыл бұрын
i recommend u gamehacking academy it explains everything
@poiau74122 жыл бұрын
why is it not injecting or the game crashes instantly
@cashouting3 жыл бұрын
well done bro i watched all the movies and i'm waiting for new ones
@cazz3 жыл бұрын
I appreciate it man
@YungxSlavy2 жыл бұрын
Hey man I love your videos. Really quick question, is there a specific reason you use reinterpret cast instead of using the static type? I am curious because I have seen people do either or
@cazz2 жыл бұрын
Nope, no specific reason. It is just a bad habit of mine. You should always use static_cast when you can, usually when casting between regular datatypes. reinterpret_cast can be considered rather unsafe and should usually be used with cation. Anyway, thanks for asking, i'll make a note to use better casting practices in the future :)
@Simon-ku6it3 жыл бұрын
Good video please more about internals
@holeefuk85352 жыл бұрын
It would be nice to see you showing the different hooking methods, without using libraries such as minhook.
@jijiabed6813 Жыл бұрын
Thank you,love from China
@soyx23333 жыл бұрын
Nice vid bro, learned a lot, cheers
@cazz3 жыл бұрын
Glad to hear it
@unknown-ut5qn2 жыл бұрын
when you make a tutorial and when you competely finished the class please scroll quickly from the top till the bottom so if there is someone who made a mistake he can just go back and fix it really quick
@unknown-ut5qn2 жыл бұрын
overall I love the tutorial
@cazz2 жыл бұрын
Sure thing! Appreciate the feed-back.
@Joeonthetues2 жыл бұрын
or just replay the vid?
@qiufenglee939 Жыл бұрын
Great video , Can this be used in dx8 games ?
@botalex25983 жыл бұрын
ohh man, what would i do without you
@180Z2 жыл бұрын
great video, impressively concise explanations
@cazz2 жыл бұрын
Glad you liked it!
@lixlimtwitch5903 Жыл бұрын
@@cazz The only modder who explains it all, other modders will use the term "spoonfeeding" for an excuse
@otepad Жыл бұрын
How do i add functions to the internal cheat BTW I love your videos.
@Jami-e3u8 ай бұрын
i got too few arguments in function at 23:50 how i can fix it=
@Onyx_Boxer10 ай бұрын
This helped me alot TYSM
@nefryttt3 жыл бұрын
Why inject error? build error: 0
@Forget373732 жыл бұрын
When an you make a directx12 on of this?
@sleepygary3692 жыл бұрын
Yo Cazz I just finished typing Everything and its not working i can build and inject but it doesnt show up in game even when i press Insert Do you know why? (edit:the dll is only 28kb big and yours is 213kb)
@ransomm48382 жыл бұрын
me to
@varric722 жыл бұрын
same problem... did u fix it by any chance?
@mahekthapa90532 ай бұрын
don't get me wrong but just for that empty menu you make this long and so many codes ? idk but in other game i play imgui need 6 line codes to open menu
@MatthewJGoosen3 жыл бұрын
Yes
@kingbluejayYT Жыл бұрын
wheres the injecting you used at?
@lucid_horizons3 жыл бұрын
🔥pog pog pog pog pog
@cazz3 жыл бұрын
no u
@Rebinde Жыл бұрын
when i inject the error code 0xC0000135 schohs up
@discomal4556 Жыл бұрын
same
@tranquil319 ай бұрын
12:51 - 28:00 - 33:20
@ImMagicDesigns Жыл бұрын
what i don't understand is how did you hooked the Present function with now the game D3DDevice adress can you exaplain it in a comment ?
@Mezbelelik2 жыл бұрын
How do I prevent clicking background when I click the IMGUI button ?
@YLJ2K3 жыл бұрын
Great video I’ve learned alot
@benniking33332 жыл бұрын
Hey cazz thank you for your tutorial i know that * is and Operator but on 29:05 you have 3 * next to the static_cast . My question is why you write 3 * ? I hope its not too stupid.:D
@cazz2 жыл бұрын
Hi there Benni, great question. When you use virtual functions in C++, a hidden array of function pointers known as the "Virtual Method Table" (or VMT for short) is created as the *first* member variable in the class. This is hidden and done automatically, so you never need to worry about it. As you should know... an array is just a pointer to the first element in the array. For example "int array[3];" is the same as "int* array;" To get the VMT from a class, you need to cast it to a double pointer and then deference once, like so: *static_cast(class_pointer) Casting to a single pointer above will just give us the class itself... which we already have, but to get the VMT, we cast to a double pointer and then dereference. Now, because the VMT is an *array of function pointers*, it actually looks like this: "void* array" Therefore, the first "*" is the base class itself, the second "*" is for accessing the VMT and the last "*" is the first element in the array. Hope this helps, cheers. ~cazz
@benniking33332 жыл бұрын
@@cazz Thank you cazz i understant it perfectly. Have a good day.^^
@benniking33332 жыл бұрын
@@cazz Hey cazz i have a Problem if i inject with xenon i get a error message "Cant inject image". Do you know what for a Problem i have ?
@cazz2 жыл бұрын
@@benniking3333 You can only inject with Xenos if you are using the -insecure flag in your CSGO launch options, otherwise you need to use a manual map injector
@benniking33332 жыл бұрын
@@cazz Thank you cazz
@HITCOMMUNITYY3 жыл бұрын
does a tutorial on how to make a loader for cheat external with protection will help a lot of people
@JakeTheDevv Жыл бұрын
If I'm doing this but for a x64 bit version, do I define the WIN32_LEAN_AND_MEAN or no?
@cazz Жыл бұрын
Yes WIN32_LEAN_AND_MEAN is for x64 and x86.
@Craxcyy Жыл бұрын
i havent even reached the half of the vid but i just heard "this is going to be a lot of fucking typing so have fun" for the 3rd time. bruh
@goozjeesh46 Жыл бұрын
i heard that once
@TVProgramming2 жыл бұрын
Hi, thanks for the tutorial. What is the reason for the SetupDirectX function exactly? I don't understand why we need to create a directx device there and I commented it out and the menu still pops up.
@nitaypro5569 Жыл бұрын
did you find a reason?
@User-ir8gc2 жыл бұрын
i cant see any imgui or ext folders in my project folder, im sure ill figure it out though.
@ScrakSFMs9 ай бұрын
By the way how do you do with this 64-bit gm?
@VENOM-kb8pu Жыл бұрын
I don't know if its your implementation or imgui, but i tried this in my project, it was working fine until once I exited out of a deathmatch and went into another deathmatch game (vac servers not bots) and the game just crashes, remove imgui implemenation from hooks and everything is fine. Same problem happens when in causal mode, and someone kills you and when the screen dims to black to transfer to the scene of how you were killed. The game crashes.
@PYRO-REX2 жыл бұрын
i will make a dx11 but 9:33 is only LPDIRECT3DDEVICE9 and not 11
@PYRO-REX2 жыл бұрын
and why i try to make this | inline LPDIRECT3DDEVICE11 device = nullptr; i get the error | The identifier ""LPDIRECT3DDEVICE11"" is not defined
@PYRO-REX2 жыл бұрын
ah okay its only for dx9 and not for dx11 lol
@dx9scope3 жыл бұрын
virtual function throws an exception and causing game crash
@wanderingtf23142 жыл бұрын
How are you using inline on variables?
@cazz2 жыл бұрын
c++17
@m1r4geSkrypnyk Жыл бұрын
bro, is this playlist still working on csgo2 ?
@slawnyfivemowiec10 ай бұрын
no, cs2 uses source 2 :))
@drearbtw8 ай бұрын
This hook won’t work for cs2, since they use dx11.
@gorge_channel2 жыл бұрын
What to do if in the code of the hooks file.cpp writes an error that resetOriginal and EndSceneOriginal identifier is not defined
@tomifilep18 ай бұрын
you missing hooks:: HERE !!! long __stdcall hooks::EndScene(IDirect3DDevice9* device) noexcept { static const auto returnAddress = _ReturnAddress(); const auto result = EndSceneOriginal(device, device); if (_ReturnAddress() == returnAddress) return result; if (!gui::setup) gui::SetupMenu(device); if (gui::open) gui::Render(); return result; } HERE !!!! HRESULT __stdcall hooks::Reset(IDirect3DDevice9* device, D3DPRESENT_PARAMETERS* params) noexcept { ImGui_ImplDX9_CreateDeviceObjects; const auto result = ResetOriginal(device, device, params); ImGui_ImplDX9_CreateDeviceObjects(); return result; }
@НеАйти-р4ш2 жыл бұрын
Hi, Hazz, I wanted to ask you where to write the cheat source code? I don't know English well, I translated it in Yandex translator
@ScrakSFMs9 ай бұрын
Four hours later and after compiling it. I inject it with Xenos into csgo.exe, it says "Failed to inject image ... Error code: 0xc0000135". How do I know what this means?
@blindbob93510 ай бұрын
"inline specifier allowed on function declarations only" that is the error i see in gui.h when i write the code
@slawnyfivemowiec10 ай бұрын
make sure stdc++ is 20 not 14
@glowing0wl8582 жыл бұрын
I cant get this to inject. Says cant find window. It compiles fine. I have tried several injectors but the problem still exists.
@jizu- Жыл бұрын
my dll is only 27 kb, and when attempting to inject i get the error code 0xc000010e and a message saying it failed to inject the image. Not sure what to do from here
@goozjeesh46 Жыл бұрын
did you add minhook and imgui to your project?
@bsx16043 жыл бұрын
can you make a vid about bypass anti-cheat or any resource to learn ?
@hagefale_original Жыл бұрын
Thats too much parametes and configurations you need to set just for the window overlay i am not sure if i need to remember this or i can just go and copy and paste.
@MedusaC212 күн бұрын
can we do this in 64bit ?
@ImMagicDesigns2 жыл бұрын
inline specifier allowed on function declarations only
@cazz2 жыл бұрын
Make sure you are using the C++20 standard
@ImMagicDesigns2 жыл бұрын
@@cazz thanks that work :)
@justcheats31972 жыл бұрын
when i try to #include its say its not found
@swazyvfx8 ай бұрын
You need to be on a windows machine
@spasm2 жыл бұрын
followed the tut, running with debugger right now since window isn't showing up whenever i inject it. using manual map injector in -insecure so there shouldn't be a single issue, not throwing any exceptions, no popping up windows. just these 3 threads exiting for some unknown reason. any help would be much appreciated..
@cazz2 жыл бұрын
Just a tip... you can't use a normal debugger when manual mapping... you need to LoadLibrary. I'm going to guess your HWND or Device or null so the setup is failing - set a BP in DllMain and step through.
@spasm2 жыл бұрын
@@cazz well, i rewatched the entire video and had not a single error, used xenos injector with it to see if the issue was csghost or extremeinjector, matched game settings, and still nothing. the only thing that happened was the game stopped responding and just froze, but sounds were still being made as i would click around the main menu gui. could this have something to do with the hooks.cpp and the EndScene function ? not really sure tbh just taking a shot in the dark since debugger was no help cuz VS was bugging out on me :/
@genisysnash46722 жыл бұрын
@day did you manage to resolve this problem? i got a similar problem
@spasm2 жыл бұрын
@@genisysnash4672 it was an issue w imgui initialization and his settings, just go back through that part and even if it all looks right just double check it all may be a super minor issue somewhere that isnt flagged as an error
@genisysnash46722 жыл бұрын
@@spasm thanks. ill try it.
@PolrFlar32 жыл бұрын
ay man, is directx9 hooking compatible with directx11?
@cazz2 жыл бұрын
No, they are not. They are quite different, check out Kiero and how it is done in there.
@kurobaakaito4 ай бұрын
when i press inject from xenos i get the "failed to create device" error written in gui.cpp, how to fix?
@Timo-Epis7 күн бұрын
Got the same error, gonna debug it tomorrow and see where it goes wrong.
@Timo-Epis7 күн бұрын
Well I debuged it and I made 3 typo's. You need to check your bool::gui::SetupDirectX function. You made a typo probably somewhere. The code from the tutorial works 100% so it's you that made a mistake.
@CanadianWatermelon-ff3pf Жыл бұрын
what i do if unable to initialize minhook
@pain-1929 Жыл бұрын
Hello brother, your video has been very helpful to me. What is the specific purpose of the temporary window you created Is it related to the window of the game itself
@pain-1929 Жыл бұрын
I understand whether the temporary window you create is only for obtaining functions in the Virtual function table
@Timo-Epis7 күн бұрын
For those that get errors, and it's not working. Check your code. It's 100% a typo you made or forgot something to add. I made 3 mistakes that I found when debugging. I guess not everyone knows how to debug your program. So I would advice to retype the code completly from the tutorial and be 100% focused. Or the game uses a different DirectX version than 9.
@ShaffySwitcher2 жыл бұрын
you are a god thank you
@raving_62 жыл бұрын
please ignore(timestamp): 21:09
@goozjeesh46 Жыл бұрын
i dont want to ignore
@Nioxs3 жыл бұрын
It doesnt shows any error, while compiling and while injecting - is there a way to debug the dll somehow, to find out whats wrong? So basically if I am pressing the button to open it, nothing happens and if I am pressing END the whole game crashes.
@Nioxs3 жыл бұрын
(The injection is successful and I added another messagebox/beep on setup and it shows up as part of the process)
@cazz3 жыл бұрын
build you .dll in debug, attach VS to CS:GO and then inject. Set break points in your hook and see what's happening.
@Nioxs3 жыл бұрын
@@cazz Yeah thanks, it works for x86 games. Problem is I am trying to get it to work with x64 games, but after debugging, it turns out it returns "INVALID_HOOK_POS", so it can't find the functions in x64, what makes sense. But well not sure how to fix it
@Nioxs3 жыл бұрын
But it does not throw "throw std::runtime_error("Unable to hook Reset().");" - what is a little bit weird
@essel95803 жыл бұрын
@@Nioxs did you manage to fix it? i have the same issue...
@omegafire5369 Жыл бұрын
will you make a new version for cs2? however after compiling it tells me that "can't inject 32 bit image "internalMenu.ddl" into native 64 bit process"
@CanadianWatermelon-ff3pf Жыл бұрын
make it 64
@spaffx5 ай бұрын
setup your project to 64bit and use directx11 instead of directx9
@ProdBaly3 ай бұрын
does it working for cs2
@paralxd2 жыл бұрын
can i ask to add cheats like chams to this?
@user-pp3mr6pt9i3 жыл бұрын
Why my game crashed when i injecting dll not in -insecure?
@cazz3 жыл бұрын
im not sure, are you manual mapping?
@user-pp3mr6pt9i3 жыл бұрын
@@cazz no
@MFXScript2 жыл бұрын
Does this method works for every DirectX9 games for example League of Legends ?
@cazz2 жыл бұрын
Yep, any Directx9 game. But, League might have some other anti-cheat measures so watch out. Good luck.
@MFXScript2 жыл бұрын
@@cazz Can I hook endscene this way on x64 games?
@Rebinde Жыл бұрын
If i iject it it coms an error
@JustPoker2 жыл бұрын
29:20 You've got a point ngl 😂
@Defiler151 Жыл бұрын
He do indeed, but watching this without knowing c++ or another programming language is a waste of time anyways tbh. Since you don't understand what's going on what so ever
@t59y93 Жыл бұрын
Can i use it for game uses DirectX 11?
@drearbtw8 ай бұрын
No
@HITCOMMUNITYY3 жыл бұрын
nice
@RioLewis173 жыл бұрын
hey i’m considering trying to make a fortnite aimbot i have some big plans not to use but to resell how hard do you think it would be for a game like fortnite ?
@m1croh3 жыл бұрын
Extremely, their anti cheat is insanely good and you'd need a very high knowledge of programming to get even close to making an undetectable cheat. Start small like this with CS:GO and maybe in the future you'll be able to pull it off!
@cazz3 жыл бұрын
Exactly as @panzohs said, if you are asking this question you do not know enough to make a Fortnite aimbot, it is as simple as that. Fortnite uses EAC, which would require you to make a kernel driver to bypass said AC.
@teka38932 жыл бұрын
is this still updated? i want to learn game hacking atm because writing discord bots is getting bored.
@cazz2 жыл бұрын
It sure is.
@comb4tted Жыл бұрын
@@cazz is it still updated even now, because i get an error code 0x000135 on xenos failed to inject image
@gow94763 жыл бұрын
besides learning c++ you should learn windows api too.
@cazz3 жыл бұрын
of course, but I don't like the sentiment. The windows api is massive, verbose, complex and ultimately retarded. Telling someone to "learn winapi" means nothing, and helps nothing, because what do you need to learn? You should tell people to look at how to open handles, how to enumerate through processes or modules. How to read/write memory. Not to learn the windows api.
@Timo-Epis7 күн бұрын
@@cazz True, it's like saying learn the dictionary in order to speak the language but wouldn't call that an smart move.
@HITCOMMUNITYY3 жыл бұрын
makes a tutorial on how to put a wallhack and aimbot in 1 external only
@sprydagger5 ай бұрын
any way to make this work with minecraft bedrock? directx12 and x64 i believe.
@Vituko124 ай бұрын
No, you have to make it in java
@tyger96903 жыл бұрын
Does this work for DX11 games?
@cazz3 жыл бұрын
no, unfortunately not, you will need to adapt the dx9 code to dx11
@antoniosilva1393 Жыл бұрын
Hi, my game is crashing! attached to Vs error: "Unhandled exception at 0x3DE0A6B0 in csgo.exe: 0xC00001A5: An invalid exception handler routine has been detected (parameters: 0x00000004)."
@Cobsterrrr Жыл бұрын
error 0xc000136 while injecting
@yt_lota8962 жыл бұрын
How much would you charge to teach me 1 on 1 in a call to make a warzone cheat. im not all worried about aimbot just want to start off on esp
@coolanimeclips-ngl2 жыл бұрын
Codementor exists :p Everything exists on the internet you just have to look lol.
@operatorblackbird3 жыл бұрын
When calling the ResetOriginal() function I get 2 errors; the first one is " parameter of abstract class type "IDirect3DDevice9" is not allowed: " and its a error with thre fucntion it self. The second error is " no suitable constructor exists to convert from "IDirect3DDevice9*" to "IDirect3DDevice9" " Do you know how I can fix it? I'm sure its just a stupid mistake I made.
@Hiro-zb1vu2 жыл бұрын
still have the problem?
@operatorblackbird2 жыл бұрын
@@Hiro-zb1vu bro it's been 8 months I haven't been actively trying since
why not to just "return RegisterClassEx(&windowClass);" ??
@Jerryyyy2 жыл бұрын
Is this tut working with DirectX 11 also? Or what is needed for me to change in it?
@cazz2 жыл бұрын
Nope, only direct x 9
@Jerryyyy2 жыл бұрын
@@cazz How can i make a internal overlay for DirectX 11? Can u make a tut or link one please? I need 11 or 12 for that game for i want to make an ESP, but the 11 one is more stable.
@ederathegoat27462 жыл бұрын
@@Jerryyyy what game because some games like csgo use only dx9 and not dx11 or dx12
@Jerryyyy2 жыл бұрын
@@ederathegoat2746 PUBG lel, im obsessed w hackers, who shoot me like automatic weapons in head, but w m24
@subsonicmacros13862 жыл бұрын
will this work for directx11 ?
@Tingleton112 жыл бұрын
no
@Бебрамонаха2 жыл бұрын
It's not work, when inject just.. error
@saddish28162 жыл бұрын
Hi, Will most of the code work if I change the backend to OpenGL? The game I am trying to hook uses OpenGL.
@cazz2 жыл бұрын
It will work if you hook an OpenGL function + use the OpenGl backend... yes.
@stevenjohnson96602 жыл бұрын
great video
@Acous7icwav3 Жыл бұрын
Brother why I generated but did not find the exe file
@cazz Жыл бұрын
It’s not an exe. It’s an internal and therefore a .dll is created. You need to inject the .dll into the game.
@winter7843 Жыл бұрын
I inject my dll into csgo but the menu doesn't open
@verlet6809 Жыл бұрын
did you fix this issue?
@goozjeesh46 Жыл бұрын
when i inject i just get an error and the error code is 0xC0000135 pls help i really need it
@goozjeesh46 Жыл бұрын
it worked :D
@comb4tted Жыл бұрын
@@goozjeesh46 what did you do? i get the same error code
@goozjeesh46 Жыл бұрын
@@comb4tted i remade the whole thing 🤣🤣 not the most practical solution, but it worked
@comb4tted Жыл бұрын
@@goozjeesh46 fr? can you please send me the code i need it
@goozjeesh46 Жыл бұрын
@@comb4tted bro im so sorry i didnt see your comment and i just accidentally cleared my entire drive so i lost all of my work :( im remaking it rn so ill send a github link when im done
@MonoWho2 жыл бұрын
how do i fix XINPUT1_3.dll error
@cazz2 жыл бұрын
Unfortunately ImGui has that dll embedded and will try to load it when you inject your cheat. To fix the problem, you need to stop ImGui from trying to load the xinput dll. Just look through or search for it in the imgui files in your code and remove it.
@tiennguyentran7453 Жыл бұрын
I signed up for a membership package to use your code internal menu on csgo in win 11 and got error code Error code 0xC0000135 *i hope you see this comment*
@ghiathbarry89762 жыл бұрын
keep it up bro
@youuyouu3482 жыл бұрын
Hello, very nice vid you explain all stuff, but i have a problem with WND PROC when i inject to LEFT 4 DEAD i click through my imgui menu, someone can help me to not interact with game?
@wraith3422 жыл бұрын
game crashes when i inject
@ShadowStarz4313 жыл бұрын
subbed
@cazz3 жыл бұрын
@notnotcz4835 Жыл бұрын
i cant build besause of problems in gui.obj can anyone help me?
@ningu10363 жыл бұрын
hey man im fucking loving this shit you think you will ever make a tut for harder games such as rust,tarkov, etc ...love you man
@cazz3 жыл бұрын
eventually brother! I really appreciate it by the way