Page 1 of 5 123 ... LastLast
Results 1 to 15 of 66
  1. #1
    Synns's Avatar
    Join Date
    May 2007
    Gender
    male
    Posts
    5,174
    Reputation
    170
    Thanks
    2,557
    My Mood
    Bitchy

    D3D9 Chams Tutorial

    This is a D3D9 chams tutorial.

    Defines -

    Code:
    bool Chams;
    UINT m_Stride;
    LPDIRECT3DTEXTURE9    texGreen;
    LPDIRECT3DTEXTURE9    texYellow;

    Above Initialize() -

    Code:
    HRESULT GenerateTexture(IDirect3DDevice9 *pD3Ddev, IDirect3DTexture9 **ppD3Dtex, DWORD colour32)
    {
    	if( FAILED(pD3Ddev->CreateTexture(8, 8, 1, 0, D3DFMT_A4R4G4B4, D3DPOOL_MANAGED, ppD3Dtex, NULL)) )
    		return E_FAIL;
    	
    	WORD colour16 =	((WORD)((colour32>>28)&0xF)<<12)
    			|(WORD)(((colour32>>20)&0xF)<<8)
    			|(WORD)(((colour32>>12)&0xF)<<4)
    			|(WORD)(((colour32>>4)&0xF)<<0);
    
    	D3DLOCKED_RECT d3dlr;    
    	(*ppD3Dtex)->LockRect(0, &d3dlr, 0, 0);
    	WORD *pDst16 = (WORD*)d3dlr.pBits;
    
    	for(int xy=0; xy < 8*8; xy++)
    		*pDst16++ = colour16;
    
    	(*ppD3Dtex)->UnlockRect(0);
    
    	return S_OK;
    }


    Initialize() -

    Code:
    GenerateTexture(m_pD3Ddev, &texYellow,D3DCOLOR_ARGB(255,255,255,0));
    GenerateTexture(m_pD3Ddev, &texGreen,D3DCOLOR_ARGB(255,0,255,0));
    DrawIndexedPrimitive -

    Code:
    	if (Chams) 
    	{
    		if (m_Stride == 44)
    		{
                 DWORD dwOldZEnable = D3DZB_TRUE;
                 m_pD3Ddev->SetTexture(0, texYellow);
                 m_pD3Ddev->GetRenderState(D3DRS_ZENABLE, &dwOldZEnable);
                 m_pD3Ddev->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    			 m_pD3Ddev->DrawIndexedPrimitive(Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
                 m_pD3Ddev->SetRenderState(D3DRS_ZENABLE, dwOldZEnable);
                 m_pD3Ddev->SetTexture(0, texGreen);
    }
    	}
    SetStreamSource -

    Code:
    if( StreamNumber == 0 ){m_Stride = Stride;}
    BeginScene -

    Code:
    		if (GetAsyncKeyState(VK_INSERT)&1)
    {
    	Chams = !Chams;
    }
    What you need?

    C++ , MS Visual Studio

    A SDK , I use august 2007

    The stride is the CA main player stride, the hotkey is insert if you successfully make chams and compile!

    Post all errors and questions I WILL help ~~~~
    Last edited by Synns; 08-11-2008 at 07:27 PM.

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

    aimanxi (12-26-2014),apezwijn (03-24-2009),bernardomr40 (07-13-2014),cmc5415 (09-30-2014),crowoftheobc (09-18-2010),Dimedrol1536 (07-26-2011),Dr4g0neon (06-17-2010),Fairplay? (11-17-2008),GiTaRiST (01-01-2015),HurleyppL (04-19-2013),Iwin (08-30-2008),jack bros (10-27-2013),jesse900 (08-11-2008),JihadiJohns (03-05-2016),kill_boy (04-01-2009),kirbythepuff (10-29-2008),kirozama (12-29-2015),Kraiken (08-28-2008),malbolger (08-23-2008),matdores157 (11-01-2015),MoonLight (02-08-2009),sh00ter (03-29-2009),spazmeister (08-22-2008),syahid1709 (06-11-2014),TobiiOdaaSoo (04-07-2015),tributoo2 (07-19-2011),userscs (04-08-2009),warrick983 (10-14-2008),wowee (12-18-2008),xxxxav (09-16-2008),zildjiandw (03-24-2009),znoen (10-28-2015)

  3. #2
    jesse900's Avatar
    Join Date
    Oct 2007
    Gender
    male
    Posts
    674
    Reputation
    21
    Thanks
    54
    My Mood
    Psychedelic
    I wish I understood this :/

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

    sh00ter (03-29-2009),xxxxav (09-16-2008)

  5. #3
    killthekampers's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Posts
    142
    Reputation
    10
    Thanks
    4
    good tutorial

  6. #4
    thug-s0uljah's Avatar
    Join Date
    Aug 2008
    Posts
    14
    Reputation
    10
    Thanks
    1
    Quote Originally Posted by Longevity View Post
    This is a D3D9 chams tutorial.

    Defines -

    Code:
    bool Chams;
    UINT m_Stride;
    LPDIRECT3DTEXTURE9    texGreen;
    LPDIRECT3DTEXTURE9    texYellow;

    Above Initialize() -

    Code:
    HRESULT GenerateTexture(IDirect3DDevice9 *pD3Ddev, IDirect3DTexture9 **ppD3Dtex, DWORD colour32)
    {
    	if( FAILED(pD3Ddev->CreateTexture(8, 8, 1, 0, D3DFMT_A4R4G4B4, D3DPOOL_MANAGED, ppD3Dtex, NULL)) )
    		return E_FAIL;
    	
    	WORD colour16 =	((WORD)((colour32>>28)&0xF)<<12)
    			|(WORD)(((colour32>>20)&0xF)<<8)
    			|(WORD)(((colour32>>12)&0xF)<<4)
    			|(WORD)(((colour32>>4)&0xF)<<0);
    
    	D3DLOCKED_RECT d3dlr;    
    	(*ppD3Dtex)->LockRect(0, &d3dlr, 0, 0);
    	WORD *pDst16 = (WORD*)d3dlr.pBits;
    
    	for(int xy=0; xy < 8*8; xy++)
    		*pDst16++ = colour16;
    
    	(*ppD3Dtex)->UnlockRect(0);
    
    	return S_OK;
    }


    Initialize() -

    Code:
    GenerateTexture(m_pD3Ddev, &texYellow,D3DCOLOR_ARGB(255,255,255,0));
    GenerateTexture(m_pD3Ddev, &texGreen,D3DCOLOR_ARGB(255,0,255,0));
    DrawIndexedPrimitive -

    Code:
    	if (Chams) 
    	{
    		if (m_Stride == 44)
    		{
                 DWORD dwOldZEnable = D3DZB_TRUE;
                 m_pD3Ddev->SetTexture(0, texYellow);
                 m_pD3Ddev->GetRenderState(D3DRS_ZENABLE, &dwOldZEnable);
                 m_pD3Ddev->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    			 m_pD3Ddev->DrawIndexedPrimitive(Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
                 m_pD3Ddev->SetRenderState(D3DRS_ZENABLE, dwOldZEnable);
                 m_pD3Ddev->SetTexture(0, texGreen);
    }
    	}
    SetStreamSource -

    Code:
    if( StreamNumber == 0 ){m_Stride = Stride;}
    BeginScene -

    Code:
    		if (GetAsyncKeyState(VK_INSERT)&1)
    {
    	Chams = !Chams;
    }
    What you need?

    C++ , MS Visual Studio

    A SDK , I use august 2007

    The stride is the CA main player stride, the hotkey is insert if you successfully make chams and compile!

    Post all errors and questions I WILL help ~~~~
    0mg only if i understood this...
    anyways.. this sh0uld be "stickied"

  7. #5
    masterboy120's Avatar
    Join Date
    Jul 2007
    Gender
    male
    Location
    The Netherlands
    Posts
    371
    Reputation
    10
    Thanks
    34
    My Mood
    Amazed
    Nice dude,its almost the same as d3d8

  8. #6
    aprill27's Avatar
    Join Date
    Feb 2007
    Gender
    male
    Location
    i dont have no idea
    Posts
    604
    Reputation
    10
    Thanks
    40
    Got 2 errors :/.

    Deleting intermediate files and output files for project 'TatniumD3D - Win32 Debug'.
    --------------------Configuration: TatniumD3D - Win32 Debug--------------------
    Compiling...
    d3d9dev.cpp
    c:\documents and settings\mihkel\desktop\d3d9\d3d9dev.cpp(17) : error C2601: 'GenerateTexture' : local function definitions are illegal
    c:\documents and settings\mihkel\desktop\d3d9\d3d9dev.cpp(17) : fatal error C1903: unable to recover from previous error(s); stopping compilation
    d3d9int.cpp
    d3d9tex.cpp
    d3d9.cpp
    main.cpp
    Error executing cl.exe.

    TatniumD3D.dll - 2 error(s), 0 warning(s)


    and the source is this

    HRESULT CD3DManager::Initialize()
    {
    HRESULT GenerateTexture(IDirect3DDevice9 *pD3Ddev, IDirect3DTexture9 **ppD3Dtex, DWORD colour32)
    {

    (the red mark is the source of the errors :/)
    .................................................. .................................................. .......................................
    I LIKE COOKIES




    KLICK here to help me crow



    GET MPGH FREE VIP HERE
    .................................................. .................................................. .......................................

  9. #7
    juppeli's Avatar
    Join Date
    May 2007
    Gender
    male
    Posts
    768
    Reputation
    12
    Thanks
    19
    Quote Originally Posted by aprill27 View Post
    Got 2 errors :/.

    Deleting intermediate files and output files for project 'TatniumD3D - Win32 Debug'.
    --------------------Configuration: TatniumD3D - Win32 Debug--------------------
    Compiling...
    d3d9dev.cpp
    c:documents and settingsmihkeldesktopd3d9d3d9dev.cpp(17) : error C2601: 'GenerateTexture' : local function definitions are illegal
    c:documents and settingsmihkeldesktopd3d9d3d9dev.cpp(17) : fatal error C1903: unable to recover from previous error(s); stopping compilation
    d3d9int.cpp
    d3d9tex.cpp
    d3d9.cpp
    main.cpp
    Error executing cl.exe.

    TatniumD3D.dll - 2 error(s), 0 warning(s)


    and the source is this

    HRESULT CD3DManager::Initialize()
    {
    HRESULT GenerateTexture(IDirect3DDevice9 *pD3Ddev, IDirect3DTexture9 **ppD3Dtex, DWORD colour32)
    {

    (the red mark is the source of the errors :/)
    Try swapping it around like this
    Code:
    {
    HRESULT GenerateTexture(IDirect3DDevice9 *pD3Ddev, IDirect3DTexture9 **ppD3Dtex, DWORD colour32)
    }

  10. #8
    aprill27's Avatar
    Join Date
    Feb 2007
    Gender
    male
    Location
    i dont have no idea
    Posts
    604
    Reputation
    10
    Thanks
    40
    Quote Originally Posted by juppeli View Post
    Try swapping it around like this
    Code:
    {
    HRESULT GenerateTexture(IDirect3DDevice9 *pD3Ddev, IDirect3DTexture9 **ppD3Dtex, DWORD colour32)
    }
    naa dont think so created 35 errors
    .................................................. .................................................. .......................................
    I LIKE COOKIES




    KLICK here to help me crow



    GET MPGH FREE VIP HERE
    .................................................. .................................................. .......................................

  11. #9
    Synns's Avatar
    Join Date
    May 2007
    Gender
    male
    Posts
    5,174
    Reputation
    170
    Thanks
    2,557
    My Mood
    Bitchy
    Quote Originally Posted by aprill27 View Post
    Got 2 errors :/.

    Deleting intermediate files and output files for project 'TatniumD3D - Win32 Debug'.
    --------------------Configuration: TatniumD3D - Win32 Debug--------------------
    Compiling...
    d3d9dev.cpp
    c:documents and settingsmihkeldesktopd3d9d3d9dev.cpp(17) : error C2601: 'GenerateTexture' : local function definitions are illegal
    c:documents and settingsmihkeldesktopd3d9d3d9dev.cpp(17) : fatal error C1903: unable to recover from previous error(s); stopping compilation
    d3d9int.cpp
    d3d9tex.cpp
    d3d9.cpp
    main.cpp
    Error executing cl.exe.

    TatniumD3D.dll - 2 error(s), 0 warning(s)


    and the source is this

    HRESULT CD3DManager::Initialize()
    {
    HRESULT GenerateTexture(IDirect3DDevice9 *pD3Ddev, IDirect3DTexture9 **ppD3Dtex, DWORD colour32)
    {

    (the red mark is the source of the errors :/)
    You don't put the generate texture function in Initialize() you put it ABOVE it, so it will look like this!

    [php]HRESULT GenerateTexture(IDirect3DDevice9 *pD3Ddev, IDirect3DTexture9 **ppD3Dtex, DWORD colour32)
    {
    if( FAILED(pD3Ddev->CreateTexture(8, 8, 1, 0, D3DFMT_A4R4G4B4, D3DPOOL_MANAGED, ppD3Dtex, NULL)) )
    return E_FAIL;

    WORD colour16 = ((WORD)((colour32>>28)&0xF)<<12)
    |(WORD)(((colour32>>20)&0xF)<<8)
    |(WORD)(((colour32>>12)&0xF)<<4)
    |(WORD)(((colour32>>4)&0xF)<<0);

    D3DLOCKED_RECT d3dlr;
    (*ppD3Dtex)->LockRect(0, &d3dlr, 0, 0);
    WORD *pDst16 = (WORD*)d3dlr.pBits;

    for(int xy=0; xy < 8*8; xy++)
    *pDst16++ = colour16;

    (*ppD3Dtex)->UnlockRect(0);

    return S_OK;
    }

    HRESULT CD3DManager::Initialize()
    {
    /*
    initialize Resources such as textures
    (managed and unmanaged [D3DPOOL]),
    vertex buffers, and other D3D rendering resources
    ...
    m_pD3Ddev->CreateTexture(..., ..., &m_pD3Dtexture);
    */


    GenerateTexture(m_pD3Ddev, &texRed,D3DCOLOR_ARGB(255,255,0,0));
    GenerateTexture(m_pD3Ddev, &texPurple,D3DCOLOR_ARGB(255,160,32,240));
    GenerateTexture(m_pD3Ddev, &texGreen,D3DCOLOR_ARGB(255,0,255,0));
    GenerateTexture(m_pD3Ddev, &texYellow,D3DCOLOR_ARGB(255,255,255,0));
    GenerateTexture(m_pD3Ddev, &texOrange,D3DCOLOR_ARGB(255,255,140,0));
    GenerateTexture(m_pD3Ddev, &texPink,D3DCOLOR_ARGB(255,255,192,203));
    GenerateTexture(m_pD3Ddev, &texBlue,D3DCOLOR_ARGB(255,0,0,255));
    GenerateTexture(m_pD3Ddev, &texViolet,D3DCOLOR_ARGB(208,32,144,0));
    GenerateTexture(m_pD3Ddev, &texSea,D3DCOLOR_XRGB( 32, 178, 170 ));
    GenerateTexture(m_pD3Ddev, &texBlack,D3DCOLOR_XRGB( 0, 0, 0 ));
    GenerateTexture(m_pD3Ddev, &texSlate,D3DCOLOR_XRGB( 47, 79, 79 ));
    GenerateTexture(m_pD3Ddev, &texCoral,D3DCOLOR_XRGB( 255, 127, 80 ));
    GenerateTexture(m_pD3Ddev, &texDOrange,D3DCOLOR_XRGB( 255, 140, 0 ));
    GenerateTexture(m_pD3Ddev, &texGrey,D3DCOLOR_XRGB( 190, 190, 190 ));

    return S_OK;
    }[/php]

  12. #10
    olave's Avatar
    Join Date
    Jun 2008
    Posts
    10
    Reputation
    10
    Thanks
    1
    OMFG i got 50 errors
    --------------------Configuration: TatniumD3D - Win32 Debug--------------------
    Compiling...
    d3d9dev.cpp
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(42) : error C2061: syntax error : identifier 'GenerateTexture'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(42) : error C2143: syntax error : missing ')' before ';'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(43) : error C2061: syntax error : identifier 'm_pD3Ddev'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(43) : error C2059: syntax error : ')'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(129) : error C2059: syntax error : 'if'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(130) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(174) : error C2059: syntax error : 'if'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(175) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(205) : error C2059: syntax error : 'if'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(205) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
    d3d9int.cpp
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(42) : error C2061: syntax error : identifier 'GenerateTexture'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(42) : error C2143: syntax error : missing ')' before ';'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(43) : error C2061: syntax error : identifier 'm_pD3Ddev'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(43) : error C2059: syntax error : ')'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(129) : error C2059: syntax error : 'if'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(130) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(174) : error C2059: syntax error : 'if'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(175) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(205) : error C2059: syntax error : 'if'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(205) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
    d3d9tex.cpp
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(42) : error C2061: syntax error : identifier 'GenerateTexture'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(42) : error C2143: syntax error : missing ')' before ';'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(43) : error C2061: syntax error : identifier 'm_pD3Ddev'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(43) : error C2059: syntax error : ')'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(129) : error C2059: syntax error : 'if'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(130) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(174) : error C2059: syntax error : 'if'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(175) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(205) : error C2059: syntax error : 'if'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(205) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
    d3d9.cpp
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(42) : error C2061: syntax error : identifier 'GenerateTexture'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(42) : error C2143: syntax error : missing ')' before ';'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(43) : error C2061: syntax error : identifier 'm_pD3Ddev'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(43) : error C2059: syntax error : ')'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(129) : error C2059: syntax error : 'if'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(130) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(174) : error C2059: syntax error : 'if'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(175) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(205) : error C2059: syntax error : 'if'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(205) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
    main.cpp
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(42) : error C2061: syntax error : identifier 'GenerateTexture'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(42) : error C2143: syntax error : missing ')' before ';'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(43) : error C2061: syntax error : identifier 'm_pD3Ddev'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(43) : error C2059: syntax error : ')'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(129) : error C2059: syntax error : 'if'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(130) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(174) : error C2059: syntax error : 'if'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(175) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(205) : error C2059: syntax error : 'if'
    c:\documents and settings\matt\desktop\d3d_starterkit_v3.0b\d3d9\d3 d9dev.h(205) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
    Error executing cl.exe.

    TatniumD3D.dll - 50 error(s), 0 warning(s)

  13. #11
    Combatant's Avatar
    Join Date
    Aug 2008
    Gender
    female
    Posts
    143
    Reputation
    11
    Thanks
    64
    d3dx9.h doesn't exist D:

  14. #12
    gbitz's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    Here.
    Posts
    3,136
    Reputation
    197
    Thanks
    335
    You should add how to add the SDK, the D3D9 cpp and headers, and what type of file to make.

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

    timmyeo (08-21-2008),xdemonmagex (08-30-2009)

  16. #13
    Combatant's Avatar
    Join Date
    Aug 2008
    Gender
    female
    Posts
    143
    Reputation
    11
    Thanks
    64
    I opened up the DirectX9 project with VC++ 2008 Express Edition, and I got these errors.

    Code:
    1>------ Build started: Project: TatniumD3D, Configuration: Debug Win32 ------
    1>Compiling...
    1>d3d9tex.cpp
    1>c:documents and settingsjohndesktopd3d9d3d9.h(8) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
    1>d3d9int.cpp
    1>c:documents and settingsjohndesktopd3d9d3d9.h(8) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
    1>d3d9dev.cpp
    1>c:documents and settingsjohndesktopd3d9d3d9.h(8) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
    1>main.cpp
    1>c:documents and settingsjohndesktopd3d9d3d9.h(8) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
    1>d3d9.cpp
    1>c:documents and settingsjohndesktopd3d9d3d9.h(8) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
    1>Generating Code...
    1>Creating browse information file...
    1>Microsoft Browse Information Maintenance Utility Version 9.00.21022
    1>Copyright (C) Microsoft Corporation. All rights reserved.
    1>BSCMAKE: error BK1506 : cannot open file '.Debugmain.sbr': No such file or directory
    1>Build log was saved at "file://c:Documents and SettingsJohnDesktopD3D9DebugBuildLog.htm"
    1>TatniumD3D - 6 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

  17. #14
    Marsicano's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    Brazil
    Posts
    371
    Reputation
    16
    Thanks
    67
    My Mood
    Lonely
    Well, I need make a dll project file with this right?

  18. #15
    timmyeo's Avatar
    Join Date
    May 2008
    Gender
    male
    Posts
    35
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by seemliss View Post
    You should add how to add the SDK, the D3D9 cpp and headers, and what type of file to make.
    can you help me/us by tellign us how to add the SDK, the D3D9 cpp and headers, and what type of file to make. thanks O_O

Page 1 of 5 123 ... LastLast

Similar Threads

  1. Chams Color Coding Tutorial
    By 420Suicide in forum Combat Arms Hacks & Cheats
    Replies: 9
    Last Post: 12-28-2008, 09:19 AM
  2. [Tutorial] Invite Spam/Chams
    By xenfac in forum Combat Arms Hacks & Cheats
    Replies: 10
    Last Post: 09-24-2008, 01:18 PM
  3. [Tutorial] How to Use Chams (nub-friendly)
    By ShawnRocks in forum Combat Arms Hacks & Cheats
    Replies: 20
    Last Post: 09-13-2008, 08:17 PM
  4. Tutorial Movie (Bypass/ Chams)
    By gudsoldier in forum Combat Arms Hacks & Cheats
    Replies: 31
    Last Post: 08-29-2008, 11:36 AM
  5. [Tutorial]How to change Harolds Cham Colours
    By ihacklolz in forum Combat Arms Hacks & Cheats
    Replies: 10
    Last Post: 08-17-2008, 01:47 AM

Tags for this Thread