This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib2 | |
opcode_names = [] | |
total_messages = 0 | |
valid_messages = 0 | |
def get_trinity_opcodes(): | |
global opcode_names | |
url = urllib2.urlopen("https://raw.githubusercontent.com/TrinityCore/TrinityCore/master/src/server/game/Server/Protocol/Opcodes.h") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
init_func = 0x000000014042DEA0 | |
func_end = FindFuncEnd(init_func) | |
curr_head = init_func | |
next_head = curr_head | |
dump_count = 0 | |
descriptors = [] | |
def dump_descriptors(func_addr): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<UserControl x:Class="Ace.UI.Windows.Controls.ProcessSelector" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" | |
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" | |
xmlns:viewModels="clr-namespace:Ace.UI.Windows.ViewModels" | |
mc:Ignorable="d"> | |
<UserControl.DataContext> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Ace.UI.Forms { | |
partial class ProcessSelector { | |
/// <summary> | |
/// Required designer variable. | |
/// </summary> | |
private System.ComponentModel.IContainer components = null; | |
/// <summary> | |
/// Clean up any resources being used. | |
/// </summary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DataContract] | |
public sealed class WoWRealm { | |
#region Properties | |
[IgnoreDataMember] | |
public IntPtr Pointer { get; } | |
[DataMember] | |
public uint VirtualAddress { get; private set; } | |
[DataMember] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class Bootstrap { | |
#region Fields | |
private static AppDomain _domain; | |
private static readonly object _domainLock = new object(); | |
#endregion | |
#region Exports | |
[DllExport("Initialize", CallingConvention.Winapi)] | |
public static void Export_Initialize() => Initialize(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Afterglow.Internal.Client.Objects; | |
using Albion.Common.Photon; | |
using UnityEngine; | |
namespace Afterglow.Internal.Client.Detection { | |
public class MaxViewDetection : PacketHandler { | |
protected override void OnPacketEvent(PacketInfo packet) { | |
if (packet.Type != PacketType.OperationRequest) | |
return; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Albion Online version 1.0.340.102503. | |
public static byte[] ReadAsset(string fileName) { | |
using (var file = File.OpenRead(fileName)) | |
return ReadAsset(file); | |
} | |
/* Reference: | |
* Albion.Common | |
* 0x060017CD ne.b(string) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void __cdecl xor_gate_0xe5(char *buf, int length) | |
{ | |
char v2; // al | |
unsigned __int8 v3; // cl | |
char v4; // bl | |
unsigned __int8 v5; // cl | |
char v6; // al | |
char v7; // cl | |
char v8; // al | |
unsigned __int8 v9; // cl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Text; | |
using Sanford.Multimedia.Midi; | |
using UnityEngine; | |
using Network = UnityEngine.Network; | |
namespace RustInternal.Hacks { | |
public class GuitarPlayer : MonoBehaviour { | |
#region Fields |
OlderNewer