Thread: problem

Results 1 to 10 of 10
  1. #1
    wolffang0000's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    here
    Posts
    597
    Reputation
    1
    Thanks
    165
    My Mood
    Relaxed

    problem

    Code:
    #include <windows.h>
    
    //DEFINES
    my shit here
    //DEFINES
    
    //BOOLs
    bool Tracers, FPS, Fog, SuperJump, NXChams, GunSway, Pickup, Prediction, FullBright, NoSpread, SpawnDelay, NoSky, NoHands, Speed;
    //BOOLs
    
    //INTs
    
    //INTs
    
    
    //DWORD's
    
    //DWORD's
    
    //pragma
    #pragma warning(disable: 4311)
    #pragma warning(disable: 4312)
    #pragma warning(disable: 4244)
    //pragma
    
    
    
    
    
    bool IsGameReadyForHook()
    {
    	if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
    		&& GetModuleHandleA( "ClientFX.fxd" ) != NULL 
    		&& GetModuleHandleA( "CShell.dll"   ) != NULL )
    		return true;
    	return false;
    }
    void Memoria( void* pvAddress, void* pvBuffer, size_t len )
    {
    	if( *(BYTE*)pvAddress == *(BYTE*)pvBuffer )
    		return;
    
    	memcpy( ( void* )pvAddress, ( void* )pvBuffer, len );
    }
    
    
    
    void __cdecl PushToConsole( const char* szCommand )
    {
    DWORD *LTClient = ( DWORD* )( ADR_EngineLTC );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    } 
    
    void main() 
    {
    	while(true)
    	{
    	my shit here
    	}
    	
    }
    
    
    DWORD WINAPI HackThread(LPVOID)
    {
    while( !IsGameReadyForHook() )
    Sleep(70);
    main();
    return 0;
    }
    
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    CreateThread(NULL, NULL, HackThread, NULL, NULL, NULL);
    }
    return TRUE;
    }
    anyone wanna tell me whats wrong? (yes all addies are up to date)

    i think its with the looping

  2. #2
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,035
    Reputation
    340
    Thanks
    2,784
    My Mood
    Sad
    No, not particularly. But I'll tell you because I'm in a nice mood today. The following is syntactically incorrect code:

    Code:
    	while(true)
    	{
    	my shit here
    	}

  3. #3
    wolffang0000's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    here
    Posts
    597
    Reputation
    1
    Thanks
    165
    My Mood
    Relaxed
    sigh

    thats not whats there, thats just where my hacks go. same with defines.

    i still need some helppp

  4. #4
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,035
    Reputation
    340
    Thanks
    2,784
    My Mood
    Sad
    Quote Originally Posted by wolffang0000 View Post
    sigh

    thats not whats there, thats just where my hacks go. same with defines.

    i still need some helppp
    No, not particularly. But I'll tell you because I'm in a nice mood today. The following is syntactically incorrect code:

    Code:
    	while(true)
    	{
    	my shit here
    	}
    hint: Just in case you didn't realise - I meant that what replace your "my shit here" may be causing the "issue", and since you're too afraid to show us your "pro" code, we can't really help

  5. #5
    nucks's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    191
    Reputation
    6
    Thanks
    85
    My Mood
    Amazed
    yu dont need pragma warnings....

  6. #6
    wolffang0000's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    here
    Posts
    597
    Reputation
    1
    Thanks
    165
    My Mood
    Relaxed
    Hmm, seems alot of peoples hacks arent working from my msn

    I think its the looping/threads, nexon did something big

  7. #7
    markoj's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    s
    Posts
    1,067
    Reputation
    60
    Thanks
    407
    My Mood
    Bored
    my shit here isn't properly defined, I'm sure you are getting a build error from that
    Dont ban me

  8. #8
    wolffang0000's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    here
    Posts
    597
    Reputation
    1
    Thanks
    165
    My Mood
    Relaxed
    Quote Originally Posted by markoj View Post
    my shit here isn't properly defined, I'm sure you are getting a build error from that
    my shit here is defined in NFD.h

    but really guys i need some help, this isnt d3d but it might need a hook?

  9. #9
    markoj's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    s
    Posts
    1,067
    Reputation
    60
    Thanks
    407
    My Mood
    Bored
    Quote Originally Posted by wolffang0000 View Post
    my shit here is defined in NFD.h

    but really guys i need some help, this isnt d3d but it might need a hook?
    Yea, I meant we need to see the whole source not a summary. And now that you mentioned that, you DO need a hook for PTC to work, how are you using the PTC hacks?
    Dont ban me

  10. #10
    Ch40zz-C0d3r's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    839
    Reputation
    44
    Thanks
    400
    My Mood
    Twisted
    When u tell us what happens or what NOT happens if u use it i will help u

    Progress with my game - "Disbanded"
    • Fixed FPS lag on spawning entities due to the ent_preload buffer!
    • Edit the AI code to get some better pathfinding
    • Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
    • Added a new silencer for ALL weapons. Also fixed the rotation bugs
    • Added a ton of new weapons and the choice to choose a silencer for every weapon
    • Created a simple AntiCheat, noobs will cry like hell xD
    • The name will be Disbanded, the alpha starts on the 18th august 2014



    Some new physics fun (Serversided, works on every client)



    My new AI
    http://www.youtube.com/watch?v=EMSB1GbBVl8

    And for sure my 8 months old gameplay with 2 friends
    http://www.youtube.com/watch?v=Na2kUdu4d_k