Skip to content

Instantly share code, notes, and snippets.

View benphelps's full-sized avatar
🇺🇦
Slava Ukrayini!

Ben Phelps benphelps

🇺🇦
Slava Ukrayini!
View GitHub Profile
-- SPEC ID 261
ProbablyEngine.rotation.register(261, {
-- Buffs
{ "Deadly Poison", "!player.buff(Deadly Poison)" },
{ "Leeching Poison", "!player.buff(Leeching Poison)" },
-- Cooldowns
{ "Shadow Blades", "modifier.cooldowns" },
{ "Slice and Dice", {
local rootFrost = { }
rootFrost.eventHandler = function(...)
end
ProbablyEngine.listener.register("rootFrost", "EVENT_HERE", rootFrost.eventHandler)
ProbablyEngine.library.register("rootFrost", rootFrost)
i php5 - server-side, HTML-embedded scripting langu
p php5-adodb - Extension optimising the ADOdb database ab
p php5-cgi - server-side, HTML-embedded scripting langu
p php5-cli - command-line interpreter for the php5 scri
i A php5-common - Common files for packages built from the p
p php5-curl - CURL module for php5
p php5-dbg - Debug symbols for PHP5
i php5-dev - Files for PHP5 module development
p php5-enchant - Enchant module for php5
p php5-exactimage - fast image manipulation library (PHP bindi
{{
{ "something", "rule" },
{ "something", "rule" },
{ "something", "rule" },
{ "something", "rule" },
}, "root.rules" },
{{
{ "something", "rule" },
{ "something", "rule" },
{ "something", "rule" },
2013-11-03 04:17:57.969 ProbablyUpdater[6367:303] *** Assertion failure in -[NSTextFieldCell _objectValue:forString:errorDescription:], /SourceCache/AppKit/AppKit-1265/AppKit.subproj/NSCell.m:1637
2013-11-03 04:17:57.970 ProbablyUpdater[6367:303] Invalid parameter not satisfying: aString != nil
-- ProbablyEngine Rotations - https://probablyengine.com/
-- Released under modified BSD, see attached LICENSE.
local band = bit.band
local HostileEvents = {
['SWING_DAMAGE'] = true,
['SWING_MISSED'] = true,
['RANGE_DAMAGE'] = true,
['RANGE_MISSED'] = true,
ProbablyEngine.module.world.aquireHealth = function(guid)
local inGroup = GetNumGroupMembers()
if inGroup then
if IsInRaid("player") then
for i=1,inGroup do
if guid == UnitGUID("RAID".. i .. "TARGET") then
return UnitHealth("RAID".. i .. "TARGET")
end
end
else
- (long long) scanForSignature:(unsigned char [])signature withSignatureSize:(int)signature_size withTask:(task_t)wow withRegion:(long long[])region
{
unsigned int buffer_size = 0x100000;
long long bytes_read = 0x0;
uintptr_t sz;
while (bytes_read <= region[1])
{
unsigned char buffer[buffer_size];
long long address = region[0] + bytes_read;
uintptr_t buffer_pointer;
@benphelps
benphelps / pattern.c
Created October 22, 2013 19:09
Memory pattern or signature searching using vm_read on OS X.
// Byte Searching for OS X
// BenPhelps http://benphelps.me/
#include <stdio.h>
#include <stdlib.h>
#include <mach/mach.h>
unsigned int scanMem(task_t wow, mach_vm_address_t start, mach_msg_type_number_t size, unsigned char *signature, int signature_size)
{
unsigned int buffer_size = 0x100000;
{"name":"NoMethodError","message":"undefined method `each' for nil:NilClass","stack":"/Users/phelps/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/lib/nack/server.rb:151:in `handle'\n/Users/phelps/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start'\n/Users/phelps/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start'\n/Users/phelps/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/lib/nack/server.rb:86:in `each'\n/Users/phelps/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/lib/nack/server.rb:86:in `block in start'\n/Users/phelps/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/lib/nack/server.rb:66:in `loop'\n/Users/phelps/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/lib/nack/server.rb:66:in `start'\n/Users/phelps/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/lib/nack/