Hooking DirectInput C++

  Рет қаралды 11,375

CasualGamer

CasualGamer

Күн бұрын

Пікірлер: 57
@arthurgroll4906
@arthurgroll4906 3 жыл бұрын
Awesome video! Btw, I have already seen many of your videos and man, you explain everything very well. I remember I had to learn all these things on my own a few years ago, and it was really difficult because I was just lost and didn't even know where to start studying. I'm sure your videos are helping a lot of people that are starting to study game hacking and stuff. Keep up the hard work, I'm sure you'll soon hit a million subscribers!!! (btw, English is not my main language, so sorry about any grammar mistakes...)
@casualgamer1791
@casualgamer1791 3 жыл бұрын
Thank you very much for the kind words :)
@crapyguy1234
@crapyguy1234 4 жыл бұрын
Great work as usual. Keep up the good work!!!!
@oraclematon9277
@oraclematon9277 4 жыл бұрын
So good to watch your new video. Thnx for sharing ~! I've read the whole AD.
@casualgamer1791
@casualgamer1791 4 жыл бұрын
Awesome! Thank you :) Happy New Year btw ^^
@harveythe8053
@harveythe8053 3 жыл бұрын
@CasualGamer Man this channel is sick, i hope you continue making these vids. Yours is the only place i feel like i come away learning something properly.
@casualgamer1791
@casualgamer1791 3 жыл бұрын
Thanks :) will do
@justaplebdontmindmeii452
@justaplebdontmindmeii452 4 жыл бұрын
1:18 im totaly looking at that damn graph.
@vaverix
@vaverix 4 жыл бұрын
@CasualGamer 7:17, line 24, getFunctionAddress function. Shouldn't be there "uintptr_t pFunction = avTable + index * sizeof(uintptr_t)"?
@casualgamer1791
@casualgamer1791 4 жыл бұрын
hmm well that would be an option i think but works as is Edit: ooh you mean because i had 9 in the video.... Yes you are right ofc. I fixed that in the GitHub project
@scavenger4813
@scavenger4813 3 жыл бұрын
I come here to see the intro ☺️
@begbarros
@begbarros 5 ай бұрын
Nice tut…what’s the difference of hooking dinput methods and just calling GetAsyncKeyState in the main loop?
@corejake
@corejake 3 жыл бұрын
good thing you blurred the background on 1:20, I just couldn't take my eyes off of it.
@zorro59_official
@zorro59_official 4 жыл бұрын
My Imgui is not clickable direxrx9 game called Combat arms Classic how can i fix that?
@johannex.
@johannex. 3 жыл бұрын
Amazing tutorial. Can i release key pressing instead c++ send input (this works good, but need arrow which not have scan codes)
@julianomoraes4207
@julianomoraes4207 5 ай бұрын
Help me, follow the entire process and step by step, but I can't lock the keyboard, only the mouse. help me please.
@mariusschubert4882
@mariusschubert4882 3 жыл бұрын
Hey, first of all thx for the video So, I do have a program, that looks for a special event (OpenCV detection of an object) and then plays a sound when found. so it presses "x" on the keyboard (ingame command for scan) every "y"seconds. Can't run in the background tho, so I set it up + the game in a VM, which costs a lot of resources and is somewhat limiting. thats why I was looking for hooking the input and then simulating the keypress "x". At 3:00 : My game uses DirectX12, but from what I can tell, does not use Directinput. DLLs I found in cheatengine containing "input" are: "inputhost.dll" "TextinputFramework.dll" "xinput9_1_0.dll" "XInput1_4.dll" I simply have no clue, where to start / go from here. any advice is appreciated & thx in advance ! (also my program is written in python and I then need to find out dll injection works there)
@casualgamer1791
@casualgamer1791 3 жыл бұрын
you probably have to hook some XInput methods. Have not done that myself yet but ofc the info is out there. Doing that with python does add an extra layer of difficulty tho.. you might want to port to a different language
@jirihusak175
@jirihusak175 3 жыл бұрын
Hello, could you do a video about how to check if process is running for external cheats?
@muhammadrizkihidayat6440
@muhammadrizkihidayat6440 11 ай бұрын
Hi, bro. how to make the directinput working even it lost focus? i've already hook SetCooperativeLevel and replace DISCL_FOREGROUND to DISCL_BACKGROUND but the game still can't simulate input when i'm in focus to other window. Thank you
@tomifilep1
@tomifilep1 3 ай бұрын
Or we can check with a process hacker app inside a targeted app threads
@егорщербанов
@егорщербанов 2 жыл бұрын
I have DirectInput8Create output "DirectInput8Create failed!" how did you manage to run halo in a window???
@bambou3715
@bambou3715 2 жыл бұрын
Nice tutorial but how to send theses values to imgui?
@kubi2834
@kubi2834 3 жыл бұрын
hi man, how can I contact u? mail/discord
@АлексейМедведев-ъ6т
@АлексейМедведев-ъ6т 3 жыл бұрын
Build error in VS2019!
@happyoncrack1786
@happyoncrack1786 3 жыл бұрын
hey this work for the new black ops cold war??
@MiseryKira
@MiseryKira 3 жыл бұрын
0:43 song name?
@casualgamer1791
@casualgamer1791 3 жыл бұрын
robot barbecue in lab 5
@bilibiliyxu215
@bilibiliyxu215 3 жыл бұрын
What do you put for hmodule? Is it even initialized?
@casualgamer1791
@casualgamer1791 3 жыл бұрын
case DLL_PROCESS_ATTACH: myhModule = hModule;
@bilibiliyxu215
@bilibiliyxu215 3 жыл бұрын
@@casualgamer1791 I see, but where does DLLMain gets called?
@casualgamer1791
@casualgamer1791 3 жыл бұрын
"'The system also calls the entry-point function for a DLL when it is loaded or unloaded using the LoadLibrary and FreeLibrary functions" ie inject the dll into your target and the function will get called imediately
@bilibiliyxu215
@bilibiliyxu215 3 жыл бұрын
@@casualgamer1791 I must have been incredibly dumb to miss that video in the link. Much appreciate the explanation.
@casualgamer1791
@casualgamer1791 3 жыл бұрын
Np those were some valid questions
@hipartvn
@hipartvn 3 жыл бұрын
i want to send press key? source demo please
@casualgamer1791
@casualgamer1791 3 жыл бұрын
Check out the guided hacking link in the description
@hieupc1307
@hieupc1307 3 жыл бұрын
bạn ơi cho mình hỏi với
@croser81
@croser81 2 жыл бұрын
@@casualgamer1791 Any alternatives that don't cost 20 bucks?
@hieupc1307
@hieupc1307 3 жыл бұрын
what if the game dont have any Input at all?
@casualgamer1791
@casualgamer1791 3 жыл бұрын
What? I can not imagine a game without any input ^^
@hieuang907
@hieuang907 4 жыл бұрын
yead! thanks for video
@hieupc1307
@hieupc1307 3 жыл бұрын
bạn ơi cho mình hỏi với
@supernov4678
@supernov4678 3 жыл бұрын
where are you bro I miss you
@casualgamer1791
@casualgamer1791 3 жыл бұрын
No time atm :( new content coming asap
@arifsharma6777
@arifsharma6777 3 жыл бұрын
How can I do this in pubg lite
@hipartvn
@hipartvn 3 жыл бұрын
please link facebook or twiter of you? i want press key
@nark4837
@nark4837 3 жыл бұрын
UE4 next, please? :D
@casualgamer1791
@casualgamer1791 3 жыл бұрын
Unreal Engine 4? That is a big topic. Be more specific pls
@nark4837
@nark4837 3 жыл бұрын
@@casualgamer1791 Hacking UE4 games. Function calling/hooking using process event and stuff like that.
@qwdjnkqwdqwnj32
@qwdjnkqwdqwnj32 4 жыл бұрын
Hello, I have question I cant find any video for a external cheat client with external menu for minecraft. Do you think you can do a Video or a video series how to make a external minecraft client(for lunar client to thats an pvp client) a client like this kzbin.info/www/bejne/hJOxdnehhLBnrq8
@garggank9083
@garggank9083 3 жыл бұрын
Are you an international hacker?
@casualgamer1791
@casualgamer1791 3 жыл бұрын
Not sure what qualifies as international, I am not from the US.
@shreeshind8388
@shreeshind8388 4 жыл бұрын
Can u make for 3d game bot like automatic shoot???
@gurmeetmaan9109
@gurmeetmaan9109 3 жыл бұрын
Bro please make video on how to make pubg mobile esp plz plz plz ....
@ichwanrw
@ichwanrw 2 жыл бұрын
whats different dinput8.dll and DINPUT8.dll, i try use u script result not same.
Game Hacking Library [C++]
6:24
CasualGamer
Рет қаралды 10 М.
Hooking DirectX9
8:53
CasualGamer
Рет қаралды 37 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
vTables for Game Hacking & VMT Hooking
10:30
Guided Hacking
Рет қаралды 12 М.
Using Image Recognition to find Mario
8:47
CodeNoodles
Рет қаралды 1,9 МЛН
PyAutoGUI not working? Use DirectInput
6:35
Learn Code By Gaming
Рет қаралды 69 М.
31 nooby C++ habits you need to ditch
16:18
mCoding
Рет қаралды 840 М.
C++ Game Project [DirectInput] HUGS - Episode 9
58:18
ChiliTomatoNoodle
Рет қаралды 4,3 М.
How To Make An ESP Hack - Part 1: Entity List
8:42
CasualGamer
Рет қаралды 212 М.
External Overlay in C++ | Works For ANY Game
9:11
CasualGamer
Рет қаралды 58 М.