Solved Some problems with triggerbot - SC

  • 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

Stig

Newbie
Dank Tier Donator
Apr 13, 2017
7
32
1
Can anyone give me some tips to make my CS GO triggerbot work correctly? When i inject the dll and left click 1 time, i shot without control, and when i change weapon i cant shoot anymore. Pointers tested and working. :fleep:

C++:
#include "stdafx.h"
#include <windows.h>
//click pointer
DWORD pclick = 0x002E6F30;
//player pointer
DWORD plpointer = 0x04AD4B04;
//module
DWORD cmodule = (DWORD)GetModuleHandleA("client.dll");
 
//playerbase pointer + module
DWORD playerpointer = cmodule + plpointer;
 
//click pointer
DWORD pointerclick = cmodule + pclick;
 
//crosshair = playerbase + offset
DWORD crosshair = *(DWORD*)(*(DWORD*)playerpointer + 0xAA70);
 
unsigned _stdcall mainfunc(void*) {
    while (true) {
        //crosshair check
        if (crosshair >0 && crosshair <=65) {
            //shoot 5 = enable
            *(DWORD*)(*(DWORD*)pointerclick + 18) = 5;
            //shoot 4 = disable
            *(DWORD*)(*(DWORD*)pointerclick + 18) = 4;
            Sleep(1);
        }
    }
    Sleep(10);
}
 
Last edited:

Stig

Newbie
Dank Tier Donator
Apr 13, 2017
7
32
1
The Sleep(10) is unreachable code.


and with
C++:
crosshair >0 && crosshair <=65
you would shoot allies aswell.
You gotta make a loop through all entities so you can check their teams with yours.
And when changing weapons you can't shoot no more happens because you need a extra verification, a bool
Continued with same error, solved adding
C++:
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
            Sleep(30);
            mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
Thanks for the effort. :)


Edit: we have a trigger bot tutorial @
 
Last edited by a moderator:

Teuvin

now I am become Death
Dank Tier VIP
Trump Tier Donator
Dec 8, 2016
403
10,388
65
Can anyone give me some tips to make my CS GO triggerbot work correctly? When i inject the dll and left click 1 time, i shot without control, and when i change weapon i cant shoot anymore. Pointers tested and working. :fleep:
The Sleep(10) is unreachable code.


and with
C++:
crosshair >0 && crosshair <=65
you would shoot allies aswell.
You gotta make a loop through all entities so you can check their teams with yours.
And when changing weapons you can't shoot no more happens because you need a extra verification, a bool

C++:
bool shot = false;
if (//Fix the crosshair comparasion) {
           if (!shoot) //Shoot starts false
		{
			*(DWORD*)(*(DWORD*)pointerclick + 18) = 4;
			shoot = !shoot;
		}
            if (shoot)
		{
			*(DWORD*)(*(DWORD*)pointerclick + 18) = 5;
			shoot = !shoot;
		}

            Sleep(1);
        }
 
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.

Similar threads

Community Mods