Skip to content

Instantly share code, notes, and snippets.

@Warpten
Warpten / gist:5543530
Last active December 17, 2015 03:29
MultiLayerCanvas
function Layer(width, height) {
this.width = width;
this.height = height;
this.canvas = document.createElement("canvas");
this.context = this.canvas.getContext("2d");
this.canvas.width = width;
this.canvas.height = height;
this.getCanvas = function() { return this.canvas; };
@Warpten
Warpten / gist:3806260
Created September 30, 2012 08:37
Le crash
User@USER-PC /c/Repositories/Sniffs
$ WowPacketParser.exe ruby_sanctum.bin
Loading DB...
Connecting to MySQL server: Server=localhost;Port=3306;Username=root;Database=wpp;CharSet=utf8;ConnectionTimeout=5;
Finished loading DB in 00:00:00.324.
[1/1 ruby_sanctum.bin]: Reading packets...
[1/1 ruby_sanctum.bin]: Parsing 354083 packets. Assumed version V3_3_5a_12340
Processing... 100% complete
@Warpten
Warpten / board.js
Created July 8, 2012 21:14
Chess over Internet Draft v0.5
(function () {
var Game = (function() {
var Game = function() {
return new Game.fn.init();
};
Game.fn = Game.prototype = {
constructor: Game,
isVerbose: function() { return this._verbose; },
@Warpten
Warpten / board.js
Created July 8, 2012 20:53
Chess over Internet sketch 0.1
(function () {
var Game = (function() {
var Game = function(domElem) {
var objInstance = new Game.fn.init(domElem);
// Append click handler
$(domElem).click(function(eventData) {
Game.fn.onClick(eventData.pageX, eventData.pageY, objInstance);
});
Unable to open file DBFilesClient\CreatureSpellData in the archive for locale frFR: FILE_NOT_FOUND
Unable to open file DBFilesClient\DeclinedWord in the archive for locale frFR: FILE_NOT_FOUND
Unable to open file DBFilesClient\DeclinedWordCases in the archive for locale frFR: FILE_NOT_FOUND
Unable to open file DBFilesClient\FeedbackPath in the archive for locale frFR: FILE_NOT_FOUND
Unable to open file DBFilesClient\Package in the archive for locale frFR: FILE_NOT_FOUND
Unable to open file DBFilesClient\SkillTiers in the archive for locale frFR: FILE_NOT_FOUND
Unable to open file DBFilesClient\gtAttackPower in the archive for locale frFR: FILE_NOT_FOUND
Unable to open file DBFilesClient\gtAttackPowerRanged in the archive for locale frFR: FILE_NOT_FOUND
Unable to open file DBFilesClient\gtAvoidanceDim in the archive for locale frFR: FILE_NOT_FOUND
Unable to open file DBFilesClient\gtChanceToDodgeBase in the archive for locale frFR: FILE_NOT_FOUND
commit c905d1a6b7be3d0cdfdab0e8c4db267e01c68684
Author: Warpten <vertozor@gmail.com>
Date: Wed May 27 20:54:57 2015 +0200
Core/NetworkIO: Fixed possible DDoS issue with b5aebf40a8a6f4b480ba2e877451db2ac3dac968
diff --git a/src/server/game/Server/Packets/ChatPackets.cpp b/src/server/game/Server/Packets/ChatPackets.cpp
index 4204278..ab4108b 100644
--- a/src/server/game/Server/Packets/ChatPackets.cpp
+++ b/src/server/game/Server/Packets/ChatPackets.cpp
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.InteropServices;
using System.IO;
using System.Text;
using System.Linq;
using OpcodeBruter;
namespace x86
@Warpten
Warpten / patch.diff
Created October 12, 2014 16:31
ObjectListView Generator, add support for fields
diff --git a/ObjectListView/Utilities/Generator.cs b/ObjectListView/Utilities/Generator.cs
index 95454ca..57506fb 100644
--- a/ObjectListView/Utilities/Generator.cs
+++ b/ObjectListView/Utilities/Generator.cs
@@ -199,18 +199,40 @@ public class Generator : IGenerator {
if (type == null)
return columns;
- // Iterate all public properties in the class and build columns from those that have
- // an OLVColumn attribute and that are not ignored.
using System;
using System.Xml;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Collections.Generic;
using System.Dynamic;
using System.Reflection;
using DBFilesClient.NET;
signed int __cdecl PH_SMSG_SUPERCEDED_SPELL(int a1) // Actually a ptr to struct that 6BD0A0 creates
{
int oldSpellId; // ebx@1
int newSpellId; // esi@1
__int64 v3; // qax@4
CGPlayer_C *currPlr; // edi@4
void *v5; // esi@7
int v7; // ecx@9
unsigned int v8; // eax@9
unsigned int v9; // edi@15