Skip to content

Instantly share code, notes, and snippets.

View Subv's full-sized avatar

Sebastian Valle Subv

  • Barranquilla, Colombia
View GitHub Profile
@yuriks
yuriks / ctr_resultcodes.py
Last active February 14, 2018 18:38
ctr_resultcodes.py
#!/usr/bin/python2
# Convert 3DS errors to readable format
# plutooo // yuriks
import sys
summaries = {
0: "Success",
1: "Nothing happened",
@Subv
Subv / gist:1381218
Created November 21, 2011 00:03 — forked from LordJZ/gist:1193348
SMSG_PHASE_SHIFT_CHANGE 4.2.0
using System;
using System.Text;
namespace Kamilla.WorldOfWarcraft.Latest.OpcodeDatas
{
public sealed class SetPhaseShift : PackedData
{
public readonly byte[][] Data = new byte[4][];
public WowGuid Guid;
public uint Unk;
@Subv
Subv / 1.cs
Created November 21, 2011 00:03 — forked from LordJZ/1.cs
using System;
using System.Collections;
using System.Linq;
namespace Kamilla.WorldOfWarcraft.Latest.OpcodeDatas
{
public abstract class PackedData : OpcodeData
{
protected virtual bool IsMaskSequenceSwapped { get { return true; } }
protected abstract int[] MaskSequence { get; }