Skip to content

Instantly share code, notes, and snippets.

View RoyAwesome's full-sized avatar

Garrett RoyAwesome

View GitHub Profile
// Fill out your copyright notice in the Description page of Project Settings.
#include "ArcInvExampleEngineSubsys.h"
#include "AbilitySystemGlobals.h"
void UArcInvExampleEngineSubsys::Initialize(FSubsystemCollectionBase& Collection)
{
Super::Initialize(Collection);
// 2017-2018 Puny Human Games
#include "ArcAbilitySystemComponent.h"
#include "GameplayTags.h"
#include "Components/InputComponent.h"
#include "EngineMinimal.h"
#include "ArcCoreGameInstSubsys_Abilities.h"
UArcAbilitySystemComponent::UArcAbilitySystemComponent(const FObjectInitializer& ObjectInitializer)
@RoyAwesome
RoyAwesome / keys.txt
Last active October 1, 2015 07:09
Unreal Engine Keys
AnyKey
MouseX
MouseY
MouseScrollUp
MouseScrollDown
MouseWheelAxis
LeftMouseButton
RightMouseButton
using UnityEngine;
using System.Collections.Generic;
using System;
public class Dispatcher : MonoBehaviour {
Queue<Action> JoinActions = new Queue<Action>();
public static Dispatcher Instance = null;
@RoyAwesome
RoyAwesome / haste.cs
Last active August 29, 2015 14:01
Hastebin poster
private static readonly Regex HasteKeyRegex = new Regex(@"{""key"":""(?<key>[a-z].*)""}", RegexOptions.Compiled);
public static string Haste(this string message)
{
string hastebin = @"http://hastebin.com/";
using (WebClient client = new WebClient())
{
string response;
try
@RoyAwesome
RoyAwesome / Downloader.cs
Last active August 29, 2015 13:55
Everquest Landmark downloader
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using REsideUtility;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
@RoyAwesome
RoyAwesome / (table) EntityFramework
Last active December 31, 2015 17:19
Notes for how Dota 2 interacts with it's Lua VM
Functions defined in dota\scripts\vscripts\framework\entities
--usage EntityFramework.CreateEntity(...)
CreateEntity [function, function: 0x169ab288]
GetScriptClassForDesignerName [function, function: 0x169a4d08]
GetNativeClassForScriptClass [function, function: 0x169a5258]
scriptClassTable [table, table: 0x169ab2c0]
InstallClasses [function, function: 0x169a77a8]
GetEntityHandle [function, function: 0x169ab310]
RegisterScriptClass [function, function: 0x169a7790]
@RoyAwesome
RoyAwesome / Notes.txt
Created October 1, 2013 10:41 — forked from anonymous/Notes.txt
Planetside 2 Revision Database
Dependencies:
* Json.net: http://james.newtonking.com/json
Up to date Revision Databases:
* http://testoutfit.info/lebot/RevisionData/
If you wish to use this, PLEASE read this: http://testoutfit.info/lebot/RevisionData/readme.txt
@RoyAwesome
RoyAwesome / Notes.txt
Last active February 4, 2021 06:09
Planetside 2 Downloading Code
Dependencies:
* json.net: http://james.newtonking.com/json
* LZMA: http://testoutfit.info/lebot/LZMA.dll (I had to custom build this. It's not a virus trust me)
Manifest Locations:
Live: "http://manifest.patch.station.sony.com/patch/sha/manifest/planetside2/planetside2-live/live/planetside2-live.sha.soe"
Live-Last: "http://manifest.patch.station.sony.com/patch/sha/manifest/planetside2/planetside2-live/livelast/planetside2-live.sha.soe"
@RoyAwesome
RoyAwesome / AreaMapper.cs
Last active December 18, 2015 00:29
Planetside 2 Area mapper
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Xml;
using System.Drawing;
namespace AreaMapper
{