|
You last visited: Today at 13:44
Advertisement
Need help for making triggerbot
Discussion on Need help for making triggerbot within the S4 League forum part of the Shooter category.
11/15/2014, 06:55
|
#1
|
elite*gold: 0
Join Date: Jan 2012
Posts: 81
Received Thanks: 7
|
Need help for making triggerbot
Hi, i plan to make triggerbot / sniperbot with autoit
i just make it for learning, i tried the pixel search method, but whenever it try to fire, the aim goes above.
So i want to know if there's any method other than pixel search?
or is there any thread that provide the tutorial ?
search for a while and seems can't find what i need
|
|
|
11/15/2014, 11:16
|
#2
|
elite*gold: 0
Join Date: Nov 2014
Posts: 747
Received Thanks: 2,646
|
Quote:
Originally Posted by huang_kaijie
Hi, i plan to make triggerbot / sniperbot with autoit
i just make it for learning, i tried the pixel search method, but whenever it try to fire, the aim goes above.
So i want to know if there's any method other than pixel search?
or is there any thread that provide the tutorial ?
search for a while and seems can't find what i need 
|
Yep it is but don't use autoit ;c
Using c++ for it :
-if you see some enemy ( crosshair )ome part in the memory will change
- you can hook this and query if its changed.
-if it's changed you can call the normal hit attack
( never tried how long it need to shot but i think instant )
Better methode to make a >> aimbot <<
search the location of the player ( are saved in a structur ) and change location from the "crosshair"".
You must calc the radius from the "crosshair" to the other players location and then change the crosshair loocation to the enemy. While he is in the radius you chose.
|
|
|
11/15/2014, 13:43
|
#3
|
elite*gold: 0
Join Date: Jan 2013
Posts: 2,450
Received Thanks: 1,880
|
Autoit == Lag
|
|
|
11/16/2014, 13:55
|
#4
|
elite*gold: 1
Join Date: Sep 2014
Posts: 234
Received Thanks: 72
|
Also Visucal basic
Code unter Spoiler naja google gibt bessere ^^
#include <windows.h>
#include <iostream>
#pragma comment(lib, "Gdi32.lib ")
#pragma comment(lib, "user32.lib ")
using namespace std;
class Point
{
public:
int X;
int Y;
bool found;
};
int PixelSearch(Point* Pos, unsigned int oben_links_x,
unsigned int oben_links_y, unsigned int unten_rechts_x,
unsigned int unten_rechts_y, unsigned short rot_wert, unsigned short gruen_wert,
unsigned short blau_wert, unsigned short variation);
int sprintf(
char *buffer,
const char *format,
...
);
int main()
{
Point Pos;
HDC hdc=GetDC(0);
HPEN fPen=CreatePen(PS_SOLID, 20, RGB(52,120,150));
HGDIOBJ oOrig=SelectObject(hdc, fPen);
Ellipse(hdc, 100,100,30,30);
SelectObject(hdc, oOrig);
DeleteObject(fPen);
ReleaseDC(0, hdc);
PixelSearch(&Pos, 0, 0, GetSystemMetrics(SM_CXSCREEN), GetSystemMetrics(SM_CYSCREEN),
52, 120, 150, 0);
if (Pos.found)
{
char test_buffer[51];
sprintf(test_buffer, "X: %i\r\nY: %i", Pos.X, Pos.Y);
MessageBox(0, test_buffer, "Testergebnis", 0);
}
system("Pause");
return 1;
}
int PixelSearch(Point* Pos, unsigned int sx, unsigned int sy, unsigned int dx, unsigned int dy, unsigned short rot,
unsigned short gruen, unsigned short blau, unsigned short variation=15)
{
int i;
BITMAPINFO info = {0};
info.bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
info.bmiHeader.biWidth = dx;
info.bmiHeader.biHeight = dy;
info.bmiHeader.biPlanes = 1;
info.bmiHeader.biBitCount = 24;
HBITMAP bitmap;
RGBTRIPLE* memory;
HDC hdcDesktop = GetDC(0);
bitmap = CreateDIBSection(hdcDesktop, &info, DIB_RGB_COLORS, (void**)&memory, 0, 0);
if (!bitmap || !memory) return ReleaseDC(0, hdcDesktop);
HDC hdcMemory = CreateCompatibleDC(hdcDesktop);
HGDIOBJ oldbitmap = SelectObject(hdcMemory, bitmap);
BitBlt(hdcMemory, 0, 0, dx, dy, hdcDesktop, sx, sy, SRCCOPY);
SelectObject(hdcMemory, oldbitmap);
DeleteDC(hdcMemory);
int tbytes = dx * dy;
unsigned short RotDiff, GruenDiff, BlauDiff;
RGBTRIPLE *p = &memory[0];
Pos->found=false;
for (i=0; i<tbytes; i++)
{
RotDiff = p->rgbtRed-rot>-1 ? p->rgbtRed-rot : rot-p->rgbtRed;
GruenDiff = p->rgbtGreen-gruen>-1 ? p->rgbtGreen-gruen : gruen-p->rgbtGreen;
BlauDiff = p->rgbtBlue-blau>-1 ? p->rgbtBlue-blau : blau-p->rgbtBlue;
if (RotDiff<=variation && GruenDiff<=variation && BlauDiff<=variation)
{
sy = i / dx;
sx = i % dx;
sy = dy - sy - 1;
Pos->X=sx;
Pos->Y=sy;
Pos->found=true;
break;
}
++p;
}
DeleteObject(bitmap);
ReleaseDC(0, hdcDesktop);
}
|
|
|
11/16/2014, 14:01
|
#5
|
elite*gold: 0
Join Date: Nov 2014
Posts: 747
Received Thanks: 2,646
|
Quote:
Originally Posted by Desolation64
Also Visucal basic
Code unter Spoiler naja google gibt bessere ^^
#include <windows.h>
#include <iostream>
#pragma comment(lib, "Gdi32.lib ")
#pragma comment(lib, "user32.lib ")
using namespace std;
class Point
{
public:
int X;
int Y;
bool found;
};
int PixelSearch(Point* Pos, unsigned int oben_links_x,
unsigned int oben_links_y, unsigned int unten_rechts_x,
unsigned int unten_rechts_y, unsigned short rot_wert, unsigned short gruen_wert,
unsigned short blau_wert, unsigned short variation);
int sprintf(
char *buffer,
const char *format,
...
);
int main()
{
Point Pos;
HDC hdc=GetDC(0);
HPEN fPen=CreatePen(PS_SOLID, 20, RGB(52,120,150));
HGDIOBJ oOrig=SelectObject(hdc, fPen);
Ellipse(hdc, 100,100,30,30);
SelectObject(hdc, oOrig);
DeleteObject(fPen);
ReleaseDC(0, hdc);
PixelSearch(&Pos, 0, 0, GetSystemMetrics(SM_CXSCREEN), GetSystemMetrics(SM_CYSCREEN),
52, 120, 150, 0);
if (Pos.found)
{
char test_buffer[51];
sprintf(test_buffer, "X: %i\r\nY: %i", Pos.X, Pos.Y);
MessageBox(0, test_buffer, "Testergebnis", 0);
}
system("Pause");
return 1;
}
int PixelSearch(Point* Pos, unsigned int sx, unsigned int sy, unsigned int dx, unsigned int dy, unsigned short rot,
unsigned short gruen, unsigned short blau, unsigned short variation=15)
{
int i;
BITMAPINFO info = {0};
info.bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
info.bmiHeader.biWidth = dx;
info.bmiHeader.biHeight = dy;
info.bmiHeader.biPlanes = 1;
info.bmiHeader.biBitCount = 24;
HBITMAP bitmap;
RGBTRIPLE* memory;
HDC hdcDesktop = GetDC(0);
bitmap = CreateDIBSection(hdcDesktop, &info, DIB_RGB_COLORS, (void**)&memory, 0, 0);
if (!bitmap || !memory) return ReleaseDC(0, hdcDesktop);
HDC hdcMemory = CreateCompatibleDC(hdcDesktop);
HGDIOBJ oldbitmap = SelectObject(hdcMemory, bitmap);
BitBlt(hdcMemory, 0, 0, dx, dy, hdcDesktop, sx, sy, SRCCOPY);
SelectObject(hdcMemory, oldbitmap);
DeleteDC(hdcMemory);
int tbytes = dx * dy;
unsigned short RotDiff, GruenDiff, BlauDiff;
RGBTRIPLE *p = &memory[0];
Pos->found=false;
for (i=0; i<tbytes; i++)
{
RotDiff = p->rgbtRed-rot>-1 ? p->rgbtRed-rot : rot-p->rgbtRed;
GruenDiff = p->rgbtGreen-gruen>-1 ? p->rgbtGreen-gruen : gruen-p->rgbtGreen;
BlauDiff = p->rgbtBlue-blau>-1 ? p->rgbtBlue-blau : blau-p->rgbtBlue;
if (RotDiff<=variation && GruenDiff<=variation && BlauDiff<=variation)
{
sy = i / dx;
sx = i % dx;
sy = dy - sy - 1;
Pos->X=sx;
Pos->Y=sy;
Pos->found=true;
break;
}
++p;
}
DeleteObject(bitmap);
ReleaseDC(0, hdcDesktop);
}
|
GJ Copy/Paste
Das ist kein Visual Basic.
Das ist c++.
|
|
|
11/16/2014, 16:18
|
#6
|
elite*gold: 1
Join Date: Sep 2014
Posts: 234
Received Thanks: 72
|
Quote:
Originally Posted by [F]aze
GJ Copy/Paste
Das ist kein Visual Basic.
Das ist c++.
|
Ist doch besser
|
|
|
11/18/2014, 16:00
|
#7
|
elite*gold: 0
Join Date: Nov 2014
Posts: 34
Received Thanks: 2
|
i try to add me in skype samed.privat
|
|
|
 |
Similar Threads
|
Triggerbot
05/29/2012 - WarRock Hacks, Bots, Cheats & Exploits - 9 Replies
Sorry wenn das schonmal gefragt wurde, aber was macht eigl. dieser Triggerbot?
|
CSS Triggerbot 1.6.1
03/20/2012 - Counter-Strike Hacks, Bots, Cheats & Exploits - 6 Replies
Hello guys, i wanted to share my extern CSS/Cs1.6 Triggerbot, its coded in C++.
Its not opensource, but its free to use for everyone.
Its Undetected by all AC's at the moment. DBL Checked it, so yea im sure.
Aimbot undedectet.
Knife with new design.
|
Triggerbot :D
05/01/2011 - CrossFire Hacks, Bots, Cheats & Exploits - 16 Replies
#closerquest
|
[LUA] Triggerbot
11/08/2010 - Counter-Strike Hacks, Bots, Cheats & Exploits - 8 Replies
2 Triggerbot - Varianten
Credits goes to Supericy LINK!]
a) Variante 1 :
Triggerbot wird mit einer Taste aktiviert, und schießt automatisch.
Hier: P
Kann nach belieben geändert werden, einfach in der ersten Zeile "P" mit eurer Taste austauschen.
|
Triggerbot ?
06/13/2010 - WarRock - 3 Replies
Was heißt Aimbot, Triggerbot und die restlichen Bots die es so als Hacks gibt?
Mir wird das immer vorgeworfen ... -.-
|
All times are GMT +1. The time now is 13:45.
|
|