nefarius / Indicium-Supra

DirectX API-hooking framework
MIT License
310 stars 56 forks source link

hook League of Legends.exe fullscreen,game crashed #10

Closed klob closed 6 years ago

nefarius commented 6 years ago

Great issue. No logs, no version information, I'll just fetch everything from my magic Eight Ball 💩

klob commented 6 years ago

version 3.0.33.0

It works in window mode.When I changed to fullscreen mode,it crashed.Logs bellow.

2018-07-12 08:18:56.038 IndiciumEngineInit [Information]: Indicium engine initialized, attempting to launch main thread
2018-07-12 08:18:56.040 IndiciumEngineInit [Information]: Main thread created successfully
2018-07-12 08:18:56.043 IndiciumMainThread [Information]: Library loaded into \Device\HarddiskVolume2\Program Files\腾讯游戏\英雄联盟\Game\League of Legends.exe
2018-07-12 08:18:56.044 IndiciumMainThread [Information]: Library enabled
2018-07-12 08:18:56.045 IndiciumMainThread [Information]: Initializing hook engine...
2018-07-12 08:18:56.047 IndiciumMainThread [Information]: Hook engine initialized
2018-07-12 08:18:56.105 IndiciumMainThread [Information]: Hooking IDirect3DDevice9Ex::Present
2018-07-12 08:18:56.170 IndiciumMainThread [Information]: Hooking IDirect3DDevice9Ex::Reset
2018-07-12 08:18:56.214 HookDX9Ex [Information]: ++ IDirect3DDevice9Ex::Present called
2018-07-12 08:18:56.238 IndiciumMainThread [Information]: Hooking IDirect3DDevice9Ex::EndScene
2018-07-12 08:18:56.330 IndiciumMainThread [Information]: Hooking IDirect3DDevice9Ex::PresentEx
2018-07-12 08:18:56.433 IndiciumMainThread [Information]: Hooking IDirect3DDevice9Ex::ResetEx
2018-07-12 08:18:56.513 HookDX9Ex [Information]: ++ IDirect3DDevice9Ex::EndScene called
2018-07-12 08:18:56.534 IndiciumMainThread [Error]: Runtime exception: Couldn't get handle to D3D10.dll
2018-07-12 08:18:56.704 IndiciumMainThread [Information]: Hooking IDXGISwapChain::Present
2018-07-12 08:18:56.774 IndiciumMainThread [Information]: Hooking IDXGISwapChain::ResizeTarget
2018-07-12 08:18:56.843 IndiciumMainThread [Error]: Runtime exception: Couldn't get handle to D3D12.dll
2018-07-12 08:18:56.844 IndiciumMainThread [Information]: Library initialized successfully
2018-07-12 08:19:37.507 HookDX9Ex [Information]: ++ IDirect3DDevice9Ex::Reset called
nefarius commented 6 years ago

Do you inject while windowed and then switch to full screen? What sample are you injecting, ImGui? Then provide that log as well please.