Osiris icon indicating copy to clipboard operation
Osiris copied to clipboard

Aimbot Hitchance

Open dapaster opened this issue 4 years ago • 18 comments

For those who had trouble adding this

dapaster avatar Jun 08 '20 23:06 dapaster

how to make hitChance to all weapons? not just revolver & negev

aljawary avatar Jun 09 '20 01:06 aljawary

@aljawary this is for all weapon

dapaster avatar Jun 09 '20 08:06 dapaster

my bad i forgot to check auto shot on

aljawary avatar Jun 09 '20 11:06 aljawary

why did you delete inaccuracy? that's auto shoot thing

hastydev avatar Jun 09 '20 13:06 hastydev

why did you delete inaccuracy? that's auto shoot thing

hitchance replaces that

notgoodusename avatar Jun 09 '20 15:06 notgoodusename

niiiiiiiiiiiiiiiiiiiiiiiiice

Cyk-Fad avatar Jun 10 '20 03:06 Cyk-Fad

Aimbot with hc 100 can't hit ppl while they jumping

zxsleebu avatar Jun 13 '20 16:06 zxsleebu

Aimbot with hc 100 can't hit ppl while they jumping

using 100 hitchance wont shoot most of the time, use less than 80

notgoodusename avatar Jun 13 '20 16:06 notgoodusename

Aimbot with hc 100 can't hit ppl while they jumping

using 100 hitchance wont shoot most of the time, use less than 80

thanks, i know, but it will not hit ppl with other REALLY HVH cheats. so i decided to set hc to 100. but sometimes at small distance it doesn't hit people even without aa.

zxsleebu avatar Jun 13 '20 16:06 zxsleebu

working fine, vs legiters hitchance about 30-50 is sufficient for rifles, 90+ with ssg/awp.

lofcz avatar Jul 20 '20 11:07 lofcz

i got 2 errors "Error (active) E0711 expression must have bool type (or be convertible to bool)" and "Error C2451 conditional expression of type 'Vector' is illegal"

the "bestTarget" in if is highlighted if (bestTarget) { if (!hitChance(localPlayer.get(), entity, activeWeapon, bestAngle, cmd, config->aimbot[weaponIndex].hitchance)) { bestTarget = Vector{ }; continue; } break; }

kschou95 avatar Jul 25 '20 05:07 kschou95

i got 2 errors "Error (active) E0711 expression must have bool type (or be convertible to bool)" and "Error C2451 conditional expression of type 'Vector' is illegal"

the "bestTarget" in if is highlighted if (bestTarget) { if (!hitChance(localPlayer.get(), entity, activeWeapon, bestAngle, cmd, config->aimbot[weaponIndex].hitchance)) { bestTarget = Vector{ }; continue; } break; }

replace bestTarget to bestTarget.notNull()

dapaster avatar Aug 04 '20 17:08 dapaster

Im crashing when im shooting, please help. https://cdn.discordapp.com/attachments/742586673552031785/770263074266677248/unknown.png

spleatz avatar Oct 26 '20 12:10 spleatz

update?

zajkos avatar Nov 21 '20 07:11 zajkos

Error C2664 'bool canScan(Entity *,Entity *,const Vector &,const WeaponData *,int) noexcept': cannot convert argument 2 from 'Vector' to 'Entity *'

thisisnotagithub avatar Nov 21 '20 15:11 thisisnotagithub

i dont really want to necro this but i tried porting it to the newer version and it seems to be randomly shooting sometimes afaik getspread is still 452 so idk why

SquidmarcHD avatar May 11 '21 12:05 SquidmarcHD

I beg you, could you remake the code for the actual sources

Shuvi-Moro avatar Jul 29 '21 19:07 Shuvi-Moro

I beg you, could you remake the code for the actual sources

rather use kittenpopos ghetto calculate hitchance float spreadVal = (weapon->GetSpread() + weapon->GetInaccuracy()); float innaccuracyBase = (20 * (eyePos.Distance(shotTarget) / 130) * spreadVal); float hitchance = std::clamp((1 / innaccuracyBase) * 175, 0.f, 100.f);

SquidmarcHD avatar Aug 09 '21 16:08 SquidmarcHD