Page 2 of 5 FirstFirst 1234 ... LastLast
Results 16 to 30 of 66
  1. #16
    Marsicano's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    Brazil
    Posts
    371
    Reputation
    16
    Thanks
    67
    My Mood
    Lonely
    Quote Originally Posted by timmyeo View Post
    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
    You must do a dll.
    How to add the things to a project, I think that will vary from compiler to compiler

  2. #17
    timmyeo's Avatar
    Join Date
    May 2008
    Gender
    male
    Posts
    35
    Reputation
    10
    Thanks
    0
    i don't have the .dll option in my compiler...
    i use microsoft visual c++ 2005 express edition =(


  3. #18
    thug-s0uljah's Avatar
    Join Date
    Aug 2008
    Posts
    14
    Reputation
    10
    Thanks
    1

    Please show a code.

    Can someone please post the code that it is suppose to look like before we "build" the program...? thanks if you do :P

  4. #19
    0wn3d's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    Australia
    Posts
    22
    Reputation
    10
    Thanks
    3
    I dont get it do i just copy and paste this all?

  5. #20
    ski11z's Avatar
    Join Date
    Aug 2008
    Posts
    5
    Reputation
    10
    Thanks
    0
    I've compiled this correctly but when i press insert it doesnt work. Is this for CSS and if not what are the css player strides? thx

  6. #21
    noob4life57's Avatar
    Join Date
    Aug 2008
    Posts
    6
    Reputation
    10
    Thanks
    0
    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 ~~~~
    If i knew what this was then i would try it

  7. #22
    coolboy99999999's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    the united states
    Posts
    33
    Reputation
    10
    Thanks
    1
    My Mood
    Stressed
    ok when i compile the project i get the following errors
    Code:
    1>------ Build started: Project: TatniumD3D, Configuration: Debug Win32 ------
    1>Compiling...
    1>d3d9tex.cpp
    1>c:documents and settingsadmin installerdesktopd3d_starterkit_v3.0bd3d_starterkit_v3.0bd3d9d3d9.h(8) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
    1>d3d9int.cpp
    1>c:documents and settingsadmin installerdesktopd3d_starterkit_v3.0bd3d_starterkit_v3.0bd3d9d3d9.h(8) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
    1>d3d9dev.cpp
    1>c:documents and settingsadmin installerdesktopd3d_starterkit_v3.0bd3d_starterkit_v3.0bd3d9d3d9.h(8) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
    1>main.cpp
    1>c:documents and settingsadmin installerdesktopd3d_starterkit_v3.0bd3d_starterkit_v3.0bd3d9d3d9.h(8) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
    1>d3d9.cpp
    1>c:documents and settingsadmin installerdesktopd3d_starterkit_v3.0bd3d_starterkit_v3.0bd3d9d3d9.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.30729
    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 Settingsadmin installerDesktopD3D_Starterkit_v3.0bD3D_Starterkit_v3.0bD3D9DebugBuildLog.htm"
    1>TatniumD3D - 6 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    how do i fix this
    Last edited by coolboy99999999; 08-28-2008 at 10:51 AM.

  8. #23
    lolfunny's Avatar
    Join Date
    Aug 2008
    Posts
    20
    Reputation
    10
    Thanks
    1
    I keep getting 1 error.

    1>Compiling...
    1>Charms.cpp
    1>c:\users\guy\desktop\charms\charms\charms.cpp(6 ) : fatal error C1083: Cannot open include file: 'main.h': No such file or directory
    1>Build log was saved at "file://c:\Users\Guy\Desktop\Charms\Charms\Debug\BuildLog. htm"
    1>Charms - 1 error(s), 0 warning(s)
    ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

  9. #24
    Andyklk2009's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    Red Dots
    Posts
    178
    Reputation
    10
    Thanks
    38
    dude if the chasm doesn't work what do i need to change?

  10. #25
    lolfunny's Avatar
    Join Date
    Aug 2008
    Posts
    20
    Reputation
    10
    Thanks
    1
    Oh nevermind, i fixed the error. The charms work =P

  11. #26
    9Lives CatsEyes's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Posts
    31
    Reputation
    10
    Thanks
    3
    can you post your script?

  12. #27
    blackpepper's Avatar
    Join Date
    Nov 2007
    Posts
    79
    Reputation
    10
    Thanks
    3
    thx this will help me out..i have a friend trying to teach me this..thx

  13. #28
    lolfunny's Avatar
    Join Date
    Aug 2008
    Posts
    20
    Reputation
    10
    Thanks
    1
    Ok... When i got C.A with the charms, it sometimes randomly crashes?

    And no i can't post script =P

  14. #29
    smoochy's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    1
    i cant get this to work

    ive compiled both a dll and an exe
    i put them both in the combat arms folder, i launch the injector it says click ok to inject i do, it closes i go into combat arms no chams!

    ive tried injecting with stealth injector no go either

  15. #30
    warrick983's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    Weed, California. Look it up
    Posts
    866
    Reputation
    10
    Thanks
    39
    My Mood
    Happy
    Thank you Longevity. I whish I could give you a trilion thanks. THis will help so much with the chams im making

Page 2 of 5 FirstFirst 1234 ... 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