Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

"aim through walls" behavior when wall is penetrable #2

Open
nandoolle opened this issue Apr 11, 2023 · 0 comments
Open

"aim through walls" behavior when wall is penetrable #2

nandoolle opened this issue Apr 11, 2023 · 0 comments

Comments

@nandoolle
Copy link

if (!(memory.Read<std::int32_t>(player + offset::m_bSpottedByMask) & (1 << localPlayerId)))
	continue;

Even with this check, I'm getting the "aim through walls" behavior.
Also have noticed that this only happens when I can do dmg through the wall in question.

Any tips on how to solve this would be greatly appreciated.

PS.:
I noticed this comment on the youtube vid
Quote

  • "Kismet
    If you want to improve this aimbot, you should adjust the spotted check. Get the local player id and use the spotted by mask to check if the local player has spotted the enemy. otherwise you might aim at enemies through walls ;)"

I didn't get the gist on how to do that check, this might be a good way to prevent this, idrk.

@nandoolle nandoolle changed the title "aim through walls" behavior when wall is baggagle "aim through walls" behavior when wall is penetrable Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant