Author Topic: D3D Starterkit 3.0  (Read 5352 times)

0 Members and 1 Guest are viewing this topic.

M. O.

  • Administrator
  • MasstKer
  • *
  • Posts: 9185
    • View Profile
    • http://www.tkc-community.net
D3D Starterkit 3.0
« on: March 19, 2007, 04:11:33 am »
If you've got Visual Studio, the DirectX SDK and some C++ knowledge the attachment is everything you need.

If you want to make wireframe and nofog add this (should be the same for DX8 and 9):

Code: (cpp) [Select]
//Globals, but doesn't matter.
bool bFogOn;
bool bWireFrameOn;

//In SetRenderState, check the WinAPI for keys and explanation:
if(GetAsyncKeyState(VK_F1)&1)
{
  bFogOn = !bFogOn;
}
if(GetAsyncKeyState(VK_F2)&1)
{
  bWireFrameOn = !bWireFrameOn;
}

//In DrawIndexedPrimitive:
if(bFogOn)
{
   m_D3Ddev->SetRenderState(D3DRS_FOGENABLE,true); //Or something similar
}
else
{
   m_D3Ddev->SetRenderState(D3DRS_FOGENABLE,false);
}

if(bWireFrameOn)
{
   m_D3Ddev->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE); //Z Buffer Off
   m_D3Ddev->SetRenderState(D3DRS_FILLMODE, D3DFILL_WIREFRAME); //Wireframe On
}
else
{
   m_D3Ddev->SetRenderState(D3DRS_FILLMODE, D3DFILL_SOLID);
   m_D3Ddev->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
}

[Attachment will be posted later, forum uploads don't work atm]

Note: The D3D Starterkit 3.0 is NOT made by TKC. We take NO credit for it.
« Last Edit: May 11, 2007, 02:19:54 pm by Mullah Omar »
Heckling is an art, and game hacking a science.

Oynky

  • Banned
  • The Central Committee
  • Master Heckler
  • *
  • Posts: 2437
  • 6f 6d 67 68 61 78
    • View Profile
    • Teamkill and cheat community
Re: D3D Starterkit 3.0
« Reply #1 on: March 19, 2007, 05:32:57 pm »
Thanks im at school now so i cant do mutch here  :wink2
But ill check it out when im home.

Frank P.

  • Heckler Apprentice
  • ****
  • Posts: 1011
  • Still J Day N*gga....
    • View Profile
Re: D3D Starterkit 3.0
« Reply #2 on: March 22, 2007, 02:18:29 pm »
+1 it seems to work. I ran it by a friend (because I nfi what any of this means) and he got it working. I could barely understand what he said, too  :icon_laugh
Being Australian is about driving in a German car to an Irish pub for a Belgian beer, and then travelling home, grabbing an Indian curry or a Turkish kebab on the way, to sit on Swedish furniture and watch American shows on a Japanese TV.

M. O.

  • Administrator
  • MasstKer
  • *
  • Posts: 9185
    • View Profile
    • http://www.tkc-community.net
Re: D3D Starterkit 3.0
« Reply #3 on: March 22, 2007, 06:54:44 pm »
Whoops, forgot to add the option to turn the fog off. It should be self-evident but you never know.  :icon_razz2
Heckling is an art, and game hacking a science.

b00n

  • Insane Joker
  • ****
  • Posts: 608
  • pb,hackshield,vac sucks
    • View Profile
Re: D3D Starterkit 3.0
« Reply #4 on: March 22, 2007, 07:50:49 pm »
is this the GwhackD8 1.0b ?? works for any game....?


M. O.

  • Administrator
  • MasstKer
  • *
  • Posts: 9185
    • View Profile
    • http://www.tkc-community.net
Re: D3D Starterkit 3.0
« Reply #5 on: March 22, 2007, 08:34:05 pm »
Yes, the gwhackd8 is based on the code above. But I also added a FPS-counter + Font-class to it. Unfortunately I don't have the source anymore, or I would post it here too.

The GwhackD8 will work for any D8 game.
Heckling is an art, and game hacking a science.

b00n

  • Insane Joker
  • ****
  • Posts: 608
  • pb,hackshield,vac sucks
    • View Profile
Re: D3D Starterkit 3.0
« Reply #6 on: March 23, 2007, 07:24:15 pm »
hmmm.... is test this on vietcong... when i stand still it works nice...(the map got too a wireframe)
but when i walk i see nothing....i've made some screens

stand still:


walking:


but it works :icon_thumbsup


M. O.

  • Administrator
  • MasstKer
  • *
  • Posts: 9185
    • View Profile
    • http://www.tkc-community.net
Re: D3D Starterkit 3.0
« Reply #7 on: March 23, 2007, 07:35:41 pm »
Never tested it with VC, but seems like it doesn't clear or repaint the screen too often. Could be something with the fonts. Or maybe it's due to Fraps. There should be an FPS counter included too, test some keys.  :smile
Heckling is an art, and game hacking a science.

b00n

  • Insane Joker
  • ****
  • Posts: 608
  • pb,hackshield,vac sucks
    • View Profile
Re: D3D Starterkit 3.0
« Reply #8 on: March 23, 2007, 07:46:02 pm »
i know i tested too...it isn't fraps....
and the FPS works nice :icon_thumbsup


MrMedic

  • Moderator
  • MasstKer
  • *
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: D3D Starterkit 3.0
« Reply #9 on: March 23, 2007, 08:56:58 pm »
you need to clear the buffer 

use this


// put it in beginscene

      m_pD3Ddev->Clear( NULL, NULL, D3DCLEAR_TARGET, 0x00000000, 1.0f, 0 );
   


   
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

b00n

  • Insane Joker
  • ****
  • Posts: 608
  • pb,hackshield,vac sucks
    • View Profile
Re: D3D Starterkit 3.0
« Reply #10 on: March 25, 2007, 05:17:57 pm »
hey mullah,
can you make too onley players a wireframe?


M. O.

  • Administrator
  • MasstKer
  • *
  • Posts: 9185
    • View Profile
    • http://www.tkc-community.net
Re: D3D Starterkit 3.0
« Reply #11 on: March 25, 2007, 05:57:07 pm »
I got no experience with model-recognition. But I'm sure there are plenty of tutorials around. Most of them are not straightforward, but should be ok.
Heckling is an art, and game hacking a science.

ZOldDude

  • The Unknown Rank!
  • Administrator
  • MasstKer
  • *
  • Posts: 20874
  • Old School TKC
    • View Profile
    • Admin
Re: D3D Starterkit 3.0
« Reply #12 on: May 11, 2007, 05:13:20 am »
Wheres the attachment?

MD the attachment is the window marked "code".
Enjoy.

*While we crash and burn, small, low tech, agrarian societies such as the Hmong in the mountains of Laos will continue on without so much as blinking an eye.*

MrMedic

  • Moderator
  • MasstKer
  • *
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: D3D Starterkit 3.0
« Reply #13 on: June 19, 2007, 06:29:57 pm »
Wheres the attachment?

lol you ever tried putting a hacked d3d9 dll in kuma folder ... try it and look at the error they give you ..
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

MrMedic

  • Moderator
  • MasstKer
  • *
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: D3D Starterkit 3.0
« Reply #14 on: June 19, 2007, 06:39:32 pm »
Wheres the attachment?

lol you ever tried putting a hacked d3d9 dll in kuma folder ... try it and look at the error they give you ..

EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157