Hello.
I want a hack for a game called Warsow. It's very simple to create this hack.
I want a triggerbot. That means when an ennemy is on my aim, my game auto shoot.
I want the source with this. It's about 20 lines in code.
I already have a code of a triggerbot :
"
#define MAX_TRIGGERBOT_WAIT_TIME 100
static bool bTriggered = false;
static DWORD dwTStart = GetTickCount();
static DWORD dwTEnd = GetTickCount();
dwTStart = GetTickCount(); //Refresh timer
if (dwTStart > dwTEnd + MAX_TRIGGERBOT_WAIT_TIME) { //If timer is greater than the wait time
if (bTriggered) { //If triggerbot has attacked
g_Imports.Cmd_ExecuteText(EXEC_NOW, "-attack"); //Disable attacking
bTriggered = false; //Not triggered anymore
}
dwTEnd = GetTickCount(); //Refresh last timer
}
static vec2_t coords = {0, 0};
for (int i = 0; i < MAX_CLIENTS; i++) {
if (!IsValidEntity(&pEntities[i])) continue;
g_Imports.R_TransformVectorToScreen(&pState_t->[login to view URL], pEntities[i].[login to view URL], coords);
if (([login to view URL]) && (IsInAimRange((int)coords[0], (int)coords[1]))) {
g_Imports.Cmd_ExecuteText(EXEC_NOW, "+attack"); //Attack
bTriggered = true; //Triggerbot is active
}
}
"
This should help you to understand how to do that.
Of course, I want the source of the cheat.
Thanks.