0x32789
Expert
If u want to make a trigger bot, here is a c++ code for the ones who face problem in memory reading and writing etc..
if you are here to c&p go away.
if u are creating a .asi or .dll (your luck is here c&p guys
)
if you want to add into s0biet or your project (do not use the above for s0b because ur game will hang if you use sleep() or loops in game threads)
Create variables:
bool triggerbot - Toggle
bool tBot_Release = false; - explained in code
DWORD tBot_LastTick = -1; - explained in code
Credits:
opcode.exe's cleo trigger bot for memory addresses
We really need to revive this section asf, this is dying.
no matter what you have to make or add, just post IT!
:fuck_yea:
if you are here to c&p go away.
if u are creating a .asi or .dll (your luck is here c&p guys
Code:
int rem[5]; // Create a array
rem[0] = *(int *)0xB6F3B8; // read 0xB6F3B8 (size 4)
rem[1] = rem[0]; // set rem[1] value to rem[0]'s
rem[1] += 0x79C; // add 0x79C in rem[1]'s value
if(*(int *)rem[1] > 0) // check if rem[1] reading is more than 0 (this address is for the ped which has green triangle above the head(aim one))
{
INPUT Input={0}; // if there was a ped, create a input
Input.type = INPUT_MOUSE; // set the input type to input mouse
Input.mi.dwFlags = MOUSEEVENTF_LEFTDOWN; // set the flag to mouse event, left button key hold
SendInput( 1, &Input, sizeof(INPUT) ); // send the input
Sleep(100); // sleep for 100 ms or change to 150 if you want
ZeroMemory(&Input,sizeof(INPUT));
Input.type = INPUT_MOUSE; // do that all above again but this time, event is to release the left button key
Input.mi.dwFlags = MOUSEEVENTF_LEFTUP;
SendInput( 1, &Input, sizeof(INPUT) ); // send it
} // hooray your trigger bot is done
Create variables:
bool triggerbot - Toggle
bool tBot_Release = false; - explained in code
DWORD tBot_LastTick = -1; - explained in code
Code:
if(set.triggerbot) // change the variable to your trigger bot one
{
if(tBot_Release == true && tBot_LastTick != -1 && tBot_LastTick < (GetTickCount() - 50)) // check if release variable is true and the last tick is not -1 and 50 ms has passed
{
INPUT Input={0}; // create a input
ZeroMemory(&Input,sizeof(INPUT)); // set it to zero
Input.type = INPUT_MOUSE; // input type to mouse
Input.mi.dwFlags = MOUSEEVENTF_LEFTUP; // event to release a.k.a up
SendInput( 1, &Input, sizeof(INPUT) ); // send it
tBot_Release = false; // reset our vars
tBot_LastTick = -1;
}
int rem[5]; // create a array
rem[0] = *(int *)0xB6F3B8; // read 0xB6F3B8
rem[1] = rem[0]; // assign rem[0] value to rem[1]
rem[1] += 0x79C; // add 0x79C to rem[1]
if(*(int *)rem[1] > 0) // read rem1 and check if it is more than 0 (ped with triangle)
{
INPUT Input={0}; // create input
Input.type = INPUT_MOUSE; // input type is mouse as always
Input.mi.dwFlags = MOUSEEVENTF_LEFTDOWN; // hold the key a.k.a down
SendInput( 1, &Input, sizeof(INPUT) ); // send it
tBot_LastTick = GetTickCount(); // get current tick count and set it at tBot_LastTick
tBot_Release = true; // set the state to release key
}
}
opcode.exe's cleo trigger bot for memory addresses
We really need to revive this section asf, this is dying.
no matter what you have to make or add, just post IT!
:fuck_yea: