Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Fix Chat Logger++
Browse files Browse the repository at this point in the history
  • Loading branch information
seishun committed Dec 10, 2013
1 parent 6ba4ca6 commit 44784ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Open Steamworks/ClientCommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class ISteamUnifiedMessages;
class ISteamController;


#define CLIENTENGINE_INTERFACE_VERSION "CLIENTENGINE_INTERFACE_VERSION002"
#define CLIENTENGINE_INTERFACE_VERSION "CLIENTENGINE_INTERFACE_VERSION003"


#define STEAMCLIENT_INTERFACE_VERSION_006 "SteamClient006"
Expand Down
2 changes: 1 addition & 1 deletion Projects/Chat Logger++/Logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ void* CLogger::FindSteamFunction(const char* cszName)
{
static CSigScanner sigScanner(GetModuleHandleA("steamclient.dll"));

for(unsigned char* pMatch = NULL; pMatch = (unsigned char*)sigScanner.FindSignature("\x68\x00\x00\x00\x00\x51\x8d\x55\xd0\x52\x50\xe8\x00\x00\x00\x00\x8d\x48\x04\xe8\x00\x00\x00\x00\x8b\xf0\x8b\xce\xe8\x00\x00\x00\x00\x3c\x01\x74\x00", "x????xxx?xxx????xxxx????xxxxx????xxx?", false, pMatch); )
for(unsigned char* pMatch = NULL; pMatch = (unsigned char*)sigScanner.FindSignature("\x68\x00\x00\x00\x00\x51\x8d\x55\xd0\x52\x50\xe8\x00\x00\x00\x00\x8d\x48\x04\xe8\x00\x00\x00\x00\x8b\xf0\x8b\xce\xe8\x00\x00\x00\x00\x00\x00\x00\x00", "x????xxx?xxx????xxxx????xxxxx????????", false, pMatch); )
{
const char* cszFunctionName = *(const char**)(pMatch + 1);
if(strcmp(cszFunctionName, cszName) == 0)
Expand Down

0 comments on commit 44784ce

Please sign in to comment.