Skip to content

Instantly share code, notes, and snippets.

/*
* Recursively scan the tree of datatables for a netvar with the given name
*/
static size_t recursive_scan(RecvTable *table,
const char *var_name,
size_t accum = 0)
{
for(auto i = 0; i < table->GetNumProps(); i++) {
const auto *prop = table->GetProp(i);
if(std::strcmp(prop->GetName(), var_name) == 0)
/*
* Lag compensation has a bug where animation cycletime is off by two ticks,
* which makes it difficult to hit people jumping or transitioning to a duck.
* Altimor has taken a break from his Persona 3 toaster waifu to correct this
* catastrophe. APPLAUSE
*/
#include "util.h"
#include "plugin.h"
#include "lagcomp.h"
#include "baseanimating.h"
/*
* Lag compensation has a bug where animation cycletime is off by two ticks,
* which makes it difficult to hit people jumping or transitioning to a duck.
* Altimor has taken a break from his Persona 3 toaster waifu to correct this
* catastrophe. APPLAUSE
*/
#include "util.h"
#include "plugin.h"
#include "lagcomp.h"
#include "baseanimating.h"
/*
* CSGO has a bug where players aren't animated on the server while jumping
* straight up. Altimor has taken a break from his Persona 3 toaster waifu to
* correct this catastrophe. APPLAUSE
*/
#include "util.h"
#include "plugin.h"
#include "lagcomp.h"
#include "baseanimating.h"
#include <chrono>
#include <thread>
#include <iostream>
#include <string>
#include <vector>
#include <sstream>
#include <Windows.h>
/**
* perf_timer_delay - High resolution CPU timer sleep
#include <chrono>
#include <thread>
#include <iostream>
#include <string>
#include <vector>
#include <sstream>
#include <Windows.h>
/**
* perf_timer_delay - High resolution CPU timer sleep
#include <chrono>
#include <thread>
#include <iostream>
#include <string>
#include <vector>
#include <sstream>
#include <Windows.h>
/**
* perf_timer_delay - High resolution CPU timer sleep
#include <chrono>
#include <thread>
#include <iostream>
#include <string>
#include <vector>
#include <sstream>
#include <Windows.h>
/**
* perf_timer_delay - High resolution CPU timer sleep
#include <chrono>
#include <thread>
#include <iostream>
#include <string>
#include <vector>
#include <sstream>
#include <Windows.h>
/**
* perf_timer_delay - High resolution CPU timer sleep
#include <chrono>
#include <thread>
#include <iostream>
#include <string>
#include <vector>
#include <sstream>
#include <Windows.h>
/**
* perf_timer_delay - High resolution CPU timer sleep