PDA

View Full Version : getting kicked from PB for 0 min



mojo007
04-15-2008, 10:12 AM
Hi after i added the code antivote kick,
in a button, and when i am loading from button ingame

after that i got PB kiCK

THE massage is

PunkBuster kicked player "xxxxx" (for 0 minutes)... REstriction Corrupted file/memory [81347]

how to resolve it

void CTestDlg::Onatma()
{
memory();
BYTE Nop[6] = {0x90, 0x90, 0x90,0x90, 0x90, 0x90};
WriteProcessMemory(hProcess, (LPVOID*)(DWORD)(0x505775), &Nop, sizeof(Nop),NULL);
}

randompersonmatt
04-15-2008, 10:42 AM
simple answer - you cant without a bypass

pb checks this address (and others eg. invisi) and kicks you for the reason you said above.

sry for having to tell you that =P

-matt

mojo007
04-15-2008, 10:46 AM
but i can play with stamina without get a kick or ban !

antivotekick make me get kicked for coruptet file/memory

and is there a tut for a bypass

masterboy
04-15-2008, 10:49 AM
Anti kick is ASM hack and u NOP it so PB detects that,search for detour,you might find something interesting...

mojo007
04-15-2008, 11:07 AM
i know, cause i am searching for deatour.h file but cant find it ,

but where can i find deatour.h

i am adding this code now to test.cpp with new add

void Hook( )
{
DWORD dwPbclBase = ( DWORD )GetModuleHandle( "pbcl.dll" );
pPBPerformCheck = ( PBPerformCheck_t )DetourFunction( ( BYTE * )( dwPbclBase + 0x10055FC5), ( BYTE * )_PBPerformCheck, 6 );
}

masterboy
04-15-2008, 11:19 AM
lol that wont work because u need to inject that and if u compile that u get many errors because u missing detours.h and as last the check address is wrong

mojo007
04-15-2008, 11:25 AM
ok i got detours.h and detours.lib version 1.5 build 46

puttet them in my src, and adeed in my test.cpp

#include "detours.h"
#pragma comment(lib, "detours")

added code:

void Hook( )
{
DWORD dwPbclBase = ( DWORD )GetModuleHandle( "pbcl.dll" );
pPBPerformCheck = ( PBPerformCheck_t )DetourFunction( ( BYTE * )( dwPbclBase + 0x10055FC5), ( BYTE * )_PBPerformCheck, 6 );
}


i got these errors,

'pPBPerformCheck' : undeclared identifier
'PBPerformCheck_t' : undeclared identifier
syntax error : missing ';' before identifier 'DetourFunction'
'_PBPerformCheck' : undeclared identifier
'DetourFunction' : function does not take 3 parameters