good xy0/stickrpg bruteforce

Jumaron

HvH Legend
Member
HvH Legend
Member
Status
Offline
Joined
Jun 11, 2019
Messages
76
Reaction score
101
hello... its (who else) rev again..
I wanted to post this bruteforce, because i see many peopleusing bruteforce with normal missed shots. that could result to missing shots due to spread while resolving the player correctly.(and you would also have to wait 2 shots in order to bruteforce)

with this method,we use resolver information in order to bruteforce, and wedont confuse the spread with resolving.

enjoy:
if (g::MissedShotDueToResolver[pEnt->EntIndex()] % 6)
{
if (g_Math.NormalizeYaw(pEnt->GetEyeAngles().y - Back) > 0.f)
NextAngle = -60.f;
else if (g_Math.NormalizeYaw(pEnt->GetEyeAngles().y - Back) < 0.f)
NextAngle = 35.f;
else if (g_Math.NormalizeYaw(pEnt->GetEyeAngles().y - Back) < 0.f)
NextAngle = -35.f;
else if (g_Math.NormalizeYaw(pEnt->GetEyeAngles().y - Back) < 0.f)
NextAngle = 79.f;
else if (g_Math.NormalizeYaw(pEnt->GetEyeAngles().y - Back) < 0.f)
NextAngle = -79.f;
}
Thank you for your Posts!
 

rev

Legend
Member
Legend
Member
Status
Offline
Joined
Sep 17, 2019
Messages
113
Reaction score
91
do i even need to explain that. you could just look at it again
Nevermind. I just realized lmao Ty for pointing it out
 

Xiehwei

User
User
User
User
Status
Offline
Joined
Sep 28, 2019
Messages
12
Reaction score
4
hello... its (who else) rev again..
I wanted to post this bruteforce, because i see many peopleusing bruteforce with normal missed shots. that could result to missing shots due to spread while resolving the player correctly.(and you would also have to wait 2 shots in order to bruteforce)

with this method,we use resolver information in order to bruteforce, and wedont confuse the spread with resolving.

enjoy:
if (g::MissedShotDueToResolver[pEnt->EntIndex()] % 6)
{
if (g_Math.NormalizeYaw(pEnt->GetEyeAngles().y - Back) > 0.f)
NextAngle = -60.f;
else if (g_Math.NormalizeYaw(pEnt->GetEyeAngles().y - Back) < 0.f)
NextAngle = 35.f;
else if (g_Math.NormalizeYaw(pEnt->GetEyeAngles().y - Back) < 0.f)
NextAngle = -35.f;
else if (g_Math.NormalizeYaw(pEnt->GetEyeAngles().y - Back) < 0.f)
NextAngle = 79.f;
else if (g_Math.NormalizeYaw(pEnt->GetEyeAngles().y - Back) < 0.f)
NextAngle = -79.f;
}
bra this looks bad asf not gonna lie
 
Top