Results 1 to 6 of 6
  1. #1
    Stringer5's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Posts
    97
    Reputation
    10
    Thanks
    14
    My Mood
    Amazed

    Question 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

  2. #2
    certmemer's Avatar
    Join Date
    Feb 2016
    Gender
    female
    Location
    Southampton
    Posts
    2,511
    Reputation
    104
    Thanks
    25,994
    it never gets called lol

  3. #3
    AtiPLS's Avatar
    Join Date
    Oct 2015
    Gender
    female
    Posts
    12
    Reputation
    10
    Thanks
    4
    My Mood
    Dead
    Code:
    if (Menu::Window.VisualsTab.OptionsGlow.GetState())
    	{
    		void DrawGlow(IClientEntity *pEntity, int r, int g, int b, int a);
    	}
    nice meme

  4. The Following User Says Thank You to AtiPLS For This Useful Post:

    gigagiga (04-30-2017)

  5. #4
    Stringer5's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Posts
    97
    Reputation
    10
    Thanks
    14
    My Mood
    Amazed
    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();
    }

  6. #5
    certmemer's Avatar
    Join Date
    Feb 2016
    Gender
    female
    Location
    Southampton
    Posts
    2,511
    Reputation
    104
    Thanks
    25,994
    wow dude learncpp.com

  7. The Following 2 Users Say Thank You to certmemer For This Useful Post:

    Adsvunu (04-30-2017),KMWTW (04-30-2017)

  8. #6
    Stringer5's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Posts
    97
    Reputation
    10
    Thanks
    14
    My Mood
    Amazed
    Quote Originally Posted by certmemer View Post
    wow dude learncpp.com
    Thanks for tip.

Similar Threads

  1. [Help] glow esp internal not working.
    By s0m8t in forum Counter-Strike 2 Coding & Resources
    Replies: 3
    Last Post: 10-26-2016, 07:31 PM
  2. Why is my GLOW ESP not working?
    By Darky00 in forum Counter-Strike 2 Coding & Resources
    Replies: 28
    Last Post: 12-26-2015, 06:47 PM
  3. why warrock not working now??
    By tolik13 in forum WarRock - International Hacks
    Replies: 4
    Last Post: 07-09-2006, 03:27 PM
  4. WPE not work
    By trekpik in forum WarRock - International Hacks
    Replies: 3
    Last Post: 07-09-2006, 10:09 AM