Thread: Errors

Results 1 to 7 of 7
  1. #1
    Shimmy-'s Avatar
    Join Date
    Aug 2010
    Gender
    female
    Posts
    62
    Reputation
    10
    Thanks
    0

    Errors

    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?)

  2. #2
    o-o's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    who reading that ? T_T
    Posts
    682
    Reputation
    10
    Thanks
    307
    My Mood
    Cold
    Double Click And that go to the error location push the button if i helped

    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 ...



  3. The Following User Says Thank You to o-o For This Useful Post:

    Shimmy- (08-07-2010)

  4. #3
    Shimmy-'s Avatar
    Join Date
    Aug 2010
    Gender
    female
    Posts
    62
    Reputation
    10
    Thanks
    0
    I tried everything to fix it. Nothing works.

  5. #4
    o-o's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    who reading that ? T_T
    Posts
    682
    Reputation
    10
    Thanks
    307
    My Mood
    Cold
    I Dno't What To Do I'm Not Pro But Hope I Helped You

    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 ...



  6. #5
    Frit0's Avatar
    Join Date
    May 2006
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    17
    Quote Originally Posted by Shimmy- View Post
    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?)
    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;
    }

  7. The Following User Says Thank You to Frit0 For This Useful Post:

    Shimmy- (08-07-2010)

  8. #6
    whit+'s Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    267
    Reputation
    10
    Thanks
    37
    My Mood
    Breezy
    Learn2c++....

  9. #7
    Zoom's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Your going on my 24/7 DDoS hit list.
    Posts
    8,561
    Reputation
    127
    Thanks
    5,912
    My Mood
    Happy
    Quote Originally Posted by Frit0 View Post
    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;
    }
    /Solved
    @whit, agreed.

    3th closed
    -Rest in peace leechers-

    Your PM box is 100% full.

  10. The Following User Says Thank You to Zoom For This Useful Post:

    whit+ (08-07-2010)

Similar Threads

  1. Hellbreath Int Error?
    By RebornAce in forum General
    Replies: 10
    Last Post: 03-06-2009, 10:04 PM
  2. Gunz Error Message
    By A7X Oblivian in forum Gunz General
    Replies: 2
    Last Post: 02-08-2006, 03:00 PM
  3. Connection error
    By DrKaOs in forum WarRock - International Hacks
    Replies: 6
    Last Post: 02-05-2006, 09:37 PM
  4. K Warrock error :(
    By i eat trees in forum WarRock - International Hacks
    Replies: 2
    Last Post: 01-26-2006, 09:40 PM