Skip to content

Instantly share code, notes, and snippets.

@PMArkive
PMArkive / cfgscript.inc
Created June 9, 2023 23:28 — forked from kevyonan/cfgscript.inc
a VScript-like scripting language exclusively made for SourcePawn
/**
* cfgscript.inc
*
* Copyright [2023] Assyrianic aka Nergal
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"),
* to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
#!/usr/bin/python3
import collections
import enum
import itertools
class SMCOperation(enum.Enum):
STRING = 1
SUBSECTION_START = 2
SUBSECTION_END = 3
surf_004_fix - Tier: 2
surf_1day - Tier: 3
surf_2012_beta12 - Tier: 3
surf_25_lighters - Tier: 4
surf_4dimensional - Tier: 4
surf_4head - Tier: 2
surf_6 - Tier: 2
surf_666 - Tier: 6
surf_81st_network - Tier: 2
surf_8bit - Tier: 2
@PMArkive
PMArkive / ze_laserhackfix.sp
Created January 3, 2023 13:44 — forked from cmer81/ze_laserhackfix.sp
ze_laserhackfix
#pragma semicolon 1
#define PLUGIN_AUTHOR "null138"
#define PLUGIN_VERSION "1.00"
#include <sourcemod>
#include <sdktools>
#pragma newdecls required
@PMArkive
PMArkive / maplist.csv
Created January 3, 2023 13:44 — forked from cmer81/maplist.csv
maplist
ze_2012_fix2
ze_30_Seconds__b21
ze_666_crazy_escape_b3s
ze_8bit_v5b
ze_a_e_s_t_h_e_t_i_c_v1_1s
ze_abandoned_project_v1_2
ze_abstract_escape_v1a
ze_AcuticNotes_v1_2s
ze_aepp_nano_grid2_b2s
ze_alien_shooter_v7
@PMArkive
PMArkive / fucked.sp
Created December 1, 2022 08:21 — forked from sapphonie/fucked.sp
dhooking a sdktools function [CHookMgr::PlayerRunCommand on Linux for TF2]
#include <sdktools>
#include <dhooks>
int CHookMgr_PlayerRunCmd_LINUX[] =
{
0x55, 0x89, 0xE5, 0x57,
0x56, 0x83, 0xEC, 0x30
};
#include <sourcemod>
#include <sdktools>
#include <dhooks>
/*
Signature for _ZN13BaseMenuStyle16ClientPressedKeyEij:
55 89 E5 53 57 56 81 EC 7C 04 00 00
\x55\x89\xE5\x53\x57\x56\x81\xEC\x7C\x04\x00\x00
*/
int BaseMenuStyle_ClientPressedKey_Sig_Lin[] =

31/05/2019 if you are running v2.5.5 or above (from very_good_yes branch), there's some good news. unless you're on sqlite of course. if you're on sqlite, you might have to stick to the same version, or recreate your database i've added database migration and lots of optimizations, you don't need to do them on your end because the plugin will automatically do them for you! however, the first batch of database migrations contains 12 migrations, which is a lot. some of them take a while to execute, and some will be pretty much instant

because of that, when you upgrade to from v2.5.4 or older, to v2.5.5 or newer i ask you to follow the following procedure:

  1. DO A DATABASE BACKUP!! YOUR DATABASE MIGHT BREAK IF THE MIGRATION IS BEING INTERRUPTED AND YOU WILL LOSE DATA!!
  2. if you have more than one server running the same database, take them all offline until this process is done
  3. close access to the game server that will perform the database migration. via password, server maintenance plugins, firewall
@PMArkive
PMArkive / README.md
Created September 22, 2022 07:19 — forked from nosoop/README.md

This patch is a fix for the bug observed in this video.

Requires Source Scramble and its manager plugin.

tf2.fix_ammo_gain_windows.patch.txt goes into addons/sourcemod/configs/sourcescramble and tf2.fix_ammo_gain_windows.txt goes into addons/sourcemod/gamedata.

[No Outlines]
00297844 E320F000
D2000000 00000000