hiitiger / goverlay

DirectX hook and game overlay solution for Electron, Qt and CEF, just like discord/steam game overlay,inject any app to overlay in your game
Other
800 stars 111 forks source link

injection works but sometimes the overlay did not #97

Closed ezequielvictor closed 1 year ago

ezequielvictor commented 1 year ago

I'm trying to use this on cs:go, launching the game with -allow_third_party_software -insecure flags

sometimes works, idk why, here is the response

response:  {
  injectHelper: '\\\\?\\goverlay\\electron-overlay\\injector_helper.exe',
  injectDll: '\\\\?\\goverlay\\electron-overlay\\n_overlay.dll',
  injectSucceed: true
}

after that, this log arrives: hook pid: 28780, thread:19364 SetWindowsHookEx failed: 87safeInject, pid:28780, result:0

ezequielvictor commented 1 year ago

I realized that it is because of CS:GO security, I put these launch options below and it works, I believe that by signing the dlls everything is ok

-allow_third_party_software -untrusted -insecure