diff --git a/PolygonClientUtilities/Config.h b/PolygonClientUtilities/Config.h index cfe352b..99d403a 100644 --- a/PolygonClientUtilities/Config.h +++ b/PolygonClientUtilities/Config.h @@ -60,6 +60,13 @@ #define ADDRESS_CCOMMANDLINEINFO__PARSELAST 0x0081354A #endif +// RobloxApp/RobloxPlayer (2012) +#ifdef MFC2012 +#define ADDRESS_HTTP__TRUSTCHECK 0x006D5D20 +#define ADDRESS_CRYPT__VERIFYSIGNATUREBASE64 0x009B1D20 +#endif + +// RobloxPlayerBeta (2012) #ifdef PLAYER2012 // so 2012's a bit different // VMProtect likes to offset the memory locations randomly on startup diff --git a/PolygonClientUtilities/RobloxMFCClasses.h b/PolygonClientUtilities/RobloxMFCClasses.h index 280d472..207ee13 100644 --- a/PolygonClientUtilities/RobloxMFCClasses.h +++ b/PolygonClientUtilities/RobloxMFCClasses.h @@ -4,11 +4,13 @@ #include +#ifdef ARBITERBUILD struct DataModel { void* padding1[CLASSPADDING_DATAMODEL__JOBID]; std::string jobId; }; +#endif #if defined(MFC2010) || defined(MFC2011) // 2010 struct definitions: diff --git a/PolygonClientUtilities/RobloxMFCHooks.cpp b/PolygonClientUtilities/RobloxMFCHooks.cpp index fdd44f8..84b3e78 100644 --- a/PolygonClientUtilities/RobloxMFCHooks.cpp +++ b/PolygonClientUtilities/RobloxMFCHooks.cpp @@ -144,6 +144,7 @@ BOOL __fastcall Application__ParseArguments_hook(int _this, void*, int a2, const { hasJobId = true; jobId = argslist["-jobId"]; + Logger::Initialize(jobId); // now we have to reconstruct the args to exclude the -jobId arg std::stringstream argsrecon; diff --git a/PolygonClientUtilities/dllmain.cpp b/PolygonClientUtilities/dllmain.cpp index d1d09e4..b8cee05 100644 --- a/PolygonClientUtilities/dllmain.cpp +++ b/PolygonClientUtilities/dllmain.cpp @@ -32,9 +32,6 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserv { if (ul_reason_for_call == DLL_PROCESS_ATTACH) { -#ifdef PLAYER2012 - Logger::Initialize("player2012Test"); -#endif LONG error = Patches::Apply(); if (error != NO_ERROR) {