Skip to content

Instantly share code, notes, and snippets.

View Pokechu22's full-sized avatar

Pokechu22 Pokechu22

View GitHub Profile
Hang report for C:\Program Files\Java\jre1.8.0_72\bin\javaw.exe
Generated by using WhatIsHang on 6/28/2016 12:52:31 PM
Web site: http://www.nirsoft.net
Remarks:
* The program hangs in a single system call. You can look in the call stack and stack data to find out which API function cause this hang.
Strings found in the stack:
@Pokechu22
Pokechu22 / Beta 1.6-pre3 to beta 1.6.patch
Created July 27, 2016 23:48
Diff from beta1.6 prerelease 3 to beta 1.6
diff --git a/C:/pokechu22/mcp32-1.6-pre3/src/minecraft/net/minecraft/client/Minecraft.java b/C:/pokechu22/mcp32-1.6/src/minecraft/net/minecraft/client/Minecraft.java
index cc25dbd..80899f6 100644
--- a/C:/pokechu22/mcp32-1.6-pre3/src/minecraft/net/minecraft/client/Minecraft.java
+++ b/C:/pokechu22/mcp32-1.6/src/minecraft/net/minecraft/client/Minecraft.java
@@ -108,7 +108,7 @@ public abstract class Minecraft
{
Display.setDisplayMode(new DisplayMode(displayWidth, displayHeight));
}
- Display.setTitle("Minecraft Minecraft Beta 1.6 Test Build 3");
+ Display.setTitle("Minecraft Minecraft Beta 1.6");
"""
Makes spectatorCantUse message appear in chat rather than actionbar
"""
from jawa.cf import ClassFile
from jawa.constants import *
from jawa.util.bytecode import Instruction
from zipfile import ZipFile
try:
from cStringIO import StringIO
@Pokechu22
Pokechu22 / log4j2.xml
Created October 30, 2016 18:23
Launcher debug output configuration
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN" packages="com.mojang">
<Appenders>
<Console name="SysOut" target="SYSTEM_OUT">
<PatternLayout pattern="[%d{HH:mm:ss} %level]: %msg%n" />
</Console>
<Queue name="DevelopmentConsole">
<PatternLayout pattern="[%d{HH:mm:ss} %level]: %msg%n" />
</Queue>
<Async name="Async">
@Pokechu22
Pokechu22 / missing.txt
Created February 7, 2017 23:22
Known/unknown versions
A list of missing versions
@Pokechu22
Pokechu22 / Rail Proposal.md
Created July 21, 2017 19:07
Rail line proposal for RocketPig

Intro

First off, if you haven't seen the old skyblock map... you're missing out on a lot of context. But the short version is: I made a lot of rails. Check out this overviewer-powered render of the map here (download and extract the large zip file, and then open index.html, allowing scripts if prompted - it's an interactive render). The skyblock map is also (still) up for download on mediafire (you will need 7-zip or another extractor to open this RAR file); there's access to the nether if you fly behind the windmill (~100 blocks).

I really enjoyed handling this transportation for the community, and I'd like to do something like this again. But, right now the islands are fairly close, so there's no real reason to make it in the nether. Instead, it should be done in the overworld.

The actual proposal

Basically,

We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 6.
Post name,Flair,author,# comments,Link
"[H] $25 Amazon Gift Card [W] 11 CSGO Keys or $17 BTC","","thelazybrowndog","0","https://www.reddit.com/r/giftcardexchange/comments/3xrxsw/h_25_amazon_gift_card_w_11_csgo_keys_or_17_btc/?ref=search_posts"
"[H]$8 amazon gift card [W] $10 Nintendo eshop gift card or 85% bitcoin","","supersonic23","1","https://www.reddit.com/r/giftcardexchange/comments/3xqzbg/h8_amazon_gift_card_w_10_nintendo_eshop_gift_card/?ref=search_posts"
"[H] $50 Amazon GC [W] Paypal, Bitcoin","CLOSED","gumpmeister","1","https://www.reddit.com/r/giftcardexchange/comments/3xpvt6/h_50_amazon_gc_w_paypal_bitcoin/?ref=search_posts"
"[H] $14 iTunes (Canada) [W] Bitcoin, CSGO Skins, Steam Wallet, Amazon GC CHEAP!","","ZephyrPro","0","https://www.reddit.com/r/giftcardexchange/comments/3xnohb/h_14_itunes_canada_w_bitcoin_csgo_skins_steam/?ref=search_posts"
"[H] $20 Best Buy Saving Code [W] $15 Amazon or $13 PayPal/bitcoin","CLOSED","matchqq","1","https://www.reddit.com/r/giftcardexchange/comments/3xnc1n/h_20_
import com.google.gson.Gson;
import java.io.FileReader;
import java.util.Map;
import org.bukkit.Material;
public class MaterialChecker {
private static Burger burger;
public static void main(String[] args) throws Exception {
try (FileReader reader = new FileReader(args[0])) {
// Burger files contain an array of verisons; we want the first version

Like most of my posts, this ended up being long and full of details that usually do not matter but may be useful as reference. Feel free to jump to the conclusion and/or to skip information on how I gathered data.

The change that caused this

18w01a fixed MC-122053, which was an issue where the amount that the mouse scrolled by was ignored. This meant that for some mouses, on windows, scrolling would scroll extremely fast and far; note that this issue was not reported for 1.13 but rather 1.12, and actually existed far before then.

Here are the changes relevant to that fix (MCP names):

--- a/src/main/java/net/minecraft/client/gui/GuiSlot.java