Discussion❗ [C++] CrosshairId Value Inaccurate || Triggerbot Development

Posts 1–15 of 19 · Page 1 of 2
❗ [C++] CrosshairId Value Inaccurate || Triggerbot Development
Hey guys. I'm in the process of developing a C++ triggerbot for Garry's Mod which I am planning to release on here. VAC is essentially completely useless in Garry's Mod and due to the huge influx of Lua-based anti-cheats, running even a few lines of foreign code will get you banned.

I've run into a hiccup.
The CrosshairID from the game is returning the value from the invisible rectangular box around a player. This doesn't occur in CS:S nor CS:GO. In other words, the triggerbot will always fire early at the invisible 'box' around a player.

The invisible 'hitbox' can be seen if you hold down attack with a physgun and wave it around the area of a player and you'll see how it'll hit around the player and not through it.

Hitting invisible box: i.imgur . com/09rgy1D.jpg
Out of invisible box: i.imgur . com/XqVQx1W.jpg

This is on the C++ side of Garry's Mod.
print( LocalPlayer():GetEyeTrace().Entity ) will print different than the CrosshairId when looking at the invisible hitbox around player.

Video: youtube.com/watch?v=BHCRAFDfCzM&feature=youtu.be
HAHAHAHA PLEASE STOP IT HURTS
Quote Originally Posted by D3M0L1T10N View Post
HAHAHAHA PLEASE STOP IT HURTS
What? You haven't offered anything helpful at all.
I don't know what I expected asking this shithole of a community.

!CAC is pretty difficult to bypass and an external triggerbot is a lot simpler than having to jump through hoops to bypass Lua-based anti-cheats. One click and boom, instant triggerbot w/o fear of being insta-banned on server join.
VAC only searches for blacklisted modules in Garry's Mod, unlike Valve's games.

Added a video link.
Quote Originally Posted by Neural_ View Post
What? You haven't offered anything helpful at all.
I don't know what I expected asking this shithole of a community.

!CAC is pretty difficult to bypass and an external triggerbot is a lot simpler than having to jump through hoops to bypass Lua-based anti-cheats. One click and boom, instant triggerbot w/o fear of being insta-banned on server join.
VAC only searches for blacklisted modules in Garry's Mod, unlike Valve's games.

Added a video link.
bake anti skid is not very hard to bypass at all
in fact i run lua on servers with it all the time
// nah 10char
Quote Originally Posted by Neural_ View Post
What? You haven't offered anything helpful at all.
I don't know what I expected asking this shithole of a community.

!CAC is pretty difficult to bypass and an external triggerbot is a lot simpler than having to jump through hoops to bypass Lua-based anti-cheats. One click and boom, instant triggerbot w/o fear of being insta-banned on server join.
VAC only searches for blacklisted modules in Garry's Mod, unlike Valve's games.

Added a video link.
go back to hf pleb you know nothing
fucking incross bot kill ur self all the way to csgo pls thx
Quote Originally Posted by D3M0L1T10N View Post
HAHAHAHA PLEASE STOP IT HURTS
talks big when 2 months ago he was begging for spreadthebutter

fucking nerve
Quote Originally Posted by DavidMarshall View Post
talks big when 2 months ago he was begging for spreadthebutter

fucking nerve
fuck off autist go away
what r u talking about breother i dont do any of that gay shit
running a function in lua is not some secret codes

if you would like to elaborate on what your talking about with the crc shit please do im interested

also did you guys know there are people on facepunch who dont know about the event listener? lol they are asking for one in gmod2
This community really is just one huge circlejerk to see who can be the biggest asshole.
c0deine, you aren't funny w/ your forced bad-grammar.
It's just ... cringy.
very good conclusion for only having been on the forums for a day
i suggest you just stop trying to do gmod stuff b4 u hurt yourself

also my "bad grammar" is fine and acceptable on such a low forum like this, its basic culture for this section anyway and i dontt care to waste my time editing grammatical mistakes i might make anyway

if y,ou w ant i can al so type more like thsi for y o,u

if oyu really want help for this kinda thing this is not the place. mods will just delete/ban/infract you for doing anything but begging for copypaste is fine...
There is no where else to discuss things like this for Garry's Mod.
Well, looks like I wasted my time on this project. Here are the offsets & code for anyone who wants to pick this up in the future:

Code:
DWORD dwLocalPlayer = 0x0060DC98;
DWORD dwEntityBase = 0x00629F84;
DWORD dwCrosshairId = 0x2C40;
DWORD dwPlayerNum = 0x609A64;
DWORD dwForceAttack = 0x6911D8;
DWORD dwEntityLoopDist = 0x10;

DWORD CLocalPlayer;
int CrosshairId;

	while (true)
	{
		ReadProcessMemory(fProcess.__HandleProcess, (PBYTE*) (fProcess.__dwordClient + dwLocalPlayer), &CLocalPlayer, sizeof(DWORD), 0);
		ReadProcessMemory(fProcess.__HandleProcess, (PBYTE*) (CLocalPlayer + dwCrosshairId), &CrosshairId, sizeof(int), 0);
		Sleep(1);
		if (GetAsyncKeyState(VK_MENU)){
			if (MyPlayer.CrosshairId != 0 && !(MyPlayer.CrosshairId > NumOfPlayers)){
				WriteProcessMemory(fProcess.__HandleProcess, (int*) (fProcess.__dwordClient + dwForceAttack), &i_shoot, sizeof(int), NULL);
				b_isShooting = true;
			}
			else if (b_isShooting) {
				WriteProcessMemory(fProcess.__HandleProcess, (int*) (fProcess.__dwordClient + dwForceAttack), &i_dontShoot, sizeof(int), NULL);
				b_isShooting = false;
			}
		}
		else if (b_isShooting) {
			WriteProcessMemory(fProcess.__HandleProcess, (int*) (fProcess.__dwordClient + dwForceAttack), &i_dontShoot, sizeof(int), NULL);
			b_isShooting = false;

		}
	}
using copypasta HackProcess.h
Quote Originally Posted by Neural_ View Post
There is no where else to discuss things like this for Garry's Mod.
Well, looks like I wasted my time on this project. Here are the offsets & code for anyone who wants to pick this up in the future:

Code:
DWORD dwLocalPlayer = 0x0060DC98;
DWORD dwEntityBase = 0x00629F84;
DWORD dwCrosshairId = 0x2C40;
DWORD dwPlayerNum = 0x609A64;
DWORD dwForceAttack = 0x6911D8;
DWORD dwEntityLoopDist = 0x10;

DWORD CLocalPlayer;
int CrosshairId;

	while (true)
	{
		ReadProcessMemory(fProcess.__HandleProcess, (PBYTE*) (fProcess.__dwordClient + dwLocalPlayer), &CLocalPlayer, sizeof(DWORD), 0);
		ReadProcessMemory(fProcess.__HandleProcess, (PBYTE*) (CLocalPlayer + dwCrosshairId), &CrosshairId, sizeof(int), 0);
		Sleep(1);
		if (GetAsyncKeyState(VK_MENU)){
			if (MyPlayer.CrosshairId != 0 && !(MyPlayer.CrosshairId > NumOfPlayers)){
				WriteProcessMemory(fProcess.__HandleProcess, (int*) (fProcess.__dwordClient + dwForceAttack), &i_shoot, sizeof(int), NULL);
				b_isShooting = true;
			}
			else if (b_isShooting) {
				WriteProcessMemory(fProcess.__HandleProcess, (int*) (fProcess.__dwordClient + dwForceAttack), &i_dontShoot, sizeof(int), NULL);
				b_isShooting = false;
			}
		}
		else if (b_isShooting) {
			WriteProcessMemory(fProcess.__HandleProcess, (int*) (fProcess.__dwordClient + dwForceAttack), &i_dontShoot, sizeof(int), NULL);
			b_isShooting = false;

		}
	}
using copypasta HackProcess.h
quit being autistic and do it internally
Posts 1–15 of 19 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Talk with us