Git Product home page Git Product logo

Comments (9)

justinstenning avatar justinstenning commented on July 24, 2024

Possibly, definitely used to work with LoL, but it has been a long time since I tried. Would need to check the inner exception. If it is Code 5, then it is a permissions problem (ie game anticheat/ protection logic or similar preventing injection)

from direct3dhook.

vacekj avatar vacekj commented on July 24, 2024

Same exception happening when trying to inject into Overwatch. Access denied. #60 might be of help, though I haven't tested it yet.

from direct3dhook.

vacekj avatar vacekj commented on July 24, 2024

How do we go from here then?

I've looked into OBS Studio capturing method, since it can capture it no problem. How does their method work? Can we use it here?

from direct3dhook.

justinstenning avatar justinstenning commented on July 24, 2024

OBS is probably whitelisted. Certainly that is the case with the protection in ARK and Fortnite.

It might be worth trying the stealth injection but I wouldn’t hold my breath.

If you are after screencapture, then you could use windows desktop duplication APIs, this requires no hooking at all, but requires Windows 8+

from direct3dhook.

vacekj avatar vacekj commented on July 24, 2024

I just tried recording Overwatch using https://github.com/smourier/Duplicator and it shows up as black, as a result of Overwatch screenblock protection. So I guess the only way to go about this is to somehow manage to hook into OW.

from direct3dhook.

nuclearWinters avatar nuclearWinters commented on July 24, 2024

If you are after screencapture, then you could use windows desktop duplication APIs, this requires no hooking at all, but requires Windows 8+

I want a screenshot every second and do computer vision with them in python simultaneously. I will try that.

from direct3dhook.

jazzup avatar jazzup commented on July 24, 2024

@nuclearWinters @JouzaLoL
Referring to @spazzarama https://github.com/spazzarama/Direct3DHook/issues/56

I modified CaptureProcess.cs to use SetWindowsHookEx
CaptureProcess.zip

Use the uploaded file instead of existing one after changing a couple of lines. It should inject Capture.dll like it did for Call of duty Infinite Warfare for me; it was giving Access denied code 5

pe

Next step is to use the LocalHook but I haven't been able to make it work.
Perhaps you or @spazzarama, whenever he has the time, can take it from where I got stuck.

from direct3dhook.

justinstenning avatar justinstenning commented on July 24, 2024

@jazzup have you tried the LocalHook at all after injecting using SetWindowsHookEx? If you want the IPC etc.. you will have to come up with a way to setup the channel and connect to it from the injected assembly - you could use a static name during testing for the channel or just not use the IPC and see how it fairs.

from direct3dhook.

bittzz avatar bittzz commented on July 24, 2024

I get this when trying to inject into League of Legends.exe

System.ApplicationException: STATUS_INTERNAL_ERROR: C++ completion routine has returned success but didn't raise the remote event. (Code: 0)

from direct3dhook.

Related Issues (20)

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.