Solved Trouble with crosshair id value im getting

  • 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

autism111

Newbie
Full Member
Jul 28, 2016
8
52
0
I need help with my crosshair id. I've done all of this before, a triggerbot, and im essentially doing the same thing as last time just a lot less copy pasta and the value im reading for the crosshair id is 258 ALWAYS. When it should be less than 64 (max players) It wont change.
code is only a draft dont hate pls :indifferent:
C++:
int main()
{
	attachProc("csgo.exe");
	clientDll = getModule("client.dll");
	DWORD localPlayer = Read<DWORD>(Offsets::m_dwLocalPlayer + clientDll);
	int charMov = Read<int>(localPlayer + 0x100);
	DWORD chOff = 0xAA44;
	int chId = Read<int>(localPlayer + chOff);
	DWORD entList = Read<DWORD>(clientDll + Offsets::m_dwEntityList);
	DWORD playerInCross = Read<DWORD>(entList + ((chId - 1) * 16));
	int enTeam = Read<int>(playerInCross + 0xF0);
	int myTeam = Read<int>(localPlayer + 0xF0);
	while (!GetAsyncKeyState(VK_F8))
	{
                //hop
		if (GetAsyncKeyState(VK_MBUTTON))
		{

                     
			if (charMov == 257)
			{
				Write<int>(Offsets::m_dwForceJump + clientDll, 2);
				Sleep(50);
				Write<int>(Offsets::m_dwForceJump + clientDll, 1);
			}
			
		}
                 //trigger
		while (GetAsyncKeyState(0x43))
		{
			DWORD entList = Read<DWORD>(clientDll + Offsets::m_dwEntityList);
			DWORD playerInCross = Read<DWORD>(entList + ((chId - 1) * 16));
			int enTeam = Read<int>(playerInCross + 0xF0);
			int myTeam = Read<int>(localPlayer + 0xF0);
			if (enTeam != myTeam)
			{
				cout << chId << "\n\n";
				Sleep(500);
				/*mouse_event(MOUSEEVENTF_LEFTDOWN, NULL, NULL, NULL, NULL);
				Sleep(50);
				mouse_event(MOUSEEVENTF_LEFTUP, NULL, NULL, NULL, NULL);
				Sleep(5);*/
		 }
		}
	}
 
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