Honorable Member Mali 41895 Posted August 23, 2023 Honorable Member Share Posted August 23, 2023 (edited) This is the hidden content, please Sign In or Sign Up This is the hidden content, please Sign In or Sign Up Requirements: DirectX 9+ Branch: docking About Library: Spoiler This is the hidden content, please Sign In or Sign Up / This is the hidden content, please Sign In or Sign Up This is the hidden content, please Sign In or Sign Up This is the hidden content, please Sign In or Sign Up Even americas uses it: Edited December 17, 2023 by Mali 120 20 19 Link to comment Share on other sites More sharing options...
Bughy 5 Posted August 28, 2023 Share Posted August 28, 2023 Aight, that's dope. Thanks for sharing that, is a good start Link to comment Share on other sites More sharing options...
shenhui1986 10 Posted September 19, 2023 Share Posted September 19, 2023 This should be able to create cheating plugins, right Link to comment Share on other sites More sharing options...
Honorable Member Mali 41895 Posted December 13, 2023 Author Honorable Member Share Posted December 13, 2023 (edited) UPDATE: DirectX 8 Support. WantCaptureMouse, WantCaptureKeyboard fixes. Known Problems: Directx 8 doesn't support D3DRS_SCISSORTESTENABLE. You cannot take Imgui off screen in DirectX 8 version. Edited December 17, 2023 by Mali 4 1 Link to comment Share on other sites More sharing options...
Premium CORKY 253 Posted December 17, 2023 Premium Share Posted December 17, 2023 (edited) Wanted to point out that on device reset, you might get your whole client frozen. That happens because the imgui's objects aren't invalidated & created again. To fix it, use Imgui's own implementations inside CGraphicDevice::Reset: bool CGraphicDevice::Reset() { HRESULT hr; if (FAILED(hr = ms_lpd3dDevice->TestCooperativeLevel())) { if (hr == D3DERR_DEVICELOST) return false; if (hr == D3DERR_DEVICENOTRESET) { __DestroyPDTVertexBufferList(); ImGui_ImplDX9_InvalidateDeviceObjects(); if (FAILED(hr = ms_lpd3dDevice->Reset(&ms_d3dPresentParameter))) { TraceError("Failed to reset device"); return false; } m_pStateManager->SetDefaultState(); if (!__CreatePDTVertexBufferList()) return false; ImGui_ImplDX9_CreateDeviceObjects(); } } return true; } Don't forget to include imgui.h and imgui_impl_dx9.h (or imgui_impl_dx8.h depending on what you're using) Edited December 17, 2023 by dumita123 1 Link to comment Share on other sites More sharing options...
Honorable Member Mali 41895 Posted December 18, 2023 Author Honorable Member Share Posted December 18, 2023 UPDATE: Device reset fix @dumita123 & @ masodikbela 2 1 Link to comment Share on other sites More sharing options...
Debloat 88 Posted February 2 Share Posted February 2 Hi Mali, first of all, this is super cool, thank you. I noticed a problem with this. If you click on ImGui window, you can't open ESC menu on Release client or directly close the game on Debug client using the X button of Metin2 window anymore. Link to comment Share on other sites More sharing options...
Debloat 88 Posted February 10 Share Posted February 10 Could someone please share some example menus and buttons? It would help code illiterates like me a ton to create new functionality. Link to comment Share on other sites More sharing options...
Recommended Posts