Results 1 to 10 of 10
  1. #1
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,426
    Reputation
    112
    Thanks
    693

    [Help]D/C with updated addresses

    Hey this is just a simple question i bet most coders can answer. I havent used Present and Endscene before so...

    Code:
    #Include"Function.h"
    #Include"Hook.h"
    ^
    |
    |
    |
    Menu Crap
    |
    |
    
    
    HRESULT WINAPI hkPresent(LPDIRECT3DDEVICE9 pDevice,CONST RECT *pSourceRect, CONST RECT *pDestRect, HWND hDestWindowOverride, CONST RGNDATA *pDirtyRegion)
    {
    _asm PUSHAD;
    //DrawsFont//
    if(pFont == NULL) D3DXCreateFontA(pDevice, 30, 6, FW_BOLD, 1, 0, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, ANTIALIASED_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Perpetua", &pFont);
    //D3DXCreateLine(pDevice,&pLine); //draws line/circle
    //DrawsFont//
    
    ////// Draw menu checkboxes and stuff
    
    
    if(Hack14 && IsIngame())
    	{
            memcpy((LPVOID)Nametag1,"\x90\x90", 2);
    	    memcpy((LPVOID)Nametag2, "\x90\x90", 2);
    	}else if(!IsIngame()){
    		memcpy((LPVOID)Nametag1, "\x75\x21", 2);
    	    memcpy((LPVOID)Nametag2, "\x75\x05", 2);
    	}

    Code:
    This is Function.h
    
    #define Nametag1  0x373723AC
    #define Nametag2  0x3737244D
    
    typedef bool (*IsConnected_t)(void);
    
    bool IsIngame()
    {
    	DWORD* LTBase = (DWORD*)0x3780CB90; //0x3780CB90
    	IsConnected_t pConnected = *(IsConnected_t*)(*LTBase + 0x8C);
    
    	return pConnected();
    }


    My question is....why does this D/C??Is it because i am putting it in Present and EndScene

  2. #2
    NOOB's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    3,863
    Reputation
    425
    Thanks
    8,598
    You could just put it in a new thread.

  3. #3
    CAFlames's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Where ever my imagination takes me
    Posts
    3,014
    Reputation
    202
    Thanks
    2,934
    My Mood
    Twisted
    You need to reset font?

    Current Works:
    ---Horror Game






    Special thanks to drgnforce9 for my sig picture

    Quote Originally Posted by m_t_h View Post

    CAflames is one epic coder.

    Rep and thanks him.. or you're perma banned.

  4. #4
    Dieorwin's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    In My House
    Posts
    168
    Reputation
    21
    Thanks
    22
    Maybe just silent patch, try using different PTC method in the fuction.h

  5. #5
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,035
    Reputation
    340
    Thanks
    2,784
    My Mood
    Sad
    Are you sure those are the correct addresses?

    If you are, then are you sure your detour is still undetected?

  6. #6
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,426
    Reputation
    112
    Thanks
    693
    Quote Originally Posted by freedompeace View Post
    Are you sure those are the correct addresses?

    If you are, then are you sure your detour is still undetected?
    Thanks bro. Updating my detours now

  7. #7
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    4,922
    My Mood
    Cool
    Or maybe .... IsGameReadyForHook()

    if you are calling memory this is not there.
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  8. #8
    Nubzgetkillz's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    hacktown
    Posts
    838
    Reputation
    13
    Thanks
    411
    My Mood
    Amazed
    Everyone this is my base i am guessing.
    Every other base released doesn't really use present except mine and solify's

    Member since September 25, 2010

    Current Objectives:
    • Graduate college with a degree in Computer Science
    • Find a decent job in the Computer Science Field
    • Learn more programming languages

    Looking for Elo Boosting Job - League of Legends
    Looking for Bronze -> Gold Jobs


    Skype: whatthedream

  9. #9
    J's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    East Coast
    Posts
    2,159
    Reputation
    379
    Thanks
    5,761
    My Mood
    In Love
    Quote Originally Posted by Nubzgetkillz View Post
    Everyone this is my base i am guessing.
    Every other base released doesn't really use present except mine and solify's
    A lot people are taking Solify's hook though D:. For some people gellins detours and hook are detected so they use solify's...
    Keep me motivated for my hack development!

  10. #10
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,426
    Reputation
    112
    Thanks
    693
    Quote Originally Posted by topblast View Post
    Or maybe .... IsGameReadyForHook()
    if you are calling memory this is not there.
    All i am doing is this!
    Code:
        if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
         && GetModuleHandleA( "ClientFX.fxd" ) != NULL 
         && GetModuleHandleA( "CShell.dll"   ) != NULL )
    Quote Originally Posted by Lord Fancington View Post
    A lot people are taking Solify's hook though D:. For some people gellins detours and hook are detected so they use solify's...
    Thanks for the help