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 Trovo++ | |
// @version 1.4.1.0 | |
// @author Kotik | |
// @description Trovo++ | |
// @match https://trovo.live/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=trovo.live | |
// @run-at document-start | |
// @grant unsafeWindow | |
// @updateURL https://gist.github.com/TheByKotik/fc6336027d345866d7a8aa8a5f56d503/raw/trovopp.meta.js |
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 newdecls required | |
#pragma semicolon 1 | |
#define f_value 1 | |
#define f_array { 2, 3, 4 } | |
#define f_string "567890" | |
#define s_string "098765" | |
#define s_array { 4, 3, 2 } | |
#define s_value 1 |
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 newdecls required | |
#pragma semicolon 1 | |
#include <sourcemod> | |
public void OnPluginStart() | |
{ | |
RegServerCmd( "sm_test", TEST ); | |
} | |
Action TEST (int args) |
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 newdecls required | |
#pragma semicolon 1 | |
#include <sourcemod> | |
#include <regex> | |
public void OnPluginStart() | |
{ | |
RegServerCmd( "sm_test", TEST ); | |
} |
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 semicolon 1 | |
#define PLUGIN_AUTHOR "RumbleFrog, SourceBans++ Dev Team" | |
#define PLUGIN_VERSION "1.1.0 (debug only version)" | |
#include <sourcemod> | |
#include <sourcebanspp> | |
#include <sourcecomms> | |
#include <SteamWorks> | |
#include <smjansson> |
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
# | |
#Console initialized. | |
Setting breakpad minidump AppID = 740 | |
#Using breakpad minidump system 740/13735.1043.DC | |
Using breakpad crash handler | |
Forcing breakpad minidump interfaces to load | |
Looking up breakpad interfaces from steamclient | |
Calling BreakpadMiniDumpSystemInit | |
#Loading VPK file hashes for pure server operation. | |
#Loading VPK file hashes for pure server operation. |
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
public void SelectUnbanCallback (Database db, DBResultSet results, const char[] error, DataPack dataPack) | |
{ | |
int admin; | |
char arg[30], adminAuth[30], unbanReason[256]; | |
char reason[128]; | |
dataPack.Reset(); | |
admin = dataPack.ReadCell(); | |
dataPack.ReadString(reason, sizeof(reason)); | |
dataPack.ReadString(arg, sizeof(arg)); |
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 newdecls required | |
#pragma semicolon 1 | |
Plugin myinfo = { | |
name = "Test", | |
author = "", | |
description = "", | |
version = "", }; | |
stock Database g_dbTest; |
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
CREATE DATABASE IF NOT EXISTS `test`; | |
USE `test`; | |
DELIMITER // | |
CREATE PROCEDURE `StoredProc`( | |
IN `Param1` INT | |
) | |
READS SQL DATA | |
SQL SECURITY INVOKER | |
BEGIN |
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
// ************************************************************************* | |
// This file is part of SourceBans++. | |
// | |
// Copyright (C) 2014-2016 SourceBans++ Dev Team <https://github.com/sbpp> | |
// | |
// SourceBans++ is free software: you can redistribute it and/or modify | |
// it under the terms of the GNU General Public License as published by | |
// the Free Software Foundation, per version 3 of the License. | |
// | |
// SourceBans++ is distributed in the hope that it will be useful, |
NewerOlder