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

Cham Visibility
Old 08-05-2010, 11:06 PM   #1
n00bie

helicopter12's Avatar

Join Date: Feb 2010
Posts: 18
Reputation: 10
Rep Power: 24
helicopter12 has made posts that are generally average in quality
Cham Visibility

So I just started BFBC2 again... First instinct was to make chams, so I learned how to use shaders from the ModelRec topic (different then me using the usually K.O.S. and CA texture chams).

My DIP(Creds for teams to that ModelRec thread):
Code:
HRESULT WINAPI nDrawIndexedPrimitive(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE PrimType,INT BaseVertexIndex,UINT MinVertexIndex,UINT NumVertices,UINT startIndex,UINT primCount)
{
    LPDIRECT3DVERTEXBUFFER9 StreamData;
    UINT OffsetInBytes;
    UINT Stride;
    pDevice->GetStreamSource(0,&StreamData,&OffsetInBytes,&Stride);
        if(Team1)
        {
            pDevice->SetRenderState(D3DRS_ZENABLE,false);
            pDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);
            pDevice->SetPixelShader(Blue);

            oDrawIndexedPrimitive(pDevice,PrimType,BaseVertexIndex,MinVertexIndex,NumVertices,startIndex,primCount);

            pDevice->SetRenderState(D3DRS_ZENABLE,true);
            pDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);
            pDevice->SetPixelShader(Green);
        }else if(Team2){
            pDevice->SetRenderState(D3DRS_ZENABLE,false);
            pDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);
            pDevice->SetPixelShader(Blue);

            oDrawIndexedPrimitive(pDevice,PrimType,BaseVertexIndex,MinVertexIndex,NumVertices,startIndex,primCount);

            pDevice->SetRenderState(D3DRS_ZENABLE,true);
            pDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);
            pDevice->SetPixelShader(Green);
        }
    return oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
}
Now I have a problem, the only time the chams actually show any sort of wall hack or color is when I'm literally like 4 feet from a person.

Now my question is how can I increase the viewing distance - I heard there was a fix?

Thanks,
Heli
helicopter12 is offline

Reply With Quote


Old 08-05-2010, 11:15 PM   #2
UnKnoWnCheaTeR

Freeheadshot's Avatar

Join Date: Mar 2010
Location: Germany
Posts: 941
Reputation: 40621
Rep Power: 448
Freeheadshot has a huge epeen!Freeheadshot has a huge epeen!Freeheadshot has a huge epeen!Freeheadshot has a huge epeen!Freeheadshot has a huge epeen!Freeheadshot has a huge epeen!Freeheadshot has a huge epeen!Freeheadshot has a huge epeen!Freeheadshot has a huge epeen!Freeheadshot has a huge epeen!Freeheadshot 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: 25,225, Level: 22
Points: 25,225, Level: 22 Points: 25,225, Level: 22 Points: 25,225, Level: 22
Activity: 14.1%
Activity: 14.1% Activity: 14.1% Activity: 14.1%
Last Achievements
I guess it the Model Rec of the player. You can log the strides with an Stridelooker, on the forums are a few arround.
Freeheadshot is online now

Reply With Quote

Old 08-06-2010, 12:04 AM   #3
SEGnosis
Guest

Posts: n/a
Sounds like a case of the ol'
Level of detail

Reply With Quote

Old 08-06-2010, 12:17 AM   #4
*_*

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
yeah you need to re-log the numverts and such.
what you do is go close to the player and log it then move back until it dissapears and then lower the numbers and re-log when it chams again.
keep going 3-4 times until you have it how you want it.

its hard with guys running around so best hook up with a mate and have him in server with you for more accurite logging
__________________
┐(_)

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

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

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

Reply With Quote

Old 08-06-2010, 12:24 AM   #5
n00bie

helicopter12's Avatar

Threadstarter
Join Date: Feb 2010
Posts: 18
Reputation: 10
Rep Power: 24
helicopter12 has made posts that are generally average in quality
Alright thanks everyone, I'll give it a go.
helicopter12 is offline

Reply With Quote

Old 08-06-2010, 02:31 AM   #6
A God

100Proof's Avatar

Join Date: Jul 2009
Posts: 194
Reputation: 6998
Rep Power: 104
100Proof DEFINES UNKNOWNCHEATS100Proof DEFINES UNKNOWNCHEATS100Proof DEFINES UNKNOWNCHEATS100Proof DEFINES UNKNOWNCHEATS100Proof DEFINES UNKNOWNCHEATS100Proof DEFINES UNKNOWNCHEATS100Proof DEFINES UNKNOWNCHEATS100Proof DEFINES UNKNOWNCHEATS100Proof DEFINES UNKNOWNCHEATS100Proof DEFINES UNKNOWNCHEATS100Proof DEFINES UNKNOWNCHEATS
Points: 5,818, Level: 8
Points: 5,818, Level: 8 Points: 5,818, Level: 8 Points: 5,818, Level: 8
Activity: 10.3%
Activity: 10.3% Activity: 10.3% Activity: 10.3%
Last Achievements
Or do the smart thing and use crc's so you only have to log 1 value.....
__________________


~~~~~~~~~~~~~~
|| Uc Forum Rules ||
~~~~~~~~~~~~~~
100Proof 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
cham, visibility
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 06:07 AM.