Code Monkey home page Code Monkey logo

universal-dear-imgui-hook's Introduction

Hi there ๐Ÿ‘‹

I'm Sh0ckFR, welcome on my GitHub.

๐Ÿ”ญ Iโ€™m currently working on C2 payloads and related stuff.

๐ŸŒฑ I'm currently learning the mysteries of the Active Directory after learning enough things to not be too bad at AV/EDR evasion.

๐Ÿ“ซ How to reach me: via Twitter (Do not contact me for illegal things please)

Alt Text

universal-dear-imgui-hook's People

Contributors

primemb avatar sh0ckfr avatar sirmestre avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

universal-dear-imgui-hook's Issues

Compilation Error

I am getting the error "Cannot open include file: 'imgui.h': No such file or directory"

Nothing Shows Upon Injection

Hi there. I compiled the project as x64 Release, then injected it into an x64 D3D11 process with cheat engine. (Also tried GH injector)

Upon injecting, I get a success message, though nothing changes. When clicking insert, nothing shows up.

Any ideas? Same thing happens when using this hook too - https://github.com/guided-hacking/GH_D3D11_Hook

drawing disappears

Hello. I ran into a problem that after the injection at the moment the game starts, the ImGui menu appears for a couple of seconds and then disappears. When the game is already running, I inject, there is no reaction. I suspect something is changing in those couple of seconds, but I can't figure out what it is. What is the best way for me to do this to find out?

Crashing upon release of resources

My hook code:
https://pastebin.com/

How I release the resources:

Utils::LogDebug(Utils::GetLocation(CurrentLoc), Cheat::Title + ": Unloading...");

#if FRAMEWORK_RENDER_D3D12
D3D12Release();
kiero::shutdown();
#endif

console.get()->Destroy();

std::this_thread::sleep_for(std::chrono::seconds(3));

FreeLibraryAndExitThread(hModule, EXIT_SUCCESS);

Game: Satisfactory (Steam)
Engine: Unreal 5

Crash Log:

Version: 264901, IsEditor: No, IsPerforceBuild: No, BuildConfiguration: Shipping, Launcher: Steam, NetMode: Standalone, IsUsingMods: No, IsSaveGameEdited: No

Fatal error: [File:C:\BuildAgent2\work\78a794e88763017d\UE4\Engine\Source\Runtime\D3D12RHI\Private\D3D12Util.cpp] [Line: 873] D3DCommandQueue->Signal(ManualFence, Value) failed at C:\BuildAgent2\work\78a794e88763017d\UE4\Engine\Source\Runtime\D3D12RHI\Private\D3D12Submission.cpp:838 with error E_INVALIDARG

FactoryGame_D3D12RHI_Win64_Shipping!D3D12RHI::VerifyD3D12Result() [C:\BuildAgent2\work\78a794e88763017d\UE4\Engine\Source\Runtime\D3D12RHI\Private\D3D12Util.cpp:873]
FactoryGame_D3D12RHI_Win64_Shipping!FD3D12Queue::ExecutePayload() [C:\BuildAgent2\work\78a794e88763017d\UE4\Engine\Source\Runtime\D3D12RHI\Private\D3D12Submission.cpp:836]
FactoryGame_D3D12RHI_Win64_Shipping!<lambda_0bd2b0fca5ae7636cf328c9307d2e0f5>::operator()() [C:\BuildAgent2\work\78a794e88763017d\UE4\Engine\Source\Runtime\D3D12RHI\Private\D3D12Submission.cpp:582]
FactoryGame_D3D12RHI_Win64_Shipping!FD3D12DynamicRHI::ForEachQueue() [C:\BuildAgent2\work\78a794e88763017d\UE4\Engine\Source\Runtime\D3D12RHI\Private\D3D12RHIPrivate.h:385]
FactoryGame_D3D12RHI_Win64_Shipping!FD3D12DynamicRHI::ProcessSubmissionQueue() [C:\BuildAgent2\work\78a794e88763017d\UE4\Engine\Source\Runtime\D3D12RHI\Private\D3D12Submission.cpp:585]
FactoryGame_D3D12RHI_Win64_Shipping!FD3D12Thread::Run() [C:\BuildAgent2\work\78a794e88763017d\UE4\Engine\Source\Runtime\D3D12RHI\Private\D3D12Submission.cpp:83]
FactoryGame_Core_Win64_Shipping!FRunnableThreadWin::Run() [C:\BuildAgent2\work\78a794e88763017d\UE4\Engine\Source\Runtime\Core\Private\Windows\WindowsRunnableThread.cpp:149]

If you know a fix or where I went wrong please let me know.

difference

Whats the difference between kiero? cons/pros ?

Error C1047 when building

When building, I get error C1047 as seen below:
image

Unlike in #2 , when cloning from GitHub Desktop, I still get the error and cannot build.

Direct X Error

I am getting the error "directx has encountered an unrecoverable error" when injecting this into COD Warzone, any idea whats going on?

Flickering at high FPS

Tested on AC Valhalla, ImGUI shows up but its flickering hundred times per second if you disable FPS limit in game. Also game crashes if you change FPS limit while this hook is injected (even if ImGUI is currently not shown).

Doesn't work for me

Hello.

I have tried everything possible to get it to work but it just won't show anything.

Game is for sure Dx12. Manual injection goes fine but there is nothing there if pressed INSERT. Then I tried few of the best DLL injectors, same story tho some of them failed to inject the dll.

I really thought this was it and I can start learning but for some reason, it just won't show the ImGui window.

Any tips to try would be appreciated.

Also I have tried to debug but had some difficulties with compilation. I will continue to research but don't know what can be the issue.

Regards.

Cyberpunk freezes when menu is open

When you press insert, the menu opens and the game freezes, does not respond to any input. Hangs only when closing the menu through the debugger.

As I understand the problem in the method in inputhook.cpp

LRESULT APIENTRY WndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { if (menu::isOpen) { ImGui_ImplWin32_WndProcHandler(hwnd, uMsg, wParam, lParam); return true; } return CallWindowProc(oWndProc, hwnd, uMsg, wParam, lParam); }

if you remove "return true;" then everything works, but the cursor is frozen in the center and continues to control the game

g_hwnd !=0 error

rebuilt lib and injected throws this error if i click ignore hit f12 it will just crash any d3d12 game its injected to!

line throwing the error.
static void ImGui_ImplWin32_UpdateMousePos() { ImGuiIO& io = ImGui::GetIO(); IM_ASSERT(g_hWnd != 0);
Screenshot_1

attached with vs

A breakpoint instruction (__debugbreak() statement or a similar call) was executed in UE4Game.exe.

Screenshot_2

Help

What compiler version was used to compile this code?

Severity Code Description Project File Line Suppression State
Error C1047 The object or library file 'C:\Users\Eigenaar\Desktop\Universal-Dear-ImGui-Hook-master\minhook\lib\libMinHook.x64.lib' was created by a different version of the compiler than other objects like 'x64\Release\d3d12hook.obj'; rebuild all objects and libraries with the same compiler Halo-Hook C:\Users\Eigenaar\Desktop\Universal-Dear-ImGui-Hook-master\LINK 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.