Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    ProGamerX's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Posts
    124
    Reputation
    9
    Thanks
    20
    My Mood
    Cool

    I need some help ???

    I am using combine base v3 mine problem is every time I turn on No Recoil and other address hacks it crashes mine game but the PTC hacks does not crash mine game.
    here is the source.
    Code:
    typedef bool (*IsConnected_t)(void);
    bool IsIngame()
    {
    	DWORD* LTBase = (DWORD*) 0x3781BE50;
    	IsConnected_t pConnected = *(IsConnected_t*)(*LTBase + 0x8C);
    
    	return pConnected();
    }
    void WINAPIV RunConsoleCommand( const char* cmd )
    {
    	_asm
    	{
    		PUSH cmd
    		MOV EAX, 0x485E10
    		CALL EAX
    		ADD ESP, 0x4
    	}
    }
    void cHacks::RenderHacks(LPDIRECT3DDEVICE9 Device)//Renders your hacks
    {
    	if(IsIngame())
    	{
    	switch ( Hack.cross ) //Draws Simple crosshair when Hack.cross equals the case
    	{
    	case 1:
    		Tools.xhair(Device, Red);//Red Crosshair FTW
    		break;
    	case 2:
    		Tools.xhair(Device, Blue);//Blue GAY!!!
    		break;
    	case 3:
    		Tools.xhair(Device, Green);
    		break;
    	}
    		if(IsIngame())
    	{
    		if(Hack.test1)
    		{
    			RunConsoleCommand("SkelModelStencil 1" );
    		}else{
    			RunConsoleCommand("SkelModelStencil 0" );
    		}
    	}
    	if(IsIngame())
    	{
    		if(Hack.test2)
    		{
    			RunConsoleCommand("PerturbRotationEffect  0.000000"); 
    			RunConsoleCommand("PerturbIncreaseSpeed 0.000000"); 
    			RunConsoleCommand("PerturbWalkPercent 0.000000"); 
    			RunConsoleCommand("PerturbFiringIncreaseSpeed 0.000000");
    		}else{
    			RunConsoleCommand("PerturbRotationEffect 3.000000");
    			RunConsoleCommand("PerturbIncreaseSpeed 3.000000");
    			RunConsoleCommand("PerturbDecreaseSpeed 9.000000");
    			RunConsoleCommand("PerturbWalkPercent 0.500000");
    		}
    	}
    	if(IsIngame())
    	{
    		if(Hack.test3)
    		{
    			RunConsoleCommand("FogEnable 0");
    		}else{
    			if(IsIngame())
    			{
    			RunConsoleCommand("FogEnable 1");
    		}
    	}
    	if(IsIngame())
    	{
    		switch(Hack.test4)
    		{
    		case 0:
    			RunConsoleCommand("BaseMoveAccel 3000.000000");
    			RunConsoleCommand("StartAccel 500.000000");
    			RunConsoleCommand("MaxAccel 3000.000000");
    			RunConsoleCommand("AccelInc 6000.000000");
    			RunConsoleCommand("WalkVel 70.000000");
    			RunConsoleCommand("FRunVel 285.000000");
    			RunConsoleCommand("BRunVel 285.000000");
    			RunConsoleCommand("SRunVel 285.000000");
    			break;
    		case 1:
    			RunConsoleCommand("BaseMoveAccel 1000.000000");
    			RunConsoleCommand("StartAccel 1000.000000");
    			RunConsoleCommand("MaxAccel 1000.000000");
    			RunConsoleCommand("AccelInc 1000.000000");
    			RunConsoleCommand("WalkVel 1000.000000");
    			RunConsoleCommand("FRunVel 1000.000000");
    			RunConsoleCommand("BRunVel 1000.000000");
    			RunConsoleCommand("SRunVel 1000.000000");
    			break;
    		case 2:
    			RunConsoleCommand("BaseMoveAccel 2000.000000");
    			RunConsoleCommand("StartAccel 2000.000000");
    			RunConsoleCommand("MaxAccel 2000.000000");
    			RunConsoleCommand("AccelInc 2000.000000");
    			RunConsoleCommand("WalkVel 2000.000000");
    			RunConsoleCommand("FRunVel 2000.000000");
    			RunConsoleCommand("BRunVel 2000.000000");
    			RunConsoleCommand("SRunVel 2000.000000");
    			break;
    		case 3:
    			RunConsoleCommand("BaseMoveAccel 3000.000000");
    			RunConsoleCommand("StartAccel 3000.000000");
    			RunConsoleCommand("MaxAccel 3000.000000");
    			RunConsoleCommand("AccelInc 3000.000000");
    			RunConsoleCommand("WalkVel 3000.000000");
    			RunConsoleCommand("FRunVel 3000.000000");
    			RunConsoleCommand("BRunVel 3000.000000");
    			RunConsoleCommand("SRunVel 3000.000000");
    			break;
    		case 4:
    			RunConsoleCommand("BaseMoveAccel 4000.000000");
    			RunConsoleCommand("StartAccel 4000.000000");
    			RunConsoleCommand("MaxAccel 4000.000000");
    			RunConsoleCommand("AccelInc 4000.000000");
    			RunConsoleCommand("WalkVel 4000.000000");
    			RunConsoleCommand("FRunVel 4000.000000");
    			RunConsoleCommand("BRunVel 4000.000000");
    			RunConsoleCommand("SRunVel 4000.000000");
    			break;
    		case 5:
    			RunConsoleCommand("BaseMoveAccel 5000.000000");
    			RunConsoleCommand("StartAccel 5000.000000");
    			RunConsoleCommand("MaxAccel 5000.000000");
    			RunConsoleCommand("AccelInc 5000.000000");
    			RunConsoleCommand("WalkVel 5000.000000");
    			RunConsoleCommand("FRunVel 5000.000000");
    			RunConsoleCommand("BRunVel 5000.000000");
    			RunConsoleCommand("SRunVel 5000.000000");
    			break;
    		case 6:
    			RunConsoleCommand("BaseMoveAccel 6000.000000");
    			RunConsoleCommand("StartAccel 6000.000000");
    			RunConsoleCommand("MaxAccel 6000.000000");
    			RunConsoleCommand("AccelInc 6000.000000");
    			RunConsoleCommand("WalkVel 6000.000000");
    			RunConsoleCommand("FRunVel 6000.000000");
    			RunConsoleCommand("BRunVel 6000.000000");
    			RunConsoleCommand("SRunVel 6000.000000");
    			break;
    		case 7:
    			RunConsoleCommand("BaseMoveAccel 7000.000000");
    			RunConsoleCommand("StartAccel 7000.000000");
    			RunConsoleCommand("MaxAccel 7000.000000");
    			RunConsoleCommand("AccelInc 7000.000000");
    			RunConsoleCommand("WalkVel 7000.000000");
    			RunConsoleCommand("FRunVel 7000.000000");
    			RunConsoleCommand("BRunVel 7000.000000");
    			RunConsoleCommand("SRunVel 7000.000000");
    			break;
    		case 8:
    			RunConsoleCommand("BaseMoveAccel 8000.000000");
    			RunConsoleCommand("StartAccel 8000.000000");
    			RunConsoleCommand("MaxAccel 8000.000000");
    			RunConsoleCommand("AccelInc 8000.000000");
    			RunConsoleCommand("WalkVel 8000.000000");
    			RunConsoleCommand("FRunVel 8000.000000");
    			RunConsoleCommand("BRunVel 8000.000000");
    			RunConsoleCommand("SRunVel 8000.000000");
    			break;
    		case 9:
    			RunConsoleCommand("BaseMoveAccel 9000.000000");
    			RunConsoleCommand("StartAccel 9000.000000");
    			RunConsoleCommand("MaxAccel 9000.000000");
    			RunConsoleCommand("AccelInc 9000.000000");
    			RunConsoleCommand("WalkVel 9000.000000");
    			RunConsoleCommand("FRunVel 9000.000000");
    			RunConsoleCommand("BRunVel 9000.000000");
    			RunConsoleCommand("SRunVel 9000.000000");
    			break;
    		case 10:
    			RunConsoleCommand("BaseMoveAccel 10000.000000");
    			RunConsoleCommand("StartAccel 10000.000000");
    			RunConsoleCommand("MaxAccel 10000.000000");
    			RunConsoleCommand("AccelInc 10000.000000");
    			RunConsoleCommand("WalkVel 10000.000000");
    			RunConsoleCommand("FRunVel 10000.000000");
    			RunConsoleCommand("BRunVel 10000.000000");
    			RunConsoleCommand("SRunVel 10000.000000");
    			break;
    			}
    			}
    	if(IsIngame())
    	{
    		switch(Hack.test5)
    		{
    		case 0:
    			RunConsoleCommand("JumpVel 330.000000");
    			break;
    		case 1:
    			RunConsoleCommand("JumpVel 100.000000");
    			break;
    		case 2:
    			RunConsoleCommand("JumpVel 200.000000");
    			break;
    		case 3:
    			RunConsoleCommand("JumpVel 300.000000");
    			break;
    		case 4:
    			RunConsoleCommand("JumpVel 400.000000");
    			break;
    		case 5:
    			RunConsoleCommand("JumpVel 500.000000");
    			break;
    		case 6:
    			RunConsoleCommand("JumpVel 600.000000");
    			break;
    		case 7:
    			RunConsoleCommand("JumpVel 700.000000");
    			break;
    		case 8:
    			RunConsoleCommand("JumpVel 800.000000");
    			break;
    		case 9:
    			RunConsoleCommand("JumpVel 900.000000");
    			break;
    		case 10:
    			RunConsoleCommand("JumpVel 1000.000000");
    			break;
    		}
    	}
    	if(IsIngame())
    	{
    		if(Hack.test6)
    		{
    			if( GetAsyncKeyState( VK_SPACE )<0)
    			RunConsoleCommand( "PlayerGravity -800" );
    		}else{
    			if(IsIngame())
    			{
    			RunConsoleCommand( "PlayerGravity  800" );
    		}
    	}
    	if(IsIngame())
    	{
    		if(Hack.test7)
    		{
    			RunConsoleCommand("ShowFps 1");
    		}else{
    			RunConsoleCommand("ShowFps 0");
    		}
    	}
    	if(IsIngame())
    	{
    		if(Hack.test8)
    		{
    			memcpy((LPVOID)(0x3746F630),"x90\x90\x90",3);
    			memcpy((LPVOID)(0x3745F489),"x90\x90\x90",3);
    			memcpy((LPVOID)(0x3746F644),"x90\x90\x90",3);
    			memcpy((LPVOID)(0x3746F647),"x90\x90\x90",3);
    			memcpy((LPVOID)(0x3746F650),"x90\x90\x90",3);
    		}else{
    			memcpy((LPVOID)(0x3746F630),"xD8\x66\x58",3);
    			memcpy((LPVOID)(0x3745F489),"xD9\x46\x54",3);
    			memcpy((LPVOID)(0x3746F644),"xD9\x5E\x58",3);
    			memcpy((LPVOID)(0x3746F647),"xD9\x46\x4C",3);
    			memcpy((LPVOID)(0x3746F650),"xD9\x5E\x4C",3);
    	}
    	}
    	if(IsIngame())
    	{
    		if(Hack.test9)
    		{
    			memcpy((LPVOID)(0x374BBB79),"x90\x90\x90\x90\x90\x90",3);
    			memcpy((LPVOID)(0x374BBEF9),"x90\x90\x90\x90\x90\x90",3);
    		}else{
    			memcpy((LPVOID)(0x374BBB79),"x8B\x80\xC8\x02\x00\x00",3);
    			memcpy((LPVOID)(0x374BBEF9),"x8B\x80\xC8\x02\x00\x00",3);
    		}
    	}
    	if(IsIngame())
    	{
    		if(Hack.test10)
    		{
    			memcpy((LPVOID)(0x374B65D6),"x90\x90\x90",3);
    		}else{
    			memcpy((LPVOID)(0x374B65D6),"x0F\x94\xC0",3);
    		}
    	}
    	if(IsIngame())
    	{
    		if(Hack.test11)
    		{
    			RunConsoleCommand("ActivationDistance 1000000000");
    		}else{
    			RunConsoleCommand("ActivationDistance 100");
    		}

  2. #2
    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
    Ohh BOY how many times do i have to tell you ASM and C++ are two different languages.
    I just like programming, that is all.

    Current Stuff:

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

  3. #3
    PashaAmd's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    1,014
    Reputation
    58
    Thanks
    224
    omg isn't that flamesworl10's PTC he said not to give it out

  4. #4
    ProGamerX's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Posts
    124
    Reputation
    9
    Thanks
    20
    My Mood
    Cool
    He post it here
    http://www.mpgh.net/forum/334-coding...cks-crash.html
    and I try his PTC it is working I am not giving it out I am trying to find way the Addresses hacks like no recoil is crashing CA and the PTC hacks works fine. when I get the hacks working 100% I will credit him if i release the hack.

  5. #5
    PashaAmd's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    1,014
    Reputation
    58
    Thanks
    224
    Quote Originally Posted by ProGamerX View Post
    He post it here
    http://www.mpgh.net/forum/334-coding...cks-crash.html
    and I try his PTC it is working I am not giving it out I am trying to find way the Addresses hacks like no recoil is crashing CA and the PTC hacks works fine. when I get the hacks working 100% I will credit him if i release the hack.
    oh excuse me

  6. #6
    nucks's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    191
    Reputation
    6
    Thanks
    85
    My Mood
    Amazed
    you copied pasted to much i dont see a ingame function and a memcfy function...

  7. #7
    ProGamerX's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Posts
    124
    Reputation
    9
    Thanks
    20
    My Mood
    Cool
    me c&p. u c&p and never give the right credit when u release. u never give credit for the isingame function u act like u made it when u never did.

  8. #8
    nucks's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    191
    Reputation
    6
    Thanks
    85
    My Mood
    Amazed
    ^ just to tell you i didnt use flame works ingame function...

  9. #9
    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
    OHHHHHH!!!!!!!!!!!!!! SHIT!!@!@!@!@!


    NOOB FIGHT..

    It is just like a chick fight...
    But WAY!!!!!!! MORE EXCITING!!!!!!!!!!!
    BECAUSE THEY DONT KNOW HALF THE THINGS THEY FIGHTING ABOUT..
    I just like programming, that is all.

    Current Stuff:

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

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

    NOOBJr (03-21-2011)

  11. #10
    NOOB's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    3,863
    Reputation
    425
    Thanks
    8,598
    Code:
    if(Hack.test4 > 0) {
        char temp;
        sprintf(temp, "BaseMoveAccel %i", Hack.test4 * 1000);
        RunConsoleCommand(temp);
        //etc..
    }else{
        default..
    }
    
    if(Hack.test5 > 0) {
        char temp;
        sprintf(temp, "JumpVel %i", Hack.test4 * 100);
        RunConsoleCommand(temp);
    }else{
        RunConsoleCommand("JumpVel 330");
    }

  12. The Following 2 Users Say Thank You to NOOB For This Useful Post:

    NOOBJr (03-21-2011),ProGamerX (03-21-2011)

  13. #11
    kotentopf's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    602
    Reputation
    26
    Thanks
    251
    Quote Originally Posted by ᴺᴼᴼᴮ View Post
    Code:
    if(Hack.test4 > 0) {
        char temp;
        sprintf(temp, "BaseMoveAccel %i", Hack.test4 * 1000);
        RunConsoleCommand(temp);
        //etc..
    }else{
        default..
    }
    
    if(Hack.test5 > 0) {
        char temp;
        sprintf(temp, "JumpVel %i", Hack.test4 * 100);
        RunConsoleCommand(temp);
    }else{
        RunConsoleCommand("JumpVel 330");
    }
    Code:
    if(Jump.Enabled && GUI.show)
    		{
    			sprintf(buf1,"JumpVel %i",((330)*(JumpS.Slider.value + 1)));
    			Hack.Misc****nConsoleCommand(buf1);
    		}else if(!Jump.Enabled && GUI.show)
    			Hack.Misc****nConsoleCommand("JumpVel 330");
    The Internet SHOULD Be Illegal

    When you say
    "Java is a great programming language because it works on all platforms"
    it is just like
    "anal sex is great because it works on all genders"

    Are YOU a Troll?

  14. The Following User Says Thank You to kotentopf For This Useful Post:

    ProGamerX (03-21-2011)

  15. #12
    _Fk127_'s Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    724
    Reputation
    16
    Thanks
    208
    My Mood
    Bitchy
    Quote Originally Posted by topblast View Post
    Ohh BOY how many times do i have to tell you ASM and C++ are two different languages.
    Lol are you referring to the "0x" used before two values?



    Put this image in your signature if you support HTML5 development!

  16. #13
    NOOB's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    3,863
    Reputation
    425
    Thanks
    8,598
    Quote Originally Posted by kotentopf View Post
    Code:
    if(Jump.Enabled && GUI.show)
    		{
    			sprintf(buf1,"JumpVel %i",((330)*(JumpS.Slider.value + 1)));
    			Hack.Misc****nConsoleCommand(buf1);
    		}else if(!Jump.Enabled && GUI.show)
    			Hack.Misc****nConsoleCommand("JumpVel 330");
    but he dunt know wat a slider is.

  17. #14
    kotentopf's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    602
    Reputation
    26
    Thanks
    251
    Quote Originally Posted by ᴺᴼᴼᴮ View Post


    but he dunt know wat a slider is.
    he just need to know what a struct is xD
    The Internet SHOULD Be Illegal

    When you say
    "Java is a great programming language because it works on all platforms"
    it is just like
    "anal sex is great because it works on all genders"

    Are YOU a Troll?

  18. #15
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,074
    Reputation
    50
    Thanks
    936
    My Mood
    Fine
    Quote Originally Posted by topblast View Post
    Ohh BOY how many times do i have to tell you ASM and C++ are two different languages.
    It doesn't matter if I use ASM or C, if I allocate 28979827482394678267892634782304282039842348709872 34 bytes of memory, I will still end up with bad things happening. In this case, both operations(to which you are referring to) are manipulating memory, just one is doing it correctly(not resulting in a crash) and the other is apparently not. If he were to patch the bytes in assembly, he would still crash.

    Quote Originally Posted by nucks View Post
    you copied pasted to much i dont see a ingame function and a memcfy function...
    The ingame function is like the first 5 lines of his code, and the memcpy function is located in the windows SDK.
    Last edited by CodeDemon; 03-21-2011 at 07:16 PM.

  19. The Following User Says Thank You to CodeDemon For This Useful Post:

    Grim (03-22-2011)

Page 1 of 2 12 LastLast