philkr / gamehook

BSD 2-Clause "Simplified" License
119 stars 23 forks source link

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

Open rmichnovicz opened 4 years ago

rmichnovicz commented 4 years ago

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.

ricgao commented 4 years ago

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

gianlucamaugeri commented 3 years ago

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

annopackage commented 1 year ago

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

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