Hey all, its me Code[VB] alias Syn0tix,..
i coded a nice triggerbot (based on esp) works very well (with stw + aimbot for example).
if you use this, be sure you made esp allready, so you get the other player X and Y !!! and i removed the mouse klick function,... IT IS NOT WORKING WITH MOUSE EVENT! (i think,..) (i donīt tryed it with mouse event)
1. Put this in Globals
(to make the TriggerArea wider or thiner // notice if you donīt make the number higher it will not trigger xD!! i prefer number 3 ;) )Code:int TriggerArea = 0;
2. then make the triggerbot function
Code:int ScreenX = ( GetSystemMetrics( 0 )/2); // screen weith
int ScreenY = ( GetSystemMetrics( 1 )/2); // screen heigh
void Trigger_Bot(int radius, int PlayerPosX, int PlayerPosY, D3DCOLOR FOV_Draw_Color, pD3DdeviceX pDevice, int Draw_On_Off)
{
// Fov coordinations//
int FOV_x_positive;
int FOV_x_negative;
int FOV_y_positive;
int FOV_y_negative;
//////////////////////
//////////coordinations///////////
FOV_x_positive = ScreenX + radius;
FOV_x_negative = ScreenX - radius;
FOV_y_positive = ScreenY + radius;
FOV_y_negative = ScreenY - radius;
//////////////////////////////////
// Check if player is in the trigger area (radius)//
if ((PlayerPosY <= FOV_y_positive)&&(PlayerPosY >= FOV_y_negative)&&(PlayerPosX <= FOV_x_positive)&&(PlayerPosX >= FOV_x_negative)) // check for player in radius
{
mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0); // mouse down
mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0); // mouse up
}
////////////////////////////////////////////////////
///// DRAW TRIGGER AREA WITH 1 OR NOT WITH 0 ///////
if (Draw_On_Off == 1) // Draw with 1 = On // 0 = off
{
FillRGB( FOV_x_positive, ScreenY, 1, 1, FOV_Draw_Color, pDevice );
FillRGB( FOV_x_negative, ScreenY, 1, 1, FOV_Draw_Color, pDevice );
FillRGB( ScreenX, FOV_y_positive, 1, 1, FOV_Draw_Color, pDevice );
FillRGB( ScreenX, FOV_y_negative, 1, 1, FOV_Draw_Color, pDevice );
}
////////////////////////////////////////////////////
}
so this is my calculation code,.. xD ( was hard work^^ ) // and its good commented i think ;)
3. and now call this in your esp
triggerarea is how big your area for triggering is,.. then player coordinations,.. then the color of the trigger area points,.. then the pDevice standart, and at the end the 1 is for show triggerarea points or not (if you make 0)Code:Trigger_Bot(TriggerArea,Position.x,Position.y,D3DCOLOR_ARGB(255,0,0,255),pDevice,1);
Coded by:
100% and full by me (Code[VB] alias Syn0tix)
if you use this, give credits please!
(in future there will come some more source releases ;) )