You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, when I was testing this plugin for my mini-games server I noticed that nodus aimbot still works even with the pluign installed. Even if the player with nodus is 100+ blocks away and facing the complete opposite direction of the arrow target.
EDIT: Couldn't this be done with a simple raycast the distance between the target and then checking the distance and if the distance is too long than there is a hacker?
The text was updated successfully, but these errors were encountered:
I don't use NMS in AntiCheat, it's API-only. In addition to this, the solution you have proposed would only determine whether someone is too far away from a player when they attack them. That description matches a longreach hack, not an aimbot.
I do not belive that you understand what I am trying to say, I will attempt to simplify it in a step by step process to be executed in the EntityDamagedByEntityEvent
check if the damager isntanceof Player if not then return
check if the cause of damage is arrows
determine the distance between the damaged entity and the attacker
using your own raycast formula (possibly pulled from bukkit source, but located within your own code so it does not rely on nms) draw a ray (technically line) from the player's head direction. the length of this line is the distance calculated in step 3
determine the closes point on the line to the damaged entity
calculate the distance between the damaged entity and the point from step 5
if the distance calculated in step 6 is too far away (calculated based on how far away the target is from the attacker (calculated in step 3)) then you have a hacker
Hello, when I was testing this plugin for my mini-games server I noticed that nodus aimbot still works even with the pluign installed. Even if the player with nodus is 100+ blocks away and facing the complete opposite direction of the arrow target.
EDIT: Couldn't this be done with a simple raycast the distance between the target and then checking the distance and if the distance is too long than there is a hacker?
The text was updated successfully, but these errors were encountered: