❓ Some ESP errors ^_^

Posts 1–13 of 13 · Page 1 of 1
❓ Some ESP errors ^_^
Hi guys, its me again! Thanks for those people who helped be before. I need some help again, I already searched for it and found nothing.
So here it is. My problem is about WriteText ESP ↓

THIS ACTUALLY WORKS FINE.
Code:
WriteText(INT x, INT y, DWORD color, CHAR *text)
Thing is... When I press ALT TAB to chat someone on web browser or do something on desktop, ESP Writetext starts malfunctioning. It goes crazy, esp name, distance etc will vanish or be erased when you came back to game. same as esp box and lines. (I already fixed box and lines but still buggy, writeText is the one that hurts my brain. "IF I HAVE ANY") how to retain the Text eg. Name, rank, distance intact after you alt tab from game?
ON AND OFF DOESN'T WORK.

2nd problem is, TEAM ESP. Does anyone in here is willing to donate his/her TEAM ESP code please? THAT WOULD MEAN A LOT!
3rd problem, ESP ON ZOMBIE MODE. the code draw lines, box, names etc at every character inside the zombie mode game even if it's not a zombie. Any tips? THANKS!
About the first problem, I don't understand. about the Team ESP, is simple. for enemies you use this
Code:
if (Me->Team != -> OtherPlayers->Team)
{
//code
}
for friends only change != for ==.

Code:
if (Me->Team == -> OtherPlayers->Team)
{
//code
}
and about zombie mode, I don't know how you do, but, maybe you can use the your classes for not draw in what not be zombie.
Quote Originally Posted by Light L View Post
About the first problem, I don't understand. about the Team ESP, is simple. for enemies you use this
Code:
if (Me->Team != -> OtherPlayers->Team)
{
//code
}
for friends only change != for ==.

Code:
if (Me->Team == -> OtherPlayers->Team)
{
//code
}
and about zombie mode, I don't know how you do, but, maybe you can use the your classes for not draw in what not be zombie.
I dont know about this but uhm... This is just a condition for "if not enemy"
Code:
if (Me->Team != pPlayer->Team)
ESP_Color = Red;
else
ESP_Color = Blue;
What I need is this. This will draw bone for your foes.
I do not know how to do it in Team Mates.
Code:
Engine->DrawSkeleton(pDevice, pPlayer, D3DCOLOR_ARGB(255, 255, 0, 0));
or I am wrong, I'll this a try anyways as soon as I get home. THANKS
Quote Originally Posted by akbargain View Post
I dont know about this but uhm... This is just a condition for "if not enemy"
Code:
if (Me->Team != pPlayer->Team)
ESP_Color = Red;
else
ESP_Color = Blue;
What I need is this. This will draw bone for your foes.
I do not know how to do it in Team Mates.
Code:
Engine->DrawSkeleton(pDevice, pPlayer, D3DCOLOR_ARGB(255, 255, 0, 0));
or I am wrong, I'll this a try anyways as soon as I get home. THANKS
pPlayer are all other players in game including your friends. using the simple condition, you can force to draw in your team. at least it worked for me
Quote Originally Posted by Light L View Post
pPlayer are all other players in game including your friends. using the simple condition, you can force to draw in your team. at least it worked for me /egípcio
IT WORKED FOR ME TO! AND I AM DEFINITELY WRONG HAHAHAHA. THANK YOU SO MUCH

/SOLVED
TEAM ESP CODE
Code:
if (Me->Team != pPlayer->Team)
ESP_Color = Red;
else
ESP_Color = Blue;
Quote Originally Posted by akbargain View Post
Hi guys, its me again! Thanks for those people who helped be before. I need some help again, I already searched for it and found nothing.
So here it is. My problem is about WriteText ESP ↓

THIS ACTUALLY WORKS FINE.
Code:
WriteText(INT x, INT y, DWORD color, CHAR *text)
Thing is... When I press ALT TAB to chat someone on web browser or do something on desktop, ESP Writetext starts malfunctioning. It goes crazy, esp name, distance etc will vanish or be erased when you came back to game. same as esp box and lines. (I already fixed box and lines but still buggy, writeText is the one that hurts my brain. "IF I HAVE ANY") how to retain the Text eg. Name, rank, distance intact after you alt tab from game?
ON AND OFF DOESN'T WORK.

2nd problem is, TEAM ESP. Does anyone in here is willing to donate his/her TEAM ESP code please? THAT WOULD MEAN A LOT!
3rd problem, ESP ON ZOMBIE MODE. the code draw lines, box, names etc at every character inside the zombie mode game even if it's not a zombie. Any tips? THANKS!
Yep, the ALT+TAB is a problem here too. Just don't do it
Try use some SetRenderState
Quote Originally Posted by dreek1 View Post
Try use some SetRenderState
I will try ^_^ thanks for the tip

- - - Updated - - -

Quote Originally Posted by vaisefud3 View Post
Yep, the ALT+TAB is a problem here too. Just don't do it
hahahaha I will try not to do that

- - - Updated - - -

ONE MORE PROBLEM.
I dont know how to apply SetRenderState in DrawText, never seen SetRenderState used in drawtext T_T

- - - Updated - - -

ACTUALLY! I TRIED THIS! I FORGOT
Code:
	pDevice->SetTexture(0, NULL);
	pDevice->SetRenderState(D3DRS_LIGHTING, FALSE);
	pDevice->SetRenderState(D3DRS_CULLMODE, D3DCULL_CCW);
	pDevice->SetRenderState(D3DRS_ALPHABLENDENABLE, 1);
	pDevice->SetRenderState(D3DRS_DESTBLEND, D3DBLEND_INVSRCALPHA);
	pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
	pDevice->SetRenderState(D3DRS_FOGENABLE, false);
	pDevice->SetFVF(D3DFVF_XYZRHW | D3DFVF_DIFFUSE | D3DFVF_TEX1);
	pDevice->DrawPrimitiveUP(D3DPT_LINELIST, 1, qV, sizeof(D3DTLVERTEX)); // I CHANGED THIS A LITTLE BIT TO BE FIT IN WRITE TEXT FUNCTION
After I joined the game, crossfire crash :P
Quote Originally Posted by akbargain View Post
I will try ^_^ thanks for the tip

- - - Updated - - -



hahahaha I will try not to do that

- - - Updated - - -

ONE MORE PROBLEM.
I dont know how to apply SetRenderState in DrawText, never seen SetRenderState used in drawtext T_T

I use it
Code:
~
	pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
//your draw
	pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
Quote Originally Posted by dreek1 View Post

I use it
Code:
~
	pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
//your draw
	pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
Thanks! I'll try this.

- - - Updated - - -

Wait, what primitive type should I use?
Code:
	pDevice->DrawPrimitiveUP(D3DPT_TRIANGLESTRIP, 2, vertices, sizeof(D3DVERTEX));
Code:
        // Disable Rendering to draw
	pDevice->SetTexture(NULL, NULL);
	pDevice->SetRenderState(D3DRS_ALPHABLENDENABLE, D3DZB_TRUE);
	pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
	pDevice->SetFVF(D3DFVF_XYZRHW | D3DFVF_DIFFUSE | D3DFVF_TEX1);

	// Initialize Font
	DirectX->InitializeFont(pDevice);

	// Start D3D Menu
	Menu->RenderMenu(pDevice);

        // Enable Rendering
	pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
Quote Originally Posted by jayjay153 View Post
Code:
        // Disable Rendering to draw
	pDevice->SetTexture(NULL, NULL);
	pDevice->SetRenderState(D3DRS_ALPHABLENDENABLE, D3DZB_TRUE);
	pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
	pDevice->SetFVF(D3DFVF_XYZRHW | D3DFVF_DIFFUSE | D3DFVF_TEX1);

	// Initialize Font
	DirectX->InitializeFont(pDevice);

	// Start D3D Menu
	Menu->RenderMenu(pDevice);

        // Enable Rendering
	pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
PROBLEM SOLVED USING THIS.
Posts 1–13 of 13 · Page 1 of 1

Post a Reply

Similar Threads

Tags

None

Talk with us