Giter Site home page Giter Site logo

tf2rue's Introduction

TF2rue

SourceMod plugin replacement for AnAkkk's TFTrue.

Also replaces F2's logstf/supstats/medicstats plugin. It doesn't do that yet.

This plugin is not yet finished and should not be used in a production environment unless you are crazy. It's mostly fine

Why

TFTrue is ancient, uses a ton of boilerplate code, has sporadic crashes, contains closed source code (in violation of its supposed GPL-2 liscensing) and is poorly maintained.

The aim of this project is to optimize as much as possible, while relying on dependencies maintained either directly by the SourceMod team themselves, or by well known, still active developers.

TLDR, I am tired of TFTrue etc crashing, breaking, and wasting cpu and making useless network requests.

Dependencies

  • SourceScramble by nosoop - for memory patching
  • SteamWorks by KyleS - for SteamWorks functions (web requests etc)
  • DHooks2 by PeaceMaker and the SourceMod team - for detouring and hooking functions

Don't worry, all of this is included in the release zip file. Just drag and drop to your server. Plus, this plugin keeps itself up to date with GoDTony's popular Updater plugin, if you have it installed.

Features

  • [done] NEW! Significantly faster whitelist reloading when changing any whitelist cvars (fixes "gg lag")
  • [done] NEW! Only download whitelist from whitelist.tf if local copy isn't present or if the item schema has updated
  • [todo] bhop
  • [indev] fov
  • [todo] stv stuff
  • [todo] logs
  • [todo] demostf support
  • [todo] rgl configs
  • [todo] redirect output with log on to not spam console
  • [indev] everything else

Removed features

  • tftrue_no_hats
  • tftrue_no_misc
  • tftrue_no_action

These cvars were removed because they are infrequently used and have a therefore unjustifiable amount of code and cpu time attatched to them. TFTrue was iterating thru keyvalues every single time a whitelist cvar was changed, for essentially no reason.

tf2rue's People

Contributors

sapphonie avatar nosoop avatar

Stargazers

josaic avatar Andrew avatar  avatar Sandalots avatar Robin Appelman avatar TYHH10 avatar  avatar Bakugo avatar  avatar Dominik Adrian Grzywak avatar  avatar John avatar Philipp avatar Radosław Serba avatar Michał Garapich avatar  avatar  avatar

Watchers

John avatar  avatar  avatar

Forkers

pmarkive arie

tf2rue's Issues

Fix windows broken functionality

#11

Important breaking change: CTFPlayer::GiveDefaultItems has been inlined on Windows (caller xref is now CTFPlayer::InitClass). A hotfix was applied to make that SDKCall optional so the plugin would continue functioning without being able to regenerate players on whitelist reload. It will raise a warning on startup.

Feel free to workshop other solutions here.

wltf schema mismatches

if a preset is updated and the item schema isn't, new whitelist wont download

waiting on weit for a /mtime api for presets

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.