Jump to content


Photo
- - - - -

How to code an ADVANCED wireframe hack. (No glitches)


  • Please log in to reply
16 replies to this topic

#1 Tate

Tate

    Soldier

  • Members
  • 83 posts

Posted 01 February 2010 - 09:56 PM

This is only for DevotedCheating.com and IG4L.net.

Do not leech this without credits.



Edit:

I had to change alot of the codes to quotes because they were being glitchy.


Some of you may have tried to make wireframe for Op7, with no avail.

Here's how you SHOULD be doing it, if your wireframe is being whack.

(Assuming m_pD3Ddev is your device. It couldnt anything, such as pdevice)

/*Under your includes*/

LPDIRECT3DTEXTURE9 texCyan;


/*In CD3DManager::Initialize()*/
GenerateTexture(m_pD3Ddev, &texCyan, D3DCOLOR_ARGB(255,0,255,255));


/*In DrawIndexedPrimitive*/

if(m_Stride == 20 && NumVertices == 1766)
{
m_pD3Ddev->SetRenderState( D3DRS_SRCBLEND, D3DBLEND_ONE );
m_pD3Ddev->SetTexture(0, texCyan);
m_pD3Ddev->SetRenderState( D3DRS_SRCBLEND, D3DBLEND_ONE );
m_pD3Ddev->SetRenderState(D3DRS_FILLMODE, D3DFILL_WIREFRAME);
m_pD3Ddev->SetRenderState( D3DRS_SRCBLEND, D3DBLEND_ONE );
}
else
{
m_pD3Ddev->SetRenderState(D3DRS_FILLMODE, D3DFILL_SOLID);
}


Your wireframe should now look like this:

Posted Image

You can change the color of your wireframe by modifying the ARGB value, here:
GenerateTexture(m_pD3Ddev, &texCyan, D3DCOLOR_ARGB(255,0,255,255))

Edited by Tate, 01 February 2010 - 09:57 PM.

  • 0

#2 Ryan™

Ryan™

    Captain

  • Veteran Member
  • 778 posts
  • Gender:Male

Posted 01 February 2010 - 11:12 PM

Nice.
  • 0
 

#3 ﭏѦƵҊȞѦӁŽﭏ™

ﭏѦƵҊȞѦӁŽﭏ™

    Uber Pwning Ninja

  • Moderator
  • 2,889 posts
  • Gender:Male

Posted 02 February 2010 - 02:41 AM

so we just put this on a compiler???
  • 0

#4 TrojN

TrojN

    I like linkin park

  • Administrator
  • 2,107 posts
  • Gender:Male

Posted 02 February 2010 - 06:54 PM

so we just put this on a compiler???


not even close

there's probably a lot more code
  • 0

Posted Image
im bored


#5 BeastedWut

BeastedWut

    Commander

  • Veteran Member
  • 598 posts
  • Gender:Male

Posted 02 February 2010 - 08:26 PM

This is really confusing....
  • 0



#6 Tate

Tate

    Soldier

  • Members
  • 83 posts

Posted 02 February 2010 - 09:09 PM

This is really confusing....



It shouldn't be for someone whos never programmed anything.

This is for an advanced wireframe. If you want a simple wireframe (this doesnt work for operation 7, they've patched it, you have to use the method I showed above)


if(m_Stride == ModelRecognition) //Your model recognition is your model recognition numbers....
{
m_pD3Ddev->SetRenderState(D3DRS_FILLMODE, D3DFILL_WIREFRAME);
}


Edited by Tate, 04 February 2010 - 08:17 PM.

  • 0

#7 TrojN

TrojN

    I like linkin park

  • Administrator
  • 2,107 posts
  • Gender:Male

Posted 04 February 2010 - 01:50 AM

It should be for someone whos never programmed anything.

This is for an advanced wireframe. If you want a simple wireframe (this doesnt work for operation 7, they've patched it, you have to use the method I showed above)


never programmed anything?
are u being cereal?

this isn't even close to a "hello world"
  • 0

Posted Image
im bored


#8 Tate

Tate

    Soldier

  • Members
  • 83 posts

Posted 04 February 2010 - 08:17 PM

never programmed anything?
are u being cereal?

this isn't even close to a "hello world"


LOL.

Sorry. I meant to say "Shouldn't".
  • 0

#9 Mdude™

Mdude™

    I'm an assassin... rawr

  • Administrator
  • 3,690 posts
  • Gender:Male

Posted 05 February 2010 - 11:11 AM

You should code pubs for IG4L... PM Chhansen about it.
  • 0

planesigcopy.jpg?t=1261596024
mdude2312.png


If I helped you, or if you just like me, press the green plus button! =D

"Almost dying changes nothing. Dying, changes everything." --Gregory House, M.D.
You steal my avatar, you die. }:)


#10 BeastedWut

BeastedWut

    Commander

  • Veteran Member
  • 598 posts
  • Gender:Male

Posted 06 February 2010 - 12:56 AM

This is just dumb, noone will know what to do.
  • 0



#11 -Govna-

-Govna-

    God of Boredom

  • Administrator
  • 3,841 posts
  • Gender:Male

Posted 06 February 2010 - 12:47 PM

This is just dumb, noone will know what to do.


Unless you've already spent the time to learn some coding and then looked up a guide for this script (or something similar)...... which I think no one here has :3.
  • 0
\(・ω・\) Losing (/・ω・)/my mind

#12 Tate

Tate

    Soldier

  • Members
  • 83 posts

Posted 16 February 2010 - 05:50 PM

This is just dumb, noone will know what to do.


I hope to god you're joking..
  • 0

#13 -Govna-

-Govna-

    God of Boredom

  • Administrator
  • 3,841 posts
  • Gender:Male

Posted 16 February 2010 - 05:52 PM

I hope to god you're joking..


THERE IS NO GOD!!!! Oh, and most likely no one (or at least the majority of the population) will know what to do with this. No one here knows how to code, or just has very little experience with it.
  • 0
\(・ω・\) Losing (/・ω・)/my mind

#14 Tate

Tate

    Soldier

  • Members
  • 83 posts

Posted 16 February 2010 - 06:41 PM

THERE IS NO GOD!!!! Oh, and most likely no one (or at least the majority of the population) will know what to do with this. No one here knows how to code, or just has very little experience with it.


So that makes it dumb.

This is just dumb, noone will know what to do.



I get it. :o







Anyways, I don't think I thoroughly explained. This is for when you already have a hook. This isn't the hooking/hacking, this is just the "cheat-making".

Edited by Tate, 16 February 2010 - 06:42 PM.

  • 0

#15 -Govna-

-Govna-

    God of Boredom

  • Administrator
  • 3,841 posts
  • Gender:Male

Posted 16 February 2010 - 06:48 PM

So that makes it dumb.


Not really dumb just... pointless to point on this forum.

Edited by Govna, 16 February 2010 - 06:48 PM.

  • 0
\(・ω・\) Losing (/・ω・)/my mind

#16 Mdude™

Mdude™

    I'm an assassin... rawr

  • Administrator
  • 3,690 posts
  • Gender:Male

Posted 16 February 2010 - 07:53 PM

Lol yeah I agree Govna. No one here knows how to use it. 
  • 0

planesigcopy.jpg?t=1261596024
mdude2312.png


If I helped you, or if you just like me, press the green plus button! =D

"Almost dying changes nothing. Dying, changes everything." --Gregory House, M.D.
You steal my avatar, you die. }:)


#17 ﭏѦƵҊȞѦӁŽﭏ™

ﭏѦƵҊȞѦӁŽﭏ™

    Uber Pwning Ninja

  • Moderator
  • 2,889 posts
  • Gender:Male

Posted 20 February 2010 - 02:27 AM

Actually.... not everything is useless... cause other people might find this on the site and use it.. cause they know what to do.. but they won't post.. u'll never know
  • 0