Skip to content

Instantly share code, notes, and snippets.

@hjhee
hjhee / l4d2_ASDC.sp
Created June 14, 2017 03:24
improved ASDC for l4d2
#pragma semicolon 1
#include <sourcemod>
#define PLUGIN_VERSION "1.3"
public Plugin myinfo=
{
name="L4D2 Automatic Scaling Difficulty Controller(ASDC)",
author="Fwoosh/harryhecanada/hjhee",
description="Difficulty Controller for the L4D2 AI director, automatically spawns extra zombies to increase difficulty.",
version=PLUGIN_VERSION,
@hjhee
hjhee / autoexec.cfg
Created June 13, 2017 15:58
autoexec.cfg for l4d2
bind "g" "abm"
bind "v" "sm_admin"
mm_dedicated_force_servers 101.200.154.163
net_graph "1"
net_graphheight "125"
@hjhee
hjhee / gamemodes.txt
Created June 13, 2017 15:38
8 Slot Lobby analyse
"GameModes"
{
"coop"
{
"base" "coop"
"maxplayers" "8"
"x360ctx" "0"
"x360matchrule" "0"
"x360presence" "5"
@hjhee
hjhee / gamemodes.txt
Created June 13, 2017 15:36
8 Slot Lobby analyse
"GameModes"
{
"coop"
{
"base" "coop"
"maxplayers" "8"
"x360ctx" "0"
"x360matchrule" "0"
"x360presence" "5"
@hjhee
hjhee / maxintensity.sp
Created June 9, 2017 01:56
allow changing sb_force_max_intensity without cheat
#include <sourcemod>
#define PLUGIN_VERSION "0.0.1"
public Plugin myinfo={
name="L4D2 force_max_intensity",
author="hjhee",
description="Allow changing sb_force_max_intensity without cheat",
version=PLUGIN_VERSION,
url="None"
}
@hjhee
hjhee / ipcSmtpd.go
Created January 29, 2017 09:19
a smtp listener for zoneminder external record trigger
// IP Camera supports motion detection, which can be configured to send
// emails upon alarm is fired
// This go programme serve as a minimal smtp server, listening login requests
// from IP Camera, and triggers zmtrigger.pl through unix socket.
package main
import (
"github.com/op/go-logging"
"net"