Package fr.neatmonster.nocheatplus.checks.moving.LocationTrace

Examples of fr.neatmonster.nocheatplus.checks.moving.LocationTrace.TraceEntry


                boolean violation = true; // No tick with all checks passed.
                boolean reachPassed = !reachEnabled; // Passed individually for some tick.
                boolean directionPassed = !directionEnabled; // Passed individually for some tick.
                // TODO: Maintain a latency estimate + max diff and invalidate completely (i.e. iterate from latest NEXT time)], or just max latency.
                while (traceIt.hasNext()) {
                  final TraceEntry entry = traceIt.next();
                  // Simplistic just check both until end or hit.
                  // TODO: Other default distances/tolerances.
                  boolean thisPassed = true;
                  if (reachEnabled) {
                    if (reach.loopCheck(player, loc, damagedPlayer, entry, reachContext, data, cc)) {
View Full Code Here


      1
    };
    for (int i = 0; i < iterators.length; i++) {
      int n = 0;
      TraceIterator it = iterators[i];
      TraceEntry last = null;
      TraceEntry current = null;
      while (it.hasNext()) {
        current = it.next();
        n ++;
        if (n > size) {
          fail("Iterator (" + iteratorNames[i] + ") iterates too long.");
View Full Code Here

TOP

Related Classes of fr.neatmonster.nocheatplus.checks.moving.LocationTrace.TraceEntry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.