Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 40
  1. #16
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,170
    Reputation
    490
    Thanks
    2,252
    Quote Originally Posted by calmiller View Post
    Nice good job..
    This tut suck s
    doesnt derserve good job

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

    ғᴜᴋᴏᴊʀ (07-17-2010),Crash (07-17-2010),UnOwN CoD3R (07-16-2010)

  3. #17
    Stifmeister's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Posts
    3,173
    Reputation
    70
    Thanks
    183
    My Mood
    Innocent
    Thanks, ima see what i can achieve xD




    Previous names
    -darknezzrox
    -Subpoena















  4. #18
    UnOwN CoD3R's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Elmo's World!
    Posts
    296
    Reputation
    14
    Thanks
    371
    Quote Originally Posted by whit View Post


    This tut suck s
    doesnt derserve good job
    True that... it does blow ;D

  5. The Following User Says Thank You to UnOwN CoD3R For This Useful Post:

    ғᴜᴋᴏᴊʀ (07-17-2010)

  6. #19
    Sixx93's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    673
    Reputation
    21
    Thanks
    250
    My Mood
    Cool
    uhm... what u need to get working?? u are giving us only the RGB value of some colors

  7. #20
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,406
    Reputation
    157
    Thanks
    3,993
    My Mood
    Flirty
    Quote Originally Posted by darknezzrox View Post
    Thanks, ima see what i can achieve xD
    you will get nothing from this. lawl

  8. The Following User Says Thank You to ac1d_buRn For This Useful Post:

    whit (07-17-2010)

  9. #21
    muumimamma's Avatar
    Join Date
    Jan 2010
    Gender
    female
    Posts
    2,491
    Reputation
    48
    Thanks
    409
    My Mood
    Daring
    Nice . I think .
    [ Useless space ]

  10. #22
    juggernault5's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    .....In my Computer......
    Posts
    59
    Reputation
    10
    Thanks
    2
    My Mood
    Hot
    You put it on directx??
    MASTER-KILLER NEW CODER



    MPGH IS THE BEST

  11. #23
    ғᴜᴋᴏᴊʀ's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    1,568
    Reputation
    87
    Thanks
    141
    My Mood
    Inspired
    Quote Originally Posted by juggernault5 View Post
    You put it on directx??
    This is for people that know how to code C++. Not people like you that leech...

  12. #24
    Revolvium's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    32
    Reputation
    10
    Thanks
    12
    Quote Originally Posted by ^...,^ View Post
    RED
    Code:
    if (m_Stride == 44 || m_Stride == 36 || m_Stride == 32)
    {
        device->SetRenderState(D3DRS_ZENABLE,false);
        device->SetTexture(&Red);
        LPDIRECT3DTEXTURE9 pTexture[1];
    	const BYTE bRed[60] = { 0x42, 0x4D, 0x3C, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x36, 0x00, 0x00, 
    0x00, 0x28, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 
    0x01,0x00, 0x00, 0x00, 0x01, 0x00, 0x20, 0x00, 0x00, 
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x0B, 
    0x00, 0x00, 0x12, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x00,
    First your using Azorbix's GenerateTexture function which relies on a texture resource. Then here, when you are appearing to clarify what you said, your creating this color array in the middle of DIP without even manipulating it as a texture. I do see a SetTexture(&Red), and I'm not sure if your referencing it even before you created it O_O. I suggest that if you are going to use a color array like that, that you use "D3DXCreateTextureFromFileInMemory"
    and use it like so...

    Code:
    LPDIRECT3DTEXTURE9    texRed;
    D3DXCreateTextureFromFileInMemory(pDevice, (LPCVOID)&bRed,  60,  &texRed);
    Leave that color array out as a global, then create these in your hooked present function, checking to make sure that your colors are null upon creation, then recreate it.

    bRed should be in a header and then referenced.

    P.S: Here is the GenerateTexture function (Credits to Azorbix from GD)
    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;
    }
    Last edited by Revolvium; 07-17-2010 at 03:39 AM.

  13. #25
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,889
    Reputation
    163
    Thanks
    3,289
    My Mood
    Sleepy
    Quote Originally Posted by ac1d_buRn View Post


    it was not. It was me.
    You added the different colours.
    I got the standard colours to work.
    You're giving everybody the chams source. D:

    It used to be only the good people have em. Eventually somebody will post the code in this section now.


    It's spreading like a virus to all the hacks. :P

  14. #26
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,170
    Reputation
    490
    Thanks
    2,252
    Quote Originally Posted by Sealionone View Post
    You're giving everybody the chams source. D:

    It used to be only the good people have em. Eventually somebody will post the code in this section now.


    It's spreading like a virus to all the hacks. :P
    Acid didnt give him the chams source..I Believe

  15. #27
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,889
    Reputation
    163
    Thanks
    3,289
    My Mood
    Sleepy
    Quote Originally Posted by whit View Post


    Acid didnt give him the chams source..I Believe
    Well he's giving some people the source. Anyway I need to think outside the box because my chams used to be the only ones so now I need something else to be unique.

  16. #28
    mmbob's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    ja
    Posts
    655
    Reputation
    70
    Thanks
    1,156
    My Mood
    Bitchy
    Quote Originally Posted by Sealionone View Post
    Well he's giving some people the source. Anyway I need to think outside the box because my chams used to be the only ones so now I need something else to be unique.
    Make a color chooser in D3D so you can change cham colors on the fly in game without alt tabbing out

  17. #29
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,889
    Reputation
    163
    Thanks
    3,289
    My Mood
    Sleepy
    Quote Originally Posted by mmbob View Post
    Make a color chooser in D3D so you can change cham colors on the fly in game without alt tabbing out
    You read my mind man. That was actually what I was thinking.


    My next version has a lot of windows / menus whatever you call em.
    New cham menu where you choose Sat/Tex/Wall and then the color or go custom and change front/back with a preview.

    BTW : What is with MPGH ?
    Last edited by Crash; 07-17-2010 at 05:54 AM.

  18. #30
    Polo™'s Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Im awsome and i fuck dolphins. Shwag Shwag Shwagg
    Posts
    10,120
    Reputation
    612
    Thanks
    861
    My Mood
    Pensive
    Quote Originally Posted by Sealionone View Post
    You read my mind man. That was actually what I was thinking.


    My next version has a lot of windowsnus whatever you call em.
    New cham menu where you choose Sat/Tex/Wall and then the color or go custom and change front/back with a preview.

    BTW : What is with MPGH ?
    O.o nicee include nametags tho, i think i could get u the addie idk yet.
    When mpgh has trouble with hacking it just goes crazy for some time.

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Im looking for a coder
    By bomberau in forum C++/C Programming
    Replies: 2
    Last Post: 01-16-2009, 12:50 PM
  2. i look for warrock coders only for netherlands
    By hardcore4hack in forum WarRock - International Hacks
    Replies: 0
    Last Post: 01-10-2009, 11:33 AM
  3. Some info for DirectX coders here..
    By apezwijn in forum Operation 7 Hacks
    Replies: 0
    Last Post: 12-28-2008, 01:48 AM
  4. The strife chams still work for me?
    By hellaim in forum Combat Arms Hacks & Cheats
    Replies: 54
    Last Post: 09-11-2008, 06:55 AM
  5. check out my chams and wireframe for int warrock
    By cjg333 in forum WarRock - International Hacks
    Replies: 17
    Last Post: 08-26-2007, 09:31 PM