- DreadScripts
- DupeWithMats
- QuickToggle
@echo off | |
cls | |
echo If you want to close srcds and this script, close the srcds window and type Y depending on your language followed by Enter. | |
title srcds.com Watchdog | |
:srcds | |
echo (%time%) srcds started. | |
start /wait srcds.exe -console -game "garrysmod" | |
echo (%time%) WARNING: srcds closed or crashed, restarting. | |
goto srcds |
<!DOCTYPE html> | |
<html> | |
<head> | |
<!-- jQuery 2.2.4 --> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> | |
<!-- Boot Strap 3.3.6 CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> | |
<!-- Boot Strap 3.3.6 JS --> | |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script> | |
<!-- Boot Strap Theme --> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<!-- jQuery 2.2.4 --> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> | |
<!-- Boot Strap 3.3.6 CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> | |
<!-- Boot Strap 3.3.6 JS --> | |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script> | |
<!-- Boot Strap Theme --> |
--Put me in darkrp_modules/advert_revert/sh_advert_revert.lua for it to work!!!! | |
timer.Simple( 30, function() | |
DarkRP.addPhrase('en', 'advert', '[Advert]') | |
local billboardfunction = DarkRP.getChatCommand("advert") | |
billboardfunction = billboardfunction['callback'] | |
DarkRP.removeChatCommand("advert") | |
--From darkrp before the update to remove this. Check the commits | |
local function PlayerAdvertise(ply, args) | |
if args == "" then | |
DarkRP.notify(ply, 1, 4, DarkRP.getPhrase("invalid_x", "argument", "")) |
<?php | |
$key = "PLACE A KEY HERE!!!!"; | |
if($_SERVER['REQUEST_METHOD'] == "POST" || empty($_POST['key']) || $_POST['key'] != $key ){ die("Direct Access to this script is not allowed."); } | |
$reporttype = (empty($_POST["type"])) ? "" : strip_tags($_POST["type"]); | |
$from = (empty($_POST["from"])) ? "" : strip_tags($_POST["from"]); | |
$thereason = (empty($_POST["thereason"])) ? "" : strip_tags($_POST["thereason"]); | |
$person = (empty($_POST["reportonperson"])) ? "" : strip_tags($_POST["reportonperson"]); | |
$sip = (empty($_POST["serverip"])) ? "" : strip_tags($_POST["serverip"]); | |
$sport = (empty($_POST["serverport"])) ? "" : strip_tags($_POST["serverport"]); | |
$reportid = (empty($_POST["idreport"])) ? "" : strip_tags($_POST["idreport"]); |
<?php | |
$doingRequest = (empty($_POST['request'])) ? false : true; | |
if($doingRequest){ | |
$wsid = (empty($_POST['wsid']) ? 0 : (int)urldecode($_POST['wsid'])); | |
if($wsid <= 0){ | |
$url = urldecode($_POST['wsid']); | |
$url = str_replace("http://steamcommunity.com/sharedfiles/filedetails/?id=", "", $url); | |
$url = (int)str_replace("https://steamcommunity.com/sharedfiles/filedetails/?id=", "", $url); | |
if($url<=0){ |
maestro.command("rp_addmoney", {"player:target", "number"}, function(caller, targets, num) | |
if #targets == 0 then | |
return true, "Query matched no players." | |
end | |
for i = 1, #targets do | |
local ply = targets[i] | |
ply:addMoney(num) | |
end | |
return false, "added $"..num.." to %1's wallet" | |
end, [[Gives a player money.]]) |