Jump to content

Albic

Members
  • Posts

    5
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Albic's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I tried to change it. It did not work for me. Also the assets are in the zip folder, as well as the code and the mcinfo file.
  2. Here I am again... I hate the new 1.6.2 thing... Just messing up everything. Now my code is working, but the textures are not loaded. what am I doing wrong In the mcp folder everything workes just fine. private static final ResourceLocation INTERFACE = new ResourceLocation("spellcraftgaming:/rpghud/interface.png"); private static final ResourceLocation DAMAGE = new ResourceLocation("spellcraftgaming:/rpghud/damage.png"); the textures are found at: "RPG-Hud.zip/assets/spellcraftgaming/rpghud/interface.png" and "RPG-Hud.zip/assets/spellcraftgaming/rpghud/damage.png" it it's valid he code is found at "RPG-Hud.zip/net/spellcraftgaming/rpghud/CLASSES" where am I suppose to put the assets in or am I messing up something with the direction or namespaces again?
  3. I created a mod for 1.6.2 and zipped it like this (in eclipse the mod worked fine): RPG-HUD 1.1.zip included are the assets ("assets/rpghud/damage.png" and "assets/rpghud/interface.png"), the src files: "minecraft/net/spellcraftgaming/rpghud/GuiIngameRPG" and "minecraft/net/spellcraftgaming/rpghud/RPGHud". Here is the error code: ---- Minecraft Crash Report ---- // Don't be sad. I'll do better next time, I promise! Time: 17.07.13 00:19 Description: There was a severe problem during mod loading that has caused the game to fail cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: net.spellcraftgaming.rpghud.RPGHud at cpw.mods.fml.common.LoadController.transition(LoadController.java:149) at cpw.mods.fml.common.Loader.loadMods(Loader.java:520) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:182) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:470) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796) at net.minecraft.client.main.Main.main(SourceFile:101) 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 net.minecraft.launchwrapper.Launch.launch(Launch.java:57) at net.minecraft.launchwrapper.Launch.main(Launch.java:18) Caused by: java.lang.ClassNotFoundException: net.spellcraftgaming.rpghud.RPGHud at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:179) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:58) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:457) 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:313) 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.sendEventToModContainer(LoadController.java:194) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174) 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:313) 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:105) at cpw.mods.fml.common.Loader.loadMods(Loader.java:510) ... 10 more Caused by: java.lang.NullPointerException at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:171) ... 38 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.6.2 Operating System: Windows 7 (x86) version 6.1 Java Version: 1.7.0_25, Oracle Corporation Java VM Version: Java HotSpot(TM) Client VM (mixed mode, sharing), Oracle Corporation Memory: 10043144 bytes (9 MB) / 79413248 bytes (75 MB) up to 518979584 bytes (494 MB) JVM Flags: 1 total; -Xmx512M 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 v8.04 FML v6.2.30.794 Minecraft Forge 9.10.0.794 4 mods loaded, 4 mods active mcp{8.04} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed FML{6.2.30.794} [Forge Mod Loader] (coremods) Unloaded->Constructed Forge{9.10.0.794} [Minecraft Forge] (coremods) Unloaded->Constructed rpghud{1.1} [rpghud] (RPG-HUD 1.1.zip) Unloaded->Errored I don't know why it does not work properly...
  4. Hey there. I've a big problem that I can't solve by myself: I have a gui that lets the player choose from 3 start item packs. But now the problem. Guis are only clientside. How can I tell the server that it should set the integer for the itempack from 0 to 1,2 or 3? I let it display it and the normal way it switches between 0 and one of those every moment. I hope you can help me! I believe there is an easy way, but I can't figure it out by myself =( Regards Albic
×
×
  • Create New...

Important Information

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