Osiris icon indicating copy to clipboard operation
Osiris copied to clipboard

Suggestion ANTI-OBS

Open wieisstimpee opened this issue 7 years ago • 1 comments

Yes, again this suggestion. I just really want it to have anti obs and i cant really find anything that will work on this cheat that makes it anti obs.. so i hope that he wants to add that.

wieisstimpee avatar Aug 07 '19 12:08 wieisstimpee

Jesus man I'll come back with an edit.

EDIT: In order to achieve that, you have to do 4 things: (d3d11 only)

  • Acquire a clean screen in every frame
  • Hook ID3D11DeviceContext::CopyResource (and potentially ID3D11DeviceContext::CopySubresourceRegion) and IDXGISwapChain::GetBuffer
  • in every IDXGISwapChain::GetBuffer call you take store the retrieved swapchain buffer (which we later use for comparison)
  • once CopyResource got called, you want to check if the source buffer is the swapchain buffer, when that is the case, you replace the source buffer with the clean screen you have acquired.

Info from : UC @DeadSpy

deprale avatar Aug 07 '19 14:08 deprale