Trying to make a triggerbot.

Posts 1–5 of 5 · Page 1 of 1
Trying to make a triggerbot.
Hello, today i am trying to make a triggerbot. But im wondering: wich offset is shoot and wich is enemy?
offsets are here: pastebin.com/DK5rsSQT .
ty in advance!
How To Make:
--------------------------------------------------------------------------------
These are my offsets for my triggerbot and glow esp (i'm just gonna list them all off, ik you dont need a glow esp)
---
EntityList
glowInde
glowObjectBase
IsDormant
jump
attack
CrosshairID
Team
LocalPlayer
Health
----------------------------------------
How one works
------------------------------------------------------
you see if your crosshair is on a enemy (with crosshairid and localplayer)
also determine if a player is on your team too x)
then when it sees a enemy is inside the crosshair you simulate a mouse click
Code:
mouse_event(MOUSEEVENTTF_LEFTDOWN, NULL, NULL, NULL, NULL); (just some pseudo example code
-----------------

Then you're done

- - - Updated - - -

Quote Originally Posted by hurenzohnkiller View Post
Hello, today i am trying to make a triggerbot. But im wondering: wich offset is shoot and wich is enemy?
offsets are here: pastebin.com/DK5rsSQT .
ty in advance!
oh also you have to basically make the click stop, technically (un click)
EntityList
CrosshairID
Team
LocalPlayer
Health

Thats all you need.
Code:
 
// beware of horribly formated codelmao
DWORD client;


//... somewhere
	client = Module("client.dll");
/...


void trig_c0denz() {
	
	if (yourboolorsomerandomconditiontodetermineiftriggerisenabledlmao) {
		
		uintptr_t myPlayer = Read<uintrptr_t>(client + LocalPlayerOffset); // Your player
		int crosshairId = Read<int>(myPlayer + 0x2410); // what you're aming at
		int Team = Read<int>(myPlayer + 0xF0); // your team
		int Health = Read<int<(myPlayer + 0xFC); // your health
		crosshairId--; // decement the list index


		uintptr_t _Entity_You_Are_Aiming_At = Read<uintptr_t>(client + enttiyListOffset + (crosshairId * 0x10)); // 0x10 is the spacing between each entity in list
		int eTeam = Read<int>(_Entity_You_Are_Aiming_At + 0xF0); // guy you're aiming ats team
		int eHealth = Read<int<(_Entity_You_Are_Aiming_At + 0xFC); // gur you're aming ats health
		
		if (eTeam != Team && eHealth > 0 && eHealth <= 100) {
			Write<int>(client + AttackOffset, 5); // +attack
			Sleep(100); // Delay between release
			Write<int>(client + AttackOffset, 4); // -attack
		}


	}


}
may be some errors cause its meant to be sort of pseudo
Quote Originally Posted by Yemiez View Post
Code:
 
// beware of horribly formated codelmao
DWORD client;


//... somewhere
	client = Module("client.dll");
/...


void trig_c0denz() {
	
	if (yourboolorsomerandomconditiontodetermineiftriggerisenabledlmao) {
		
		uintptr_t myPlayer = Read<uintrptr_t>(client + LocalPlayerOffset); // Your player
		int crosshairId = Read<int>(myPlayer + 0x2410); // what you're aming at
		int Team = Read<int>(myPlayer + 0xF0); // your team
		int Health = Read<int<(myPlayer + 0xFC); // your health
		crosshairId--; // decement the list index


		uintptr_t _Entity_You_Are_Aiming_At = Read<uintptr_t>(client + enttiyListOffset + (crosshairId * 0x10)); // 0x10 is the spacing between each entity in list
		int eTeam = Read<int>(_Entity_You_Are_Aiming_At + 0xF0); // guy you're aiming ats team
		int eHealth = Read<int<(_Entity_You_Are_Aiming_At + 0xFC); // gur you're aming ats health
		
		if (eTeam != Team && eHealth > 0 && eHealth <= 100) {
			Write<int>(client + AttackOffset, 5); // +attack
			Sleep(100); // Delay between release
			Write<int>(client + AttackOffset, 4); // -attack
		}


	}


}
may be some errors cause its meant to be sort of pseudo
Hello, thank you for the code.
Do you have skype so i can contact you`?i would like to speak.
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us