Solved Glow ESP, CS:GO Crashes

  • CSGO recently moved logic from 'client_panorama.dll' to 'client.dll', you must update all code that uses 'client_panorama.dll' and replace it with 'client.dll' or the code will not work.
Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat
Status
Not open for further replies.

olsarets7

Newbie
Full Member
Nov 15, 2014
13
92
0
Finished my glow, works a while.
When I join an mm game, start the hack, open cs, and tab out, it crashes. It also crashes auto after playing a while.

Glow func.
C++:
//unreco gl struct
struct glObject
{
	DWORD pEntity;
	float r;
	float g;
	float b;
	float a;
	uint8_t unk1[16];
	bool m_bRenderWhenOccluded;
	bool m_bRenderWhenUnoccluded;
	bool m_bFullBloom;
	uint8_t unk2[14];
};





void gGlow() {
	int eTeam = 0, glowCC = 0;


	ReadProcessMemory(hHandle, (LPCVOID)(clientDLL + m_dwGlowObject + 0x4), &glowCC, sizeof(glowCC), 0);
	if (!glowCC == 0) {
		glObject* glowShort = new glObject[glowCC];
		ReadProcessMemory(hHandle, (LPCVOID)base_glowarray, glowShort, glowCC * sizeof(glObject), 0);
		for (int i = 0; i < glowCC; ++i) {
			if (!glowShort[i].pEntity == 0 && glowShort[i].pEntity != base_localplayer) {
				if (getClassID(glowShort[i].pEntity) == 35) {
					bool dormant;
					ReadProcessMemory(hHandle, (LPCVOID)(glowShort[i].pEntity + m_bDormant), &dormant, sizeof(dormant), 0);
					if (!dormant) {
						ReadProcessMemory(hHandle, (LPCVOID)(glowShort[i].pEntity + m_iTeamNum), &eTeam, sizeof(enemyT), 0);

						if (eTeam == myTeam) {
							glowShort[i].r = 0.0f;
							glowShort[i].g = 0.5f;
							glowShort[i].b = 1.0f;

							glowShort[i].a = 0.85f;
						}
						if (eTeam != myTeam) {
							if (!m_bSpotted)
							{
								glowShort[i].r = 1.0f;
								glowShort[i].g = 0.3f;
								glowShort[i].b = 0.0f;

								glowShort[i].a = 0.85f;
							}
							else {
								glowShort[i].r = 1.0f;
								glowShort[i].g = 0.0f;
								glowShort[i].b = 0.0f;

								glowShort[i].a = 0.85f;
							}
						}

						//g[i].r = 1.0f;
						//g[i].g = 0.0f;
						//g[i].b = 1.0f;
						//g[i].a = 1.0f;
						glowShort[i].m_bRenderWhenOccluded = true;
						glowShort[i].m_bRenderWhenUnoccluded = false;
						glowShort[i].m_bFullBloom = false;
					}//dormant
				}//getClassID
			}//if pEntity != 0, same as meh pleb
		}//for
		WriteProcessMemory(hHandle, (LPVOID)base_glowarray, glowShort, glowCC * sizeof(glObject), 0);
		delete[] glowShort;
	} // glowCount
}
Offsets are U2D

Hard to debug the hack itself since it is random when it crashes.
 

Rake

Cesspool Admin
Administrator
Jan 21, 2014
12,140
78,998
2,394
Error:

C++:
Exception thrown at 0x5885D5DD (client.dll) in csgo.exe: 0xC0000005: Access violation reading location 0xE3DCB6E4.
I don't know how VS is supposed to tell me in my program where the exception is thrown.
I'm lost right now.
Visual studio when it gets an error while debugging will break on the line of code that is bad

Your error says access violation reading 0xE3DCB6E4, so find your code that accessses that address and fix it. Like I know debugging is boring but it is mandatory and you're the only one that can do it. That is why I made a tutorial on how to do it:


Like I say in the video, if you have a problem in your code, debug every single line. You will find the error, but if you don't do this, you will never find the error. Like nike says: JUST DO IT

If you need motivation to be a boss, you can listen to these:
https://guidedhacking.com/showthread.php?7961-Get-Motivated!

If you still can't figure it out, then you need to stop using this code and learn how to hack from scratch

We also have a glow tutorial @
 
Last edited:

Rake

Cesspool Admin
Administrator
Jan 21, 2014
12,140
78,998
2,394
Attach the Visual studio debugger but just hit continue with no breakpoints. When the game crashes you will get an error in Visual Studio 99% of the time, then tell us the error or figure out what is causing it
 

olsarets7

Newbie
Full Member
Nov 15, 2014
13
92
0
Error:

C++:
Exception thrown at 0x5885D5DD (client.dll) in csgo.exe: 0xC0000005: Access violation reading location 0xE3DCB6E4.
I don't know how VS is supposed to tell me in my program where the exception is thrown.
I'm lost right now.
 
Status
Not open for further replies.
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods