Thread: No Smoke Code

Results 1 to 4 of 4
  1. #1
    bender99's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    3
    My Mood
    Cheerful

    No Smoke Code

    :P

    Code:
    HRESULT WINAPI DrawIndexedPrimitive_Detour(LPDIRECT3DDEVICE9 Device_Interface, D3DPRIMITIVETYPE Type, INT BaseIndex, 
                                               UINT MinIndex, UINT NumVertices, UINT StartIndex, UINT PrimitiveCount)
    {
    	LPDIRECT3DVERTEXBUFFER9 Stream_Data;
    	PDWORD IsInGame = 
    		(PDWORD)0x0074E35C;
    	D3DVIEWPORT9 Vwp;
    	UINT Offset = 0;
    	UINT Stride = 0;
    
    	if(Device_Interface->GetStreamSource(0, &Stream_Data, &Offset, &Stride) == D3D_OK)
    		Stream_Data->Release();
    
    	Device_Interface->GetViewport( &Vwp );
    
    	if( NumVertices == 16384 && StartIndex && PrimitiveCount && *IsInGame && Stride == 32 )
    	{
    		return D3D_OK;
    	}
    
      return DrawIndexedPrimitive_Pointer(Device_Interface, Type, BaseIndex, MinIndex, NumVertices, StartIndex, PrimitiveCount);
    }





    NOT DOWLOAD THE ATTAC!
    Last edited by Jorndel; 04-06-2013 at 07:34 AM.

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

    c4eu (04-06-2013),tarquin (04-12-2013)

  3. #2
    MrZaneMan's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    Alright so I'm kinda new to CoD4 hacks and I was wondering what exactly do I do with the source code? Like how do I use it? Can someone link me to, or make, a tutorial? Thanks

  4. #3
    AraaasH's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    Where you want me to be
    Posts
    160
    Reputation
    12
    Thanks
    82
    My Mood
    Inspired
    Quote Originally Posted by MrZaneMan View Post
    Alright so I'm kinda new to CoD4 hacks and I was wondering what exactly do I do with the source code? Like how do I use it? Can someone link me to, or make, a tutorial? Thanks
    You need some knowledge in coding and a compiler. Maybe in 6 months you will understand something.
    FUCK LIFE I'M OUT

    Press "Thanks" if I helped you bitch.


  5. #4
    Schorle's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    i know how to unlock dvars and cvars so i dont need this )

Similar Threads

  1. No flash and No smoke code
    By CrossRaiders in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 22
    Last Post: 10-02-2010, 04:18 PM
  2. Pre-Regerstration - E3 Codes
    By Dave84311 in forum WarRock - International Hacks
    Replies: 67
    Last Post: 06-13-2006, 08:06 AM
  3. hi can any1 help me make or find a cheat code
    By CrUsHa in forum WarRock - International Hacks
    Replies: 3
    Last Post: 05-19-2006, 04:39 PM
  4. m60, smoke and p90 packets
    By carloshax in forum WarRock - International Hacks
    Replies: 8
    Last Post: 05-04-2006, 05:12 PM
  5. a Couple WPE Weapon codes?
    By phil823 in forum WarRock - International Hacks
    Replies: 16
    Last Post: 02-10-2006, 02:14 PM