Skip to content

Instantly share code, notes, and snippets.

import zlib
class BoundBuffer(object):
buff = b''
cursor = 0
def __init__(self, data=b""):
self.write(data)
def read(self, length):
if length > len(self):
[01:23:08] [main/WARN] (Minecraft) Failed to load datapacks, can't proceed with server load
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Missing required tags: minecraft:block:appliedenergistics2:whitelisted/facades
at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357) ~[?:1.8.0_161]
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895) ~[?:1.8.0_161]
at net.minecraft.client.MinecraftClient.method_29604(MinecraftClient.java:1907) ~[minecraft-1.16.3-projectmapped-net.fabricmc.yarn-1.16.3+build.11-v2.jar:?]
at net.minecraft.client.MinecraftClient.startIntegratedServer(MinecraftClient.java:1756) ~[minecraft-1.16.3-projectmapped-net.fabricmc.yarn-1.16.3+build.11-v2.jar:?]
at net.minecraft.client.MinecraftClient.method_29607(MinecraftClient.java:1700) ~[minecraft-1.16.3-projectmapped-net.fabricmc.yarn-1.16.3+build.11-v2.jar:?]
at net.minecraft.client.gui.screen.world.CreateWorldScreen.createL
@RGamberini
RGamberini / BLAST crash log
Created November 17, 2020 00:26
BLAST crash log
[19:16:47] [Server thread/FATAL]: Error executing task on Server
java.lang.IllegalArgumentException: Duplicate id value for 8!
at net.minecraft.class_2945.method_12784(class_2945.java:80) ~[intermediary-1.16.3.jar:?]
at ladysnake.blast.common.entities.StripminerEntity.method_5693(StripminerEntity.java:31) ~[blast-1.4.jar:?]
at net.minecraft.class_1297.<init>(class_1297.java:260) ~[intermediary-1.16.3.jar:?]
at net.minecraft.class_1676.<init>(class_1676.java:24) ~[intermediary-1.16.3.jar:?]
at net.minecraft.class_1682.<init>(class_1682.java:20) ~[intermediary-1.16.3.jar:?]
at net.minecraft.class_3857.<init>(class_3857.java:18) ~[intermediary-1.16.3.jar:?]
at ladysnake.blast.common.entities.BombEntity.<init>(BombEntity.java:26) ~[blast-1.4.jar:?]
at ladysnake.blast.common.entities.StripminerEntity.<init>(StripminerEntity.java:24) ~[blast-1.4.jar:?]
#include <iostream>
using namespace std;
class Point {
float x, y;
public:
Point(float x, float y);
void setValues(float x, float y);
float getX();
float getY();
};
import ctypes
import time
from mem_edit import Process
from controller import refreshShop, getFocus, refreshMaronaCreate, buyPhantom, buyWeapon
import psutil
def findProcessIdByName(processName):
'''
bufferSize = 2232
buffer = (ctypes.c_byte * bufferSize)()
pid = findProcessIdByName("Phantom Brave PC.exe")[0]['pid']
toFind = ctypes.create_string_buffer(b"Nameless Soul")
print(pid)
with Process.open_process(pid) as p:
startAddr = list(filter(lambda x: x >0x1CBB0000, p.search_all_memory(toFind)))[0]
startAddr += 23
var element = $(".gb_xa");
var boundingBox = element.getBoundingClientRect();
function inBounds(toCheck, max) {
return toCheck > 0 && toCheck < max;
}
var ball = {
startingX: boundingBox.x,
startingY: boundingBox.y,
offsetX : 0,
var _0x2efe=['\x73\x74\x61\x72\x74\x69\x6e\x67\x59','\x73\x70\x65\x65\x64','\x75\x70\x64\x61\x74\x65','\x76\x65\x6c\x6f\x63\x69\x74\x79','\x63\x6f\x73','\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d','\x74\x72\x61\x6e\x73\x6c\x61\x74\x65\x28','\x66\x6c\x6f\x6f\x72','\x70\x78\x2c','\x70\x78\x29','\x2e\x67\x62\x5f\x78\x61','\x67\x65\x74\x42\x6f\x75\x6e\x64\x69\x6e\x67\x43\x6c\x69\x65\x6e\x74\x52\x65\x63\x74'];(function(_0x171fdb,_0x30d3cc){var _0x14b35f=function(_0x57de15){while(--_0x57de15){_0x171fdb['push'](_0x171fdb['shift']());}};_0x14b35f(++_0x30d3cc);}(_0x2efe,0x18a));var _0x5dcc=function(_0x3be9b6,_0x39b46e){_0x3be9b6=_0x3be9b6-0x0;var _0x24f49c=_0x2efe[_0x3be9b6];return _0x24f49c;};var _0x18ff11=$(_0x5dcc('0x0'));var _0x550d5d=_0x18ff11[_0x5dcc('0x1')]();function _0x33e5ff(_0x52434b,_0x57713c){return _0x52434b>0x0&&_0x52434b<_0x57713c;}var _0x4812d8={};_0x4812d8['\x73\x74\x61\x72\x74\x69\x6e\x67\x58']=_0x550d5d.x;_0x4812d8[_0x5dcc('0x2')]=_0x550d5d.y;_0x4812d8['\x6f\x66\x66\x73\x65\x74\x58']=0x0;_0x4812d8['\x6f\
thing = $$(".AssetListItemTitle").find(a => {return a.textContent.indexOf("License Key:") > -1});
console.log(thing.parentElement.childNodes[5].textContent.trim())
@RGamberini
RGamberini / bottom text.jpeg
Last active June 10, 2019 20:08
bottom text
var theta = 0, allPs = $$("p");
setInterval(function(){allPs.forEach(function(p) {p.setAttribute("style", "transform: rotate(" + theta + "deg)");}); theta++;}, 10);