EscapeFromTarkov-Trainer icon indicating copy to clipboard operation
EscapeFromTarkov-Trainer copied to clipboard

About aimbot

Open CARROT114514 opened this issue 2 years ago • 8 comments

aimbot seems to aim at a target behind an obstacle, sometimes even a mountain

CARROT114514 avatar Aug 25 '23 12:08 CARROT114514

That's quite weird because the aimbot is doing a Physics.Linecast to detect if the target is "visible" (without something blocking the shot). That's why currently the aimbot is not firing when a target is behind barbed wire fence.

Do you have more info so we can try to repro? Perhaps the aimbot was able to spot the head with 1px where you are not able to see it with your own eyes.

sailro avatar Aug 27 '23 08:08 sailro

https://github.com/sailro/EscapeFromTarkov-Trainer/assets/142997130/aeb9dd03-2855-46ba-8a54-c2d821f1fa6b

CARROT114514 avatar Aug 28 '23 01:08 CARROT114514

202308280949.mp4

Maybe it's because I used the mod reshade-shaders and my graphics settings image

CARROT114514 avatar Aug 28 '23 01:08 CARROT114514

这很奇怪,因为瞄准器正在检测目标是否“可见”(没有东西阻挡射击)。这就是为什么目前瞄准器在目标在带刺铁丝网后面时不会开火的原因。Physics.Linecast

您是否有更多信息,以便我们可以尝试重现?也许瞄准机器人能够用1px发现头部,而你无法用自己的眼睛看到它。

Like this

https://github.com/sailro/EscapeFromTarkov-Trainer/assets/142997130/502de3c1-2aa9-4fda-b027-367dab7cfea1

CARROT114514 avatar Aug 28 '23 01:08 CARROT114514

Just checked and if (!camera.IsTransformVisible(nearestTarget)) is only used for Silent Aim, it isn't used for normal Aimbot which is at the UpdateWhenHold() method. I'm testing something maybe I'll do a PR covering this.

leonardovac avatar Sep 07 '23 14:09 leonardovac

Ah good catch @leonardovac. I was thinking of the SilentAim, not the manual aimbot. But not sure we want to change that though. It can be quite useful to follow an enemy and then shoot as soon as he's visible.

sailro avatar Sep 08 '23 05:09 sailro

Ah good catch @leonardovac. I was thinking of the SilentAim, not the manual aimbot. But not sure we want to change that though. It can be quite useful to follow an enemy and then shoot as soon as he's visible.

Hi team, this is actually a long standing issue that I designed a solution for a while back, which can be found in the issue linked here: https://github.com/sailro/EscapeFromTarkov-Trainer/issues/75

We don’t currently have a consensus on that implementation though, and as Sebastian mentioned, being able to track an enemy through cover is particularly useful— which I hadn’t considered when designing that solution.

Maybe we can continue the discussion there and explore adding a subfeature toggle for the proposed visibility checking with the non-silent aiming mode?

Billybishop avatar Sep 08 '23 16:09 Billybishop

Hi @Billybishop, I saw it after commenting on the issue, On my local repo I've added a toggle on the menu (which works only for normal Aimbot) already. The only downside of the visibility check (with the current method): only the head bone works as intended. Check below (should be on a higher position, just showing): Control-V

leonardovac avatar Sep 08 '23 19:09 leonardovac