Thread: DIP Stuff

Results 1 to 11 of 11
  1. #1
    DisOwned's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Posts
    233
    Reputation
    109
    Thanks
    681

    DIP Stuff

    ///Asus Walls////


    Code:
    	if( HackVars.ASUS == 1)
    		{
    			if(  Strides Here )
    			{
    				pDevice->SetRenderState( D3DRS_SRCBLEND,3);
    				pDevice->SetRenderState( D3DRS_DESTBLEND,4);
    				pDevice->SetRenderState( D3DRS_ALPHABLENDENABLE,true);
    			}
    		}


    //Light Chams///

    Code:
    if( HackVars.Body == 1 || HackVars.Color1 && HackVars.Color2  )
    		{
            if (Strides here)
    			{
    						pDevice->SetRenderState(D3DRS_ZENABLE,false);   
    						pDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);      
                 	if ( HackVars.Body == 1 && HackVars.Color2 && HackVars.Color1 == 1 ) { pDevice->SetRenderState(D3DRS_AMBIENT,Red); } 
    				if ( HackVars.Body == 1 && cVars.Color2 && HackVars.Color1 == 2 ) { pDevice->SetRenderState(D3DRS_AMBIENT,Green);  } 
    				if ( HackVars.Body == 1 && cVars.Color2 && HackVars.Color1 == 3 ) { pDevice->SetRenderState(D3DRS_AMBIENT,Blue);   }
    				if ( HackVars.Body == 1 && cVars.Color2 && HackVars.Color1 == 4 ) { pDevice->SetRenderState(D3DRS_AMBIENT,TextYellow);   } 
    				if ( HackVars.Body == 1 && HackVars.Color2 && HackVars.Color1 == 5 ) { pDevice->SetRenderState(D3DRS_AMBIENT,TextCyan); }
    				if ( HackVars.Body == 1 && HackVars.Color2 && HackVars.Color1 == 6 ) { pDevice->SetRenderState(D3DRS_AMBIENT,COLOR_DARKBLUE); }
    				if ( HackVars.Body == 1 && HackVars.Color2 && HackVars.Color1 == 6 ) { pDevice->SetRenderState(D3DRS_AMBIENT,COLOR_PINK); }
    			    	oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
    					pDevice->SetRenderState(D3DRS_ZENABLE,true);
    					pDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID); 
    				if ( HackVars.Body == 1 && HackVars.Color1 && HackVars.Color2 == 1 ) { pDevice->SetRenderState(D3DRS_AMBIENT,Red); } 
    				if ( HackVars.Body == 1 && HackVars.Color1 && HackVars.Color2 == 2 ) { pDevice->SetRenderState(D3DRS_AMBIENT,Green);  } 
    				if ( HackVars.Body == 1 && HackVars.Color1 && HackVars.Color2 == 3 ) { pDevice->SetRenderState(D3DRS_AMBIENT,Blue);   }
    				if ( HackVars.Body == 1 && HackVars.Color1 && HackVars.Color2 == 4 ) { pDevice->SetRenderState(D3DRS_AMBIENT,TextYellow);   } 
    				if ( HackVars.Body == 1 && HackVars.Color1 && HackVars.Color2 == 5 ) { pDevice->SetRenderState(D3DRS_AMBIENT,TextCyan); }//COLOR_PINK
    				if ( HackVars.Body == 1 && HackVars.Color1 && HackVars.Color2 == 6 ) { pDevice->SetRenderState(D3DRS_AMBIENT,COLOR_DARKBLUE); }
    				if ( HackVars.Body == 1 && HackVars.Color1 && HackVars.Color2 == 6 ) { pDevice->SetRenderState(D3DRS_AMBIENT,COLOR_PINK); }
    			}
    		}

    Enjoy

    Ive hade these dip function's for along time ill add credits off the top of my head so if i leave you out sorry

    King7
    DisaVow
    CodeDeamon
    N00B
    MattyPatty
    Ch4zz-Coder
    if i left out other comment them below i will edit post

  2. #2
    DisOwned's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Posts
    233
    Reputation
    109
    Thanks
    681
    i will release more when i feel the need to do so so enjoy guys

  3. #3
    B4NDiT26's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    1,010
    Reputation
    26
    Thanks
    32
    My Mood
    Shocked
    Quote Originally Posted by DisOwned View Post
    i will release more when i feel the need to do so so enjoy guys
    Yeah, thank you

  4. #4
    Acea's Avatar
    Join Date
    Oct 2012
    Gender
    female
    Location
    Home of the elks
    Posts
    346
    Reputation
    80
    Thanks
    2,204
    My Mood
    Stressed
    2 Switch statements would have been better here lol.... You have a bulk of code because of all the "if's"

  5. #5
    DisOwned's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Posts
    233
    Reputation
    109
    Thanks
    681
    Quote Originally Posted by Acea View Post
    2 Switch statements would have been better here lol.... You have a bulk of code because of all the "if's"
    LOL ya i know it's from my old vip menu so i just left it the way it was XD



    sloppy but works

  6. The Following User Says Thank You to DisOwned For This Useful Post:

    Acea (10-26-2013)

  7. #6
    Acea's Avatar
    Join Date
    Oct 2012
    Gender
    female
    Location
    Home of the elks
    Posts
    346
    Reputation
    80
    Thanks
    2,204
    My Mood
    Stressed
    Quote Originally Posted by DisOwned View Post
    LOL ya i know it's from my old vip menu so i just left it the way it was XD



    sloppy but works
    Amen to laziness xD

  8. #7
    DisOwned's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Posts
    233
    Reputation
    109
    Thanks
    681
    Quote Originally Posted by Acea View Post
    Amen to laziness xD
    lol how did you do night vision XD i saw a ptc command for it but idk

    Sexy

  9. #8
    Acea's Avatar
    Join Date
    Oct 2012
    Gender
    female
    Location
    Home of the elks
    Posts
    346
    Reputation
    80
    Thanks
    2,204
    My Mood
    Stressed
    Quote Originally Posted by DisOwned View Post
    lol how did you do night vision XD i saw a ptc command for it but idk

    Sexy

    Code:
    switch(nightvision)
            {
                case 0:
                    cmdConsole(CMD_VISION1_OFF);
                    cmdConsole(CMD_VISION2_OFF);
                    cmdConsole(CMD_VISION3_OFF);
                    cmdConsole(CMD_VISION4_OFF);
                    cmdConsole(CMD_VISION5_OFF);
                    cmdConsole(CMD_VISION6_OFF);
                    cmdConsole(CMD_VISION7_OFF);
                break;
    
                case 1:
                    cmdConsole(CMD_VISION1_ON); 
                    cmdConsole(CMD_VISION2_ON); 
                    cmdConsole(CMD_VISION3_ON); 
                    cmdConsole(CMD_VISION4_ON); 
                    cmdConsole(CMD_VISION5_ON); 
                    cmdConsole(CMD_VISION6_ON); 
                    cmdConsole(CMD_VISION7_ON); 
                break;
    
                case 2:
                    cmdConsole(CMD_VISION1_ON); 
                    cmdConsole(CMD_VISION2_ON2); 
                    cmdConsole(CMD_VISION3_ON2); 
                    cmdConsole(CMD_VISION4_ON2); 
                    cmdConsole(CMD_VISION5_ON); 
                    cmdConsole(CMD_VISION6_ON); 
                    cmdConsole(CMD_VISION7_ON);
                break;
    
                case 3:
                    cmdConsole(CMD_VISION1_ON); 
                    cmdConsole(CMD_VISION2_ON3); 
                    cmdConsole(CMD_VISION3_ON3); 
                    cmdConsole(CMD_VISION4_ON3); 
                    cmdConsole(CMD_VISION5_ON); 
                    cmdConsole(CMD_VISION6_ON); 
                    cmdConsole(CMD_VISION7_ON);
                break;
            }

    Code:
    #define CMD_VISION1_OFF        /*ScreenGamma 1.000000*/XorStr<0x22,21,0xE872A8DF>("\x71\x40\x56\x40\x43\x49\x6F\x48\x47\x46\x4D\x0D\x1F\x01\x00\x01\x02\x03\x04\x05"+0xE872A8DF).s
    #define CMD_VISION2_OFF        /*GammaR 1.108132*/XorStr<0xA4,16,0x6E8EA579>("\xE3\xC4\xCB\xCA\xC9\xFB\x8A\x9A\x82\x9C\x9E\x97\x81\x82\x80"+0x6E8EA579).s
    #define CMD_VISION3_OFF        /*GammaG 1.108132*/XorStr<0xC7,16,0x18F56334>("\x80\xA9\xA4\xA7\xAA\x8B\xED\xFF\xE1\xE1\xE1\xEA\xE2\xE7\xE7"+0x18F56334).s
    #define CMD_VISION4_OFF        /*GammaB 1.108132*/XorStr<0x52,16,0x3650D192>("\x15\x32\x39\x38\x37\x15\x78\x68\x74\x6A\x6C\x65\x6F\x6C\x52"+0x3650D192).s
    #define CMD_VISION5_OFF        /*ScreenGlowEnable 0*/XorStr<0xCC,19,0xE8AD8DDF>("\x9F\xAE\xBC\xAA\xB5\xBF\x95\xBF\xBB\xA2\x93\xB9\xB9\xBB\xB6\xBE\xFC\xED"+0xE8AD8DDF).s
    #define CMD_VISION6_OFF        /*FogsEnable 1*/XorStr<0xBC,13,0x8A0BB6C0>("\xFA\xD2\xD9\xCC\x85\xAF\xA3\xA1\xA8\xA0\xE6\xF6"+0x8A0BB6C0).s
    #define CMD_VISION7_OFF        /*TextureModels 1*/XorStr<0x8A,16,0x46CBB90F>("\xDE\xEE\xF4\xF9\xFB\xFD\xF5\xDC\xFD\xF7\xF1\xF9\xE5\xB7\xA9"+0x46CBB90F).s
    #define CMD_VISION1_ON        /*ScreenGamma 0.000000*/XorStr<0xAE,21,0xCBD271EC>("\xFD\xCC\xC2\xD4\xD7\xDD\xF3\xD4\xDB\xDA\xD9\x99\x8A\x95\x8C\x8D\x8E\x8F\xF0\xF1"+0xCBD271EC).s
    #define CMD_VISION2_ON        /*GammaB 0*/XorStr<0x2E,9,0xBB1D3237>("\x69\x4E\x5D\x5C\x53\x71\x14\x05"+0xBB1D3237).s
    #define CMD_VISION3_ON        /*GammaR 1*/XorStr<0xD8,9,0x01FAD75E>("\x9F\xB8\xB7\xB6\xBD\x8F\xFE\xEE"+0x01FAD75E).s
    #define CMD_VISION4_ON        /*GammaG 0*/XorStr<0x22,9,0x9CDA6611>("\x65\x42\x49\x48\x47\x60\x08\x19"+0x9CDA6611).s
    #define CMD_VISION5_ON        /*ScreenGlowEnable 1*/XorStr<0xD1,19,0xEEE1627A>("\x82\xB1\xA1\xB1\xB0\xB8\x90\xB4\xB6\xAD\x9E\xB2\xBC\xBC\xB3\x85\xC1\xD3"+0xEEE1627A).s
    #define CMD_VISION6_ON        /*FogEnable 0*/XorStr<0x11,12,0xF639FA55>("\x57\x7D\x74\x51\x7B\x77\x75\x74\x7C\x3A\x2B"+0xF639FA55).s
    #define CMD_VISION7_ON        /*TextureModels 0*/XorStr<0x3B,16,0x577F68A7>("\x6F\x59\x45\x4A\x4A\x32\x24\x0F\x2C\x20\x20\x2A\x34\x68\x79"+0x577F68A7).s
    #define CMD_VISION2_ON2        /*GammaB 0*/XorStr<0x2E,9,0xBB1D3237>("\x69\x4E\x5D\x5C\x53\x71\x14\x05"+0xBB1D3237).s
    #define CMD_VISION3_ON2        /*GammaR 0*/XorStr<0x75,9,0x2F39DA40>("\x32\x17\x1A\x15\x18\x28\x5B\x4C"+0x2F39DA40).s
    #define CMD_VISION4_ON2        /*GammaG 1*/XorStr<0x33,9,0xB4C49937>("\x74\x55\x58\x5B\x56\x7F\x19\x0B"+0xB4C49937).s
    #define CMD_VISION2_ON3        /*GammaB 1*/XorStr<0x9E,9,0x77704BBF>("\xD9\xFE\xCD\xCC\xC3\xE1\x84\x94"+0x77704BBF).s
    #define CMD_VISION3_ON3        /*GammaR 0*/XorStr<0xCC,9,0xBD7B3E32>("\x8B\xAC\xA3\xA2\xB1\x83\xF2\xE3"+0xBD7B3E32).s
    #define CMD_VISION4_ON3        /*GammaG 0*/XorStr<0x22,9,0x9CDA6611>("\x65\x42\x49\x48\x47\x60\x08\x19"+0x9CDA6611).s
    Sorry it's not neat or anything. I just haven't worked on a cheat in forever. Been working on other project's. You may need to find an address for them and use:
    Code:
    template <class T>
    
    VOID SetVariable(DWORD addr, T val){
        *(T*) addr = val;
    }
    
    VOID ConsoleCommand(int Variable, DWORD Address, int VariableOn, int VariableOff, bool& zsFlag)
    {
        if (Variable == 1 && zsFlag == false)
        {
            SetVariable<float>(Address, VariableOn);
            zsFlag = true;
        }
    
        if (Variable == 0 && zsFlag == true)
        {
            SetVariable<float>(Address, VariableOff);
            zsFlag = false;
        }
    }
    Last edited by Flengo; 10-27-2013 at 02:41 AM.

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

    DisOwned (10-26-2013)

  11. #9
    DisOwned's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Posts
    233
    Reputation
    109
    Thanks
    681
    Quote Originally Posted by Acea View Post
    Sorry it's not neat or anything. I just haven't worked on a cheat in forever. Been working on other project's. You may need to find an address for them and use:
    Code:
    template <class T>
    
    VOID SetVariable(DWORD addr, T val){
    	*(T*) addr = val;
    }
    
    VOID ConsoleCommand(int Variable, DWORD Address, int VariableOn, int VariableOff, bool& zsFlag)
    {
    	if (Variable == 1 && zsFlag == false)
    	{
    		SetVariable<float>(Address, VariableOn);
    		zsFlag = true;
    	}
    
    	if (Variable == 0 && zsFlag == true)
    	{
    		SetVariable<float>(Address, VariableOff);
    		zsFlag = false;
    	}
    }

    dam that is some creative thinking i have my own method for PTC LOL good job i never thought of doing that

  12. The Following User Says Thank You to DisOwned For This Useful Post:

    Acea (10-27-2013)

  13. #10
    B4NDiT26's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    1,010
    Reputation
    26
    Thanks
    32
    My Mood
    Shocked
    The night vision is awesome^^

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

    Acea (10-27-2013)

  15. #11
    Acea's Avatar
    Join Date
    Oct 2012
    Gender
    female
    Location
    Home of the elks
    Posts
    346
    Reputation
    80
    Thanks
    2,204
    My Mood
    Stressed
    Quote Originally Posted by DisOwned View Post
    dam that is some creative thinking i have my own method for PTC LOL good job i never thought of doing that
    Anytime ^^. Now i'm off to disappear like a ghost again and lurk this forum every so often til I see a post I like, adios amigos, and best of luck with your cheat.

  16. The Following User Says Thank You to Acea For This Useful Post:

    DisOwned (10-27-2013)

Similar Threads

  1. Stupid People Doing Stupid Stuff!
    By Dave84311 in forum General
    Replies: 9
    Last Post: 08-23-2007, 12:54 AM
  2. Where could I learn C++? (Beginner, and Advanced stuff)
    By TsumikiriX in forum C++/C Programming
    Replies: 8
    Last Post: 07-19-2006, 09:11 PM
  3. New Warrock Skin Stuff
    By Kyojiro in forum WarRock - International Hacks
    Replies: 17
    Last Post: 02-20-2006, 10:55 AM
  4. Korean Warrock Uboat And Other stuff :D
    By Kyojiro in forum WarRock - International Hacks
    Replies: 11
    Last Post: 01-19-2006, 03:56 PM