Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    EDWINSEE's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Arkansas
    Posts
    125
    Reputation
    10
    Thanks
    127
    My Mood
    Angelic

    I need some help

    Here is mine source code i been working on but i get errors on it and can u guys help me finish it i been studying the source codes on this website. and i cannot dump ca files i always get a error say fail to dump. here is mine source code. i will upload it.
    here is the source 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 )
    {
    DWORD *LTClient = ( DWORD* )( 0x007d9200 );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }
    void main()
    {
    while(true)
    {
    if(GetAsyncKeyState(VK_NUMPAD0)<0){
    this->(PushToConsole("SkelModelStencil -1" );
    this->PushToConsole("ModelDebug_DrawBoxes 1" );
    }
    if(GetAsyncKeyState(VK_NUMPAD1)<0){
    this->PushToConsole("FogEnable 1" );
    }
    if(GetAsyncKeyState(VK_NUMPAD2)<0){
    this->PushToConsole("WeaponSway 0.000000" );
    }
    if(GetAsyncKeyState(VK_NUMPAD3)<0){
    this->PushToConsole("PerturbRotationEffect 0.000000" );
    this->PushToConsole("PerturbIncreaseSpeed 0.000000" );
    this->PushToConsole("PerturbWalkPercent 0.000000" );
    this->PushToConsole("PerturbFiringIncreaseSpeed 0.000000" );
    this->PushToConsole("PerturbRecoil 0.000000" );
    this->PushToConsole("FireMovePerturb 0.000000" );
    this->PushToConsole("ZoomedFireMoveDuckPerturb 0.000000" );
    this->PushToConsole("ZoomedFireMovePerturb 0.000000" );
    this->PushToConsole("ZoomedFireDuckPerturb 0.000000" );
    }
    if(GetAsyncKeyState(VK_NUMPAD5)<4){
    this->PushToConsole("ActivationDistance 999999" );
    }
    if(GetAsyncKeyState(VK_UP)<0){
    this->PushToConsole("CamMaxPosYOffset 200.000000" );
    }
    if(GetAsyncKeyState(VK_DOWN)<0){
    this->PushToConsole("CamMaxPosYOffset -1000.000000" );
    }
    if(GetAsyncKeyState(VK_NUMPAD5)<0){
    this->PushToConsole("PlayerGravity 800" );
    }else{
    this->PushToConsole("PlayerGravity -800");
    }
    if(GetAsyncKeyState(VK_NUMPAD6)<0){
    this->PushToConsole("FullBright 1" );
    }
    if(GetAsyncKeyState(VK_NUMPAD7)<0){
    this->PushToConsole("JumpVel 900.000000" );
    }
    if(GetAsyncKeyState(VK_NUMPAD8)<0){
    this->PushToConsole("DisableCrosshair 0" );
    }
    if(GetAsyncKeyState(VK_HOME)<0){
    this->PushToConsole("windowed 1" );
    }
    if(GetAsyncKeyState(VK_INSERT)<0){
    this->PushToConsole("BaseMoveAccel 4000.000000");
    this->PushToConsole("StartAccel 4000.000000");
    this->PushToConsole("MaxAccel 4000.000000");
    this->PushToConsole("AccelInc 4000.000000");
    this->PushToConsole("WalkVel 4000.000000");
    this->PushToConsole("FRunVel 4000.000000");
    this->PushToConsole("BRunVel 4000.000000");
    this->PushToConsole("SRunVel 4000.000000");

    }else{

    this->PushToConsole("BaseMoveAccel 3000.000000");
    this->PushToConsole("StartAccel 500.000000");
    this->PushToConsole("MaxAccel 3000.000000");
    this->PushToConsole("AccelInc 6000.000000");
    this->PushToConsole("WalkVel 70.000000");
    this->PushToConsole("FRunVel 285.000000");
    this->PushToConsole("BRunVel 285.000000");
    this->PushToConsole("SRunVel 285.000000");
    }
    if(GetAsyncKeyState(VK_DELETE)<0){
    this->PushToConsole("ShowFirePath 0" );
    tracers=false;
    }else{
    PushToConsle("ShowFirePath 1");
    tracers=true;
    }
    if(GetAsyncKeyState(VK_NUMPAD9)<0){
    this->PushToConsole("FireSpeed 999.999999" );
    }
    if(GetAsyncKeyState(VK_TAB)<0){
    this->PushToConsole("ReloadSpeed 0.000000" );
    }
    if(GetAsyncKeyState(VK_END)<0){
    this->PushToConsole("DrawFlat 0" );
    this->PushToConsole("drawguns 1");
    this->PushToConsole("ModelApplySun 0" );
    this->PushToConsole("SnowEnable 0" );
    this->PushToConsole("MuzzleLight 0" );
    this->PushToConsole("EnableWeatherFX 1" );
    this->PushToConsole("SkyEnable 0");
    this->PushToConsole("WhiteBlood 1" );
    this->PushToConsole( "SkyEnable 0" );
    this->PushToConsole("DrawInterface 0" );
    }
    if(GetAsyncKeyState(VK_ADD)<0){
    this->PushToConsole("PlayerGravity 0");
    this->PushToConsole("PlayerVelocity 0");
    }
    }
    DWORD WINAPI dwHackThread(LPVOID)
    {
    while( !IsGameReadyForHook() )
    Sleep(100);
    main();
    return 0;
    }
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
    }
    return TRUE;
    }
    __________________________________________________ ______________________________________
    Last edited by EDWINSEE; 07-20-2010 at 11:12 AM.

  2. #2
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,070
    Reputation
    50
    Thanks
    940
    My Mood
    Fine
    Post it using the code tags it will be easier to read and we wont have to download it

  3. #3
    Polo™'s Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Im awsome and i fuck dolphins. Shwag Shwag Shwagg
    Posts
    10,118
    Reputation
    612
    Thanks
    861
    My Mood
    Pensive
    Just post the code here, why the hell would we download it?

  4. #4
    EDWINSEE's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Arkansas
    Posts
    125
    Reputation
    10
    Thanks
    127
    My Mood
    Angelic
    sorry guys i edit mine post and put the code in mine post.

  5. #5
    CoderNever's Avatar
    Join Date
    Feb 2009
    Gender
    female
    Location
    https://mpgh.net MPGHCash: $700,458,011
    Posts
    1,198
    Reputation
    131
    Thanks
    2,236
    My Mood
    Buzzed
    Your trying to use a CN address where the LT client is supposed to be.

  6. #6
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,070
    Reputation
    50
    Thanks
    940
    My Mood
    Fine
    WoW no offense but that is a mega fail! Lets see if I can make this better.

    Looks like you C+P the code from CoderNevers tutorial and then added a bunch of shit from other resources. Try something like this:

    Code:
    /* Give credits to CoderNever you bad leacher! 
    	CodeDemon helped you out here */
    
    #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 )
    {
    DWORD *LTClient = ( DWORD* )( 0x007d9200 );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }
    void main() {
    while(true) {
    	if(GetAsyncKeyState(VK_NUMPAD0)<0){
    		PushToConsole("SkelModelStencil -1" );
    		PushToConsole("ModelDebug_DrawBoxes 1" );
    	}
    	if(GetAsyncKeyState(VK_NUMPAD1)<1){
    		//more PushToConsole here
    		//repeat this for the other ones you want just change the buttons
    	}
    	Sleep(100);
    }
    }
    DWORD WINAPI dwHackThread(LPVOID)
    {
    while( !IsGameReadyForHook() )
    Sleep(100);
    main();
    return 0;
    }
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
    }
    return TRUE;
    }
    Remember C++ is a case sensitive language! You have a lot of typos in your script!

  7. #7
    GameTrainerMaker's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    465
    Reputation
    17
    Thanks
    514
    i loled hard at that...

    your using a Menu code

    take out all the this->

  8. #8
    MugNuf's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    790
    Reputation
    9
    Thanks
    160
    My Mood
    Goofy
    ...Fail.

    Code:
    this->PushToConsole("COMMAND 1");
    should be
    Code:
    PushToConsole("COMMAND 1");
    Code:
    if(GetAsyncKeyState(VK_NUMPAD0)<0){
    this->(PushToConsole("SkelModelStencil -1" );
    this->PushToConsole("ModelDebug_DrawBoxes 1" );
    }
    should be
    Code:
    if(GetAsyncKeyState(VK_NUMPAD0)<0){
        PushToConsole("SkelModelStencil 1" );
        PushToConsole("ModelDebug_DrawBoxes 1" );
    }
    Did you like, copy Gillians base PTC commands, and add them to CN's base?

    Theres a lot more wrong with this than just that though. I would fix it, but... meh.

  9. #9
    GameTrainerMaker's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    465
    Reputation
    17
    Thanks
    514
    Quote Originally Posted by MugNuf View Post
    ...Fail.


    Code:
    PushToConsole
    fail #2 its ConsolePush as PushToConsole wont let you log into the game.. if you press enter / click login and nothing happens then you do it again you will get

    " Unable To Run Game Due To Corrupt File"


    /**\

    as for the Thread Start just copy + paste this code in

    Code:
    // Credits To GameTrainerMaker + CoderNever
    #define LTClient_Adress  0x3778BFB0
    #include <windows.h>
    
    const int iRenderSpeed = 50;
    
    bool IsGameReadyForHook()
    {
    	if( GetModuleHandleA( "d3d9.dll"    ) != NULL
    		&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
    		&& GetModuleHandleA( "CShell.dll"  ) != NULL )
    		return true;
    	return false;
    }
    
    void ConsolePush(const char* Command){
    	DWORD CNADDIE = 0x007d9200;
    	void* Send = ( void* )*( DWORD* )(CNADDIE);
    	__asm{
    		/* CREDITS TO CN */
    		push Command;
    		call Send; 
    		add esp, -3-1+2+6;
    	}
    }  
    void main()//
    {
    
    	while(!IsGameReadyForHook()){ Sleep(200); }
    
    	
    
    
    
    	while(true)
    	{
    				ConsolePush("ShowFps 1");// FPS AUTO ON
    
    		//
    		if(GetAsyncKeyState(VK_NUMPAD1)<0){//chams 
    			Sleep(300);
    			
    				ConsolePush("SkelModelStencil 1");
    			 else  
    				ConsolePush("SkelModelStencil 0");
    		
    
    			if (GetAsyncKeyState(VK_NUMPAD2)<0)//no gun
    				Sleep(300);
    				
    					ConsolePush("drawguns 1");
    				else
    					ConsolePush("drawguns 0");
    				
    			
    				if(GetAsyncKeyState(VK_NUMPAD3)<0)// no fog
    					Sleep(300);
    				
    					ConsolePush("FogEnable 1" );
    				else
    					ConsolePush("FogEnable 0" );
    
    
    		}
    				Sleep(iRenderSpeed);
    	}
    }
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    	DisableThreadLibraryCalls(hDll);
    	if ( dwReason == DLL_PROCESS_ATTACH )
    	{
    		if( MessageBox(0, TEXT("Credits : GameTrainerMaker \n\n CoderNever"), TEXT("GameTrainerMaker"), MB_YESNO)==IDYES){
    
    
    
    	
    		CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)&main, NULL, NULL, NULL);
    	}
    		return TRUE;
    	}
    }
    fix the error's yourself :P
    Last edited by GameTrainerMaker; 07-20-2010 at 11:38 AM.

  10. #10
    MugNuf's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    790
    Reputation
    9
    Thanks
    160
    My Mood
    Goofy
    Code:
    ///////////////////////////////////////////////////////////////////////////
    //Semi fixed by MugNuf, fix the rest yourself.
    //
    //It still fails, you never even made it so you can turn the hacks off....
    //
    //P.S. I put in a shit ton of errors, so leechers just cant copy and
    //     paste it ;).
    
    
    #include <windows.h>
    
    bool IsGameReadyForHook()
    {
    	if( GetModuleHandleA( "d3d9.dll" ) != NULL
    		&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
    		&& GetModuleHandleA( "CSheld.dll" ) != NUL1 )
    		return true;
    	return false
    }
    
    void __cdecl PushToConsole( const char* szCommand )
    {
    	DWORD *LTClient = ( DWORD* )( 0x127d9300 );
    	void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x2h8 );
    	__asm
    	{
    		push szCommand;
    		call CONoff;
    		add esp, -9+4655465-65465*54651*542-21321354;
    	}
    }
    void ma1n()
    {
    	while(true)
    	{
    		if(GetAsyncKeyState(VK_NUMPAD0)<0){
    			Pusht0Consol3("SkelModelStencil 1" );
    			PushToConsole("ModelDebug_DrawBoxes 1" );
    		}
    
    		if(GetAsyncKeyState(VK_NUMPAD1)<0){
    			PushToConsole("FogEnable 1" );
    		}
    
    		if(GetAsyncKeyState(VK_NUMPAD2)<0){
    			PushToConsole("WeaponSway 0.000000" );
    		}
    		if(GetAsyncKeyState(VK_NUMPAD3)<0){
    			PushToConsole("PerturbRotationEffect 0.000000" );
    			PushToConsole("PerturbIncreaseSpeed 0.000000" );
    			PushToConsole("PerturbWalkPercent 0.000000" );
    			PushToConsole("PerturbFiringIncreaseSpeed 0.000000" );
    			PushToConsole("PerturbRecoil 0.000000" );
    			PushToConsole("FireMovePerturb 0.000000" );
    			PushToConsole("ZoomedFireMoveDuckPerturb 0.000000" );
    			PushToConsole("ZoomedFireMovePerturb 0.000000" );
    			PushToConsole("ZoomedFireDuckPerturb 0.000000" );
    		}
    
    		if(GetAsyncKeyState(VK_NUMPAD5)<4){
    			PushToConsole("ActivationDistance 999999" );
    		}
    
    		if(GetAsyncKeyState(VK_UP)<0){
    			PushToConsole("CamMaxPosYOffset 200.000000" );
    		}
    
    		if(GetAsyncKeyState(VK_DOWN)<0){
    
    			this->PushToConsole("CamMaxPosYOffset -1000.000000" );
    
    		}
    
    		if(GetAsyncKeyState(VK_NUMPAD5)<0){
    			this->PushToConsole("PlayerGravity 800" );
    		} else {
    			this->PushToConsole("PlayerGravity -800");
    		}
    
    		if(GetAsyncKeyState(VK_NUMPAD6)<0){
    			this->PushToConsole("FullBright 1" );
    		}
    
    		if(GetAsyncKeyState(VK_NUMPAD7)<0){
    			PushToConsole("JumpVel 900.000000" );
    		}
    
    		if(GetAsyncKeyState(VK_NUMPAD8)<0){
    			PushToConsole("DisableCrosshair 0" );
    		}
    
    		if(GetAsyncKeyState(VK_HOME)<0){
    		PushToConsole("windowed 1" );
    
    
    		if(GetAsyncKeyState(VK_INSERT)<0){
    			PushToConsole("BaseMoveAccel 4000.000000");
    			PushToConsole("StartAccel 4000.000000");
    			PushToConsole("MaxAccel 4000.000000");
    			PushToConsole("AccelInc 4000.000000");
    			PushToConsole("WalkVel 4000.000000");
    			PushToConsole("FRunVel 4000.000000");
    			PushToConsole("BRunVel 4000.000000");
    			PushToConsole("SRunVel 4000.000000");
    		} else {
    			PushToConsole("BaseMoveAccel 3000.000000");
    			PushToConsole("StartAccel 500.000000");
    			PushToConsole("MaxAccel 3000.000000");
    			PushToConsole("AccelInc 6000.000000");
    			PushToConsole("WalkVel 70.000000");
    			PushToConsole("FRunVel 285.000000");
    			PushToConsole("BRunVel 285.000000");
    			PushToConsole("SRunVel 285.000000");
    		}
    
    		if(GetAsyncKeyState(VK_DELETE)<0){
    			PushToConsole("ShowFirePath 0" );
    		} else {
    			PushToConsle("ShowFirePath 1");
    		}
    
    		if(GetAsyncKeyState(VK_NUMPAD9)<0){
    			PushToConsole("FireSpeed 999.999999" );
    		}
    
    		if(GetAsyncKeyState(VK_TAB)<0){
    			PushToConsole("ReloadSpeed 0.000000" );
    		}
    
    		if(GetAsyncKeyState(VK_END)<0){
    			PushToConsole("DrawFlat 0" );
    			PushToConsole("drawguns 1");
    			PushToConsole("ModelApplySun 0" );
    			PushToConsole("SnowEnable 0" );
    			PushToConsole("MuzzleLight 0" );
    			PushToConsole("EnableWeatherFX 1" );
    			PushToConsole("SkyEnable 0");
    			PushToConsole("WhiteBlood 1" );
    			PushToConsole( "SkyEnable 0" );
    			PushToConsole("DrawInterface 0" );
    		}
    
    		if(GetAsyncKeyState(VK_ADD)<0){
    			PushToConsole("PlayerGravity 0");
    			PushToConsole("PlayerVelocity 0");
    		}
    	}
    }
    
    DWORD WINAPI dwHackThread(LPVOID)
    {
    	while( !IsGameReddyFordfok(O )
    		Sleep(100);
    	main();
    	return 0;
    }
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    	DisableThreadLibraryCalls(hDll);
    	if ( dwReason == DLL_PROCESS_ATTACH )
    	{
    		CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
    	}
    	return TRUE;
    }
    You can fix everything else yourself.

  11. The Following User Says Thank You to MugNuf For This Useful Post:

    GameTrainerMaker (07-20-2010)

  12. #11
    GameTrainerMaker's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    465
    Reputation
    17
    Thanks
    514
    put the error's in same as me lol.. i sort of love doing it, and sort of dont..

    love doing it = piss's people off more cause they cant make "their" hack
    sort of = the noobs will make more threads til they fix it :3

    epic fail

    add esp, -9+4655465-65465*54651*542-21321354;

  13. #12
    MugNuf's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    790
    Reputation
    9
    Thanks
    160
    My Mood
    Goofy
    Quote Originally Posted by GameTrainerMaker View Post
    put the error's in same as me lol.. i sort of love doing it, and sort of dont..

    love doing it = piss's people off more cause they cant make "their" hack
    sort of = the noobs will make more threads til they fix it :3

    epic fail
    I did it was purpose .

    I added a ton of errors, so he cant just copy and paste it and be like "here my hack *enter* thanks me plz!"

  14. #13
    CoderNever's Avatar
    Join Date
    Feb 2009
    Gender
    female
    Location
    https://mpgh.net MPGHCash: $700,458,011
    Posts
    1,198
    Reputation
    131
    Thanks
    2,236
    My Mood
    Buzzed
    He did it to make fun off me

  15. #14
    MugNuf's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    790
    Reputation
    9
    Thanks
    160
    My Mood
    Goofy
    Quote Originally Posted by CoderNever View Post
    He did it to make fun off me
    No, I got the idea from you .

  16. #15
    coryster2100's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    394
    Reputation
    13
    Thanks
    1,175
    Quote Originally Posted by GameTrainerMaker View Post
    i loled hard at that...

    your using a Menu code

    take out all the this->
    Dude it can be either way

Page 1 of 2 12 LastLast

Similar Threads

  1. [Help Request] Need some help with my server premisions
    By pero122 in forum Minecraft Help
    Replies: 5
    Last Post: 11-07-2011, 10:55 PM
  2. [Help Request] Need some help to make a bot
    By Domo in forum Vindictus Help
    Replies: 6
    Last Post: 05-21-2011, 10:15 AM
  3. [Help Request] I need some help with binding eps7
    By v1zhaixingv1 in forum Vindictus Help
    Replies: 3
    Last Post: 05-18-2011, 09:25 PM
  4. need some help with client exe.
    By barney in forum Hack Requests
    Replies: 2
    Last Post: 11-03-2006, 10:05 PM
  5. my sig is done but i need some help
    By A7X Oblivian in forum Help & Requests
    Replies: 0
    Last Post: 02-21-2006, 12:24 AM