Skip to content

Commit

Permalink
fix & upd ver
Browse files Browse the repository at this point in the history
  • Loading branch information
clauadv committed Nov 2, 2024
1 parent f539173 commit d53d1a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions usermode/src/common.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#pragma once

/* current build of cs2_webradar */
#define CS2_WEBRADAR_VERSION "v1.2.1"
#define CS2_WEBRADAR_VERSION "v1.2.2"

/* current build of cs2 */
#define CS2_VERSION "17:12:26"
#define CS2_VERSION "13:56:27"

/* game modules */
#define CLIENT_DLL "client.dll"
Expand Down
6 changes: 3 additions & 3 deletions usermode/src/utils/memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ bool c_memory::setup()
if (!handle.has_value())
{
LOG_WARNING("failed to hijack a handle for 'cs2.exe', we will continue using the classic method");
handle.value() = OpenProcess(PROCESS_VM_READ | PROCESS_QUERY_INFORMATION, false, this->m_id);
this->m_handle = OpenProcess(PROCESS_VM_READ | PROCESS_QUERY_INFORMATION, false, this->m_id);
}

this->m_handle = handle.value();
else
this->m_handle = handle.value();

return this->m_handle != nullptr;
}
Expand Down

0 comments on commit d53d1a9

Please sign in to comment.