Giter VIP home page Giter VIP logo

backtrack-patch's Introduction

Jay's Backtrack Patch

This backtrack patch is from Little Anti-Cheat (My own project), but as a standalone plugin.

Little Anti-Cheat: https://github.com/J-Tanzanite/Little-Anti-Cheat/

Patching method:

This patch method basically simulates a player's tickcount (as if it incremented normally) when their tickcount suddenly jumps/spikes above the tolerance set by the Convar below.
This does not happen to players who recently spawned or teleported.

Players who don't cheat but lag (packetloss) shouldn't be affected much.
You have to lag quite hard for this to be an issue, which at that point, your hitreg will be awful anyway.
If this is a concern to you, you can set the Tolerance to 2, which limits when the patch kicks in.

ConVars:

jay_backtrack_enable 1
Enable the backtrack patch.

jay_backtrack_tolerance 0
Sets the tolerance for tickcount changes.
0 = Tickcount must increment.

  • This happens for most players 99% of the time.
  • Recommended value.

1 = Allow tickcount to unexpectedly be off by 1.

  • This can happen with somepacket loss, but isn't often.

2 = Allow tickcount to unexpectedly be off by 2.

  • Cheats could exploit this to somewhat get around the patch, but it's so tiny, it barely helps them.
  • It's not recommended to use this value.

3 = Allow tickcount to unexpectedly be off by 3.

  • Do not use this value unless you understand what this does!
  • A value of 3 means cheats could potentially bypass this patch to some degree, although not by much.

backtrack-patch's People

Contributors

j-tanzanite avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

pmarkive

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.