herobrine99dan / NESS-Reloaded

NESS Reloaded is an anticheat that aims to support lots of minecraft versions (from 1.8 to 1.17.1) without losing the advantage of having powerful checks
GNU General Public License v3.0
47 stars 5 forks source link

4 Blocks Reach Check #92

Closed herobrine99dan closed 3 years ago

herobrine99dan commented 3 years ago

What server version are you running? 1.12.2

What version of NESS Reloaded are you running?2.8 Latest DevBuild

Describe the BugThe current reach check can detect only 5 blocks of reach correctly, the best thing is to have 4 or 3.5 blocks reach detection

Do you have some videos / screenshots?No

If it is an error, do you have logs?No Errors

herobrine99dan commented 3 years ago

We can make this check using the player.getNearbyEntities(x,y,z) method.

herobrine99dan commented 3 years ago

To fix lag issues we can store the last positions of the entity and then get the entity location based on player's ping.

herobrine99dan commented 3 years ago

https://github.com/herobrine99dan/NESS-Reloaded/commit/cc5accbdcbbf8549e21469d3aa08a94a3f3647c8 Starting works TODO Add hitboxes of other entities (make only one method to get them from nms) TODO Account for lag (store latest entity position using ticks)

herobrine99dan commented 3 years ago

More Hitbox were added https://github.com/herobrine99dan/NESS-Reloaded/commit/cfdd029d85a658c7817a9d1b339ead8fbf87f30e TODO Account for lag (store latest entity position using ticks)

herobrine99dan commented 3 years ago

Fixed with https://github.com/herobrine99dan/NESS-Reloaded/commit/c3573c26aa16f4f7dd40ac664d947d1075cfe95e