Go Back   UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats > Anti-Cheat Software & Programming > Direct3D

- Sponsored Advertisement -
http://www.myfpscheats.com/

Welcome to the UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats.
You have to register before you can post and see and access any of the advanced forum features, please click the register link to proceed to the registration form. To start viewing threads or posts, select a forum that you want to visit from the selection below.
Direct3D
hacking programming reversing
You are Unregistered, please register to gain Full access.    
Reply
 
Thread Tools

flickering AA3 chams
Old 06-23-2010, 01:23 AM   #1
*_*

HOOAH07's Avatar

Join Date: Apr 2008
Location: H.M.P
Posts: 5,438
Reputation: 92853
Rep Power: 1083
HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!
Recognitions:
The UC Member of the Month award is a prestigious award given to a single community member on a monthly basis. Based on a vote by UnKnoWnCheaTs staff, the award is given to the forum member that has shown exemplary achievement and potential in the UnKnoWnCheaTs community, and has shown great commitment to upholding the principles upon which UnKnoWnCheaTs stands for. A member who has been awarded the Member of the Month award has been distinguished as an asset to the UnKnoWnCheaTs community. Member of the Month
Points: 68,717, Level: 38
Points: 68,717, Level: 38 Points: 68,717, Level: 38 Points: 68,717, Level: 38
Activity: 66.7%
Activity: 66.7% Activity: 66.7% Activity: 66.7%
Last Achievements
Award-Showcase
flickering AA3 chams

i thaught id look at D3D.
i grabbed the starter kit and took a little look inside it.
made some MW2 chams which were working out nicely.

loaded AA3 up to make some chams for it but im having problems with them flickering.
if i use only 1 colour or dont wallhack them the work ok but id like chams.
anyone know why it does it or how to fix it?
searched forum with no findings on it

im using SetTexture
__________________
┐(_)

°º¤ø„¸¨°º¤ø„¸¸„ø¤º°¨¸„ø¤º°¨

¨°º¤ø„¸ MONKEY „ø¤º°¨

„ø¤º°¨ FOREVER `°º¤ø...
xTc charging me up like a battery, Like 1000 volts rushing through my body
HOOAH07 is online now

Reply With Quote


Old 06-23-2010, 01:29 AM   #2
Supreme H4x0|2

4bply's Avatar

Join Date: Jan 2009
Location: uoy dniheB
Posts: 676
Reputation: 8706
Rep Power: 138
4bply DEFINES UNKNOWNCHEATS4bply DEFINES UNKNOWNCHEATS4bply DEFINES UNKNOWNCHEATS4bply DEFINES UNKNOWNCHEATS4bply DEFINES UNKNOWNCHEATS4bply DEFINES UNKNOWNCHEATS4bply DEFINES UNKNOWNCHEATS4bply DEFINES UNKNOWNCHEATS4bply DEFINES UNKNOWNCHEATS4bply DEFINES UNKNOWNCHEATS4bply DEFINES UNKNOWNCHEATS
Recognitions:
Members who have contributed financial support towards UnKnoWnCheaTs. Donation (1)
Points: 8,003, Level: 10
Points: 8,003, Level: 10 Points: 8,003, Level: 10 Points: 8,003, Level: 10
Activity: 1.1%
Activity: 1.1% Activity: 1.1% Activity: 1.1%
Last Achievements
This is what i use:


top

PHP Code:
//-------- D3D Textures ----------//

bool bTex false;
LPDIRECT3DTEXTURE9 texRed;  
LPDIRECT3DTEXTURE9 texGreen;
LPDIRECT3DTEXTURE9 texYellow;
LPDIRECT3DTEXTURE9 texBlack;
LPDIRECT3DTEXTURE9 texPurple;
LPDIRECT3DTEXTURE9 texWhite
Mid?

PHP Code:
HRESULT GenerateTextureIDirect3DDevice9 *pD3DdevIDirect3DTexture9 **ppD3DtexDWORD colour32 )
{
    if( 
FAILED(pD3Ddev->CreateTexture(8810D3DFMT_A4R4G4B4D3DPOOL_MANAGEDppD3DtexNULL)) )
    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, &d3dlr00);
    
WORD *pDst16 = (WORD*)d3dlr.pBits;
    for(
int xy=0xy 8*8xy++)
    *
pDst16++ = colour16;
    (*
ppD3Dtex)->UnlockRect(0);
    return 
S_OK;

DrawIndexPrimitive

PHP Code:
    if(D3DChams == true && Eu
  {
  
pDevice->SetRenderState(D3DRS_ZENABLEfalse);

   
pDevice->SetTexture(0texGreen);

  
oDrawIndexedPrimitivepDevicePrimTypeBaseVertexIndexMinVertexIndexNumVerticesstartIndexprimCount );

  
pDevice->SetRenderState(D3DRS_ZENABLEtrue);

  } 
EndScene

PHP Code:
        if(bTex == false){
GenerateTexture(pDevice, &texRedD3DCOLOR_ARGB(255,255,0,0));  
GenerateTexture(pDevice, &texYellowD3DCOLOR_ARGB(255,255,255,0)); 
GenerateTexture(pDevice, &texGreenD3DCOLOR_ARGB(255,0,255,0)); 
GenerateTexture(pDevice, &texBlackD3DCOLOR_ARGB(255,0,0,0)); 
GenerateTexture(pDevice, &texWhiteD3DCOLOR_ARGB(255,255,255,255));
GenerateTexture(pDevice, &texPurpleD3DCOLOR_ARGB(255,160,32,250));



bTex true; } 
__________________
"Stay on top but remain from the underground"
4bply is offline

Reply With Quote

Old 06-23-2010, 01:50 AM   #3
*_*

HOOAH07's Avatar

Threadstarter
Join Date: Apr 2008
Location: H.M.P
Posts: 5,438
Reputation: 92853
Rep Power: 1083
HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!
Recognitions:
The UC Member of the Month award is a prestigious award given to a single community member on a monthly basis. Based on a vote by UnKnoWnCheaTs staff, the award is given to the forum member that has shown exemplary achievement and potential in the UnKnoWnCheaTs community, and has shown great commitment to upholding the principles upon which UnKnoWnCheaTs stands for. A member who has been awarded the Member of the Month award has been distinguished as an asset to the UnKnoWnCheaTs community. Member of the Month
Points: 68,717, Level: 38
Points: 68,717, Level: 38 Points: 68,717, Level: 38 Points: 68,717, Level: 38
Activity: 66.7%
Activity: 66.7% Activity: 66.7% Activity: 66.7%
Last Achievements
Award-Showcase
yeah i could do it like that no bother but chamming it with something like this causes the flickering

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);

this is what i use in mw2 without problems

if i cant fix it i suppose i would just continue with the 1 colour like yours though
__________________
┐(_)

°º¤ø„¸¨°º¤ø„¸¸„ø¤º°¨¸„ø¤º°¨

¨°º¤ø„¸ MONKEY „ø¤º°¨

„ø¤º°¨ FOREVER `°º¤ø...
xTc charging me up like a battery, Like 1000 volts rushing through my body

Last edited by HOOAH07; 06-23-2010 at 02:30 AM.
HOOAH07 is online now

Reply With Quote

Old 06-23-2010, 08:39 PM   #4
Posting Well

boi2gangsta's Avatar

Join Date: Oct 2009
Posts: 27
Reputation: 161
Rep Power: 30
boi2gangsta is known to create posts excellent in qualityboi2gangsta is known to create posts excellent in quality
it could be your model rec?
boi2gangsta is offline

Reply With Quote

Old 06-23-2010, 09:31 PM   #5
*_*

HOOAH07's Avatar

Threadstarter
Join Date: Apr 2008
Location: H.M.P
Posts: 5,438
Reputation: 92853
Rep Power: 1083
HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!
Recognitions:
The UC Member of the Month award is a prestigious award given to a single community member on a monthly basis. Based on a vote by UnKnoWnCheaTs staff, the award is given to the forum member that has shown exemplary achievement and potential in the UnKnoWnCheaTs community, and has shown great commitment to upholding the principles upon which UnKnoWnCheaTs stands for. A member who has been awarded the Member of the Month award has been distinguished as an asset to the UnKnoWnCheaTs community. Member of the Month
Points: 68,717, Level: 38
Points: 68,717, Level: 38 Points: 68,717, Level: 38 Points: 68,717, Level: 38
Activity: 66.7%
Activity: 66.7% Activity: 66.7% Activity: 66.7%
Last Achievements
Award-Showcase
dont think so to be honest.
works perfect if i dont wallhack it or use only 1 colour.

i searched loads for same problem and i see other people with same problem in different games but no info on how to fix it,

for now will just do it one color until i can think of more ideas.
__________________
┐(_)

°º¤ø„¸¨°º¤ø„¸¸„ø¤º°¨¸„ø¤º°¨

¨°º¤ø„¸ MONKEY „ø¤º°¨

„ø¤º°¨ FOREVER `°º¤ø...
xTc charging me up like a battery, Like 1000 volts rushing through my body
HOOAH07 is online now

Reply With Quote
Reply  

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit



Tags
aa3, chams, flickering
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT +1. The time now is 09:27 AM.