gamehook icon indicating copy to clipboard operation
gamehook copied to clipboard

"More than one GameHookBuffer created. Things will end badly from here on!"

Open rmichnovicz opened this issue 5 years ago • 3 comments

I got Gamehook to work with GTA V. However, it crashes with both NBA 2k19, Mortal Kombat X, and Session (a game using unreal engine) with several echos of "More than one GameHookBuffer created. Things will end badly from here on!" which start happening after the 2nd echo of "Hooking the device and device context."

This is true both on the refactor branch of this repo and Brady Z's fork.

Not quite sure what to do about this.

rmichnovicz avatar Dec 01 '19 09:12 rmichnovicz

I got Gamehook to work with GTA V. However, it crashes with both NBA 2k19, Mortal Kombat X, and Session (a game using unreal engine) with several echos of "More than one GameHookBuffer created. Things will end badly from here on!" which start happening after the 2nd echo of "Hooking the device and device context."

This is true both on the refactor branch of this repo and Brady Z's fork.

Not quite sure what to do about this.

I can't make it work in GTA V 😭. May I know the key?

Environment: Latest Steam GTA V + Win10(directx 12) + VS2019 Compilation is OK, with an additional line #include <functional> added to wrapper/hlsl.cpp. But game crashed as same as issue12 https://github.com/philkr/gamehook/issues/12

Thanks a lot

ricgao avatar Jul 06 '20 11:07 ricgao

@rmichnovicz do you have files for GTAV? i compiled all but it crashes

gianlucamaugeri avatar Nov 12 '20 15:11 gianlucamaugeri

@rmichnovicz do you have files for GTAV? i compiled all but it crashes

Hi, have you solved this, and which stage did it crashed?

annopackage avatar Mar 09 '23 13:03 annopackage