Solved[C++]Problems With Triggerbot

Posts 1–13 of 13 · Page 1 of 1
[C++]Problems With Triggerbot


So I've been messing around with Windows Forms lately and converted some of my Console programs to Windows Forms. I decided to try and make a CSGO hack with it, but I can't get my triggerbot to shoot at all enemies. It only shoots at some. I've set some breakpoints and this is what I ended up with. I'm using the ProcMem class in WasserEsser's source, fyi. Any help would be appreciated. Thanks.


Your variable names are horrible.

Anyways, there has got to be something wrong at the part where you shoot, because I can't see any errors here.



There is something you can look at.
Quote Originally Posted by gtaplayer2 View Post
Your variable names are horrible.

Anyways, there has got to be something wrong at the part where you shoot, because I can't see any errors here.



There is something you can look at.
My trigger function. I've also tried with mouse_event but the same thing still happens. Only shoots at some enemies.

Code:
void trigger()
{
	while (true)
	{
		if (triggerEnabled && (EnInCHHP > 0) && (EnInCHTeam != 0) && (pTeam != EnInCHTeam) && (GetAsyncKeyState(VK_MBUTTON) & 0x8000))
		{
			Memory::Write<int>(ClientDLL + AttackOff, 5);
			Sleep(20);
			Memory::Write<int>(ClientDLL + AttackOff, 4);

			/*mouse_event(MOUSEEVENTF_LEFTDOWN, NULL, NULL, NULL, NULL);
			Sleep(10);
			mouse_event(MOUSEEVENTF_LEFTUP, NULL, NULL, NULL, NULL);
			Sleep(10);*/
		}
		Sleep(1);
	}
	
}
Probably got something wrong with your interpretation of the data/how you shoot.
Use mouse_event only in your shoot fnc.
Quote Originally Posted by Block4o View Post
Use mouse_event only in your shoot fnc.
Why not just use the games +attack?
Quote Originally Posted by Chris View Post

Why not just use the games +attack?
For me, using the +attack -attack is not usable, it's just writing to the memory when you can do it without writing. I seriously doubt that there is somebody that doesn't use mouse1 for shooting. Just my opinion.

P.S To the threadstarted: Is it not shooting when on long distance e.g T spawn on dust to Double Doors?
Quote Originally Posted by phoenix8383 View Post


So I've been messing around with Windows Forms lately and converted some of my Console programs to Windows Forms. I decided to try and make a CSGO hack with it, but I can't get my triggerbot to shoot at all enemies. It only shoots at some. I've set some breakpoints and this is what I ended up with. I'm using the ProcMem class in WasserEsser's source, fyi. Any help would be appreciated. Thanks.



youre Triggerbot looks for me like wasseresser snippet

- - - Updated - - -

Quote Originally Posted by Chris View Post

Why not just use the games +attack?
+attack = not FACEIT / SMAC proof

i prefeer mouse event
Quote Originally Posted by Virtus.Pro View Post
youre Triggerbot looks for me like wasseresser snippet

- - - Updated - - -



+attack = not FACEIT / SMAC proof

i prefeer mouse event
Offtopic: I don't see the point in cheating on Faceit/Cevo etc.
You should only be playing on there if you're good.
Just an update...
I am using Psycho's memory reading class now.

I tried with different amounts of bots.
1st & 2nd bots triggerbot won't shoot them.
3rd,4th and 5th bots it shoots. But if I shoot the 3rd bot, I can't shoot the 5th bot. I have to wait until the 3rd bot respawns then I can shoot the 5th bot. But if I shoot the 4th bot I can shoot the 5th bot fine.
If there are 3 enemies dead, I can't shoot another enemy until an enemy respawns.
This is really weird...

Quote Originally Posted by Block4o View Post
For me, using the +attack -attack is not usable, it's just writing to the memory when you can do it without writing. I seriously doubt that there is somebody that doesn't use mouse1 for shooting. Just my opinion.

P.S To the threadstarted: Is it not shooting when on long distance e.g T spawn on dust to Double Doors?
From T-Spawn to X-Box trigger works but not to CT-Mid :/
Quote Originally Posted by phoenix8383 View Post
I am using Psycho's memory reading class now.

I tried with different amounts of bots.
1st & 2nd bots triggerbot won't shoot them.
3rd,4th and 5th bots it shoots. But if I shoot the 3rd bot, I can't shoot the 5th bot. I have to wait until the 3rd bot respawns then I can shoot the 5th bot. But if I shoot the 4th bot I can shoot the 5th bot fine.
If there are 3 enemies dead, I can't shoot another enemy until an enemy respawns.
This is really weird...



From T-Spawn to X-Box trigger works but not to CT-Mid :/
I don't think anyone can help you without seeing your code. Also I think that you get the wrong ID. But it's just an assumption
//Solved..
Posts 1–13 of 13 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us