Skip to content

Instantly share code, notes, and snippets.

@godshawk
godshawk / Oh Java
Created June 28, 2014 22:45
GG, Java.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (constantPool.cpp:1351), pid=11384, tid=140338296940288
# Error: ShouldNotReachHere()
#
# JRE version: Java(TM) SE Runtime Environment (8.0_05-b13) (build 1.8.0_05-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.5-b02 mixed mode linux-amd64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
[18:25:20] [Client thread/ERROR]: Unable to read a class file correctly
java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:170) ~[asm-debug-all-4.1.jar:4.1]
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:153) ~[asm-debug-all-4.1.jar:4.1]
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:424) ~[asm-debug-all-4.1.jar:4.1]
at cpw.mods.fml.common.discovery.asm.ASMModParser.<init>(ASMModParser.java:52) [ASMModParser.class:?]
at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:100) [DirectoryDiscoverer.class:?]
at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:89) [DirectoryDiscoverer.class:?]
at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:89) [DirectoryDiscoverer.class:?]
at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:89) [DirectoryDiscoverer.class:?]
@godshawk
godshawk / GLHelper.java
Created June 21, 2014 02:06
Two-dimensional ESP for Minecraft.
/**
* Renders a two-dimensional box in three-dimensional space around an {@link net.minecraft.entity.Entity}
* Based off of {@link net.minecraft.client.renderer.entity.Render#func_147906_a}, ie the nametag rendering method
*
* @param e The entity to render the box around
* @param color Color to render the box. Color is passed in in 0xRRGGBB
* format; alpha values are done automatically
*/
public static void renderTwoDimensionalESP(Entity e, int color) {
glPushMatrix();

Keybase proof

I hereby claim:

  • I am godshawk on github.
  • I am godshawk (https://keybase.io/godshawk) on keybase.
  • I have a public key whose fingerprint is D537 E1C5 C37A 0504 E1C6 C058 5ECD 65AB 7D3B E8EB

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am godshawk on github.
  • I am godshawk (https://keybase.io/godshawk) on keybase.
  • I have a public key whose fingerprint is E273 B95C 7C79 6A0E ADDE 1EB0 6331 4893 0825 85E6

To claim this, I am signing this object: