Register for your free account! | Forgot your password?

You last visited: Today at 05:48

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



How to make your own WireFrame

Discussion on How to make your own WireFrame within the Soldier Front Hacks, Bots, Cheats & Exploits forum part of the Soldier Front category.

Reply
 
Old   #1
 
Ovenran's Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 717
Received Thanks: 361
Smile [Release] PSF/USF Wireframe Source code by Elitehack

***UPDATED***
Hello EPVP members, today, i will teach you how to make a WireFrame..

Note - I did not leech this in GzP or other sites but i did not post it in my website

Ok let's start....

First Download Visual C++ 2008 Express Edition or alternative Compiler

Open C++ 2008 > Click Create Project > Name your hack what you want > click ok > click application Settings > click DLL then click OK

Let's start put some codes
Note - I put the codes in order . do not exchange it's order or else, this hack will not work :|

Globals (Declare Something)
Code:
#include "stdafx.h"
#include <d3d8.h>
#include <windows.h>
#pragma comment(lib, "d3d8.lib")
int m_Stride;
int WireFrame;
int nNumVertices; // to define wireframe or the player
int nPrimitiveCount; // to define also wireframe or the player
LPDIRECT3DTEXTURE8  texRed;
LPDIRECT3DTEXTURE8  texYellow;
LPDIRECT3DTEXTURE8  texGreen;
LPDIRECT3DTEXTURE8  texBlue;
LPDIRECT3DTEXTURE8  texPurple;
LPDIRECT3DTEXTURE8  texOrange;
LPDIRECT3DTEXTURE8  texPink;
After putting Codes above, remove the dllmain.cpp
This will be the WireFrame
Code:
//==========================WireFramez by elitehack======================================================================================
typedef HRESULT ( WINAPI* oDrawIndexedPrimitive ) ( LPDIRECT3DDEVICE8 pDevice, D3DPRIMITIVETYPE pType, UINT nMinIndex, UINT nNumVertices, UINT nStartIndex, UINT nPrimitiveCount );
oDrawIndexedPrimitive pDrawIndexedPrimitive, OriginalDrawIndexedPrimitive;
HRESULT WINAPI myDrawIndexedPrimitive(LPDIRECT3DDEVICE8 pDevice, D3DPRIMITIVETYPE pType, UINT nMinIndex, UINT nNumVertices, UINT nStartIndex, UINT nPrimitiveCount)
{
 if(wireframe) // if wireframe on
 {
  
  if (m_Stride==40)
  {  
   pDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_WIREFRAME); // if model stride is active then draw all objects with stride 40 as Wireframe
  } 
 
 }
if you want Colored WireFrame Will be like this ( no need to put the codes at my above)
Code:
//==========================Colored WireFramez by elitehack======================================================================================
typedef HRESULT ( WINAPI* oDrawIndexedPrimitive ) ( LPDIRECT3DDEVICE8 pDevice, D3DPRIMITIVETYPE pType, UINT nMinIndex, UINT nNumVertices, UINT nStartIndex, UINT nPrimitiveCount );
oDrawIndexedPrimitive pDrawIndexedPrimitive, OriginalDrawIndexedPrimitive;
HRESULT WINAPI myDrawIndexedPrimitive(LPDIRECT3DDEVICE8 pDevice, D3DPRIMITIVETYPE pType, UINT nMinIndex, UINT nNumVertices, UINT nStartIndex, UINT nPrimitiveCount)
{
 if(wireframe) // if wireframe on
 {
  
  if (m_Stride==40) // worldwireframe
  {  
DWORD dwZEnable = D3DZB_TRUE;
pDevice->SetTexture(0, texGreen);// color of back chams
pDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_WIREFRAME);
pDevice->GetRenderState(D3DRS_ZENABLE, &dwZEnable); 
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
pDevice->DrawIndexedPrimitive(Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, dwZEnable);
pDevice->SetTexture(0, texYellow);} // color of front chams
else{         
m_pD3Ddev->SetRenderState( D3DRS_FILLMODE, D3DFILL_SOLID );
}
}
If you want all player is set in wireframe i will give an example of mulan's define (put this on globals)
Code:
// put this code at globals if you want mulan wireframe
//=================Define mulan====================//
#define Mulan (nNumVertices == 118 && nPrimitiveCount == 126|| nNumVertices == 121 && nPrimitiveCount == 180|| nNumVertices == 124 && nPrimitiveCount == 126|| nNumVertices == 295 && nPrimitiveCount == 482|| nNumVertices == 299 && nPrimitiveCount == 452|| nNumVertices == 474 && nPrimitiveCount == 728)
int PlayerWireFrame;
code mulan wireframe like this:
Code:
HRESULT WINAPI myDrawIndexedPrimitive(LPDIRECT3DDEVICE8 pDevice, D3DPRIMITIVETYPE pType, UINT nMinIndex, UINT nNumVertices, UINT nStartIndex, UINT nPrimitiveCount)
{
if (PlayerWireFrame) // if the player WireFrame is activated
{
if (Mulan)
{
DWORD dwZEnable = D3DZB_TRUE;
pDevice->SetTexture(0, texGreen);// color of back chams
pDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_WIREFRAME);
pDevice->GetRenderState(D3DRS_ZENABLE, &dwZEnable); 
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
pDevice->DrawIndexedPrimitive(Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, dwZEnable);
pDevice->SetTexture(0, texYellow);} // color of front chams
else{         
m_pD3Ddev->SetRenderState( D3DRS_FILLMODE, D3DFILL_SOLID );
}
}
this is how to edit colour of playerwireframe w/chams and colored wireframe
Quote:
Originally Posted by Ovenran View Post
Xample : Edit
Code:
pDevice->SetTexture(0, texRed);
to
Code:
pDevice->SetTexture(0, texBlue);
that's simple
for the WireFrame and Player WireFrame hotkey
Code:
if (GetAsyncKeyState(VK_F1)&1) // If you press F1
 { //ThEn
  wireframe = !wireframe; //wireframe = on
 } // 3nd 0f Th3N :D im a jejemon XD
if (GetAsyncKeyState(VK_F2)&1) // if you press f2
{ // the
 PlayerWireFrame = !PlayerWireFrame; // player wireframe on
} //end
and you must install SDK summer 2004 (google it)
and click project> 'name of your project' properties > Configuration Properties > General and find "character set" and put the setting in "Use Multi-byte character set"
then click tools > options > vC++ Directories click first include files then click new line then put "C:\Program Files\Microsoft DirectX 9.0 SDK (Summer 2004)\Include"
and the go in Lib Directory then put "C:\Program Files\Microsoft DirectX 9.0 SDK (Summer 2004)\Lib"

then compile your hack and your done!
for more questions about this making just click this :
Ovenran is offline  
Thanks
4 Users
Old 08/10/2010, 17:20   #2
 
elite*gold: 370
Join Date: Jul 2010
Posts: 7,603
Received Thanks: 4,196
Nice one.
Is this undetected?
Match*Star. is offline  
Thanks
1 User
Old 08/11/2010, 11:19   #3
 
Ovenran's Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 717
Received Thanks: 361
i think yes, you must hook it to make it undetected or use double mounting method if you want to make some
Ovenran is offline  
Old 08/11/2010, 12:49   #4
 
Rommelx123's Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 97
Received Thanks: 17
Can i copy the codes and paste it?
Rommelx123 is offline  
Old 08/11/2010, 13:01   #5
 
Ovenran's Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 717
Received Thanks: 361
Yes you may but paste it in your compiler

note : this release is in public you can copy paste it!
Ovenran is offline  
Old 08/11/2010, 13:02   #6
 
elite*gold: 0
Join Date: Nov 2009
Posts: 602
Received Thanks: 777
This thread is need in Main section, not in releasing section..but nice thread..

request to move
Insolent[1]* is offline  
Old 08/11/2010, 13:09   #7
 
Ovenran's Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 717
Received Thanks: 361
^ ow , because this is my section
Ovenran is offline  
Old 08/11/2010, 13:16   #8
 
elite*gold: 0
Join Date: Nov 2009
Posts: 602
Received Thanks: 777
Quote:
Originally Posted by Ovenran View Post
^ ow , because this is my section
What? this section is yours?? *thingki'n*
Insolent[1]* is offline  
Old 08/11/2010, 13:24   #9
 
Ovenran's Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 717
Received Thanks: 361
Quote:
Originally Posted by Insolent[1]* View Post
What? this section is yours?? *thingki'n*
no this is my "tambayan" (translate it) this is not mine i said
Ovenran is offline  
Old 08/11/2010, 13:43   #10
 
elite*gold: 0
Join Date: Nov 2009
Posts: 602
Received Thanks: 777
Ah Ah. ok ok..so strange when i saw..
Insolent[1]* is offline  
Old 08/11/2010, 15:00   #11
 
Ovenran's Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 717
Received Thanks: 361
hahaha thinking critical
Ovenran is offline  
Old 08/11/2010, 19:10   #12
 
elite*gold: 0
Join Date: Apr 2010
Posts: 59
Received Thanks: 11
can't u don't just put the .dll on this forum?
-Swedisch*Gold- is offline  
Old 08/12/2010, 07:36   #13
 
opperska's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 234
Received Thanks: 55
pls send this to my yahoomail


i cant understand the tutorial

my email pls..
opperska is offline  
Old 08/12/2010, 09:42   #14
 
elite*gold: 0
Join Date: Nov 2009
Posts: 602
Received Thanks: 777
Quote:
Originally Posted by opperska View Post
pls send this to my yahoomail


i cant understand the tutorial

my email pls..
Don't post your email address..... (muntik na)

reported
Insolent[1]* is offline  
Thanks
2 Users
Old 08/12/2010, 10:10   #15
 
opperska's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 234
Received Thanks: 55
hindi ko ksi maintindihan kasi e pls paki pasa nlng
opperska is offline  
Reply


Similar Threads Similar Threads
Announcement How To Make Lester_of_KC Wireframe Wallhack Work (Using PowerIso)
07/15/2010 - Soldier Front Philippines - 3 Replies
Kailangan nyo lang ng file ng Lester_of_KC.vip na mismong dinownload nyo kay lester_of_kc kasi meron na dong injector... (yun yung ginagamit ko.. x1nject Injector na yun) Syempre kailangan nyo rin ng PowerIso.. Tapos yun na Try nyo lang Gawin toh.. ~ei! guyz ako po c jhapoy021 isa s mga friend ni lester_of_kc bago po nya nlabas ang method # 3 pinagusapn namin un ng isang gabi ^^, pero dahil nahihirapan ako s method n binigay nya s akin..binago q lng hehehe... sna makatulong s inyo ang...
[Tutorial] How to make Wireframe Undetected
09/10/2009 - Soldier Front Hacks, Bots, Cheats & Exploits - 4 Replies
100%WORK in PSF Credits to: I Dont Know from who is this, but mscalifornia22 post this PowerIso Lester_of_kc.iso and d3hacksinjector
prog. that in direct 3 d games make wireframe
04/06/2007 - General Coding - 0 Replies
Hi again i realy need program that makes in direct 3 d games wireframe effect (especialy direct 8 ) I had many programs but they doesn't work good .If someone can help me write pls i searched 2 days and nothing... work good .... :cry: I realy need pvp forum OwnerS help ;)



All times are GMT +1. The time now is 05:48.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.