Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Can't use JRebel with forge 1.7.10.


ConsoleHack000
 Share

Recommended Posts

So ok guys the title describes the main part of the problem. I am using intellij to mod. I installed JRebel Social 6.4.7 and the jrebel minecraft plugin. The problem MIGHT be the thing that I am using 1.7.10. So when I click "Run with JRebel" it launches but it crashes.

Stacktrace:

JRebel: Starting logging to file: C:\Users\DeLL\.jrebel\jrebel.log
2016-08-06 10:19:59 JRebel: Directory 'E:\Games\MC\Modding\ltstf\src\main\resources' will be monitored for changes.
2016-08-06 10:19:59 JRebel: Directory 'E:\Games\MC\Modding\ltstf\out' will be monitored for changes.
2016-08-06 10:20:00 JRebel: Contacting myJRebel server ..
2016-08-06 10:20:02 JRebel:  
2016-08-06 10:20:02 JRebel:  #############################################################
2016-08-06 10:20:02 JRebel:  
2016-08-06 10:20:02 JRebel:  JRebel Legacy Agent 6.4.7 (201607271052)
2016-08-06 10:20:02 JRebel:  (c) Copyright ZeroTurnaround AS, Estonia, Tartu.
2016-08-06 10:20:02 JRebel:  
2016-08-06 10:20:02 JRebel:  Over the last 1 days JRebel prevented
2016-08-06 10:20:02 JRebel:  at least 0 redeploys/restarts saving you about 0 hours.
2016-08-06 10:20:02 JRebel:  
2016-08-06 10:20:02 JRebel:  Licensed to Areg Hovhannisyan (using myJRebel).
2016-08-06 10:20:02 JRebel:  
2016-08-06 10:20:02 JRebel:  
2016-08-06 10:20:02 JRebel:  #############################################################
2016-08-06 10:20:02 JRebel:  
[10:20:02] [main/INFO] [GradleStart]: Extra: []
[10:20:02] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/DeLL/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[10:20:03] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[10:20:03] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[10:20:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[10:20:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[10:20:03] [main/INFO] [FML]: Forge Mod Loader version 7.99.36.1558 for Minecraft 1.7.10 loading
[10:20:03] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_31, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jdk1.8.0_31\jre
[10:20:03] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[10:20:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[10:20:03] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
[10:20:03] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[10:20:03] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[10:20:03] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[10:20:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[10:20:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[10:20:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[10:20:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[10:20:03] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[10:20:06] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[10:20:06] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[10:20:06] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[10:20:07] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: java.lang.NoClassDefFoundError: com/zeroturnaround/javarebel/gen/RebelLocator$$1
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at net.minecraftforge.gradle.GradleStartCommon$AccessTransformerTransformer.<clinit>(Unknown Source)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at java.lang.Class.newInstance(Class.java:438)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at net.minecraft.launchwrapper.LaunchClassLoader.registerTransformer(LaunchClassLoader.java:88)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at net.minecraftforge.gradle.tweakers.AccessTransformerTweaker.injectIntoClassLoader(Unknown Source)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at net.minecraft.launchwrapper.Launch.launch(Launch.java:115)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at GradleStart.main(Unknown Source)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at java.lang.reflect.Method.invoke(Method.java:483)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: Caused by: java.lang.ClassNotFoundException: com.zeroturnaround.javarebel.gen.RebelLocator$$1
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    ... 16 more
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: Caused by: java.lang.NullPointerException
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:153)
[10:20:07] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]:    ... 18 more
Exception in thread "main" Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

Process finished with exit code 1

However, I can run minecraft client without JRebel normally. Just in case, here are gradlew.build and rebel.xml files:

 

buildscript {
    repositories {
        mavenCentral()
        maven {
            name = "forge"
            url = "http://files.minecraftforge.net/maven"
        }
        maven {
            name = "sonatype"
            url = "https://oss.sonatype.org/content/repositories/snapshots/"
        }
    }
    dependencies {
        classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
    }
}

apply plugin: 'forge'

version = "1.0"
group= "net.net23.aregsroom.ltstf" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "Lot'O'Stuff"

minecraft {
    version = "1.7.10-10.13.4.1558-1.7.10"
    runDir = "eclipse"
}


runClient {
    jvmArgs '-javaagent:C:/Users/DeLL/.IdeaIC2016/config/plugins/jr-ide-idea/lib/jrebel/jrebel.jar','-Xmx1g',
            '-Drebel.plugins=E:/Games/MC/Modding/ltstf/jr-minecraft-plugin.jar', 
            '-Drebel.minecraft.skip_reload_handlers=net.minecraft.client.audio.SoundHandler'
}


dependencies {
    // you may put jars on which you depend on in ./libs
    // or you may define them like so..
    //compile "some.group:artifact:version:classifier"
    //compile "some.group:artifact:version"
      
    // real examples
    //compile 'com.mod-buildcraft:buildcraft:6.0.8:dev'  // adds buildcraft to the dev env
    //compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env

    // for more info...
    // http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
    // http://www.gradle.org/docs/current/userguide/dependency_management.html

}

processResources
{
    // this will ensure that this task is redone when the versions change.
    inputs.property "version", project.version
    inputs.property "mcversion", project.minecraft.version

    // replace stuff in mcmod.info, nothing else
    from(sourceSets.main.resources.srcDirs) {
        include 'mcmod.info'
                
        // replace version and mcversion
        expand 'version':project.version, 'mcversion':project.minecraft.version
    }
        
    // copy everything else, thats not the mcmod.info
    from(sourceSets.main.resources.srcDirs) {
        exclude 'mcmod.info'
    }
}

 

and the rebel.xml file:

 

<?xml version="1.0" encoding="UTF-8"?>
<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.zeroturnaround.com" xsi:schemaLocation="http://www.zeroturnaround.com http://www.zeroturnaround.com/alderaan/rebel-2_0.xsd">
    <classpath>
        <dir name="E:\Games\MC\Modding\ltstf\src\main\resources">
        </dir>
        <dir name="E:\Games\MC\Modding\ltstf\out">
        </dir>
    </classpath>
</application>

Currently developing a mod called Lot'O'Stuff for 1.7.10 (I know very well its outdated.)

Link to comment
Share on other sites

Update to a supported version; the rules clearly state only the current Minecraft version is supported. 1.7.10 is old and lacks a lot of the stuff people have worked hard to put into the current releases.

 

If lazy devs haven't updated their mods that you want to use, shake their tree, or rewrite yourself for current Minecraft.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Im trying to make a moddes server with my friends but every single time we get same error https://pastebin.com/UP6P6YSd Is there a way to fix it? Thanks for solutions
    • Take a break, go for a walk. Then try again. 🙂
    • Where did you see that? Sorry if I am being a bother, it's just that I have been staring at this mod for a long time and I'm probably looking over a lot of things
    • Taking a look at AbstractContainerScreen.renderSlot() I got the following code: Method created in my AbstractContainerScreen class: private void renderCustomSlot(PoseStack poseStack,ItemStack itemstack,int x, int y) { boolean visible = true; boolean hover = false; this.setBlitOffset(100); this.itemRenderer.blitOffset = 100.0F; if (visible) { if (hover) { //Draw a rectangle behind the item fill(poseStack, x, y, x + 16, y + 16, -2130706433); } //Render item icon RenderSystem.enableDepthTest(); this.itemRenderer.renderAndDecorateItem(this.minecraft.player, itemstack, x, y, x + y * this.imageWidth); //Render item string count PoseStack posestack = new PoseStack(); if (itemstack.getCount() != 1) { String s = String.valueOf(itemstack.getCount()); posestack.translate(0.0D, 0.0D, itemRenderer.blitOffset + 200.0F); MultiBufferSource.BufferSource multibuffersource$buffersource = MultiBufferSource.immediate(Tesselator.getInstance().getBuilder()); /* float scale; if (s.length()<3){ scale=1f; }else if (s.length()<4){ scale = 0.75f; }else { scale=0.5f; s = s.substring(0,s.length()-3)+"k"; } float compensatingScale = 1/scale; float stringX = (x + 19f - 2 - font.width(s)*scale)*compensatingScale; float stringY =(y + 6f + 3)*compensatingScale; posestack.scale(scale,scale,scale); */ float stringX = (x + 19f - 2 - font.width(s)); float stringY =(y + 6f + 3); font.drawInBatch(s,stringX,stringY,16777215, true, posestack.last().pose(), multibuffersource$buffersource, false, 0, 15728880); //posestack.scale(compensatingScale,compensatingScale,compensatingScale); multibuffersource$buffersource.endBatch(); } } this.itemRenderer.blitOffset = 0.0F; this.setBlitOffset(0); } Now it works correctly: Thanks to warjort for the tip!
    • Hello, I am currently trying to get a forge server setup so I can play the Pixelmon mod with some friends on a private server and have run into some issues with launching my forge server file, I downloaded the forge 12.2.2-14.23.5.2859 installer, downloaded it into a folder on my desktop, ran the Mc server file, agreed to Eula, made a run.bat file to launch the forge server at 6GBs, and when I try launching I get this issue: Pixelmon Server>java -Xmx6144M -Xms6144M -jar forge-1.12.2-14.23.5.2859-universal.jar --nogui We appear to be missing one or more essential library files. You will need to add them to your server before FML and Forge will run successfully.java.lang.ClassNotFoundException: org.objectweb.asm.Type         at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:636)         at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:182)         at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519)         at java.base/java.lang.Class.forName0(Native Method)         at java.base/java.lang.Class.forName(Class.java:466)         at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:53)         at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34)   I've tried using another minecraft server jar file from a different source to see if that would solve anything but its still coming up with this issue. Any help is greatly appreciated, thanks for your help in advance.
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.