Skip to content

Instantly share code, notes, and snippets.

View scottstamp's full-sized avatar

Scott Stamp scottstamp

  • Hypermine Networks
  • St. John's, Newfoundland
View GitHub Profile
@scottstamp
scottstamp / Program.cs
Created May 2, 2021 03:00
Furnidata schema auto-definition
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Antidote
{
static class Program
{
@scottstamp
scottstamp / IncomingMessageCodes.cs
Last active July 16, 2022 13:54
H4K message headers (updated build 0.10.0)
using System;
public enum IncomingMessageCodes : short
{
LegacyBannerPublicKey = 1,
ClubAndSecurityLevels,
Ok,
Film,
UserObject,
WalletBalance,
@scottstamp
scottstamp / shell.php
Created August 24, 2020 19:10
Arcturus Emulator RCON PHP shell
<?php
// replace $key with something secret or face peril!
error_reporting(E_ALL);
$key = 'secret';
$sec = $_GET['sec'];
$payload = $_POST['payload'];
if (isset($payload) && $sec == $key) {
$sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
$res = socket_connect($sock, "127.0.0.1", 3001);
@scottstamp
scottstamp / Program.cs
Created April 28, 2020 23:55
FlassetReplacer (SWF asset replacer using Flazzy)
using Flazzy;
using Flazzy.Tags;
using System.Drawing;
using System.IO;
using System.Linq;
namespace FlassetReplacer
{
class Program
{
using System;
using System.Collections.Generic;
using System.Text;
namespace Hideaway.Common.Communication
{
public class ProtocolReader
{
private byte[] _buffer;
private int position = 0;
@scottstamp
scottstamp / HCatalogPage.cs
Created April 27, 2020 12:33
Parse incoming CatalogPagesList packet
using Sulakore.Protocol;
using System.Collections.Generic;
namespace WiredIdent
{
public class HCatalogPage
{
public bool Visible { get; set; }
public int Icon { get; set; }
public int Id { get; set; }

Keybase proof

I hereby claim:

  • I am scottstamp on github.
  • I am darkstar851 (https://keybase.io/darkstar851) on keybase.
  • I have a public key ASDV08iKddt2_rQry1a0OATbD8DC5DfIIsk0DoaZkuiXdQo

To claim this, I am signing this object:

using System;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace Sulakore.Network.Protocol
{
[DebuggerDisplay("Id: {Id} | {ToString()}")]
using System;
using System.Collections.Generic;
using System.Text;
namespace Hideaway.Hideaway.Messages
{
public enum IncomingHeaders : short
{
Ping = 2,
ProtocolVersion = 4,
public class ConfigurationMsg
{
public int ClothSellConversionRate;
public PriceData[] CraftingPrices;
public int HcToScConversionRate;
public int NewLabelDisplayDays;
public int NameChangePrice;
public int PartyCreationPrice;
public int PartyMaxParticipantCount;
public int ReportMaxAmountPerDay;