|
You last visited: Today at 15:48
Advertisement
[Updated] WT Classes & WorldToScreen
Discussion on [Updated] WT Classes & WorldToScreen within the Wolfteam forum part of the Shooter category.
06/28/2015, 17:54
|
#1
|
elite*gold: 156
Join Date: Feb 2015
Posts: 95
Received Thanks: 103
|
[Updated] WT Classes & WorldToScreen
So I used this to draw ESP's.
But I've created a much more efficient way.
Class changes on every update.
And since I don't want everyone running around using this, you have to find the pointers yourself.
Code:
class CPlayerObject
{
public:
BYTE m_pad01[0x2C];
D3DXVECTOR3 vPos;
};
class CPlayerInfo
{
public:
__int32 PlayerIndex;
char _0x0004[60];
CPlayerObject* pObject;
};
class CILTDrawPrimitive
{
public:
char _0x0000[17212];
D3DVIEWPORT9 ViewPort;
char _0x4348[12];
D3DXMATRIX World;
char _0x4360[52];
D3DXMATRIX View;
char _0x43A0[52];
D3DXMATRIX Projection;
char _0x43E0[12];
};
BOOL bWorldToScreen(IDirect3DDevice9* pDevice, D3DXVECTOR3 vPos, D3DXVECTOR3* vPosOut)
{
// Setup Pointer
CILTDrawPrimitive* pDrawPrimPrimitive = (CILTDrawPrimitive*)(0xPOINTER);
// Execute
D3DXVec3Project(vPosOut, &vPos, &pDrawPrimPrimitive->ViewPort, &pDrawPrimPrimitive->Projection, &pDrawPrimPrimitive->View, &pDrawPrimPrimitive->World);
// Return
return (vPosOut->z < 1.0f);
}
Example Usage:
Code:
void DrawEsp(IDirect3DDevice9* pDevice)
{
// Setup Pointers
CPlayerInfo* pPlayerInfo = (CPlayerInfo*)(0xPOINTER);
INT GetPlayerByIndex = pPlayerInfo->PlayerIndex;
// Calculate Players
for (int i; i <= GetPlayerByIndex; i++)
{
// Get Enemy X,Y,Z
D3DXVECTOR3 vPlayerPos = pPlayerInfo->pObject->vPos;
// Get Realtime Positions
D3DXVECTOR3 vNewPosition;
bWorldToScreen(pDevice, vPlayerPos, &vNewPosition);
// Draw Esp Boxes
cMenu[WOLFTEAM][PlayerLoop(i)].DrawBox(vNewPosition.x, vNewPosition.y, 100, 100, cMenu[WOLFTEAM][Colors(RED)]);
}
}
Credits:
- M4L1F1C (Me)
|
|
|
06/28/2015, 18:23
|
#2
|
elite*gold: 0
Join Date: Dec 2014
Posts: 440
Received Thanks: 582
|
Finde ich wieder mal unnötig.
|
|
|
06/28/2015, 18:41
|
#3
|
elite*gold: 0
Join Date: Aug 2014
Posts: 241
Received Thanks: 27
|
Hast du überhaupt einen Plan, was du damit anfangen kannst .Natsu#?
|
|
|
06/28/2015, 18:45
|
#4
|
elite*gold: 0
Join Date: Apr 2012
Posts: 32
Received Thanks: 12
|
Quote:
Originally Posted by .Natsu#
Finde ich wieder mal unnötig.
|
Wer keine Ahnung hat für den ist das hier auch nichts.
|
|
|
06/29/2015, 13:09
|
#5
|
elite*gold: 0
Join Date: Dec 2014
Posts: 440
Received Thanks: 582
|
Quote:
Originally Posted by Halhal-
Hast du überhaupt einen Plan, was du damit anfangen kannst .Natsu#?
|
Quote:
Originally Posted by zdation1
Wer keine Ahnung hat für den ist das hier auch nichts.
|
Darf man nicht mal mehr seine eigene Meinung äußern ohne, dass jemand irgendeinen Scheiß von sich gibt?
Wenn ich es unnötig finde, finde ich es unnötig.
|
|
|
06/29/2015, 14:21
|
#6
|
elite*gold: 0
Join Date: Nov 2012
Posts: 7
Received Thanks: 0
|
How does it work? where i have to paste this Codes?
Edit:wie funktioniert das? bitte um Hilfe :/
|
|
|
06/29/2015, 16:48
|
#7
|
elite*gold: 156
Join Date: Feb 2015
Posts: 95
Received Thanks: 103
|
Updated for WTS & Added Resolution Width/Height:
Code:
class CILTDrawPrim_WTS
{
public:
char _0x0000[11412];
D3DXMATRIX World; //0x2C94
D3DXMATRIX View; //0x2C98
D3DXMATRIX Projection; //0x2C9C
char _0x2CA0[76];
__int32 ResolutionW; //0x2CEC
__int32 ResolutionH; //0x2CF0
char _0x2CF4[2880];
};
|
|
|
06/29/2015, 19:20
|
#8
|
elite*gold: 0
Join Date: Nov 2012
Posts: 7
Received Thanks: 0
|
How can i use this esp please Write a Tutorial or so ?
|
|
|
06/29/2015, 19:24
|
#9
|
elite*gold: 0
Join Date: Jul 2013
Posts: 5,695
Received Thanks: 209
|
Sollte eh bald fixed sein
|
|
|
06/29/2015, 21:18
|
#10
|
elite*gold: 40
Join Date: Mar 2013
Posts: 1,394
Received Thanks: 778
|
Quote:
Originally Posted by .Natsu#
Finde ich wieder mal unnötig.
|
Nach deiner Begründung solltest du jetzt in jeden EPVP Thread gehen und schauen ob es dir gefällt oder ob du es unnötig findest. Wenn es dich nicht Betrifft könntest du einfach dein Kommentar bei dir behalten
|
|
|
06/29/2015, 21:32
|
#11
|
elite*gold: 0
Join Date: Aug 2014
Posts: 241
Received Thanks: 27
|
Quote:
Originally Posted by .Natsu#
Darf man nicht mal mehr seine eigene Meinung äußern ohne, dass jemand irgendeinen Scheiß von sich gibt?
Wenn ich es unnötig finde, finde ich es unnötig.
|
Wieso unnötiger Scheiß? Ich habe leidglich gefragt, ob du überhaupt weißt, was du damit machen kannst, oder ob du dich damit 0 auskennst und ihn nur wie ein kleines Kind hatest.
|
|
|
06/30/2015, 12:42
|
#12
|
elite*gold: 0
Join Date: Mar 2010
Posts: 2,931
Received Thanks: 1,858
|
Quote:
Originally Posted by Halhal-
Wieso unnötiger Scheiß? Ich habe leidglich gefragt, ob du überhaupt weißt, was du damit machen kannst, oder ob du dich damit 0 auskennst und ihn nur wie ein kleines Kind hatest.
|
Man kann meinen, dass der Release unnötig ist, weil nur 3-4 Leute hier damit was anfangen könnten und es für den Rest komplett useless ist.
Jedoch könnte es auch nützlich für die 3-4 Personen sein.
Man kann prinzipiell jeden **** argumentieren. Diskussionen sind useless ya.
|
|
|
06/30/2015, 13:44
|
#13
|
elite*gold: 0
Join Date: Dec 2014
Posts: 440
Received Thanks: 582
|
Quote:
Originally Posted by C0RE'
Nach deiner Begründung solltest du jetzt in jeden EPVP Thread gehen und schauen ob es dir gefällt oder ob du es unnötig findest. Wenn es dich nicht Betrifft könntest du einfach dein Kommentar bei dir behalten
|
Misch dich da nicht ein, wenn es dich nichts angeht.
PS: Ich darf meine Meinung äußern, wann und wo ich es will.
|
|
|
06/30/2015, 17:37
|
#14
|
elite*gold: 40
Join Date: Mar 2013
Posts: 1,394
Received Thanks: 778
|
Quote:
Originally Posted by .Natsu#
Misch dich da nicht ein, wenn es dich nichts angeht.
PS: Ich darf meine Meinung äußern, wann und wo ich es will.
|
Wieso sollte es mich nicht angehen wenn du hier öffentlich in einem Forum schreibst? Ich glaube du hast hier nicht wirklich den Sinn verstanden. Schreib ihm doch nächstes mal per privater Nachricht wenn du möchtest das es keinen was angeht
|
|
|
06/30/2015, 19:44
|
#15
|
elite*gold: 0
Join Date: Dec 2011
Posts: 572
Received Thanks: 53
|
Er hat etwas released, womit vll einige Coder was anfangen können, warum also nicht ?
Ich bin ein relativer Anfänger was dies angeht, somit (und weil ich in wt nix mach) kann ich auch damit nix anfangen.
Und nur weil du's ebenfalls nicht kannst, brauchste einfach auch nix dazu tippseln.
Hoffen wir mal, das jemand dies gebrauchen kann und auch anwenden wird
|
|
|
|
Similar Threads
|
[Question]WorldToScreen Conversion
08/24/2013 - General Coding - 2 Replies
Good evening E*pvp,
at the moment I'm creating an Aimbot & ESP hack in Visual basic and now i came to a point, where i don't know how to transform 3D ingame coordinates to 2D Screen coordinates. I know there are a lot of math pages in the internet , but they're all using words i never heard before like : "vRightView" or "vForwardView". I got all addresses for an ESP (hope so):
- Player Coordinates (X, Y, Z)
- Enemy Coordinates (X, Y, Z)
- Player Viewangles(Pitch, Yaw)
- Field of view...
|
With car classes
08/20/2012 - Need for Speed World - 10 Replies
One of my friends(actual dev) gave me a small list of upcoming cars after car classes are implemented:
Mercedes Benz SLS AMG (soon)
Pagani Zonda R (later)
Porsche Carrera GT (soon)
Lamborghini Murcieaglo 760-4 SV (soon)
Koenigsegg Agera R (soon)
Porsche 918 RSR( later)
Lamborghini Aventador (later)
Bugatti Veyron (later)
Bugatti Veyron Super Sport (later)
|
[Release]Updated CRC, + System Hacking TuT + Updated TrinIjector,UPDATED EVERYTHING!!
03/29/2008 - GunZ - 6 Replies
For Ijji Gunz...
Hacking Tutorial
Open the system editing tools folder
Go into the hash tab finder
Install it to your desktop
Go into your Ijji Gunz main folder (C:IJJI:ENGLISH:GUNZ)
Copy the GunzLauncher.exe and system.mrs
Paste them in the folder called the original files
|
All times are GMT +2. The time now is 15:48.
|
|