Originally Posted by
carlos1
Can someone please tell me how to bypass it? I just want to create a private match with bots. I was told to put the code: typedef void*(__cdecl *Cmd_RemoveCommand_t)(const char *cmdName);extern Cmd_RemoveCommand_t Cmd_RemoveCommand;Cmd_RemoveCommand("steamlobbycre atefail"); //0x564320
but i don't know where to put it.
- - - Updated - - -
Can you expand a bit? I don't understand
If you want to use that code just do something like this (inject it into MW2)
Code:
#include <Windows.h>
typedef void*(__cdecl *Cmd_RemoveCommand_t)(const char *cmdName);
Cmd_RemoveCommand_t Cmd_RemoveCommand;
BOOL APIENTRY DllMain(HMODULE hModule, DWORD reason, LPVOID lpReserved){
switch (reason){
case DLL_PROCESS_ATTACH:{
DisableThreadLibraryCalls(hModule);
Cmd_RemoveCommand = (Cmd_RemoveCommand_t)0x564320;
Cmd_RemoveCommand("steamlobbycreatefail");
break;
}
}
return TRUE;
}
If you want to use my method, just open OllyDBG, do the normal steps to attach to MW2 and etc, go to the address 0x628A1B, and just NOP out 2 bytes or replace 1 byte with JE.
Both of these methods *should* allow you to get past the error and make a private match (you still can't play with friends or others as of yet).