Jump to content

The_cool

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by The_cool

  1. Thanks! And this is the line of code public void sendPacketwithID(byte[] var1) { ArrayList var2 = new ArrayList(); int var3 = Integer.valueOf(this.entityId).intValue(); var2.add(Byte.valueOf((byte)0)); var2.add(Byte.valueOf((byte)(var3 & 255))); var2.add(Byte.valueOf((byte)(var3 >> 8 & 255))); var2.add(Byte.valueOf((byte)(var3 >> 16 & 255))); var2.add(Byte.valueOf((byte)(var3 >> 24 & 255))); byte[] var7 = var1; int var8 = var1.length; for (int var9 = 0; var9 < var8; ++var9) { byte var10 = var7[var9]; var2.add(Byte.valueOf(var10)); } var7 = new byte[var2.size()]; for (var8 = 0; var8 < var2.size(); ++var8) { var7[var8] = ((Byte)var2.get(var8)).byteValue(); } Packet250CustomPayload packet = new Packet250CustomPayload("Cars", var7); }
  2. In mod loader you have this code: ModLoader.clientSendPacket(new Packet250CustomPayload("Cars", var7)); But what do i use in Minecraft Forge??
  3. .. Will test
  4. That post do not help
  5. Hi. I have a problem when updating to 1.5.1. When i debug it works but when i recompile and after that reobfuscate the mod, put the mod in mods, a .zip file.. I'm getting a error. ====ERROR==== ---- Minecraft Crash Report ---- // Ouch. That hurt Time: 2013-03-31 13:20 Description: Failed to start game cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: MoreGems/GemFurnace/TileEntityGemFurnace at cpw.mods.fml.common.LoadController.transition(LoadController.java:142) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:690) at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:206) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:444) at net.minecraft.client.MinecraftAppletImpl.func_71384_a(SourceFile:56) at net.minecraft.client.Minecraft.run(Minecraft.java:729) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: MoreGems/GemFurnace/TileEntityGemFurnace at MoreGems.MoreGems.load(MoreGems.java:434) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:689) ... 5 more Caused by: java.lang.ClassNotFoundException: MoreGems.GemFurnace.TileEntityGemFurnace at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:211) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 31 more Caused by: java.lang.ClassFormatError: Duplicate method name&signature in class file MoreGems/GemFurnace/TileEntityGemFurnace at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:200) ... 33 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.5.1 Operating System: Windows 8 (amd64) version 6.2 Java Version: 1.7.0_15, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 231799896 bytes (221 MB) / 359202816 bytes (342 MB) up to 954466304 bytes (910 MB) JVM Flags: 1 total; -Xmx1024m AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Suspicious classes: FML and Forge are installed IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v7.44 FML v5.1.8.611 Minecraft Forge 7.7.1.611 Optifine OptiFine_1.5.1_HD_B1 15 mods loaded, 15 mods active mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized CodeChickenCore [CodeChicken Core] (coremods) Unloaded->Constructed->Pre-initialized->Initialized NotEnoughItems [Not Enough Items] (coremods) Unloaded->Constructed->Pre-initialized->Initialized DynamicLights [Dynamic Lights] (Dynamic Lights.jar) Unloaded->Constructed->Pre-initialized->Initialized DynamicLights_onFire [Dynamic Lights on burning] (Dynamic Lights.jar) Unloaded->Constructed->Pre-initialized->Initialized DynamicLights_creepers [Dynamic Lights on Creepers] (Dynamic Lights.jar) Unloaded->Constructed->Pre-initialized->Initialized DynamicLights_dropItems [Dynamic Lights on ItemEntities] (Dynamic Lights.jar) Unloaded->Constructed->Pre-initialized->Initialized DynamicLights_flameArrows [Dynamic Lights on Flame enchanted Arrows] (Dynamic Lights.jar) Unloaded->Constructed->Pre-initialized->Initialized DynamicLights_otherPlayers [Dynamic Lights Other Player Light] (Dynamic Lights.jar) Unloaded->Constructed->Pre-initialized->Initialized DynamicLights_thePlayer [Dynamic Lights Player Light] (Dynamic Lights.jar) Unloaded->Constructed->Pre-initialized->Initialized mod_MAtmos [mod_MAtmos] (Matmos.zip) Unloaded->Constructed->Pre-initialized->Initialized MoreGems [More Gems Mod] (More Gems Mod V.2.0.4.zip) Unloaded->Constructed->Pre-initialized->Errored AS_UpdateCheck [AtomicStryker Update Check Mod] (Update Checker Mod.zip) Unloaded->Constructed->Pre-initialized->Initialized LWJGL: 2.8.5 OpenGL: GeForce 315/PCIe/SSE2 GL version 3.3.0, NVIDIA Corporation Is Modded: Definitely; Client brand changed to 'forge,fml' Type: Client (map_client.txt) Texture Pack: New.zip Profiler Position: N/A (disabled) Vec3 Pool Size: ~~ERROR~~ NullPointerException: null ===== Why?? On line On line 431 it says: GemFurnaceIdle = new BlockFurnaceGem(GemFurnaceIdleID, false).setUnlocalizedName("GemFurnaceIdle").setCreativeTab(MoreGems.CreativeTab); on line 432 it says: GemFurnaceActive = new BlockFurnaceGem(GemFurnaceActiveID, true).setUnlocalizedName("GemFurnaceActive");
×
×
  • Create New...

Important Information

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