Skip to content

Instantly share code, notes, and snippets.

View voided's full-sized avatar

Ryan Stecker voided

  • Illinois, USA
View GitHub Profile
@voided
voided / buildinghats.sp
Created July 11, 2014 00:17
example plugin using SM transitional API
#pragma semicolon 1
#include <sourcemod>
#include <sdktools>
#include <tf2>
#include <thelpers>
// require transitional api
#pragma semicolon 1
#include <sourcemod>
#include <sendproxy>
#pragma newdecls required
#define PLUGIN_VERSION "0.1"
@voided
voided / index.coffee
Created January 16, 2015 23:25
hubot skype adapter - with complimentary bad usage of buffers
{Robot, Adapter, TextMessage, EnterMessage, LeaveMessage, Response} = require 'hubot'
SkypeHostServer = require './skypehost'
class SkypeHost extends Adapter
send: (envelope, strings...) ->
@server.sendChat str for str in strings
@voided
voided / Program.cs
Created September 14, 2015 20:57
Awaitable jobs
static async void OnLoggedOn( SteamUser.LoggedOnCallback callback )
{
var query = new SteamMasterServer.QueryDetails
{
// ...
};
SteamMasterServer.QueryCallback result = await steamGms.ServerQuery( query );
// do whatever
interface INetworkListener
{
void OnIncomingMessage( EMsg msg, byte[] data );
void OnOutgoingMessage( EMsg msg, byte[] data );
};
L 11/18/2015 - 19:49:14: [SM] Exception reported: Script execution timed out
L 11/18/2015 - 19:49:14: [SM] Blaming: basecommands.smx()
L 11/18/2015 - 19:49:14: [SM] Call stack trace:
L 11/18/2015 - 19:49:14: [SM] [1] Line 151, Z:\SourceMod\sourcemod\plugins\basecommands/map.sp::LoadMapList()
L 11/18/2015 - 19:49:14: [SM] [2] Line 105, Z:\SourceMod\sourcemod\plugins\basecommands.sp::OnConfigsExecuted(

Keybase proof

I hereby claim:

  • I am voided on github.
  • I am voided (https://keybase.io/voided) on keybase.
  • I have a public key whose fingerprint is 0412 5B38 95BC 98BB FD85 2429 4609 49AA 1EB8 7798

To claim this, I am signing this object: