❓ Buggy glow ESP external

Posts 1–12 of 12 · Page 1 of 1
❓ Buggy glow ESP external
It works every other round and it stops working in the middle of the rounds it does work
What part of the code should I post
Code:
while(true)
	{
		localPlayer = RPM<DWORD>(mem.__dwordClient + 0xA9BDDC);
		if (!localPlayer) break;
		else 
		{
			myTeamNum = RPM<int>(localPlayer + 0xF0);
			objectCount = RPM<int>(mem.__dwordClient + 0x4F959F4);
			if (objectCount <= 0) break;
			else
			{
				for (int i = 0; i < objectCount; i++)
				{
					glowPointer = RPM<DWORD>(mem.__dwordClient + 0x4F959F0);
					glowObject = RPM<DWORD>(glowPointer + (i*0x38));
					if (!glowObject) break;
					else
					{
						ClassID = getClassID(glowObject);
						if (ClassID == 35)
						{
							entityDormant = RPM<bool>(glowObject + 0xE9);
							if (!entityDormant)
							{
								entityTeamNum = RPM<int>(glowObject + 0xF0);
								if (entityTeamNum == myTeamNum) doGlow(glowPointer, i, 0.f, 1.f, 0.f);
								else doGlow(glowPointer, i, 1.f, 0.f, 0.f);
							}
							
						}
					}
				}
			}
		
		}
		Sleep(1);
	}
Why does this code not do it's job properly
I've never actually seen a source that utilizes that GlowIndex offset... that's cool.
"var" is not a type in C++ (which I use but you do not).
kek you always have for (auto i = 0
Yeah but I don't see why it makes a difference
UPDATE: it still doesn't work and the problem is in reading the entity list for some reason:

Code:
entity_i = RPM<DWORD>(mem.__dwordClient + 0x4A78BA4 + (i*0x10));
				if (!entity_i || entity_i == localPlayer) break;
				else	
				{
					cout << "Level 1 reached" << endl;
but console NEVER prints out Level 1 reached.
Quote Originally Posted by KappaMang View Post
UPDATE: it still doesn't work and the problem is in reading the entity list for some reason:

Code:
entity_i = RPM<DWORD>(mem.__dwordClient + 0x4A78BA4 + (i*0x10));
				if (!entity_i || entity_i == localPlayer) break;
				else	
				{
					cout << "Level 1 reached" << endl;
but console NEVER prints out Level 1 reached.
This is kind of a hit or miss solution, but try changing the (i*0x10) to (i*0x16).
My triggerbot was bugging out and this fixed it, no clue as to why.
Are you sure it was with the 0x? because 0x10 == 16
Now it's this code:
Code:
entityTeamNum = RPM<int>(entity_i + 0xF0);
							if (entityTeamNum != 2 && entityTeamNum != 3) break;
							else 
							{
								cout << "Level 4 reached" << endl;
								if (myTeamNum == entityTeamNum) doGlow(glowPointer, glowIndex, 0.f, 1.f, 0.f);
								else doGlow(glowPointer, glowIndex, 1.f, 0.f, 0.f);
							}
Never prints out level 4
Change break; to continue;
^Brilliant. Solved.
Posts 1–12 of 12 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Talk with us