Giter Club home page Giter Club logo

sm-tickbase-manipulation-fix's Introduction

[ANY] Tickbase Manipulation Fix

AlliedModders thread

Fixes an exploit where players can manipulate game time to perform actions instantly (using progress triggers, detonating grenades, firing, etc.). It does so by clamping the number of seconds a client's internal clock can be offset by, relative to server time.

Very important notes

  • This plugin can cause rubberbanding for players if sm_tickbase_shift_max_seconds is set too low. 2.0 works for me, but might require higher values for your setup

  • A detection does not mean a client is cheating. Legit players will have logs due to packet loss, server choke, etc. It's left to your discretion to analyze this data and act on it accordingly.

Installation

  • Upgrade to Sourcemod 1.11 or higher, else install DHooks2
  • Download the latest zip in releases
  • Extract contents into addons/sourcemod
  • Refresh your plugin list (sm plugins refresh in server console)

CVars

Cvars should be modified in cfg/plugin.tickbase-manipulation-fix.cfg

  • sm_tickbase_shift_max_seconds (Default: 2)

    • How far ahead from server time a client is allowed to be (don't touch unless you know what you're doing)
  • sm_tickbase_shift_log_seconds (Default: 25)

    • Logs the name and steamID of clients that are ahead of server time by more than this many seconds. Set to 0 to disable

Game Support

  • No More Room in Hell
  • Team Fortress 2
  • Contagion
  • Pirates, Vikings, and Knights II
  • Day of Defeat: Source
  • Zombie Panic Source (2.4 only)
  • Any other game where the current signature matches, I guess

If you want support for your game please submit a pull request with valid gamedata or open an issue.

Hint: The signature for CPlayerMove::RunCommand can sometimes be found by searching for the string "sv_maxusrcmdprocessticks_warning at server tick %u:" in a disassembler. It also references sv_noclipduringpause

Special thanks

  • backwards for help with coding and testing
  • Felis for letting me use their server as a nuke testing site
  • nosoop for gamedata contributions

sm-tickbase-manipulation-fix's People

Contributors

dysphie avatar nosoop avatar

Watchers

 avatar  avatar

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.