Jump to content

Gnoccy

Members
  • Posts

    7
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Gnoccy's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hey, At first I want to say that I'm not really sure if this is a Problem with Forge or MCP. Anyway, I hope I can find someone to help me When I try to recompile my Mod with the recompile.bat I get this output: == MCP 7.26 (data: 7.26, client: 1.4.7, server: 1.4. # found ff, ff patches, srgs, name csvs, doc csvs, p == Recompiling client == > Cleaning bin > Recompiling - Done in 8.83 seconds !! Can not find server sources, try decompiling !! If I try to start the Game afterwards with the startclient.bat it works perfectly. But if I try to reobfuscate with the reobfuscate.bat I get this Error: == MCP 7.26 (data: 7.26, client: 1.4.7, server: 1.4.7) == # found ff, ff patches, srgs, name csvs, doc csvs, param csvs, renumber csv, astyle, astyle config > Creating Retroguard config files == Reobfuscating client == > Cleaning reobf > Generating md5s > Packing jar > Reobfuscating jar > Extracting modified classes > New class found : <Mod>/<File1> > New class found : <Mod>/<File2> > New class found : <Mod>/<File3> > New class found : <Mod>/<File4> > New class found : <Mod>/<File5> * File <Mod>/<File1>.class failed extracting for <Mod>/<File1> * File <Mod>/<File2>.class failed extracting for <Mod>/<File2> * File <Mod>/<File3>.class failed extracting for <Mod>/<File3> * File <Mod>/<File4>.class failed extracting for <Mod>/<File4> * File <Mod>/<File5>.class failed extracting for <Mod>/<File5> - Done in 6.09 seconds !! Can not find server md5s !! What I've tried so far: - Google for the Problem - run recompile.bat (I guess this corrupts my Forge installation) - Reinstall MCP/Forge - Update JDK - Running recompile.bat/reobfuscate.bat on a diffrent Computer/OS - Clip out my modded Files, run updatemd5.bat, put my Files back in Nothing worked. Does anybody know the Problem and can help me? Sorry for my bad English I hope it's understandable
  2. I´ve got the same Problem. You have to use your own Teleporter Class, but i don´t know how to tell Minecraft wich Teleporter you want to use. With ModLoader there was a method like .usePortal(<ID>, <Teleporter>) where you could give your Teleporter as a Parameter, but i don´t know how this works with Forge. I hope this is understandable, my English is kinda bad. Edit: I think i´ve found a Solution: player.mcServer.getConfigurationManager().transferPlayerToDimension(ent, Infiniverse.dimID, new IVTeleporterBasic(wserv)); I´ll try it now.
  3. Edit: I think the WorldProvider was not what causes the Problem.Now I think it was the ChunkProvider. I've changed a few thinks and now I get this Error: 2 mods loaded Minecraft Forge 3.3.7.135 FML vnull.null.null.null Forge Mod Loader version null.null.null.null for Minecraft null mod_dim : Available (src) mod_MinecraftForge : Available (src) Minecraft has crashed! ---------------------- Minecraft has stopped running because it encountered a problem. --- BEGIN ERROR REPORT 699fbf70 -------- Generated 13.07.12 09:25 Minecraft: Minecraft 1.2.5 OS: Windows Vista (x86) version 6.0 Java: 1.7.0_05, Oracle Corporation VM: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation LWJGL: 2.4.2 OpenGL: GeForce GT 130M/PCI/SSE2 version 3.3.0, NVIDIA Corporation java.lang.NullPointerException at net.minecraft.src.PlayerControllerSP.onPlayerDestroyBlock(PlayerControllerSP.java:49) at net.minecraft.src.PlayerControllerSP.clickBlock(PlayerControllerSP.java:87) at net.minecraft.client.Minecraft.clickMouse(Minecraft.java:1351) at net.minecraft.client.Minecraft.runTick(Minecraft.java:1795) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:822) at net.minecraft.client.Minecraft.run(Minecraft.java:750) at java.lang.Thread.run(Thread.java:722) --- END ERROR REPORT fa404cdf ---------- The ChunkProvider now looks like this: package net.minecraft.src; import java.util.List; import java.util.Random; public class ChunkProviderLEO implements IChunkProvider { private World worldObj; private Random random; private final boolean useStructures; private MapGenVillage villageGen = new MapGenVillage(1); public ChunkProviderLEO(World par1World, long par2, boolean par4) { this.worldObj = par1World; this.useStructures = par4; this.random = new Random(par2); } private void generate(byte[] par1ArrayOfByte) { int var2 = par1ArrayOfByte.length / 256; for (int var3 = 0; var3 < 16; ++var3) { for (int var4 = 0; var4 < 16; ++var4) { for (int var5 = 0; var5 < var2; ++var5) { int var6 = 0; if (var5 == 0) { var6 = Block.bedrock.blockID; } else if (var5 <= 2) { var6 = Block.dirt.blockID; } else if (var5 == 3) { var6 = Block.grass.blockID; } par1ArrayOfByte[var3 << 11 | var4 << 7 | var5] = (byte)var6; } } } } public Chunk loadChunk(int par1, int par2) { return this.provideChunk(par1, par2); } public Chunk provideChunk(int par1, int par2) { byte[] var3 = new byte[32768]; this.generate(var3); Chunk var4 = new Chunk(this.worldObj, var3, par1, par2); BiomeGenBase[] var5 = this.worldObj.getWorldChunkManager().loadBlockGeneratorData((BiomeGenBase[])null, par1 * 16, par2 * 16, 16, 16); byte[] var6 = var4.getBiomeArray(); for (int var7 = 0; var7 < var6.length; ++var7) { var6[var7] = (byte)var5[var7].biomeID; } var4.generateSkylightMap(); return var4; } public boolean chunkExists(int par1, int par2) { return true; } public void populate(IChunkProvider par1IChunkProvider, int par2, int par3) { this.random.setSeed(this.worldObj.getSeed()); long var4 = this.random.nextLong() / 2L * 2L + 1L; long var6 = this.random.nextLong() / 2L * 2L + 1L; this.random.setSeed((long)par2 * var4 + (long)par3 * var6 ^ this.worldObj.getSeed()); } public boolean saveChunks(boolean par1, IProgressUpdate par2IProgressUpdate) { return true; } public boolean unload100OldestChunks() { return false; } public boolean canSave() { return true; } public String makeString() { return "LEOLevelSource"; } public List getPossibleCreatures(EnumCreatureType par1EnumCreatureType, int par2, int par3, int par4) { //BiomeGenBase var5 = this.worldObj.getBiomeGenForCoords(par2, par4); //return var5 == null ? null : var5.getSpawnableList(par1EnumCreatureType); return null; } public ChunkPosition findClosestStructure(World par1World, String par2Str, int par3, int par4, int par5) { return null; } } When I reenter the save I spawn in some Blocks, so I die after a few seconds. When I respawn I spawn so high over the ground, that I die by the falldamage. I think the Problem now is the Teleporter, but I can't find what causes the Problem, so could someone please help me? For the Teleporter´s Code look in the Spoiler above.
  4. Client: src\minecraft\net\minecraft\src\ModLoader.java:387: type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object return ReflectionHelper.getPrivateValue(instanceclass, instance, fieldindex); ^ src\minecraft\net\minecraft\src\ModLoader.java:401: type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object return ReflectionHelper.getPrivateValue(instanceclass, instance, field); ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 2 errors Server: src\minecraft_server\net\minecraft\src\ModLoader.java:371: type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object return ReflectionHelper.getPrivateValue(instanceclass, instance, fieldindex); ^ src\minecraft_server\net\minecraft\src\ModLoader.java:385: type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object return ReflectionHelper.getPrivateValue(instanceclass, instance, field); ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 2 errors
  5. Hey, at first I want to say, that my English isn't really god. I understand almost everything, but I have still some problems with talking English, so please excuse my language mistakes . My Problem is, that since i have installed Forge, I get an Error when I try to run the "startclient.bat" : [09:18:04] Exception in thread "main" java.lang.NoClassDefFoundError: net/minecraft/src/GuiScreen [09:18:04] at java.lang.Class.getDeclaredFields0(Native Method) [09:18:04] at java.lang.Class.privateGetDeclaredFields(Class.java:2291) [09:18:04] at java.lang.Class.getDeclaredField(Class.java:1880) [09:18:04] at Start.main(Start.java:12) [09:18:04] Caused by: java.lang.ClassNotFoundException: net.minecraft.src.GuiScreen [09:18:04] at java.net.URLClassLoader$1.run(URLClassLoader.java:202) [09:18:04] at java.security.AccessController.doPrivileged(Native Method) [09:18:04] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [09:18:04] at java.lang.ClassLoader.loadClass(ClassLoader.java:307) [09:18:04] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) [09:18:04] at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [09:18:04] ... 4 more '"C:\Program Files\Java\jdk1.6.0_21\bin\java" -Xincgc -Xms1024M -Xmx1024M -cp "..\bin\minecraft;..\li...' failed : 1 FATAL ERROR Traceback (most recent call last): File "runtime\startclient.py", line 30, in startclient File "D:\Spiele\mc\MCP\mcp62 Forge\runtime\commands.py", line 1064, in startclient self.runmc(forkcmd) File "D:\Spiele\mc\MCP\mcp62 Forge\runtime\commands.py", line 1104, in runmc raise CalledProcessError(process.returncode, forkcmd, output) CalledProcessError: Command '"C:\Program Files\Java\jdk1.6.0_21\bin\java" -Xincgc -Xms1024M -Xmx1024M -cp "..\bin\minecr aft;..\lib;..\lib\*;..\jars\bin\minecraft.jar;..\jars\bin\jinput.jar;..\jars\bin\lwjgl.jar;..\jars\bin\lwjgl_util.jar" - Djava.library.path=..\jars\bin\natives Start' returned non-zero exit status 1 As far as I understand it, the problem is, that the GuiScreen.java is missing, but I've checked that, its´defnitly there. I´ve got no idea what else could be the Problem, so could somone please help me?
×
×
  • Create New...

Important Information

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