[Release&Source] (InCross-) Triggerbot

09/25/2015 10:16 pycache#16
Jo, und zwar gar nicht.
Du extrahierst .exe und .ini auf den Desktop, startest csgo, startest die .exe und der Triggerbot ist aktiv.
Der triggerkey wird in der .ini festgelegt. Im Zweifelsfall mal den READ THIS: Spoiler des ersten Posts durchlesen.
10/06/2015 07:42 CFMODS#17
nice

are we able to change they way those code work like change delay time and stuff or will that affect the general whole file
10/06/2015 08:41 pycache#18
That's what the .ini is for.
10/06/2015 21:22 CeLiFiG#19
VAC detectet?

/edit

Systemfehler:

[Only registered and activated users can see links. Click Here To Register...]
10/06/2015 21:50 Damnatio#20
Quote:
Originally Posted by CeLiFiG View Post
VAC detectet?

/edit

Systemfehler:

[Only registered and activated users can see links. Click Here To Register...]
Lesen bildet.
10/06/2015 23:13 pycache#21
Quote:
Originally Posted by pycache View Post
READ THIS:
Hab wohl vergessen den Part zu adden wo 'ne Windows Fehlermeldung kommt sobald's VAC detected ist.
10/08/2015 19:26 s1Nkable#22
Quote:
Originally Posted by pycache View Post
Und du meinst das kennen mehr als 2% der Nutzer dieses Forums? :D

Update fix:
Eher als das ganze zu kompilien.
12/09/2015 09:45 NeSsQQuiCk#23
not working since revolver patch

Quote:
Originally Posted by pycache View Post
Hab wohl vergessen den Part zu adden wo 'ne Windows Fehlermeldung kommt sobald's VAC detected ist.
Please update the hach. there was a new update and it stopped working
12/09/2015 21:55 pycache#24
Updated. Should survive future updates again for a while. To get it working with the R8, press right mouse, HOLD it, tap left mouse. The next time you click left mouse it will shoot instantly - or alternatively will trigger if you hold the button.
12/15/2015 18:17 anjo20112#25
Update Needed
12/15/2015 19:55 pycache#26
I think there wasn't even an update since I updated it...?
12/29/2015 17:15 NeedToHackGames#27
Quote:
Originally Posted by pycache View Post
I think there wasn't even an update since I updated it...?
Can u help me ? I put the code in c++ 2015, but I don't know how to compile it, it's so hard to understand this. Can u hep me ? I really need this triggerbot :)
12/30/2015 11:26 pycache#28
Quote:
Originally Posted by NeedToHackGames View Post
Can u help me ? I put the code in c++ 2015, but I don't know how to compile it, it's so hard to understand this. Can u hep me ? I really need this triggerbot :)
Make a new project, console application. Paste this code in. Save the document. Go Build -> Build Solution. Profit.

I took out the patternscanner part of the sourcecode. Replace the 0x00000000's with the current offsets, which you can find by googling "csgo offsets" (first result).
12/30/2015 12:28 NeedToHackGames#29
Quote:
Originally Posted by pycache View Post
Make a new project, console application. Paste this code in. Save the document. Go Build -> Build Solution. Profit.

I took out the patternscanner part of the sourcecode. Replace the 0x00000000's with the current offsets, which you can find by googling "csgo offsets" (first result).
Thanks dude :)
Btw, do I have to hold the button I choose in order for the triggerbot to work or I just press the button and the triggerbot is on and starts shooting when people get through my crosshair ?

Edit: pycache, I can't find the offsets, all I got after searching "csgo offsets" was CS:GO Dumper, but it was outdated ... Can't u tell me the offsets ? Please :)

[Only registered and activated users can see links. Click Here To Register...] This is what I get :(

Edit: Got the offsets btw, no need for that, but the code won't compile :( Can u help me ? I sent you a pm :)

So, for all of you who have some problems with compiling the source in the first post, here's one for you, with the updated offsets :D
Code:
// ConsoleApplication9.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <windows.h>
#include <tlhelp32.h>
#include <fstream>
#include <sstream>

DWORD dwEntityList, dwLocalPlayer, dwClient, dwTeam, dwCrosshairId, TriggerDelay, TriggerKey;
HANDLE hProcess;

DWORD GetModuleHandleByName(char* ModuleName, DWORD ProcID) {
	MODULEENTRY32 Entry;
	Entry.dwSize = sizeof(MODULEENTRY32);
	HANDLE hSnap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, ProcID);
	if (Module32First(hSnap, &Entry) == TRUE) {
		if (!_stricmp(Entry.szModule, ModuleName)) {
			DWORD hModule = (DWORD)Entry.modBaseAddr;
			return hModule;
		}
		else {
			while (Module32Next(hSnap, &Entry) == TRUE) {
				if (!_stricmp(Entry.szModule, ModuleName)) {
					DWORD hModule = (DWORD)Entry.modBaseAddr;
					return hModule;
				}
			}
			return 0;
		}
	}
	CloseHandle(hSnap);
}
HANDLE GetProcessHandleByName(char* ProcessName) {
	PROCESSENTRY32 Entry;
	Entry.dwSize = sizeof(PROCESSENTRY32);
	HANDLE hSnap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, NULL);
	if (Process32First(hSnap, &Entry) == TRUE) {
		if (!_stricmp(Entry.szExeFile, ProcessName)) {
			HANDLE hProc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, Entry.th32ProcessID);
			return hProc;
		}
		else {
			while (Process32Next(hSnap, &Entry) == TRUE) {
				if (!_stricmp(Entry.szExeFile, ProcessName)) {
					HANDLE hProc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, Entry.th32ProcessID);
					return hProc;
				}
			}
			return 0;
		}
	}
	CloseHandle(hSnap);
}
template <typename ReadType> ReadType Read(DWORD Address) {
	ReadType Data;
	ReadProcessMemory(hProcess, (LPVOID)(Address), &Data, sizeof(ReadType), 0);
	return Data;
}
int eGetTeam(int PlayerNumber) {
	return Read<int>((Read<DWORD>(dwClient + dwEntityList + (0x10 * PlayerNumber))) + 0xF0);
}
int eGetHealth(int PlayerNumber) {
	return Read<int>((Read<DWORD>(dwClient + dwEntityList + (0x10 * PlayerNumber))) + 0xFC);
}
void Click() {
	mouse_event(MOUSEEVENTF_LEFTDOWN, NULL, NULL, NULL, NULL);
	Sleep(5);
	mouse_event(MOUSEEVENTF_LEFTUP, NULL, NULL, NULL, NULL);
}
void ReadFile()
{
	std::ifstream f("trigger.ini");
	std::string buf;
	int cur = 0;
	for (; std::getline(f, buf); cur++)
		if (cur == 0) {
			std::istringstream ss(&buf[15]);
			ss >> TriggerDelay;
		}
	if (cur == 1) {
		std::istringstream ss(&buf[15]);
		ss >> TriggerKey;
		f.close();
	}
}
void UpdateOffsets()
{
	dwEntityList = 0x4A0F014;
	dwLocalPlayer = 0xA6C90C;
	dwCrosshairId = 0x23F8;
	dwTeam = 0xF0;
}
int main()
{
	hProcess = GetProcessHandleByName("csgo.exe");
	dwClient = GetModuleHandleByName("Client.dll", GetProcessId(hProcess));
	ReadFile();
	UpdateOffsets();
	while (!((GetKeyState(VK_F12) & 0x100) != 0)) {
		if ((GetKeyState(TriggerKey) & 0x100) != 0) {
			int cId = Read<int>((Read<DWORD>(dwClient + dwLocalPlayer)) + dwCrosshairId);
			int myTeam = Read<int>((Read<DWORD>(dwClient + dwLocalPlayer)) + dwTeam);
			if (cId > 0 && cId <= 64) {
				int eTeam = eGetTeam(cId - 1);
				int eHealth = eGetHealth(cId - 1);
				if (eTeam != 0 && eTeam != myTeam && (eHealth > 0)) {
					Sleep(TriggerDelay);
					Click();
				}
			}
		}
	}
}
06/26/2016 19:25 botcat#30
1aktuell?