This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Sourcemod 1.7 Plugin Template | |
*/ | |
#pragma semicolon 1 | |
#include <sourcemod> | |
#include <sdktools> | |
#pragma newdecls required |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Raw access to TF2 condition data. | |
*/ | |
#if defined __tf_cond_info_dma_included | |
#endinput | |
#endif | |
#define __tf_cond_info_dma_included |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# tfw no working sources to ensure values are correct | |
# https://web.archive.org/web/20100705221006/http://code.devicenull.org:80/index.php?title=Python:PluginReader | |
# https://wcfan.de/diverse/spfile.php | |
import struct, zlib, io, hashlib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
''' | |
gameinfo cloner for CS:GO | |
takes an existing CS:GO dedicated server installation and an empty directory and links / copies / | |
modifies files in the latter to create a runnable server | |
''' | |
import os | |
import pathlib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include "re.h" | |
#include <sm_stringhashmap.h> | |
template <typename T> | |
inline T* sendprop_ptr(const void* pEntity, const char* classname, const char* prop) { | |
sm_sendprop_info_t info; | |
if (!gamehelpers->FindSendPropInfo(classname, prop, &info)) { | |
return nullptr; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <sourcemod> | |
#pragma semicolon 1 | |
#pragma newdecls required | |
public void OnPluginStart() { | |
char buffer[64]; | |
int divisor = 12345; | |
int base = 0x10; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Steam Workshop Filter | |
// @namespace steam-community-workshop-hot-garbage-filter | |
// @description Provides a button to fade out certain Steam Workshop entries. | |
// @include https://steamcommunity.com/workshop/browse/* | |
// @version 2.0 | |
// @grant GM_getValue | |
// @grant GM_setValue | |
// ==/UserScript== | |
// jshint esversion:6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <idc.idc> | |
/* makesig.idc: IDA script to automatically create and wildcard a function signature. | |
* Copyright 2014, Asher Baker | |
* | |
* This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. | |
* | |
* Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: | |
* | |
* 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Steam Image Fixer | |
// @description Forces Steam to regenerate image files because their cache is serving WebP to Firefox users. | |
// @namespace steam-image-webp-cache-busting | |
// @match https://steamcommunity.com/* | |
// @grant none | |
// @run-at document-start | |
// ==/UserScript== | |
let rewrite_image_url = (image) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Games" | |
{ | |
"tf" | |
{ | |
"Addresses" | |
{ | |
"CTraceFilterObject::ShouldHitEntity()::TFBotCollideWithBuildings" | |
{ | |
"signature" "CTraceFilterObject::ShouldHitEntity()" | |
"linux" |