Double Click And that go to the error location push the button if i helped
Code:DWORD dwHSDevicePointer = FindPattern((DWORD)GetModuleHandleA("EHSvc.dll"), 0x90000, (PBYTE)"\x8B\x84\x11\x00\x00\x00\x00\x8B\x8D\xCC\xFD\xFF\xFF\x8B\x95", "xxx????xxxxxxxx"); if(dwHSDevicePointer) { dwHSDevicePointer = *(DWORD*)(dwHSDevicePointer+3); dwHSDevicePointer += 0x10; } DWORD dwTempDevicePointer = FindPattern((DWORD)GetModuleHandleA(0), (DWORD)0xFFFFFFFF, (PBYTE)"\xA1\x00\x00\x00\x00\x89\x45\xF8\x8D", "x????xxxx"); if(dwTempDevicePointer) { dwDevicePointer = *(DWORD*)(dwTempDevicePointer+1); }Code:1>.\Base.cpp(34) : error C2059: syntax error : 'if' 1>.\Base.cpp(34) : error C2143: syntax error : missing ';' before '{' 1>.\Base.cpp(34) : error C2447: '{' : missing function header (old-style formal list?) 1>.\Base.cpp(40) : error C2059: syntax error : 'if' 1>.\Base.cpp(40) : error C2143: syntax error : missing ';' before '{' 1>.\Base.cpp(40) : error C2447: '{' : missing function header (old-style formal list?)
Double Click And that go to the error location push the button if i helped
[IMG]https://i423.photobucke*****m/albums/pp312/LizMLsinatra/hh-1.png[/IMG]
Happy Hanukkah For All Of MPGH !
∞
The Real Life Are Better Then A Game !
Song :[YOUTUBE]vgKBOkvO5N0&feature=player_embedded[/YOUTUBE]Best Friends :
Hax4Life!
Solify
[MPGH]Drake`
Respect Them Or I'll Kill You ...
Shimmy- (08-06-2010)
I tried everything to fix it. Nothing works.
I Dno't What To Do I'm Not Pro But Hope I Helped You
[IMG]https://i423.photobucke*****m/albums/pp312/LizMLsinatra/hh-1.png[/IMG]
Happy Hanukkah For All Of MPGH !
∞
The Real Life Are Better Then A Game !
Song :[YOUTUBE]vgKBOkvO5N0&feature=player_embedded[/YOUTUBE]Best Friends :
Hax4Life!
Solify
[MPGH]Drake`
Respect Them Or I'll Kill You ...
Looks to me like its just being posted at the top of a header maybe? this code should be in a function as the one below. Just a little FYI hooking endscene,DIP and other D3D functions is detected by HS so unless you have another way of hooking or a better bypass this code will not be as useful as you think.
Code:bool FindPointer(void) { New_dwHSDevicePointer = FindPattern((DWORD)GetModuleHandle("ehsvc.dll"), 0x90000, (PBYTE)"\x8B\x84\x11\x00\x00\x00\x00\x8B\x8D\xCC\xFD\xFF\xFF\x8B\x95", "xxx????xxxxxxxx"); if(New_dwHSDevicePointer) { New_dwHSDevicePointer = *(DWORD*)(New_dwHSDevicePointer+3); New_dwHSDevicePointer += 0x10; //add_log("deHSdevicepointer-> 0x%X",dwHSDevicePointer); } else return false; DWORD dwTempDevicePointer = FindPattern((DWORD)GetModuleHandle(0), (DWORD)0xFFFFFFFF, (PBYTE)"\xA1\x00\x00\x00\x00\x89\x45\xF8\x8D", "x????xxxx"); if(dwTempDevicePointer) { New_dwDevicePointer = *(DWORD*)(dwTempDevicePointer+1); //add_log("dwDevicePointer-> 0x%X",dwDevicePointer); } else return false; if((New_dwHSDevicePointer != NULL) && (dwTempDevicePointer != NULL)) return true; return false; }
Shimmy- (08-07-2010)
whit+ (08-07-2010)