Skip to content

Instantly share code, notes, and snippets.

barncastle

Block or report user

Report or block barncastle

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View IndexRebuilder.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using TACT.Net.Common;
using TACT.Net.Cryptography;
namespace TACT.Net.Indices
{
internal class IndexRebuilder
View GithubDBDProvider.cs
using DBCD.Providers;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Text;
namespace DBCD.Tests
View spell.db2 7.3.5.25744-7.3.5.25600.diff.json
{
"AddedRecords": [
243679,
261573,
261576,
261579,
261584,
261585,
261587,
261588,
View map.db2 7.3.5.25744-7.3.5.25600.diff.json
{
"AddedRecords": [
1902,
1903
],
"RemovedRecords": [],
"ChangedRecords": {
"996": [
{
"op": "Replace",
View DefinitionManager.cs
public static class DefinitionManager
{
public static readonly Dictionary<string, Structs.DBDefinition> DefinitionLookup;
public static readonly Dictionary<(string, string), Type> DefinitionCache;
private static readonly ModuleBuilder moduleBuilder;
static DefinitionManager()
{
DefinitionCache = new Dictionary<(string, string), Type>();
View FileNameExtractor.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Numerics;
using System.Runtime.InteropServices;
namespace ConsoleApp1
{
class FileNameExtractor
{
View TXID_Replacer.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Numerics;
using System.Runtime.InteropServices;
namespace TXIDReplacer
{
class Program
{
View SkillLine.csv
SkillLine Name Skill Type Spell Name Spell Description
Acrobatics Class Safe Fall (NYI) Reduces damage from falling.
Acrobatics Class Sprint Greatly increases the rogue's movement speed for $d.
Advanced Combat Class Cleave A sweeping attack that does your weapon damage plus $s1 to the target and his nearest ally, and causes both to attack slower for $d.
Alchemy Profession Apprentice Alchemy Allows an alchemist to brew basic potions up to a maximum potential skill of 75. Requires Herbs found with the Herbalism skill.
Alchemy Profession Blacktail Oil
Alchemy Profession Cowardly Flight Potion
Alchemy Profession Discolored Healing Potion
Alchemy Profession Elixir of Defense
Alchemy Profession Elixir of Detect Invisibility
View MPB* dump
MPBV Count: 0069
MPBP Count: 0467
MPBI Count: 1920
MPBG Count: 0916
# MPBV
Start 0000
Count 0001
# MPBP
-Start 0000
@barncastle
barncastle / combo_converter.py
Created Jul 19, 2018
Quick and dirty encode/decode script for SpellChainEffects' m_Combo field
View combo_converter.py
import argparse
import struct
import array
'''
Quick and dirty encode/decode script for SpellChainEffects' m_Combo field (https://wowdev.wiki/DB/SpellChainEffects)
To decode: set -m to 1 and use the m_Combo value from the DB as the value for -d e.g.
combo_converter.py -m 1 -d "y3y3c3c3c3c3"
You can’t perform that action at this time.