Philippine Online Games
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Philippine Online Games

The No.1 Community Forum in The Philippines
 
HomeGalleryLatest imagesSearchRegisterLog in
If this is your first visit? be sure to check out the FAQ by clicking the link above. You may have to register before you can post and Download. Click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 

 D3D Simple Chams TUTORIALS

Go down 
+3
haoushoku
Imaginarys
Vip_SolidSnake
7 posters
AuthorMessage
Vip_SolidSnake
Admin
Vip_SolidSnake


Posts : 61
Reputation : 26
Join date : 2010-02-04

D3D Simple Chams TUTORIALS Empty
PostSubject: D3D Simple Chams TUTORIALS   D3D Simple Chams TUTORIALS I_icon_minitimeSat 6 Feb 2010 - 18:49

What's chams?

Chams are short for, chameleons. it's basically a wallhack, with a color overlay for the item's place on the Z Axis, behind, or in front of the Render Buffer.

NOTE: If you're going to be using a D3D Base, you'll have to change the Device name, and make sure that your arguments for DrawIndexedPrimitive match.

But, first we will need to define our playerbody, so that we don't cham parts of the map and only the player.


this can be done like this:

Code:

UINT Stride;
#define Player (Stride == 44);
bool Chams = false;

Also, for better definition of the playerbody using numverts and primcounts, or if there are more than one stride, you can use this code



Code:
UINT Stride;
UINT NumVertices;
UINT PrimitiveCount;
#define Player (Stride == 44 || Stride == 20 || NumVertices == 200 || PrimitiveCount == 30);
//NOTE, these are Fake Strides.
//You will have to use the Game Specific ones for the game  you are planning to 'hack'
bool chams = false;


DrawIndexedPrimitive
Code:

LPDIRECT3DVERTEXBUFFER8 Stream_Data;
  UINT Stride = 0;

  if (m_pD3DDev->GetStreamSource(0, &Stream_Data, &Stride) == D3D_OK)
  Stream_Data->Release();

if(Chams)
      if(Player)
      {
          {
//If the player stride is active.
    DrawIndexedPrimitive(Device, Type, MinIndex,  NumVertices, StartIndex, PrimitiveCount);
//If it's behind the wall, then fill it with Green
    Device->SetRenderState( D3DRS_ZENABLE,false );
    Device->SetTexture( 0, texGreen );
//and then disable the Z Axis buffer, and bring them to the front.
    DrawIndexedPrimitive(Device, Type, MinIndex, NumVertices, StartIndex,  PrimitiveCount);
//if the player is in front of the wall
    Device->SetRenderState( D3DRS_ZENABLE, true );
//turn the Z Buffer back on, and then fill the playermodel with blue
    Device->SetTexture( 0, texBlue);
    DrawIndexedPrimitive(Device, Type,  MinIndex,  NumVertices, StartIndex, PrimitiveCount);
          }
      }


[You must be registered and logged in to see this image.]
Mobile number - 09286880872
Yahoo Messenger - [You must be registered and logged in to see this link.] -
[You must be registered and logged in to see this image.]


Last edited by Admin on Sun 7 Feb 2010 - 20:37; edited 1 time in total
Back to top Go down
http://vipcoders.omgforum.net
Imaginarys




Posts : 2
Reputation : 0
Join date : 2010-02-06

D3D Simple Chams TUTORIALS Empty
PostSubject: Coding Tutorial..   D3D Simple Chams TUTORIALS I_icon_minitimeSun 7 Feb 2010 - 0:31

Nice Tutorial Smile !

I want a Tutor.... for coding
I love coding,making my own hacks..
Or can you like just post more Tuts on how to make hack

---------------------------------------------------------------------
DrawIndexedPrimitive
Code:

LPDIRECT3DVERTEXBUFFER8 Stream_Data;
UINT Stride = 0;

if (m_pD3DDev->GetStreamSource(0, &Stream_Data, &Stride) == D3D_OK)
Stream_Data->Release();

if(Chams)
if(Player)
{
{
//If the player stride is active.
DrawIndexedPrimitive(Device, Type, MinIndex, NumVertices, StartIndex, PrimitiveCount);
//If it's behind the wall, then fill it with Green
Device->SetRenderState( D3DRS_ZENABLE,false );
Device->SetTexture( 0, texGreen );
//and then disable the Z Axis buffer, and bring them to the front.
DrawIndexedPrimitive(Device, Type, MinIndex, NumVertices, StartIndex, PrimitiveCount);
//if the player is in front of the wall
Device->SetRenderState( D3DRS_ZENABLE, true );
//turn the Z Buffer back on, and then fill the playermodel with blue
Device->SetTexture( 0, texBlue);
DrawIndexedPrimitive(Device, Type, MinIndex, NumVertices, StartIndex, PrimitiveCount);
}
}

-------------------------------------------------------------------------------------------------------------------
I got some(You can maybe say its alot=x) questions :

Will it still work if you change the Device->SetTexture( 0, texBlue ); // the tex color is changed
Will it still work if you change the Device->SetTexture( Null,texRed ); // Tex color and "0" is changed..i suppose that Value 0 is the same a Null ?
Nvm that should be All i want to ask ...
--------------------------------------------------------------------------------------------------------------------
Nice Vip Too Sad I Can't Buy
Well From That Sentence,you will know that There are 2reasons why i can't buy
1)Below 18
2)No Credit Card(Paypal)
---------------------------------------------------------------------------------------------------------------------
Well I Really wish you could teach me How to Code( C++ )
-----------------------------------------------------------------------------------------------------------------
What I know :
1)Basics of C++
2)D3D ( Sad I can't make anything useful out of it. )

What I Want To Learn:
1) C++ (Of Course to be at a standard where i can make a hack like chams or box.esp or nametags.
2)D3D( Just want to learn how to make D3D hacks )
3)OGL

-----------------------------------------------------------------------------------------------------------------------
BTW, the playerbody stride for CA is 44 ( That is shown on your post )

Edit : I am using Microsoft VC ++ 2008

I understand a little bit on how to chams after this Tutorial...

I appreciate Any Help *** ***

-----------------| \
Thanks-------------------
-----------------| /

Good Luck,
All the best,

Imaginarys

*Love to Code,Love to Learn*
*Wish To Code A C++ CA Hack...Myself with help*
*Better Still,Myself which is impossible without help*
Back to top Go down
haoushoku

haoushoku


Posts : 2
Reputation : 0
Join date : 2010-02-06

D3D Simple Chams TUTORIALS Empty
PostSubject: Re: D3D Simple Chams TUTORIALS   D3D Simple Chams TUTORIALS I_icon_minitimeSun 7 Feb 2010 - 20:36

thank you admin. but can u tell us where to put that code? where to insert? or just its the whole code?


thank you.
Back to top Go down
Imaginarys




Posts : 2
Reputation : 0
Join date : 2010-02-06

D3D Simple Chams TUTORIALS Empty
PostSubject: haoushoku   D3D Simple Chams TUTORIALS I_icon_minitimeMon 8 Feb 2010 - 18:43

Type This :

if (GetAnsycKeyState(VK_INSERT)&1);

-----------
Thanks-----------
-----------

I know :

C++ BASICS.
D3D =]
Back to top Go down
lords27




Posts : 1
Reputation : 0
Join date : 2010-02-15

D3D Simple Chams TUTORIALS Empty
PostSubject: Re: D3D Simple Chams TUTORIALS   D3D Simple Chams TUTORIALS I_icon_minitimeMon 15 Feb 2010 - 4:22

where can i put this code? to edit into a hack can you pass it to me thx this is my e-mail [You must be registered and logged in to see this link.] thx
Back to top Go down
Hugo

Hugo


Posts : 6
Reputation : 4
Join date : 2010-03-04
Location : A Place I Like To Call Earth

D3D Simple Chams TUTORIALS Empty
PostSubject: Re: D3D Simple Chams TUTORIALS   D3D Simple Chams TUTORIALS I_icon_minitimeThu 4 Mar 2010 - 20:06

Please Click Here--------------------------------------------------------------------------------------------------------------------------------------------------------->


-?D3D?-


What Is D3D May i ask?
Back to top Go down
ovenran




Posts : 1
Reputation : 0
Join date : 2010-08-19

D3D Simple Chams TUTORIALS Empty
PostSubject: Re: D3D Simple Chams TUTORIALS   D3D Simple Chams TUTORIALS I_icon_minitimeThu 19 Aug 2010 - 8:03

nice code but we have to get the model rec to make the wallhack perfect Smile
Back to top Go down
wasim




Posts : 4
Reputation : 0
Join date : 2010-11-30

D3D Simple Chams TUTORIALS Empty
PostSubject: My love   D3D Simple Chams TUTORIALS I_icon_minitimeTue 30 Nov 2010 - 23:02

I love coding,making my own hacks..
Or can you like just post more Tuts on how to make hack.
Company Formation
Company Registration

Back to top Go down
Sponsored content





D3D Simple Chams TUTORIALS Empty
PostSubject: Re: D3D Simple Chams TUTORIALS   D3D Simple Chams TUTORIALS I_icon_minitime

Back to top Go down
 
D3D Simple Chams TUTORIALS
Back to top 
Page 1 of 1
 Similar topics
-
» PB Bypassing Tutorials
» C++ Hack Maker Tutorials
» [Release] Specialforce Sucrose 4.0 w/ full "Tutorials"

Permissions in this forum:You cannot reply to topics in this forum
Philippine Online Games :: VIP :: Programming :: D3D Programming [Tutorials]-
Jump to: