False positive fixes

- Added new Speed check
- Fixing false positives with Fly (C) under blocks
- Fixed false positives with stepping on Fly (C) and Fly (D)
- Fixed liquid false positives with Fly (C) and (D)
- Fixed horizontal friction-based false positives, like switching between ice and regular blocks (used wrong friction)
- Fixed NoFall (B) false positive when in liquid and under block pressing space bar
This commit is contained in:
Dawson
2022-08-27 14:27:56 -04:00
parent 5e071e3690
commit 25606997fa
18 changed files with 201 additions and 23 deletions
@@ -123,6 +123,7 @@ public class AnticheatCommand extends BaseCommand {
Anticheat.INSTANCE.getScheduler().execute(() -> {
List<String> logs = new ArrayList<>();
System.out.println("shit 1");
Anticheat.INSTANCE.getLogManager().runQuery("select * from logs where uuid=" + uuid.hashCode(), rs -> {
Log log = Log.builder()
.uuid(UUID.fromString(rs.getString("uuid")))
@@ -132,6 +133,8 @@ public class AnticheatCommand extends BaseCommand {
.time(rs.getLong("time"))
.build();
System.out.println("Shit");
logs.add("Flagged " + Anticheat.INSTANCE.getCheckManager().getIdToName().get(log.getCheckId()) + " data: " + log.getData() + " VL: " + log.getVl() + " at " + log.getTime());
});
String url = null;