PDA

View Full Version : [Tutorial] Define your chams



Chris
03-28-2008, 06:00 PM
i cant remember all of the verts i wrote them down somewhere but cant find them but this is just an example.
you can find them if you have a stride, numvertices, and prim logger.


in d3d8dev.cpp
under the includes put



#define Player (m_Stride == 44)
#define Walls (m_Stride == blah)
#define Flags (NumVertices == blah)
#define Gloves (NumVertices == 571)
#define Vehicles (NumVertices == blah || NumVertices == blah || NumVertices == blah)
#define Crates (NumVertics == blah || NumVertics == blah)


and in draw index primitive



if (Player && !Flags && !Gloves && !Vehicles)
{

//cham code here

}


diff example



if (Player && !Flags && !Gloves && !Vehicles || Walls && !Crates)
{

//cham code here

}




looks like this

Gloves, Flags and Vehicles are not chammed, well i chammed vehicles a diff color then players in this pic.

Pic Removed Due to the fact that nothing Concerning Wrrk Is allowed on Dxt.

teddybear
03-28-2008, 06:04 PM
So this is how you can add chams to d3d?

Where can i get a d3d program?

Chris
03-28-2008, 06:11 PM
well you can do this in any game but i used warrock as an example.
This shows you how to define the flag, gloves, and vehicles so they dont cham with players.

you need C++ and directx sdk

teddybear
03-28-2008, 06:14 PM
well you can do this in any game but i used warrock as an example.
This shows you how to define the flag, gloves, and vehicles so they dont cham with players.

you need C++ and directx sdk

Sorry , but i still don't really get it ...

I think i need to have some expirience in coding :) .

Thanks for trying to help anyway .

thimo
03-29-2008, 09:29 AM
Since i quit hacking
Good luck



primcount water = 156
primcount stone = 176

numvertices = 12 is fence
12 also shot in water
and plus namen
primcount 551 tank barriors in water
568 = sniper head
103 engineer ass thing
227 is engineer package thing
engineer head is 345 and 638 too
1065 are engi legs
1544 is engi body

engineer:
head: 345 + 638
leg: 1065
body: 1544
ass: 103
backpack: 227

numvert:
engineer:
haed: 415
medic head: 378
sniper head: 313
combat head: 316
hevy head: 333

Numverts
fists
175
engie pants
458
engie body
776
mp5= 474
526 Medic legs
954 med body
glock = 400

snipe legs = 422
snipe body = 1052

Old list i dunno if theyre still the same :P

Chris
03-29-2008, 01:31 PM
idk either i had alot of em lost my list lol

virus7799
03-29-2008, 04:20 PM
Since i quit hacking
Good luck



primcount water = 156
primcount stone = 176

numvertices = 12 is fence
12 also shot in water
and plus namen
primcount 551 tank barriors in water
568 = sniper head
103 engineer ass thing
227 is engineer package thing
engineer head is 345 and 638 too
1065 are engi legs
1544 is engi body

engineer:
head: 345 + 638
leg: 1065
body: 1544
ass: 103
backpack: 227

numvert:
engineer:
haed: 415
medic head: 378
sniper head: 313
combat head: 316
hevy head: 333

Numverts
fists
175
engie pants
458
engie body
776
mp5= 474
526 Medic legs
954 med body
glock = 400

snipe legs = 422
snipe body = 1052

Old list i dunno if theyre still the same :P

Thanks bro!!! Should have some fun with those :D.

Gellin
05-09-2008, 01:18 AM
It might make it look sexier like that but it's easier, less time consuming and possibly less laggy to call them like

if (stride && numverts){
cham code}

Bigxxx
05-12-2008, 06:47 PM
Chris you know i love your chams :D
But ...
How to code wire ?! :P

masterboy
05-13-2008, 08:05 AM
Yea i want to know that too

Bigxxx
05-13-2008, 09:51 AM
maybe it would be cool if cobra make a tut for us :)

ZeaS
05-13-2008, 12:14 PM
How to do WireFrame:


If (m_Stride == 44)
{
m_pD3Ddev->SetRenderState(D3DRS_FILLMODE, D3DFILL_WIREFRAME);
}

hope i helped

masterboy
05-13-2008, 12:18 PM
wtf thats it? only that??

Intel
12-21-2008, 01:00 PM
well you can do this in any game but i used warrock as an example.
This shows you how to define the flag, gloves, and vehicles so they dont cham with players.

you need C++ and directx sdk

Where can you get a directx sdk program?

PS: Sorry for bumping a very old thread..

Vescovo
12-21-2008, 01:04 PM
Where can you get a directx sdk program?

PS: Sorry for bumping a very old thread..

You get it from microsoft.

Cant remember which one but i think its November.
Dont know the year.

Intel
12-21-2008, 01:10 PM
You get it from microsoft.

Cant remember which one but i think its November.
Dont know the year.

Thanks..

http://www.microsoft.com/downloads/details.aspx?FamilyId=5493F76A-6D37-478D-BA17-28B1CCA4865A&displaylang=en - That's the right place, correct?

frostbitekid
12-21-2008, 01:12 PM
You get it from microsoft.

Cant remember which one but i think its November.
Dont know the year.

I thought it was the summer SDK.....

Vescovo
12-21-2008, 01:20 PM
I thought it was the summer SDK.....

I dont know.
I downloaded all of them.

TheSaint
12-24-2008, 02:51 PM
How can i edit this "File" to make it wallhack + cham? Like in ur picture.

Im brand new to game hacking (Besides Cheat Engine i used years ago)

Any tips etc

Thanks

Peace Out.x

Durrcookie
12-24-2008, 04:34 PM
How can i edit this "File" to make it wallhack + cham? Like in ur picture.

Im brand new to game hacking (Besides Cheat Engine i used years ago)

Any tips etc

Thanks

Peace Out.x

at the end of the chams code for dx8 it says FILL, change that to WIREFRAME and you're done.

Vescovo
12-24-2008, 06:55 PM
How can i edit this "File" to make it wallhack + cham? Like in ur picture.

Im brand new to game hacking (Besides Cheat Engine i used years ago)

Any tips etc

Thanks

Peace Out.x

use this tutorial
very noob friendly.
http://www.dxtgaming.com/forums/showthread.php?t=505



at the end of the chams code for dx8 it says FILL, change that to WIREFRAME and you're done.

He wanted to make chams.

Sharkoon
02-06-2009, 02:22 PM
hey, do you know how i get a list of the numbers of m_Stride == 48
so i want to know wich number makes the cham for what, i want that only players in cod4 have a cham on them


sorry for bad english, im from another country^^


mfg sharkoon

Vescovo
02-06-2009, 02:29 PM
hey, do you know how i get a list of the numbers of m_Stride == 48
so i want to know wich number makes the cham for what, i want that only players in cod4 have a cham on them


sorry for bad english, im from another country^^


mfg sharkoon

its different for every single game.
Also, some games will require numverts and primcounts instead of strides or with strides.

Takes alot of trial and error.
And of course time.

Sharkoon
02-06-2009, 02:39 PM
and do know if there is a litte list or something else for cod 4?

Vescovo
02-06-2009, 05:06 PM
and do know if there is a litte list or something else for cod 4?

Yes im sure there are tons of model recs for that game just use google

Adrenaline
02-20-2009, 01:46 PM
thanks this helped me alot

Biatch2009
03-28-2009, 04:47 AM
looks great ;)

supermanyash08
04-05-2009, 01:56 PM
lol wire frame

dutch
04-05-2009, 02:30 PM
lol this looks like xray xd

dragon2me
05-08-2009, 02:12 PM
But what is the Champs code?

gost-coder
06-22-2009, 08:07 AM
i have the strides i need but the strides also cham other things, is there a way to use the numverts to not cham them but cham everything else?

Vescovo
06-22-2009, 01:16 PM
i have the strides i need but the strides also cham other things, is there a way to use the numverts to not cham them but cham everything else?

Of course.
You can use a loop.