Closed iorlas closed 13 years ago
Problem somewhere in the device recreation. On cheat engine run, device marks as lost, so LoL tries to run Reset(). Usually, it must be like this one in the console:
r3dRenderLayer::RestoreResources
But we our, it cant recreate resources, so we need to recheck it.
Need to try OnLost/Reset call for recreating resources like a font. http://www.mikoweb.eu/index.php?node=24
Btw, maybe something with a inner counter of D3D. Need to recheck d3d proxy library: http://www.codeguru.com/cpp/g-m/directx/directx8/article.php/c11453/Intercept-Calls-to-DirectX-with-a-Proxy-DLL.htm
unable to reset d3d device, 8876086c
All is ok, fix commit is comming.
So, better to unload resources before call device->Reset. And load again after. Not needed to check it by myself, app will handle it.
Reproduce: Start the game. Inject. Run Cheat engine. Crash.