Page 1 of 4 123 ... LastLast
Results 1 to 15 of 62

Hybrid View

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

    [Help] Gord's Hook

    This is my hook
    Code:
    DWORD WINAPI HookD3DApis(LPVOID)
    {
    
    while ( !Base.IsGameReadyForHook() )
    	Sleep(iWaitTime);
    	
    	FindPointer();
    
    	bool bValid = false;
        while(true) {
    		
            bValid = GetAddressPtr(0) > 0;
    
            if(bValid) {
    
    			Base.Update();
    
            }
            
            Sleep(300);
        }
    
        return 1;
    }
    And in Base.Update I have
    Code:
    void cBase::Update(void)
    {
    	while(1)
    	{
    		this->PushToConsole( "ShowFps 1");
    		Sleep(iRenderSpeed);
    	}
    }
    For some reason, I still dc after a minute after I log in.
    Might the problem be the console command not the hook?

  2. #2
    Frit0's Avatar
    Join Date
    May 2006
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    17
    Quote Originally Posted by Shimmy- View Post
    This is my hook
    Code:
    DWORD WINAPI HookD3DApis(LPVOID)
    {
    
    while ( !Base.IsGameReadyForHook() )
    	Sleep(iWaitTime);
    	
    	FindPointer();
    
    	bool bValid = false;
        while(true) {
    		
            bValid = GetAddressPtr(0) > 0;
    
            if(bValid) {
    
    			Base.Update();
    
            }
            
            Sleep(300);
        }
    
        return 1;
    }
    And in Base.Update I have
    Code:
    void cBase::Update(void)
    {
    	while(1)
    	{
    		this->PushToConsole( "ShowFps 1");
    		Sleep(iRenderSpeed);
    	}
    }
    For some reason, I still dc after a minute after I log in.
    Might the problem be the console command not the hook?

    Its not the console its the hook, at least thats my conclusion. Same happens if your not hooking the console. Give it a shot then let us know.

  3. #3
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,404
    Reputation
    157
    Thanks
    4,003
    My Mood
    Flirty
    LOL. whats the point of using gordons method if your not going to hook anything with the function?

  4. #4
    Shimmy-'s Avatar
    Join Date
    Aug 2010
    Gender
    female
    Posts
    62
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by ac1d_buRn View Post
    LOL. whats the point of using gordons method if your not going to hook anything with the function?
    I am hooking with HookD3DApis..
    What fail?
    Last edited by Shimmy-; 08-08-2010 at 12:01 AM.

  5. #5
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,404
    Reputation
    157
    Thanks
    4,003
    My Mood
    Flirty
    Quote Originally Posted by Shimmy- View Post
    I am hooking Base.Update()..
    Lawl. Fail

  6. #6
    Shimmy-'s Avatar
    Join Date
    Aug 2010
    Gender
    female
    Posts
    62
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by ac1d_buRn View Post


    Lawl. Fail
    My bad. Hooking with HookD3DApis.
    Still a hook.

  7. #7
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,404
    Reputation
    157
    Thanks
    4,003
    My Mood
    Flirty
    Quote Originally Posted by Shimmy- View Post
    My bad. Hooking with HookD3DApis.
    Still a hook.
    you make me LOL so much.
    xD ahhahaahah

  8. #8
    Mr.Magicman's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Sitting in my cave full of thoughts learning Asembly
    Posts
    2,102
    Reputation
    16
    Thanks
    649
    My Mood
    Cold
    Mine isnt crashin buts its not hooking or something...

  9. #9
    Finish's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    126
    Reputation
    11
    Thanks
    6
    My Mood
    Happy
    You TWO ARE NOT GOOD CODERS>. IF U WERE U WILL BE SHOWING OFF WITH SOMETHING GOOD... JUST LOOK AT TOPBLAST HE IS SHOWING OFF WITH HE SLIDERS AND HIS TABS.
    DEADLINE SHOWING OFF WITH SUPER BULLET

    YOU GUYS NEED TO PROVE UR SELF AND SHOW OFF>.. STOP FIGHTING LIKE NOOBS

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

    topblast (08-08-2010)

  11. #10
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,404
    Reputation
    157
    Thanks
    4,003
    My Mood
    Flirty
    Quote Originally Posted by Finish View Post
    You TWO ARE NOT GOOD CODERS>. IF U WERE U WILL BE SHOWING OFF WITH SOMETHING GOOD... JUST LOOK AT TOPBLAST HE IS SHOWING OFF WITH HE SLIDERS AND HIS TABS.
    DEADLINE SHOWING OFF WITH SUPER BULLET

    YOU GUYS NEED TO PROVE UR SELF AND SHOW OFF>.. STOP FIGHTING LIKE NOOBS
    LOL. Not good coder? I know what im talking about here.
    Dont need to prove anything to anyone.

    I dont neeed fame. Im not a E-Troll

  12. #11
    Shimmy-'s Avatar
    Join Date
    Aug 2010
    Gender
    female
    Posts
    62
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by Finish View Post
    You TWO ARE NOT GOOD CODERS>. IF U WERE U WILL BE SHOWING OFF WITH SOMETHING GOOD... JUST LOOK AT TOPBLAST HE IS SHOWING OFF WITH HE SLIDERS AND HIS TABS.
    DEADLINE SHOWING OFF WITH SUPER BULLET

    YOU GUYS NEED TO PROVE UR SELF AND SHOW OFF>.. STOP FIGHTING LIKE NOOBS
    Who the said we were showing off. Get with the topic...
    I know acid_burn is a awesome coder. But he just acts so childish it makes me want to .
    Last edited by Shimmy-; 08-08-2010 at 01:06 AM.

  13. #12
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,404
    Reputation
    157
    Thanks
    4,003
    My Mood
    Flirty
    Quote Originally Posted by Shimmy- View Post
    Who the fuck said we were showing off. Get with the topic dumb one...
    I know acid_burn is a awesome coder. But he just acts so childish it makes me want to .
    Why thank you
    Seriously tho, You need to hook Endscene/Reset.
    IF your using gellins base (which it looks like you are) check out Directx.Hook and look at that. Thats basically what you need to do, BUt with gordons method D:

  14. #13
    Shimmy-'s Avatar
    Join Date
    Aug 2010
    Gender
    female
    Posts
    62
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by ac1d_buRn View Post


    Why thank you
    Seriously tho, You need to hook Endscene/Reset.
    IF your using gellins base (which it looks like you are) check out Directx.Hook and look at that. Thats basically what you need to do, BUt with gordons method D:
    I was just testing with PTC commands.
    If PTC commands d/c what good would a menu do..

  15. #14
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,404
    Reputation
    157
    Thanks
    4,003
    My Mood
    Flirty
    Quote Originally Posted by Shimmy- View Post
    I was just testing with PTC commands.
    If PTC commands d/c what good would a menu do..
    start with a fresh base.
    You dont even need a device hook for hotkey/p2c.
    Look at the stickied thread.

    Dont c&p it tho

  16. #15
    Finish's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    126
    Reputation
    11
    Thanks
    6
    My Mood
    Happy
    Quote Originally Posted by ac1d_buRn View Post


    Why thank you
    Seriously tho, You need to hook Endscene/Reset.
    IF your using gellins base (which it looks like you are) check out Directx.Hook and look at that. Thats basically what you need to do, BUt with gordons method D:
    U dont NEED to hook EndScene.. U can hook Present That what i use..

    well i kinda use both.

    I hook Menu in Present
    hook Renderframe in BeginScene/EndScene.

    So my menu will not lag and So i will have less problems.

Page 1 of 4 123 ... LastLast

Similar Threads

  1. [Help Request] not hooking help me
    By jijiko in forum Alliance of Valiant Arms (AVA) Help
    Replies: 1
    Last Post: 07-18-2011, 03:30 AM
  2. Help with D3D hooking
    By wtfhaksftw in forum WarRock Hack Source Code
    Replies: 12
    Last Post: 04-20-2011, 09:26 AM
  3. [Help]Keyboard,SendKeys,Hook[Solved]
    By Qizzle15401 in forum Visual Basic Programming
    Replies: 6
    Last Post: 05-08-2010, 08:07 AM
  4. Help with public hook
    By ProfWoolyNipples in forum WarRock Discussions
    Replies: 3
    Last Post: 09-29-2009, 01:00 PM
  5. Please... Help me with this D3D Hook!
    By nukeist_ in forum C++/C Programming
    Replies: 7
    Last Post: 12-22-2007, 08:02 PM