❓ Glow is not working

Posts 1–6 of 6 · Page 1 of 1
❓ Glow is not working
Hello im starting meme paster and i pasted a lot of shit features but glow esp keeps memeing me i cant get it to work here is some code and you could help me with some dank ideas.

ESP.cpp
Code:
DWORD GlowManager = *(DWORD*)(Utilities::Memory::FindPatternV2("client.dll", "F3 ?? ?? ?? ?? ?? ?? ?? 83 C8 01 C7 05") + 0x4);

if (Menu::Window.VisualsTab.OptionsGlow.GetState())
	{
		void DrawGlow(IClientEntity *pEntity, int r, int g, int b, int a);
	}

void DrawGlow()
{
	int GlowR = Menu::Window.ColorsTab.GlowR.GetValue();
	int GlowG = Menu::Window.ColorsTab.GlowG.GetValue();
	int GlowB = Menu::Window.ColorsTab.GlowB.GetValue();
	int GlowZ = Menu::Window.VisualsTab.GlowZ.GetValue();
	
	CGlowObjectManager* GlowObjectManager = (CGlowObjectManager*)GlowManager;

	for (int i = 0; i < GlowObjectManager->size; ++i)
	{
		CGlowObjectManager::GlowObjectDefinition_t* glowEntity = &GlowObjectManager->m_GlowObjectDefinitions[i];
		IClientEntity* Entity = glowEntity->getEntity();

		if (glowEntity->IsEmpty() || !Entity)
			continue;

		switch (Entity->GetClientClass()->m_ClassID)
		{

		case 1:
			if (Menu::Window.VisualsTab.FiltersAll.GetState() && Entity->GetClientClass()->m_ClassID == (int)CSGOClassID::CAK47)
			{
				if (Menu::Window.VisualsTab.FiltersAll.GetState())
					glowEntity->set(Color(GlowR, GlowG, GlowB, GlowZ));
			}

		case 29:
			if (Menu::Window.VisualsTab.FiltersC4.GetState() && Entity->GetClientClass()->m_ClassID == (int)CSGOClassID::CC4)
			{
				glowEntity->set(Color(GlowR, GlowG, GlowB, 0));
			}

		case 35:
			if (Menu::Window.VisualsTab.OptionsGlow.GetState() && Entity->GetClientClass()->m_ClassID == (int)CSGOClassID::CCSPlayer)
			{
				if (!Menu::Window.VisualsTab.FiltersAll.GetState() && !(Entity->GetTeamNum() == hackManager.pLocal()->GetTeamNum()))
					break;
				if (Menu::Window.VisualsTab.FiltersEnemiesOnly.GetState() && (Entity->GetTeamNum() == hackManager.pLocal()->GetTeamNum()))
					break;

				if (GameUtils::IsVisible(hackManager.pLocal(), Entity, 0))
				{
					glowEntity->set((Entity->GetTeamNum() == hackManager.pLocal()->GetTeamNum()) ? Color(Menu::Window.ColorsTab.TColorVisR.GetValue(), Menu::Window.ColorsTab.TColorVisG.GetValue(), Menu::Window.ColorsTab.TColorVisB.GetValue(), 255) : Color(Menu::Window.ColorsTab.CTColorVisR.GetValue(), Menu::Window.ColorsTab.CTColorVisG.GetValue(), Menu::Window.ColorsTab.CTColorVisB.GetValue(), 255));
				}

				else
				{
					glowEntity->set((Entity->GetTeamNum() == hackManager.pLocal()->GetTeamNum()) ? Color(Menu::Window.ColorsTab.TColorNoVisR.GetValue(), Menu::Window.ColorsTab.TColorNoVisG.GetValue(), Menu::Window.ColorsTab.TColorNoVisB.GetValue(), 255) : Color(Menu::Window.ColorsTab.CTColorNoVisR.GetValue(), Menu::Window.ColorsTab.CTColorNoVisG.GetValue(), Menu::Window.ColorsTab.CTColorNoVisB.GetValue(), 255));
				}
			}

		case 39:
			if (Menu::Window.VisualsTab.FiltersC4.GetState() && Entity->GetClientClass()->m_ClassID == (int)CSGOClassID::CPlantedC4)
			{
				if (Menu::Window.VisualsTab.FiltersAll.GetState())
					glowEntity->set(Color(GlowR, GlowG, GlowB, GlowZ));
			}

		default:
			if (Menu::Window.VisualsTab.FiltersWeapons.GetState())
			{
				if (strstr(Entity->GetClientClass()->m_pNetworkName, "CWeapon"))
					glowEntity->set(Color(GlowR, GlowG, GlowB, 0));
			}
		}
	}
}
GlowManager.h

Code:
#pragma once 

class CGlowObjectManager
{
public:
	class GlowObjectDefinition_t
	{
	public:
		void set(Color color)
		{
			m_vGlowColor = Vector(color.rBase(), color.gBase(), color****ase());
			m_flGlowAlpha = color.aBase();
			m_bRenderWhenOccluded = true;
			m_bRenderWhenUnoccluded = false;
			m_flBloomAmount = 1.f;
		}

		IClientEntity* getEntity()
		{
			return m_hEntity;
		}

		bool IsEmpty() const { return m_nNextFreeSlot != GlowObjectDefinition_t::ENTRY_IN_USE; }

	public:
		IClientEntity*		m_hEntity;
		Vector				m_vGlowColor;
		float				m_flGlowAlpha;

		char				unknown[4];
		float				flUnk;
		float				m_flBloomAmount;
		float				localplayeriszeropoint3;


		bool				m_bRenderWhenOccluded;
		bool				m_bRenderWhenUnoccluded;
		bool				m_bFullBloomRender;
		char				unknown1[1];


		int					m_nFullBloomStencilTestValue;
		int					iUnk;
		int					m_nSplitScreenSlot;
		int					m_nNextFreeSlot;

		// Special values for GlowObjectDefinition_t::m_nNextFreeSlot
		static const int END_OF_FREE_LIST = -1;
		static const int ENTRY_IN_USE = -2;
	};

	GlowObjectDefinition_t* m_GlowObjectDefinitions;
	int		max_size;
	int		pad;
	int		size;
	GlowObjectDefinition_t* m_GlowObjectDefinitions2;
	int		currentObjects;
};
offsets.h

Code:
DWORD m_iGlowIndex;

//sigs
DWORD GlowManager;
Thanks for any help and tips especially thanks for flame
it never gets called lol
Code:
if (Menu::Window.VisualsTab.OptionsGlow.GetState())
	{
		void DrawGlow(IClientEntity *pEntity, int r, int g, int b, int a);
	}
nice meme
Quote Originally Posted by AtiPLS View Post
Code:
if (Menu::Window.VisualsTab.OptionsGlow.GetState())
	{
		void DrawGlow(IClientEntity *pEntity, int r, int g, int b, int a);
	}
nice meme
so what to fix now?

i removed and added this

if (Menu::Window.VisualsTab.OptionsGlow.GetState())
{
void DrawGlow();
}
wow dude learncpp.com
Quote Originally Posted by certmemer View Post
wow dude learncpp.com
Thanks for tip.
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us