void GameData::AtkOn(uintptr_t Address)
{
if (Address != 0)
{
if ((float)GetTickCount64() > (float)(LastAkt + Get_MsAtk()+2))
{
CALL(Address);
LastAkt = (float)GetTickCount64();
}
return;
}
else
{
if ((float)GetTickCount64() > (float)(LastAkt + (Get_MsAtk()* 0.32f +2)))
{
mouse_event(MOUSEEVENTF_RIGHTDOWN, 0, 0, 0, 0);
Sleep(150);
mouse_event(MOUSEEVENTF_RIGHTUP, 0, 0, 0, 0);
}
}
return;
}
float Engine::Get_MsAtk()
{
float AtkSpeed = Get_Speed();
AtkSpeed = 1000 / AtkSpeed;
return AtkSpeed;
}
This is my simple orbwalker.
Yes, he can meet my needs to use it, but he still has many problems and I haven't written him as perfect
At low attack speeds, he is not as comfortable to use, and at high attack speeds, there are also many problems.
At an attack speed of 3.0, in 10 seconds, it will only attack enemies 20-23 times.
Sometimes there will be a harmless attack
As for Kalista I'm sorry, Carlista can't use it at all
I want to know how to optimize it to the fullest?
I have browsed through a lot of code, but they are all in Python and I can't understand them.
Is there any C++code that can be shared?
This question has been bothering me for a long time.....
{
if (Address != 0)
{
if ((float)GetTickCount64() > (float)(LastAkt + Get_MsAtk()+2))
{
CALL(Address);
LastAkt = (float)GetTickCount64();
}
return;
}
else
{
if ((float)GetTickCount64() > (float)(LastAkt + (Get_MsAtk()* 0.32f +2)))
{
mouse_event(MOUSEEVENTF_RIGHTDOWN, 0, 0, 0, 0);
Sleep(150);
mouse_event(MOUSEEVENTF_RIGHTUP, 0, 0, 0, 0);
}
}
return;
}
float Engine::Get_MsAtk()
{
float AtkSpeed = Get_Speed();
AtkSpeed = 1000 / AtkSpeed;
return AtkSpeed;
}
This is my simple orbwalker.
Yes, he can meet my needs to use it, but he still has many problems and I haven't written him as perfect
At low attack speeds, he is not as comfortable to use, and at high attack speeds, there are also many problems.
At an attack speed of 3.0, in 10 seconds, it will only attack enemies 20-23 times.
Sometimes there will be a harmless attack
As for Kalista I'm sorry, Carlista can't use it at all
I want to know how to optimize it to the fullest?
I have browsed through a lot of code, but they are all in Python and I can't understand them.
Is there any C++code that can be shared?
This question has been bothering me for a long time.....