Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 46
  1. #31
    UKnownError's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    ERROR
    Posts
    280
    Reputation
    27
    Thanks
    32
    My Mood
    Breezy
    i cant acces the link eather

  2. #32
    Sydney's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Germany...
    Posts
    1,356
    Reputation
    37
    Thanks
    1,144
    My Mood
    Amused
    The Servers are Again down...And dude...Delete it from the attachments...All noobs will say that they can code...Let them figure out themself

    Thanks Cosmos


  3. #33
    conndrst's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Posts
    112
    Reputation
    10
    Thanks
    29
    My Mood
    Asleep
    Ok if i did my clueless messing around right then should this work? if not then please correct me.
    Code:
    #include <windows.h>
    bool IsGameReadyForHook()
    {
    	if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
    		&& GetModuleHandleA( "ClientFX.fxd" ) != NULL 
    		&& GetModuleHandleA( "CShell.dll"   ) != NULL )
    		return true;
    	return false;
    }
    void __cdecl PushToConsole( const char* szCommand ) // This is the beginning of the PTC Method
    {
    	DWORD *LTClient = ( DWORD* )( 0x377E7810 /*This is the L.T.Client.*/ );
    	void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    	__asm
    	{
    		push szCommand;
    		call CONoff;
    		add esp, 4;
    	}
    }
    void main()
    {
    	// Put all of your bools here for hotkey hacks.
    	// For example:
    	bool chams = false;
    	bool fog = false;
    	bool fps = false;
    	while(true)
    	{
    
    		// This is a example of a auto on hack.
    		PushToConsole("SkelModelStencil 1");
    		// This is a example of a hotkey hack.
    		if(GetAsyncKeyState(VK_NUMPAD1)<0){ // If you press NUMPAD1
    			if(chams == true){ // If the bool chams is true
    				PushToConsole("SkelModelStencil 0"); // Do this. For example this line is for NX Chams off.
    				chams = false; // Make sure bool chams is false.
    			} else { // Now where saying if bool chams is equal to false turn on.
    				PushToConsole("SkelModelStencil 1"); // Do this. For example this line is for NX Chams on.
    				chams = true; // Make sure bool chams is true.
    			}
    		}
    
    	}
    	{ 
            if(GetAsyncKeyState(VK_NUMPAD2)<0){ 
                if(fog == true){ 
                    PushToConsole("FogEnable 0"); 
                    fog = false; 
                } else { 
                PushToConsole("FogEnable 1"); 
                    fog = true; 
                } 
            } 
    
        } 
    	{
    		if(GetAsyncKeyState(VK_NUMPAD3)<0){
    			if(fps == true){
    				PushToConsole("ShowFps 0");
    				fps = false;
    			}else{
    				PushToConsole("ShowFps 1");
    				fps = true;
    			}
    		}
    	}
    	// Sleep makes less lag. Because the PTC Commands above are rapidly being used. This creates a break between loading again.
    	Sleep(200);
    }
    DWORD WINAPI dwHackThread(LPVOID)
    {
    	while( !IsGameReadyForHook() )
    		Sleep(100);
    	main(); // Loads the void main.
    	return 0;
    }
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    	DisableThreadLibraryCalls(hDll);
    	if ( dwReason == DLL_PROCESS_ATTACH )
    	{
    		// If you want to show a message box or open a website when injected put it here.
    		// For example:
    		system("start https://mpgh.net/");
    		CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL); // Ignore this.
    	}
    	return TRUE;
    }

  4. #34
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,070
    Reputation
    50
    Thanks
    940
    My Mood
    Fine
    Quote Originally Posted by conndrst View Post
    Ok if i did my clueless messing around right then should this work? if not then please correct me.
    Code:
    #include <windows.h>
    bool IsGameReadyForHook()
    {
    	if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
    		&& GetModuleHandleA( "ClientFX.fxd" ) != NULL 
    		&& GetModuleHandleA( "CShell.dll"   ) != NULL )
    		return true;
    	return false;
    }
    void __cdecl PushToConsole( const char* szCommand ) // This is the beginning of the PTC Method
    {
    	DWORD *LTClient = ( DWORD* )( 0x377E7810 /*This is the L.T.Client.*/ );
    	void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    	__asm
    	{
    		push szCommand;
    		call CONoff;
    		add esp, 4;
    	}
    }
    void main()
    {
    	// Put all of your bools here for hotkey hacks.
    	// For example:
    	bool chams = false;
    	bool fog = false;
    	bool fps = false;
    	while(true)
    	{
    
    		// This is a example of a auto on hack.
    		PushToConsole("SkelModelStencil 1");
    		// This is a example of a hotkey hack.
    		if(GetAsyncKeyState(VK_NUMPAD1)<0){ // If you press NUMPAD1
    			if(chams == true){ // If the bool chams is true
    				PushToConsole("SkelModelStencil 0"); // Do this. For example this line is for NX Chams off.
    				chams = false; // Make sure bool chams is false.
    			} else { // Now where saying if bool chams is equal to false turn on.
    				PushToConsole("SkelModelStencil 1"); // Do this. For example this line is for NX Chams on.
    				chams = true; // Make sure bool chams is true.
    			}
    		}
    
    	}
    	{ 
            if(GetAsyncKeyState(VK_NUMPAD2)<0){ 
                if(fog == true){ 
                    PushToConsole("FogEnable 0"); 
                    fog = false; 
                } else { 
                PushToConsole("FogEnable 1"); 
                    fog = true; 
                } 
            } 
    
        } 
    	{
    		if(GetAsyncKeyState(VK_NUMPAD3)<0){
    			if(fps == true){
    				PushToConsole("ShowFps 0");
    				fps = false;
    			}else{
    				PushToConsole("ShowFps 1");
    				fps = true;
    			}
    		}
    	}
    	// Sleep makes less lag. Because the PTC Commands above are rapidly being used. This creates a break between loading again.
    	Sleep(200);
    }
    DWORD WINAPI dwHackThread(LPVOID)
    {
    	while( !IsGameReadyForHook() )
    		Sleep(100);
    	main(); // Loads the void main.
    	return 0;
    }
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    	DisableThreadLibraryCalls(hDll);
    	if ( dwReason == DLL_PROCESS_ATTACH )
    	{
    		// If you want to show a message box or open a website when injected put it here.
    		// For example:
    		system("start https://mpgh.net/");
    		CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL); // Ignore this.
    	}
    	return TRUE;
    }
    It looks like you're closing your while(true) statement after your first KeyState. Don't do that

  5. #35
    conndrst's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Posts
    112
    Reputation
    10
    Thanks
    29
    My Mood
    Asleep
    Quote Originally Posted by CodeDemon View Post
    It looks like you're closing your while(true) statement after your first KeyState. Don't do that
    dam now i have no clue what to do

  6. #36
    markoj's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    s
    Posts
    1,064
    Reputation
    60
    Thanks
    407
    My Mood
    Bored
    Quote Originally Posted by conndrst View Post
    dam now i have no clue what to do
    Dont close your while(true) statement after your first KeyState
    Dont ban me

  7. #37
    conndrst's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Posts
    112
    Reputation
    10
    Thanks
    29
    My Mood
    Asleep
    Quote Originally Posted by markoj View Post
    Dont close your while(true) statement after your first KeyState
    if i un-close it then it wont build it comes up with this

    c:\documents and settings\user\my documents\visual studio 2008\projects\cnsbase\cnsbase\base.cpp(28) : error C2059: syntax error : 'constant'
    c:\documents and settings\user\my documents\visual studio 2008\projects\cnsbase\cnsbase\base.cpp(29) : error C2143: syntax error : missing ';' before '{'

    i am /noob i know

  8. #38
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,070
    Reputation
    50
    Thanks
    940
    My Mood
    Fine
    Close it after all your keystates. Besides that you have ALOT of incorrect brackets. I'm still wondering how you got it to compile lol

  9. #39
    markoj's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    s
    Posts
    1,064
    Reputation
    60
    Thanks
    407
    My Mood
    Bored
    Quote Originally Posted by conndrst View Post
    if i un-close it then it wont build it comes up with this

    c:\documents and settings\user\my documents\visual studio 2008\projects\cnsbase\cnsbase\base.cpp(28) : error C2059: syntax error : 'constant'
    c:\documents and settings\user\my documents\visual studio 2008\projects\cnsbase\cnsbase\base.cpp(29) : error C2143: syntax error : missing ';' before '{'

    i am /noob i know
    Close it after you put in all of your hacks, so you open, put your stuff in, t hen close it
    Dont ban me

  10. #40
    _-Blazin-_'s Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    Australia
    Posts
    428
    Reputation
    10
    Thanks
    28
    My Mood
    Hot
    Quote Originally Posted by conndrst View Post
    if i un-close it then it wont build it comes up with this

    c:\documents and settings\user\my documents\visual studio 2008\projects\cnsbase\cnsbase\base.cpp(28) : error C2059: syntax error : 'constant'
    c:\documents and settings\user\my documents\visual studio 2008\projects\cnsbase\cnsbase\base.cpp(29) : error C2143: syntax error : missing ';' before '{'

    i am /noob i know
    Well if you don't want to be a noob.. You could learn C++..
    Im just saying.

    BTW, how come the base is uploaded? Couldn't you just paste it into your post?
    I still disapprove of this thread

  11. #41
    Shaniee's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Los Angeles
    Posts
    79
    Reputation
    10
    Thanks
    6
    I can't download it for some reason :/

  12. #42
    conndrst's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Posts
    112
    Reputation
    10
    Thanks
    29
    My Mood
    Asleep
    Quote Originally Posted by _-Blazin-_ View Post
    Well if you don't want to be a noob.. You could learn C++..
    Im just saying.

    BTW, how come the base is uploaded? Couldn't you just paste it into your post?
    I still disapprove of this thread
    here is the orig base code (it gets this error in c++ 2010 express... mt.exe : general error c101008a: Failed to save the updated manifest to the file "Debug\CNSBase.dll.embed.manifest". The parameter is incorrect.)
    but it seems to work in 2008 express.

    and i dont really mind being a noob but i wouldnt mind being pro either XD


    Code:
    #include <windows.h>
    bool IsGameReadyForHook()
    {
    	if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
    		&& GetModuleHandleA( "ClientFX.fxd" ) != NULL 
    		&& GetModuleHandleA( "CShell.dll"   ) != NULL )
    		return true;
    	return false;
    }
    void __cdecl PushToConsole( const char* szCommand ) // This is the beginning of the PTC Method
    {
    	DWORD *LTClient = ( DWORD* )( 0x377E7810 /*This is the L.T.Client.*/ );
    	void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    	__asm
    	{
    		push szCommand;
    		call CONoff;
    		add esp, 4;
    	}
    }
    void main()
    {
    	// Put all of your bools here for hotkey hacks.
    	// For example:
    	bool chams = false;
    	while(true)
    	{
    
    		// This is a example of a auto on hack.
    		PushToConsole("SkelModelStencil 1");
    		// This is a example of a hotkey hack.
    		if(GetAsyncKeyState(VK_NUMPAD1)<0){ // If you press NUMPAD1
    			if(chams == true){ // If the bool chams is true
    				PushToConsole("SkelModelStencil 0"); // Do this. For example this line is for NX Chams off.
    				chams = false; // Make sure bool chams is false.
    			} else { // Now where saying if bool chams is equal to false turn on.
    				PushToConsole("SkelModelStencil 1"); // Do this. For example this line is for NX Chams on.
    				chams = true; // Make sure bool chams is true.
    			}
    		}
    
    	}
    	// Sleep makes less lag. Because the PTC Commands above are rapidly being used. This creates a break between loading again.
    	Sleep(200);
    }
    DWORD WINAPI dwHackThread(LPVOID)
    {
    	while( !IsGameReadyForHook() )
    		Sleep(100);
    	main(); // Loads the void main.
    	return 0;
    }
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    	DisableThreadLibraryCalls(hDll);
    	if ( dwReason == DLL_PROCESS_ATTACH )
    	{
    		// If you want to show a message box or open a website when injected put it here.
    		// For example:
    		system("start https://mpgh.net/");
    		CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL); // Ignore this.
    	}
    	return TRUE;
    }
    Last edited by conndrst; 09-01-2010 at 01:35 AM.

  13. #43
    jeffhardy745's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    39
    Reputation
    1
    Thanks
    5
    My Mood
    Shocked
    i cant download this

  14. #44
    conndrst's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Posts
    112
    Reputation
    10
    Thanks
    29
    My Mood
    Asleep
    Quote Originally Posted by jeffhardy745 View Post
    i cant download this
    follow these steps
    just name the project CSNBase not CSNBase(orig)
    and when adding the cpp file name it Base(it will add .cpp by itself)










    And this is the source code from the download so it should work and if not you did somthing wrong
    and im just putting this here for the ppl that cant download it(for unknown reasons)

  15. #45
    SnowyHawk's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Your Mom's House <3
    Posts
    34
    Reputation
    10
    Thanks
    2
    My Mood
    Blah
    Sad face
    Download doesn't work.

Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. [Release][Fixed]CoderNever's Base Updated
    By mastermods in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 11
    Last Post: 09-04-2010, 07:20 AM
  2. [Release Ea games keygen updated with Bf 2142]
    By lohit8846 in forum Battlefield 2 Hacks & Cheats
    Replies: 11
    Last Post: 07-02-2009, 10:54 PM
  3. (release)MPGH publick hack updated
    By aprill27 in forum WarRock - International Hacks
    Replies: 25
    Last Post: 01-10-2008, 04:51 PM
  4. [Release] Ohara Flags/Bases Teleport
    By yoni1993 in forum WarRock - International Hacks
    Replies: 15
    Last Post: 07-13-2007, 07:52 PM
  5. [Release] Pow3rHack Public V2-UPDATED
    By Titanium Gold in forum WarRock - International Hacks
    Replies: 7
    Last Post: 05-28-2007, 03:27 AM

Tags for this Thread