Не работают Хуки

Сообщения
138
Лучшие ответы
3
Реакции
25
Всем привет, хуки в среде работают нормально
В обычном клиенте получаю, что-то типо
debug:
[main/INFO] [STDOUT]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:20]: [DEBUG] Injecting hooks into class net.minecraft.block.Block
[00:52:09] [main/INFO] [STDOUT]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:warning:25]: [WARNING] Can not find target method of hook AsmHook: net.minecraft.block.Block#getCollisionBoundingBoxFromPool(Lnet/minecraft/world/World;III) -> gloomyfolken.hooklib.example.AnnotationHooks#getCollisionBoundingBoxFromPool(Lnet/minecraft/block/Block;Lnet/minecraft/world/World;III)Z, ReturnCondition=ON_TRUE, ReturnValue=ANOTHER_METHOD_RETURN_VALUE, InjectorFactory: gloomyfolken.hooklib.asm.HookInjectorFactory$MethodEnter, CreateMethod = false
[00:52:09] [main/INFO] [STDOUT]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:warning:25]: [WARNING] Can not find target method of hook AsmHook: net.minecraft.block.Block#shouldSideBeRendered(Lnet/minecraft/world/IBlockAccess;IIII) -> gloomyfolken.hooklib.example.AnnotationHooks#shouldSideBeRendered(Lnet/minecraft/block/Block;Lnet/minecraft/world/IBlockAccess;IIII)Z, ReturnCondition=ON_TRUE, ReturnValue=ANOTHER_METHOD_RETURN_VALUE, InjectorFactory: gloomyfolken.hooklib.asm.HookInjectorFactory$MethodEnter, CreateMethod = false
[00:52:09] [main/INFO] [STDOUT]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:20]: [DEBUG] Injecting hooks into class net.minecraft.block.BlockSnow
[00:52:09] [main/INFO] [STDOUT]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:warning:25]: [WARNING] Can not find target method of hook AsmHook: net.minecraft.block.BlockSnow#getCollisionBoundingBoxFromPool(Lnet/minecraft/world/World;III) -> gloomyfolken.hooklib.example.AnnotationHooks#getCollisionBoundingBoxFromPool(Lnet/minecraft/block/BlockSnow;Lnet/minecraft/world/World;III)Lnet/minecraft/util/AxisAlignedBB;, ReturnCondition=ALWAYS, ReturnValue=HOOK_RETURN_VALUE, InjectorFactory: gloomyfolken.hooklib.asm.HookInjectorFactory$MethodEnter, CreateMethod = false
[00:52:10] [Client thread/INFO] [Config]: [OptiFine] (Reflector) Class not present: ModLoader
[00:52:10] [Client thread/INFO] [STDOUT]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:20]: [DEBUG] Injecting hooks into class net.minecraft.client.renderer.RenderBlocks
[00:52:10] [Client thread/INFO] [STDOUT]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:warning:25]: [WARNING] Can not find target method of hook AsmHook: net.minecraft.client.renderer.RenderBlocks#renderStandardBlock(Lnet/minecraft/block/Block;III) -> gloomyfolken.hooklib.example.AnnotationHooks#renderStandardBlock(Lnet/minecraft/client/renderer/RenderBlocks;Lnet/minecraft/block/Block;III)V, ReturnCondition=NEVER, ReturnValue=VOID, InjectorFactory: gloomyfolken.hooklib.asm.HookInjectorFactory$MethodEnter, CreateMethod = false
[00:52:10] [Client thread/INFO] [Config]: [OptiFine] (Reflector) Class not present: LightCache
[00:52:10] [Client thread/INFO] [Config]: [OptiFine] (Reflector) Class not present: BlockCoord
[00:52:10] [Client thread/INFO] [STDOUT]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:20]: [DEBUG] Injecting hooks into class net.minecraftforge.client.ForgeHooksClient
[00:52:10] [Client thread/INFO] [STDOUT]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:20]: [DEBUG] Patching method net.minecraftforge.client.ForgeHooksClient#createDisplay()
[00:52:10] [Client thread/INFO] [STDOUT]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:20]: [DEBUG] Injecting hooks into class net.minecraft.client.renderer.RenderGlobal
[00:52:10] [Client thread/INFO] [STDOUT]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:warning:25]: [WARNING] Can not find target method of hook AsmHook: net.minecraft.client.renderer.RenderGlobal#doSpawnParticle(Ljava/lang/String;DDDDDD) -> gloomyfolken.hooklib.example.AnnotationHooks#doSpawnParticle(Lnet/minecraft/client/renderer/RenderGlobal;Ljava/lang/String;DDDDDD)Lnet/minecraft/client/particle/EntityFX;, ReturnCondition=ALWAYS, ReturnValue=HOOK_RETURN_VALUE, InjectorFactory: gloomyfolken.hooklib.asm.HookInjectorFactory$MethodEnter, CreateMethod = false
Так же проблема на стороне сервера
Server:
[23:09:59] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:20]: [DEBUG] Parsing hooks container gloomyfolken.hooklib.minecraft.SecondaryTransformerHook
[23:09:59] [main/INFO]: [HOOKLIB]  Obfuscated: true
[23:09:59] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:20]: [DEBUG] Parsing hooks container gloomyfolken.hooklib.example.AnnotationHooks
[23:09:59] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:warning:25]: [WARNING] Found invalid hook gloomyfolken.hooklib.example.AnnotationHooks#onNeighborBlockChange
[23:09:59] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:warning:25]: [WARNING] Hook method must return boolean if returnCodition is ON_TRUE.
[23:09:59] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[23:09:59] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:20]: [DEBUG] Injecting hooks into class cpw.mods.fml.common.Loader
[23:09:59] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:20]: [DEBUG] Patching method cpw.mods.fml.common.Loader#injectData([Ljava/lang/Object;)
[23:09:59] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:severe:30]: [SEVERE] Can not load obfuscated method names
[23:09:59] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]: java.io.IOException: Methods dictionary not found
[23:09:59] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at gloomyfolken.hooklib.minecraft.MinecraftClassTransformer.loadMethodNames(MinecraftClassTransformer.java:52)
[23:09:59] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at gloomyfolken.hooklib.minecraft.MinecraftClassTransformer.<init>(MinecraftClassTransformer.java:35)
[23:09:59] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[23:09:59] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[23:09:59] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[23:09:59] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[23:09:59] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at java.lang.Class.newInstance(Class.java:442)
[23:09:59] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.launchwrapper.LaunchClassLoader.registerTransformer(LaunchClassLoader.java:94)
[23:09:59] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at gloomyfolken.hooklib.minecraft.SecondaryTransformerHook.injectData(SecondaryTransformerHook.java:16)
[23:09:59] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at cpw.mods.fml.common.Loader.injectData(Loader.java)
[23:09:59] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[23:09:59] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[23:09:59] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[23:09:59] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at java.lang.reflect.Method.invoke(Method.java:498)
[23:09:59] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at cpw.mods.fml.common.launcher.FMLDeobfTweaker.injectIntoClassLoader(FMLDeobfTweaker.java:41)
[23:09:59] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.launchwrapper.Launch.launch(Launch.java:115)
[23:09:59] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[23:09:59] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[23:09:59] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[23:09:59] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[23:09:59] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at java.lang.reflect.Method.invoke(Method.java:498)
[23:09:59] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:43)
[23:09:59] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12)
[23:09:59] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at pro.gravit.launcher.server.ServerWrapper.run(ServerWrapper.java:195)
[23:09:59] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at pro.gravit.launcher.server.ServerWrapper.main(ServerWrapper.java:65)
[23:09:59] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[23:09:59] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[23:09:59] [main/INFO]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}
[23:10:01] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:20]: [DEBUG] Injecting hooks into class net.minecraft.block.Block
[23:10:01] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:severe:30]: [SEVERE] A problem has occurred during transformation of class net.minecraft.block.Block.
[23:10:01] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:severe:30]: [SEVERE] Attached hooks:
[23:10:01] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:severe:30]: [SEVERE] AsmHook: net.minecraft.block.Block#getCollisionBoundingBoxFromPool(Lnet/minecraft/world/World;III) -> gloomyfolken.hooklib.example.AnnotationHooks#getCollisionBoundingBoxFromPool(Lnet/minecraft/block/Block;Lnet/minecraft/world/World;III)Z, ReturnCondition=ON_TRUE, ReturnValue=ANOTHER_METHOD_RETURN_VALUE, InjectorFactory: gloomyfolken.hooklib.asm.HookInjectorFactory$MethodEnter, CreateMethod = false
[23:10:01] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:severe:30]: [SEVERE] Stack trace:
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]: java.lang.NullPointerException
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at gloomyfolken.hooklib.minecraft.MinecraftClassTransformer$1.isTargetMethod(MinecraftClassTransformer.java:78)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at gloomyfolken.hooklib.asm.HookInjectorClassVisitor.visitMethod(HookInjectorClassVisitor.java:37)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at org.objectweb.asm.ClassReader.b(Unknown Source)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at org.objectweb.asm.ClassReader.accept(Unknown Source)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at org.objectweb.asm.ClassReader.accept(Unknown Source)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at gloomyfolken.hooklib.asm.HookClassTransformer.transform(HookClassTransformer.java:57)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at gloomyfolken.hooklib.minecraft.MinecraftClassTransformer.transform(MinecraftClassTransformer.java:65)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:285)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.init.Bootstrap.func_151354_b(Bootstrap.java:714)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1622)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at java.lang.reflect.Method.invoke(Method.java:498)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at java.lang.reflect.Method.invoke(Method.java:498)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:43)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at pro.gravit.launcher.server.ServerWrapper.run(ServerWrapper.java:195)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at pro.gravit.launcher.server.ServerWrapper.main(ServerWrapper.java:65)
[23:10:01] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:warning:25]: [WARNING] Can not find target method of hook AsmHook: net.minecraft.block.Block#getCollisionBoundingBoxFromPool(Lnet/minecraft/world/World;III) -> gloomyfolken.hooklib.example.AnnotationHooks#getCollisionBoundingBoxFromPool(Lnet/minecraft/block/Block;Lnet/minecraft/world/World;III)Z, ReturnCondition=ON_TRUE, ReturnValue=ANOTHER_METHOD_RETURN_VALUE, InjectorFactory: gloomyfolken.hooklib.asm.HookInjectorFactory$MethodEnter, CreateMethod = false
[23:10:01] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:20]: [DEBUG] Injecting hooks into class net.minecraft.block.BlockTNT
[23:10:01] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:severe:30]: [SEVERE] A problem has occurred during transformation of class net.minecraft.block.BlockTNT.
[23:10:01] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:severe:30]: [SEVERE] Attached hooks:
[23:10:01] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:severe:30]: [SEVERE] AsmHook: net.minecraft.block.BlockTNT#func_150114_a(Lnet/minecraft/world/World;IIIILnet/minecraft/entity/EntityLivingBase;) -> gloomyfolken.hooklib.example.AnnotationHooks#func_150114_a(Lnet/minecraft/block/BlockTNT;Lnet/minecraft/world/World;IIIILnet/minecraft/entity/EntityLivingBase;)V, ReturnCondition=ALWAYS, ReturnValue=VOID, InjectorFactory: gloomyfolken.hooklib.asm.HookInjectorFactory$MethodEnter, CreateMethod = false
[23:10:01] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:severe:30]: [SEVERE] AsmHook: net.minecraft.block.BlockTNT#onBlockActivated(Lnet/minecraft/world/World;IIILnet/minecraft/entity/player/EntityPlayer;IFFF) -> gloomyfolken.hooklib.example.AnnotationHooks#onBlockActivated(Lnet/minecraft/block/BlockTNT;Lnet/minecraft/world/World;IIILnet/minecraft/entity/player/EntityPlayer;IFFF)Z, ReturnCondition=ALWAYS, ReturnValue=HOOK_RETURN_VALUE, InjectorFactory: gloomyfolken.hooklib.asm.HookInjectorFactory$MethodEnter, CreateMethod = false
[23:10:01] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:severe:30]: [SEVERE] Stack trace:
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]: java.lang.NullPointerException
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at gloomyfolken.hooklib.minecraft.MinecraftClassTransformer$1.isTargetMethod(MinecraftClassTransformer.java:78)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at gloomyfolken.hooklib.asm.HookInjectorClassVisitor.visitMethod(HookInjectorClassVisitor.java:37)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at org.objectweb.asm.ClassReader.b(Unknown Source)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at org.objectweb.asm.ClassReader.accept(Unknown Source)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at org.objectweb.asm.ClassReader.accept(Unknown Source)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at gloomyfolken.hooklib.asm.HookClassTransformer.transform(HookClassTransformer.java:57)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at gloomyfolken.hooklib.minecraft.MinecraftClassTransformer.transform(MinecraftClassTransformer.java:65)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:285)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.block.Block.func_149671_p(Block.java:257)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.init.Bootstrap.func_151354_b(Bootstrap.java:714)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1622)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at java.lang.reflect.Method.invoke(Method.java:498)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at java.lang.reflect.Method.invoke(Method.java:498)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:43)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at pro.gravit.launcher.server.ServerWrapper.run(ServerWrapper.java:195)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at pro.gravit.launcher.server.ServerWrapper.main(ServerWrapper.java:65)
[23:10:01] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:warning:25]: [WARNING] Can not find target method of hook AsmHook: net.minecraft.block.BlockTNT#func_150114_a(Lnet/minecraft/world/World;IIIILnet/minecraft/entity/EntityLivingBase;) -> gloomyfolken.hooklib.example.AnnotationHooks#func_150114_a(Lnet/minecraft/block/BlockTNT;Lnet/minecraft/world/World;IIIILnet/minecraft/entity/EntityLivingBase;)V, ReturnCondition=ALWAYS, ReturnValue=VOID, InjectorFactory: gloomyfolken.hooklib.asm.HookInjectorFactory$MethodEnter, CreateMethod = false
[23:10:01] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:warning:25]: [WARNING] Can not find target method of hook AsmHook: net.minecraft.block.BlockTNT#onBlockActivated(Lnet/minecraft/world/World;IIILnet/minecraft/entity/player/EntityPlayer;IFFF) -> gloomyfolken.hooklib.example.AnnotationHooks#onBlockActivated(Lnet/minecraft/block/BlockTNT;Lnet/minecraft/world/World;IIILnet/minecraft/entity/player/EntityPlayer;IFFF)Z, ReturnCondition=ALWAYS, ReturnValue=HOOK_RETURN_VALUE, InjectorFactory: gloomyfolken.hooklib.asm.HookInjectorFactory$MethodEnter, CreateMethod = false
[23:10:01] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:20]: [DEBUG] Injecting hooks into class net.minecraft.block.BlockSnow
[23:10:01] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:severe:30]: [SEVERE] A problem has occurred during transformation of class net.minecraft.block.BlockSnow.
[23:10:01] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:severe:30]: [SEVERE] Attached hooks:
[23:10:01] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:severe:30]: [SEVERE] AsmHook: net.minecraft.block.BlockSnow#getCollisionBoundingBoxFromPool(Lnet/minecraft/world/World;III) -> gloomyfolken.hooklib.example.AnnotationHooks#getCollisionBoundingBoxFromPool(Lnet/minecraft/block/BlockSnow;Lnet/minecraft/world/World;III)Lnet/minecraft/util/AxisAlignedBB;, ReturnCondition=ALWAYS, ReturnValue=HOOK_RETURN_VALUE, InjectorFactory: gloomyfolken.hooklib.asm.HookInjectorFactory$MethodEnter, CreateMethod = false
[23:10:01] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:severe:30]: [SEVERE] Stack trace:
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]: java.lang.NullPointerException
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at gloomyfolken.hooklib.minecraft.MinecraftClassTransformer$1.isTargetMethod(MinecraftClassTransformer.java:78)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at gloomyfolken.hooklib.asm.HookInjectorClassVisitor.visitMethod(HookInjectorClassVisitor.java:37)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at org.objectweb.asm.ClassReader.b(Unknown Source)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at org.objectweb.asm.ClassReader.accept(Unknown Source)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at org.objectweb.asm.ClassReader.accept(Unknown Source)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at gloomyfolken.hooklib.asm.HookClassTransformer.transform(HookClassTransformer.java:57)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at gloomyfolken.hooklib.minecraft.MinecraftClassTransformer.transform(MinecraftClassTransformer.java:65)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:285)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.block.Block.func_149671_p(Block.java:290)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.init.Bootstrap.func_151354_b(Bootstrap.java:714)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1622)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at java.lang.reflect.Method.invoke(Method.java:498)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at java.lang.reflect.Method.invoke(Method.java:498)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:43)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at pro.gravit.launcher.server.ServerWrapper.run(ServerWrapper.java:195)
[23:10:01] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at pro.gravit.launcher.server.ServerWrapper.main(ServerWrapper.java:65)
[23:10:01] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:warning:25]: [WARNING] Can not find target method of hook AsmHook: net.minecraft.block.BlockSnow#getCollisionBoundingBoxFromPool(Lnet/minecraft/world/World;III) -> gloomyfolken.hooklib.example.AnnotationHooks#getCollisionBoundingBoxFromPool(Lnet/minecraft/block/BlockSnow;Lnet/minecraft/world/World;III)Lnet/minecraft/util/AxisAlignedBB;, ReturnCondition=ALWAYS, ReturnValue=HOOK_RETURN_VALUE, InjectorFactory: gloomyfolken.hooklib.asm.HookInjectorFactory$MethodEnter, CreateMethod = false
[23:10:02] [Server thread/INFO]: Starting minecraft server version 1.7.10
Я использую ядро Thermos
Как я понял у меня проблема в мапингах
Если кому-то не сложно, можно кинуть готовые мапинги под обычный майн и так под Thermos ну или хоть темку где можно почитать как их сделать самому и как их правильно юзать
Ибо вроде в обычном майне и в термосе мапинги разные
 
Сообщения
2,974
Лучшие ответы
190
Реакции
567
Так в теме с хуками расписано как сделать их
 
Сообщения
138
Лучшие ответы
3
Реакции
25
Спасибо, не сразу увидел, спрятали почти в конец)
 
Сверху