r01 not extracting.

This commit is contained in:
Hash Borgir
2024-05-08 17:56:23 -06:00
parent d75e045bc7
commit dc76f5627b
6 changed files with 105 additions and 50 deletions

View File

@@ -40,6 +40,8 @@
#include <vector>
#include <CommCtrl.h> // Include for edit control
#include "d2tweaks/client/modules/loot_filter/loot_filter_settings_toggle_menu.h"
// Define a static variable to keep track of the last time the stash window was toggled
static std::chrono::steady_clock::time_point lastToggleTime;
@@ -543,6 +545,13 @@ LRESULT d2_tweaks::ui::ui_manager::wnd_proc(HWND hWnd, UINT msg, WPARAM wParam,
block = true; // block the game from processing this key
}
// Send transmute packet
if (wParam == 'E') {
// send packet from server to client
block = true; // block the game from processing this key
}
if (wParam == 'V') {
// Define a cooldown duration in milliseconds
constexpr int cooldownDuration = 500; // Adjust this value as needed