Skip to content

Instantly share code, notes, and snippets.

View AgentRev's full-sized avatar

Agent Revolution AgentRev

  • Canada
View GitHub Profile
@AgentRev
AgentRev / fuck_win10_reboot.bat
Last active March 17, 2020 04:47
Shut the fuck up you stupid fucking Windows Update reboot shitfuck - run as admin
rem KILL WINDOWS UPDATE REBOOT WITH FIRE!!!
SET mwuo=Microsoft\Windows\UpdateOrchestrator
schtasks /End /TN "\%mwuo%\Reboot"
schtasks /End /TN "\%mwuo%\USO_UxBroker_Display"
schtasks /End /TN "\%mwuo%\USO_UxBroker_ReadyToReboot"
schtasks /Change /TN "\%mwuo%\Reboot" /DISABLE
schtasks /Change /TN "\%mwuo%\USO_UxBroker_Display" /DISABLE
schtasks /Change /TN "\%mwuo%\USO_UxBroker_ReadyToReboot" /DISABLE
icacls "%WINDIR%\System32\Tasks\%mwuo%\Reboot" /deny "*S-1-1-0:F"
icacls "%WINDIR%\System32\Tasks\%mwuo%\USO_UxBroker_Display" /deny "*S-1-1-0:F"
@AgentRev
AgentRev / a3wasteland_db_v2.05.sql
Created June 26, 2016 23:12
A3W MySQL DB v2.05
-- MySQL Script generated by MySQL Workbench
-- 06/26/16 19:07:56
-- Model: A3Wasteland DB Version: 2.05
-- MySQL Workbench Forward Engineering
SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL,ALLOW_INVALID_DATES';
-- -----------------------------------------------------
@AgentRev
AgentRev / storeConfig.sqf
Last active June 14, 2016 22:19
Preliminary A3W storeConfig for Apex preview branch
// ******************************************************************************************
// * This project is licensed under the GNU Affero GPL v3. Copyright © 2014 A3Wasteland.com *
// ******************************************************************************************
/*********************************************************#
# @@ScriptName: storeConfig.sqf
# @@Author: His_Shadow, AgentRev
# @@Create Date: 2013-09-16 20:40:58
#*********************************************************/
// █████ FOR USE WITH APEX SNEAK PREVIEW BRANCH ONLY! █████
@AgentRev
AgentRev / HvT.sqf
Last active January 21, 2020 05:54
Improved High Value Target script
// @file Version: 2.0
// @file Name: HvT.sqf
// @file Author: Cael817, CRE4MPIE, LouD, AgentRev
#define HVT_AMOUNT 50000 // how much a player needs to be carrying to become a HvT
#define HINT_DELAY 60 // number of seconds between each HvT reminder hint
#define MARKER_REFRESH 30 // number of seconds between each HvT marker refresh
if (isServer) then
{
@AgentRev
AgentRev / reorderItemsEdenSQM.py
Last active July 10, 2016 02:07
reorderItemsEdenSQM v1.02
# reorderItemsEdenSQM v1.02
# Made by AgentRev
# Recalculates "Item" and "id" numbers from top to bottom in unbinarized SQM files produced by Arma 3's Eden editor
# For use with "Python Script" plugin (http://npppythonscript.sourceforge.net/) and Notepad++ v6.5.1 & up only
# In order for this script to work:
# - the SQM file must be indented with tabs the same way as originally produced by Eden
# - there must be no spaces on either side of equal signs (=) and semicolons (;) in the SQM file
# - you must click once anywhere inside the targeted SQM right before running the script, for it to run on the correct file
@AgentRev
AgentRev / DisableUpdateWake.xml
Last active November 8, 2016 10:53
Scheduled task to prevent Windows 10 from constantly waking up in the middle of the fucking night
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<RegistrationInfo>
<URI>\DisableUpdateWake</URI>
</RegistrationInfo>
<Triggers>
<CalendarTrigger>
<Repetition>
<Interval>PT1H</Interval>
<Duration>P1D</Duration>
@AgentRev
AgentRev / territoryPayroll.sqf
Created February 12, 2016 21:01
territoryPayroll edit for custom rewards
// ******************************************************************************************
// * This project is licensed under the GNU Affero GPL v3. Copyright © 2014 A3Wasteland.com *
// ******************************************************************************************
// @file Name: territoryPayroll.sqf
// @file Author: AgentRev
if (!isServer) exitWith {};
_timeInterval = ["A3W_payrollInterval", 30*60] call getPublicVar;
_moneyAmount = ["A3W_payrollAmount", 100] call getPublicVar;
@AgentRev
AgentRev / spawnAction.sqf
Last active August 29, 2015 14:26
spawnAction.sqf - GearLevel for Mokey
// ******************************************************************************************
// * This project is licensed under the GNU Affero GPL v3. Copyright © 2014 A3Wasteland.com *
// ******************************************************************************************
// @file Version: 1.0
// @file Name: spawnAction.sqf
// @file Author: [404] Deadbeat, [KoS] Bewilderbeest, AgentRev
// @file Created: 20/11/2012 05:19
// @file Args: [int(type of spawn)]
#define respawn_Content_Text 3401
@AgentRev
AgentRev / applyPlayerInfo.sqf
Last active August 29, 2015 14:26
applyPlayerInfo.sqf - GearLevel for Mokey
// ******************************************************************************************
// * This project is licensed under the GNU Affero GPL v3. Copyright © 2014 A3Wasteland.com *
// ******************************************************************************************
// @file Name: applyPlayerInfo.sqf
// @file Author: AgentRev
// This is where you load custom player variables that must persist between deaths
private ["_data", "_name", "_value"];
@AgentRev
AgentRev / loadAccount.sqf
Last active August 29, 2015 14:26
loadAccount.sqf - GearLevel for Mokey
// ******************************************************************************************
// * This project is licensed under the GNU Affero GPL v3. Copyright © 2014 A3Wasteland.com *
// ******************************************************************************************
// @file Name: loadAccount.sqf
// @file Author: Torndeco, AgentRev
if (!isServer) exitWith {};
private ["_UID", "_bank", "_moneySaving", "_result", "_gearLevel", "_data", "_columns", "_dataTemp", "_ghostingTimer", "_secs"];
_UID = _this;