Jump to content

Recommended Posts

 Ich versuche einen 1.8.8 Hack Client zu programmieren und habe mir dazu einiges angesehen. Ich weiß nun also wie alles funktioniert was ich brauch. Leider ist die MCP Version 1.8.8 sehr veraltet und benutzt eine ewig alte Java Version. Um dieses Problem bin ich herumgekommen indem ich die mcp.cfg datei bearbeited habe. das funktionert nun auch. Das problem ist, das ich nun einen Error beim Recompilen bekomme. Dieser hier:

== MCP 9.18 (data: 9.18, client: 1.8.8, server: 1.8.8) ==
"scalac" is not found on the PATH.  Scala files will not be recompiled
== Recompiling client ==
> Cleaning bin
> Recompiling
'"javac" -Xlint:-options -deprecation -g -source 1.8 -target 1.8 -classpath "jars\versions\1.8.8\1.8.8.jar;lib;lib\*;jars\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;jars\libraries\org\lwjgl\lwjgl\lwjgl-platform\2.9.4-nightly-20150209\lwjgl-platform-2.9.4-nightly-20150209-natives-windows.jar;jars\libraries\com\ibm\icu\icu4j-core-mojang\51.2\icu4j-core-mojang-51.2.jar;jars\libraries\tv\twitch\twitch-external-platform\4.5\twitch-external-platform-4.5-natives-windows-64.jar;jars\libraries\org\apache\httpcomponents\httpcore\4.3.2\httpcore-4.3.2.jar;jars\libraries\org\apache\logging\log4j\log4j-api\2.0-beta9\log4j-api-2.0-beta9.jar;jars\libraries\org\apache\commons\commons-lang3\3.3.2\commons-lang3-3.3.2.jar;jars\libraries\net\java\dev\jna\jna\3.4.0\jna-3.4.0.jar;jars\libraries\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.jar;jars\libraries\net\sf\jopt-simple\jopt-simple\4.6\jopt-simple-4.6.jar;jars\libraries\com\google\guava\guava\17.0\guava-17.0.jar;jars\libraries\oshi-project\oshi-core\1.1\oshi-core-1.1.jar;jars\libraries\org\apache\httpcomponents\httpclient\4.3.3\httpclient-4.3.3.jar;jars\libraries\org\apache\commons\commons-compress\1.8.1\commons-compress-1.8.1.jar;jars\libraries\net\java\dev\jna\platform\3.4.0\platform-3.4.0.jar;jars\libraries\com\paulscode\codecjorbis\20101023\codecjorbis-20101023.jar;jars\libraries\com\paulscode\soundsystem\20120107\soundsystem-20120107.jar;jars\libraries\com\paulscode\librarylwjglopenal\20100824\librarylwjglopenal-20100824.jar;jars\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.4-nightly-20150209\lwjgl_util-2.9.4-nightly-20150209.jar;jars\libraries\commons-codec\commons-codec\1.9\commons-codec-1.9.jar;jars\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;jars\libraries\commons-logging\commons-logging\1.1.3\commons-logging-1.1.3.jar;jars\libraries\org\lwjgl\lwjgl\lwjgl\2.9.4-nightly-20150209\lwjgl-2.9.4-nightly-20150209.jar;jars\libraries\commons-io\commons-io\2.4\commons-io-2.4.jar;jars\libraries\com\mojang\realms\1.7.39\realms-1.7.39.jar;jars\libraries\com\mojang\authlib\1.5.21\authlib-1.5.21.jar;jars\libraries\com\google\code\gson\gson\2.2.4\gson-2.2.4.jar;jars\libraries\com\mojang\netty\1.6\netty-1.6.jar;jars\libraries\tv\twitch\twitch\6.5\twitch-6.5.jar;jars\libraries\com\paulscode\codecwav\20101023\codecwav-20101023.jar;jars\libraries\tv\twitch\twitch-platform\6.5\twitch-platform-6.5-natives-windows-64.jar;jars\libraries\net\java\jinput\jinput-platform\2.0.5\jinput-platform-2.0.5-natives-windows.jar;jars\libraries\org\apache\logging\log4j\log4j-core\2.0-beta9\log4j-core-2.0-beta9.jar;jars\libraries\io\netty\netty-all\4.0.23.Final\netty-all-4.0.23.Final.jar" -sourcepath src\minecraft -d bin\minecraft @temp\java_src_client.txt' failed : 1

== ERRORS FOUND in JAVA CODE ==

src\minecraft\net\minecraft\tileentity\TileEntity.java:108: warning: [deprecation] newInstance() in Class has been deprecated
                tileentity = (TileEntity)oclass.newInstance();
                                               ^

  where T is a type-variable:
    T extends Object declared in class Class
src\minecraft\net\minecraft\network\EnumConnectionState.java:291: warning: [deprecation] newInstance() in Class has been deprecated
        return oclass == null ? null : (Packet)oclass.newInstance();
                                                     ^

  where T is a type-variable:
    T extends Object declared in class Class
src\minecraft\net\minecraft\network\EnumConnectionState.java:332: warning: [deprecation] newInstance() in Class has been deprecated
                        oclass.newInstance();
                              ^

  where T is a type-variable:
    T extends Object declared in class Class
src\minecraft\net\minecraft\entity\item\EntityMinecart.java:97: warning: [deprecation] Integer(int) in Integer has been deprecated
        this.dataWatcher.addObject(17, new Integer(0));
                                       ^

src\minecraft\net\minecraft\entity\item\EntityMinecart.java:98: warning: [deprecation] Integer(int) in Integer has been deprecated
        this.dataWatcher.addObject(18, new Integer(1));
                                       ^

src\minecraft\net\minecraft\entity\item\EntityMinecart.java:99: warning: [deprecation] Float(float) in Float has been deprecated
        this.dataWatcher.addObject(19, new Float(0.0F));
                                       ^

src\minecraft\net\minecraft\entity\item\EntityMinecart.java:100: warning: [deprecation] Integer(int) in Integer has been deprecated
        this.dataWatcher.addObject(20, new Integer(0));
                                       ^

src\minecraft\net\minecraft\entity\item\EntityMinecart.java:101: warning: [deprecation] Integer(int) in Integer has been deprecated
        this.dataWatcher.addObject(21, new Integer(6));
                                       ^

src\minecraft\net\minecraft\client\network\LanServerDetector.java:114: warning: [deprecation] joinGroup(InetAddress) in MulticastSocket has been deprecated
            this.socket.joinGroup(this.broadcastAddress);
                       ^

src\minecraft\net\minecraft\client\network\LanServerDetector.java:146: warning: [deprecation] leaveGroup(InetAddress) in MulticastSocket has been deprecated
                this.socket.leaveGroup(this.broadcastAddress);
                           ^

src\minecraft\net\minecraft\entity\passive\EntityBat.java:29: warning: [deprecation] Byte(byte) in Byte has been deprecated
        this.dataWatcher.addObject(16, new Byte((byte)0));
                                       ^

src\minecraft\net\minecraft\entity\monster\EntityBlaze.java:55: warning: [deprecation] Byte(byte) in Byte has been deprecated
        this.dataWatcher.addObject(16, new Byte((byte)0));
                                       ^

src\minecraft\net\minecraft\entity\item\EntityBoat.java:56: warning: [deprecation] Integer(int) in Integer has been deprecated
        this.dataWatcher.addObject(17, new Integer(0));
                                       ^

src\minecraft\net\minecraft\entity\item\EntityBoat.java:57: warning: [deprecation] Integer(int) in Integer has been deprecated
        this.dataWatcher.addObject(18, new Integer(1));
                                       ^

src\minecraft\net\minecraft\entity\item\EntityBoat.java:58: warning: [deprecation] Float(float) in Float has been deprecated
        this.dataWatcher.addObject(19, new Float(0.0F));
                                       ^

src\minecraft\net\minecraft\entity\monster\EntitySpider.java:67: warning: [deprecation] Byte(byte) in Byte has been deprecated
        this.dataWatcher.addObject(16, new Byte((byte)0));
                                       ^

src\minecraft\net\minecraft\entity\monster\EntityEnderman.java:84: warning: [deprecation] Short(short) in Short has been deprecated
        this.dataWatcher.addObject(16, new Short((short)0));
                                       ^

src\minecraft\net\minecraft\entity\monster\EntityEnderman.java:85: warning: [deprecation] Byte(byte) in Byte has been deprecated
        this.dataWatcher.addObject(17, new Byte((byte)0));
                                       ^

src\minecraft\net\minecraft\entity\monster\EntityEnderman.java:86: warning: [deprecation] Byte(byte) in Byte has been deprecated
        this.dataWatcher.addObject(18, new Byte((byte)0));
                                       ^

src\minecraft\net\minecraft\entity\passive\EntityWolf.java:131: warning: [deprecation] Float(float) in Float has been deprecated
        this.dataWatcher.addObject(18, new Float(this.getHealth()));
                                       ^

src\minecraft\net\minecraft\entity\passive\EntityWolf.java:132: warning: [deprecation] Byte(byte) in Byte has been deprecated
        this.dataWatcher.addObject(19, new Byte((byte)0));
                                       ^

src\minecraft\net\minecraft\entity\passive\EntityWolf.java:133: warning: [deprecation] Byte(byte) in Byte has been deprecated
        this.dataWatcher.addObject(20, new Byte((byte)EnumDyeColor.RED.getMetadata()));
                                       ^

src\minecraft\net\minecraft\entity\passive\EntitySheep.java:111: warning: [deprecation] Byte(byte) in Byte has been deprecated
        this.dataWatcher.addObject(16, new Byte((byte)0));
                                       ^

src\minecraft\net\minecraft\entity\monster\EntitySkeleton.java:76: warning: [deprecation] Byte(byte) in Byte has been deprecated
        this.dataWatcher.addObject(13, new Byte((byte)0));
                                       ^

src\minecraft\net\minecraft\entity\boss\EntityWither.java:79: warning: [deprecation] Integer(int) in Integer has been deprecated
        this.dataWatcher.addObject(17, new Integer(0));
                                       ^

src\minecraft\net\minecraft\entity\boss\EntityWither.java:80: warning: [deprecation] Integer(int) in Integer has been deprecated
        this.dataWatcher.addObject(18, new Integer(0));
                                       ^

src\minecraft\net\minecraft\entity\boss\EntityWither.java:81: warning: [deprecation] Integer(int) in Integer has been deprecated
        this.dataWatcher.addObject(19, new Integer(0));
                                       ^

src\minecraft\net\minecraft\entity\boss\EntityWither.java:82: warning: [deprecation] Integer(int) in Integer has been deprecated
        this.dataWatcher.addObject(20, new Integer(0));
                                       ^

src\minecraft\net\minecraft\client\resources\FallbackResourceManager.java:122: warning: [deprecation] finalize() in Object has been deprecated
        protected void finalize() throws Throwable
                       ^

src\minecraft\net\minecraft\client\resources\FallbackResourceManager.java:129: warning: [deprecation] finalize() in Object has been deprecated
            super.finalize();
                 ^

src\minecraft\net\minecraft\client\resources\FileResourcePack.java:108: warning: [deprecation] finalize() in Object has been deprecated
    protected void finalize() throws Throwable
                   ^

src\minecraft\net\minecraft\client\resources\FileResourcePack.java:111: warning: [deprecation] finalize() in Object has been deprecated
        super.finalize();
             ^

src\minecraft\net\minecraft\entity\item\EntityMinecartFurnace.java:41: warning: [deprecation] Byte(byte) in Byte has been deprecated
        this.dataWatcher.addObject(16, new Byte((byte)0));
                                       ^

src\minecraft\net\minecraft\util\Cartesian.java:73: error: incompatible types: Iterator<Object[]> cannot be converted to Iterator<T[]>
            return (Iterator<T[]>)(this.iterables.length <= 0 ? Collections.singletonList((Object[])Cartesian.createArray(this.clazz, 0)).iterator() : new Cartesian.Product.ProductIterator(this.clazz, this.iterables));
                                  ^

  where T is a type-variable:
    T extends Object declared in class Product
src\minecraft\net\minecraft\world\gen\structure\MapGenStructureIO.java:50: warning: [deprecation] newInstance() in Class has been deprecated
                structurestart = (StructureStart)oclass.newInstance();
                                                       ^

  where T is a type-variable:
    T extends Object declared in class Class
src\minecraft\net\minecraft\world\gen\structure\MapGenStructureIO.java:81: warning: [deprecation] newInstance() in Class has been deprecated
                structurecomponent = (StructureComponent)oclass.newInstance();
                                                               ^

  where T is a type-variable:
    T extends Object declared in class Class
1 error
35 warnings
==================

Client recompile failed, correct source then rerun updatemd5
!! Can not find server sources, try decompiling !!

 

 

Ich habe nach ewigem googlen nur eine Lösung dazu gefunden: zu einer alten Javaversion zurückgehen. Das ist natürlich keine gute Lösung da ich die aktuelle Version für andere Dinge benötige. Hat Jemand eine Idee was ich tun könnte?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...
B