Hooking DirectInput C++

Sdílet
Vložit
  • čas přidán 27. 08. 2024

Komentáře • 56

  • @crapyguy1234
    @crapyguy1234 Před 3 lety +3

    Great work as usual. Keep up the good work!!!!

  • @arthurgroll4906
    @arthurgroll4906 Před 3 lety +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...)

  • @harveythe8053
    @harveythe8053 Před 3 lety

    @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.

  • @oraclematon9277
    @oraclematon9277 Před 3 lety

    So good to watch your new video. Thnx for sharing ~! I've read the whole AD.

  • @justaplebdontmindmeii452
    @justaplebdontmindmeii452 Před 3 lety +1

    1:18 im totaly looking at that damn graph.

  • @scavenger4813
    @scavenger4813 Před 3 lety

    I come here to see the intro ☺️

  • @corejake
    @corejake Před 3 lety

    good thing you blurred the background on 1:20, I just couldn't take my eyes off of it.

  • @julianomoraes4207
    @julianomoraes4207 Před měsícem

    Help me, follow the entire process and step by step, but I can't lock the keyboard, only the mouse. help me please.

  • @begbarros
    @begbarros Před 2 měsíci

    Nice tut…what’s the difference of hooking dinput methods and just calling GetAsyncKeyState in the main loop?

  • @muhammadrizkihidayat6440
    @muhammadrizkihidayat6440 Před 7 měsíci

    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

  • @zorro59_official
    @zorro59_official Před 3 lety +1

    My Imgui is not clickable direxrx9 game called Combat arms Classic how can i fix that?

  • @user-sd6wq1dy5i
    @user-sd6wq1dy5i Před rokem

    I have DirectInput8Create output "DirectInput8Create failed!"
    how did you manage to run halo in a window???

  • @hieuang907
    @hieuang907 Před 3 lety

    yead! thanks for video

    • @hieupc1307
      @hieupc1307 Před 2 lety

      bạn ơi cho mình hỏi với

  • @vaverix
    @vaverix Před 3 lety

    @CasualGamer 7:17, line 24, getFunctionAddress function. Shouldn't be there "uintptr_t pFunction = avTable + index * sizeof(uintptr_t)"?

    • @casualgamer1791
      @casualgamer1791  Před 3 lety

      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

  • @user-vg9pf2bw7r
    @user-vg9pf2bw7r Před 3 lety +1

    Build error in VS2019!

  • @HeyWhoTheFuckAreYou
    @HeyWhoTheFuckAreYou Před 3 lety

    How can I make background clicks so I can go about my business while my hidden game clicker clicks the buttons by itself? I tried to use SendMessage and PostMessage but it didn't work for me, it works on some Windows applications but not in CS: GO for which I am doing it.

  • @johannex.
    @johannex. Před 3 lety

    Amazing tutorial. Can i release key pressing instead c++ send input (this works good, but need arrow which not have scan codes)

  • @jirihusak175
    @jirihusak175 Před 3 lety

    Hello, could you do a video about how to check if process is running for external cheats?

  • @kubi2834
    @kubi2834 Před 3 lety +1

    hi man, how can I contact u? mail/discord

  • @bambou3715
    @bambou3715 Před 2 lety

    Nice tutorial but how to send theses values to imgui?

  • @happyoncrack1786
    @happyoncrack1786 Před 3 lety

    hey this work for the new black ops cold war??

  • @mariusschubert4882
    @mariusschubert4882 Před 3 lety

    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  Před 3 lety

      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

  • @hieupc1307
    @hieupc1307 Před 2 lety

    what if the game dont have any Input at all?

  • @bilibiliyxu215
    @bilibiliyxu215 Před 3 lety

    What do you put for hmodule? Is it even initialized?

    • @casualgamer1791
      @casualgamer1791  Před 3 lety

      case DLL_PROCESS_ATTACH: myhModule = hModule;

    • @bilibiliyxu215
      @bilibiliyxu215 Před 3 lety

      @@casualgamer1791 I see, but where does DLLMain gets called?

    • @casualgamer1791
      @casualgamer1791  Před 3 lety

      "'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 Před 3 lety

      @@casualgamer1791 I must have been incredibly dumb to miss that video in the link. Much appreciate the explanation.

    • @casualgamer1791
      @casualgamer1791  Před 3 lety

      Np those were some valid questions

  • @supernov4678
    @supernov4678 Před 3 lety

    where are you bro I miss you

  • @hipartvn
    @hipartvn Před 3 lety

    i want to send press key? source demo please

    • @casualgamer1791
      @casualgamer1791  Před 3 lety

      Check out the guided hacking link in the description

    • @hieupc1307
      @hieupc1307 Před 2 lety

      bạn ơi cho mình hỏi với

    • @croser81
      @croser81 Před 2 lety

      @@casualgamer1791 Any alternatives that don't cost 20 bucks?

  • @irizkyw
    @irizkyw Před 2 lety

    whats different dinput8.dll and DINPUT8.dll, i try use u script result not same.

  • @MiseryKira
    @MiseryKira Před 3 lety

    0:43 song name?

  • @arifsharma6777
    @arifsharma6777 Před 3 lety

    How can I do this in pubg lite

  • @nark4837
    @nark4837 Před 3 lety

    UE4 next, please? :D

    • @casualgamer1791
      @casualgamer1791  Před 3 lety

      Unreal Engine 4? That is a big topic. Be more specific pls

    • @nark4837
      @nark4837 Před 3 lety

      @@casualgamer1791 Hacking UE4 games. Function calling/hooking using process event and stuff like that.

  • @hipartvn
    @hipartvn Před 3 lety

    please link facebook or twiter of you? i want press key

  • @shreeshind8388
    @shreeshind8388 Před 3 lety

    Can u make for 3d game bot like automatic shoot???

  • @garggank9083
    @garggank9083 Před 3 lety

    Are you an international hacker?

    • @casualgamer1791
      @casualgamer1791  Před 3 lety

      Not sure what qualifies as international, I am not from the US.

  • @qwdjnkqwdqwnj32
    @qwdjnkqwdqwnj32 Před 3 lety

    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 czcams.com/video/NbNEDkOK4xM/video.html

  • @gurmeetmaan9109
    @gurmeetmaan9109 Před 3 lety +1

    Bro please make video on how to make pubg mobile esp plz plz plz ....

  • @izzoberrylibo3060
    @izzoberrylibo3060 Před 3 lety

    Lovely 😍💋 💝💖❤️