Jump to content

ezres

Members
  • Posts

    6
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

ezres's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. The server is running on 1.6.4, because some mods we are using are not being updated to 1.7 or above, so I have to stick at 1.6.4.
  2. Hey, I've made my first mod, and I'd like to ask a question. I've read in a page, that loading from en_US.lang which is in the assets/modname/lang folder, is done by using I18N.getString("name.of.text"), which should produce "test", if the lang file contains "name.of.text=test". However, it's not working for me. I'm trying to display this text in a GUI, by adding a centered string to it, but nothing appears. Do I have to register my lang files anywhere in an initialization event? I'm already loading a block's name from it and it's working like a charm, but not with GUI elements. Here's how I try it in the initGui method: this.buttonList.add(this.done = new GuiButton(0,this.width/2 - 110, this.height/4+30,90,20,I18N.getString("testgui.okbutton"))); And I have 2 lang files, an english and a hungarian. Both of them contains "testgui.okbutton=OK", but neither of them loads - yes, I tried to change language ingame to see if that's the problem, but still no luck.
  3. I can't find any. What I've found are all outdated craps, including the ones on youtube and most of google's search results are useless too. I've just came to start modding from writing Bukkit plugins, and some start would be really useful.
  4. That was the question. Thank you for your really useful answer.
  5. I'm trying to run forge 1.7.2 from command line, and I get the error saying I have missed the version option. However, I have defined it, it looks like this: @/c java -XX:MaxPermSize=256m -Xms1324M -Xmx1961M -Djava.library.path="%APPDATA%\.ssmc\versions\Classic\Natives" -cp "%APPDATA%\.ssmc\lib\*;%APPDATA%\.ssmc\versions\Classic\Classic.jar;" net.minecraft.client.main.Main --session (Default) --username --version 1.7.2 --assetIndex 1.7.2 --assetsDir "%APPDATA%\.ssmc\assets" --gameDir "%APPDATA%\.ssmc" --accessToken (Default)
  6. Hi there, I'm trying to run forge 1.7.10 from command line. I've copied all of the required libraries to a single folder, and I'm using the following code to start it: java -Xmx3000m -Djava.library.path=%APPDATA%\.minecraft\versions\1.7.10-Forge10.13.2.1291\1.7.10-Forge10.13.2.1291.jar -cp %APPDATA%\.ssmc\lib\* net.minecraft.launchwrapper.Launch --session (Default) --username testuser --tweakClass cpw.mods.fml.common.launcher.FMLTweaker --version 1.7.10 --assetsDir %APPDATA%\.minecraft\assets\ --gameDir %APPDATA%\.minecraft --accessToken (Default) --assetIndex 1.7.10 --uuid However, it starts to load the tweak class, but I'm getting the following error: [18:17:58] [main/DEBUG] [FML/]: Runtime patching class ahu (input size 0), found 1 patch [18:17:58] [main/ERROR] [LaunchWrapper/]: Unable to launch java.lang.RuntimeException: java.lang.NullPointerException at cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper.injectIntoClassLoader(CoreModManager.java:130) ~[forge-1.7.10-10.13.2.1291.jar:?] at net.minecraft.launchwrapper.Launch.launch(Launch.java:115) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] Caused by: java.lang.NullPointerException at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:192) ~[guava-15.0.jar:?] at com.google.common.hash.AbstractByteHasher.putBytes(AbstractByteHasher.java:69) ~[guava-15.0.jar:?] at com.google.common.hash.AbstractStreamingHashFunction.hashBytes(AbstractStreamingHashFunction.java:65) ~[guava-15.0.jar:?] at cpw.mods.fml.common.patcher.ClassPatchManager.applyPatch(ClassPatchManager.java:95) ~[forge-1.7.10-10.13.2.1291.jar:?] at cpw.mods.fml.common.patcher.ClassPatchManager.getPatchedResource(ClassPatchManager.java:60) ~[forge-1.7.10-10.13.2.1291.jar:?] at cpw.mods.fml.common.asm.transformers.deobf.FMLDeobfuscatingRemapper.getFieldType(FMLDeobfuscatingRemapper.java:193) ~[forge-1.7.10-10.13.2.1291.jar:?] at cpw.mods.fml.common.asm.transformers.deobf.FMLDeobfuscatingRemapper.parseField(FMLDeobfuscatingRemapper.java:170) ~[forge-1.7.10-10.13.2.1291.jar:?] at cpw.mods.fml.common.asm.transformers.deobf.FMLDeobfuscatingRemapper.setup(FMLDeobfuscatingRemapper.java:139) ~[forge-1.7.10-10.13.2.1291.jar:?] at cpw.mods.fml.common.asm.FMLSanityChecker.injectData(FMLSanityChecker.java:182) ~[forge-1.7.10-10.13.2.1291.jar:?] at cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper.injectIntoClassLoader(CoreModManager.java:125) ~[forge-1.7.10-10.13.2.1291.jar:?] ... 2 more I've checked it on google, and also in the forum too, and found out that I should delete every mod unrelated to this version, but the problem is that it's a clean install, the mods folder is empty. I've tried it with java8 and java7 too, with legacy java fixer and without it, but I have no idea for now. Anyone can help? EDIT: Fixed it. Cause of the problem was I messed up locations of libs and other paths.
×
×
  • Create New...

Important Information

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