Espectator Glow

Posts 16–30 of 35 · Page 2 of 3
Perfect work @luizimloko
I had to make some adaptations to fit my code but it works.
Now let's move on to getting the Zombies/Weapons. That's the only thing I couldn't do yet.

PS: It stills shows some blue but, that's a problem for another time.

why don't you just hook CreateQuery ?
Quote Originally Posted by 96neko View Post
why don't you just hook CreateQuery ?
Cause I had never seen that
A quick search didn't got me any docs either.
Care to explain?
Quote Originally Posted by vaisefud3 View Post
Cause I had never seen that
A quick search didn't got me any docs either.
Care to explain?
createquery can be used for anti occlusion, read about it here & u can do the glow simply using d3d too
Quote Originally Posted by 96neko View Post
createquery can be used for anti occlusion, read about it here & u can do the glow simply using d3d too
Could have known that before spending 5 hours fixing luiz's code.
But thanks anyway.

- - - Updated - - -

btw, glow doesn't show if the player is too far.
Quote Originally Posted by vaisefud3 View Post
Could have known that before spending 5 hours fixing luiz's code.
But thanks anyway.

- - - Updated - - -

btw, glow doesn't show if the player is too far.
well easiest way is to make a check for player distance and switch to chams/wallhack if player is far away , this may be better than spending other 5 hours to find solution for it lol
Quote Originally Posted by 96neko View Post
well easiest way is to make a check for player distance and switch to chams/wallhack if player is far away , this may be better than spending other 5 hours to find solution for it lol
I'll think about that hahaha
Quote Originally Posted by vaisefud3 View Post
I'll think about that hahaha
i can't find SFXMgr in CFPH cshell is it really that the name of the addy?
Quote Originally Posted by ronjeffrey123 View Post
i can't find SFXMgr in CFPH cshell is it really that the name of the addy?
Nope, SFXMgr is a class. Nothing to do with the Glow
Quote Originally Posted by vaisefud3 View Post
Nope, SFXMgr is a class. Nothing to do with the Glow
well how can i find the address of the glow? or those 4?
Quote Originally Posted by ronjeffrey123 View Post
well how can i find the address of the glow? or those 4?
Find it yourself!
Quote Originally Posted by luizimloko View Post


little help, don't ask-me how find it, do the rest of job yourself

Code:
#define ADDR_GLOWCOLOR  //Find it yourself ...
#define ADDR_FORCEGLOW	//Find it yourself ...
#define OFFSET_GLOW		//Find it yourself ...
#define OFFSET_COLOR	//Find it yourself ...

void getGlowTargetByIndex( __int32 iIndex, DWORD *dwTargetBuffer )
{
	__asm
	{
		mov esi, iIndex
		mov edx, ADDR_FORCEGLOW
		mov ecx, [ esi + edx + OFFSET_GLOW ]
		mov eax, [ dwTargetBuffer ]
		mov [ eax ], ecx
	}
}

__declspec( noinline ) int setGlowColor( DWORD dwTarget, BYTE bActive, BYTE r, BYTE g, BYTE b )
{
	__asm
	{
		movzx eax, b
		push eax
		movzx eax, g
		push eax
		movzx eax, r
		push eax
		movzx eax, bActive
		push eax
		mov esi, dwTarget
		mov eax, [ esi + OFFSET_COLOR ]
		push eax
		call ADDR_GLOWCOLOR
	}
}

void forceGlow( void )
{
	DWORD dwGlowTarget = 0;

	for( int i = 0; i < 16; i++ )
	{
		getGlowTargetByIndex( i, &dwGlowTarget );

		if( dwGlowTarget != 0 )
			setGlowColor( dwGlowTarget, 1, 255, 000, 000 );
	}
}
thanks for the references bro
Quote Originally Posted by luizimloko View Post
@CaiozinhoFC1
@vaisefud3

Também usando meu código fica fácil né kkkkkkkkk

Usando sua referência você quer dizer né, pq ai tem código errado...
Além de que, tirei esse asm todo.
Posts 16–30 of 35 · Page 2 of 3

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us