Jump to content

gaga654

Members
  • Posts

    14
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

gaga654's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I have been trying to make a profile using a different game directory, but it seems to be ignoring that. It is still using the mods from the .minecraft\mods folder, and not the new folder. Also, if I set the game directory to be a folder called, say, my-directory, would I want to put my mods in that folder or in the my-directory\mods folder? (I have tried both and neither seem to work.)
  2. In eclipse, go to Run > Run Configurations... Under Client, go to the arguments tab, and under program arguments add the argument "--username [your username]" without the quotes, replacing [your username] with your minecraft username. I think that should work, although I'm not sure.
  3. Well, I managed to solve the problem. The solution was to add a blank line to the end of the MANIFEST.MF file...
  4. Okay, I tried making it into a jar file, but it is not acting any different from before.
  5. So I am experimenting with writing coremods, and I can't seem to figure out how to get it to run ingame after I've deobfuscated it. I have the following files: GenericLoadingPlugin.java: package gaga.generic; import java.util.Map; import cpw.mods.fml.relauncher.IFMLLoadingPlugin; public class GenericLoadingPlugin implements IFMLLoadingPlugin { @Override public String[] getLibraryRequestClass() { return null; } @Override public String[] getASMTransformerClass() { return new String[]{GenericClassTransformer.class.getName()}; } @Override public String getModContainerClass() { return GenericCore.class.getName(); } @Override public String getSetupClass() { return null; } @Override public void injectData(Map<String, Object> data) { } } GenericCore.java: package gaga.generic; import java.util.Arrays; import com.google.common.eventbus.EventBus; import cpw.mods.fml.common.DummyModContainer; import cpw.mods.fml.common.LoadController; import cpw.mods.fml.common.ModMetadata; public class GenericCore extends DummyModContainer { public GenericCore() { super(new ModMetadata()); ModMetadata md = getMetadata(); md.modId = "genericModCore"; md.name = "Generic mod Core"; md.version = "0.0.0"; md.credits = "Roll Credits ..."; md.authorList = Arrays.asList("gaga654"); md.description = ""; md.url = ""; md.updateUrl = ""; md.screenshots = new String[0]; md.logoFile = ""; } @Override public boolean registerBus(EventBus bus, LoadController controller) { bus.register(this); return true; } } And, finally, in the .zip file with the reobfuscated files, I have a META-INF folder with a MANIFEST.MF file which has the following: Manifest-Version: 1.0 FMLCorePlugin: gaga.generic.GenericLoadingPlugin It works fine when I run it in the development environment, but when I try to test the reobfuscated version it just doesn't even appear in the mods list. Any suggestions as to what's wrong?
  6. Hm, I was hoping this would be simple enough that it wouldn't come to that. I guess I'll have to go learn ASM then.
  7. How would I go about adding new NBT tags to a tile entity or entity? I know how to make them if I create my own, but say I wanted to add data to the vanilla chest that records the last person who opened it. How could I achieve that?
  8. Okay, so I tried this with the latest forge build instead of the recommended build, and... it worked fine. So I guess there was a problem in there which was fixed? Well, I guess this is solved then.
  9. Also, I have tried the 1.5.2 version of forge and that installs just fine. The 1.6.2 is still giving me the error, though. Anyone have any idea what could be wrong? I have no clue here.
  10. You need to have an instance of the Random class. Either pass one as a parameter or a field, or use new Random().nextInt() .
  11. When running the install script, I get the following error: 16:46:18 - '"scalac.bat" -encoding UTF-8 -deprecation -target:jvm-1.6 -classpath "jars\versions\1.6.2\1.6.2.jar;...' failed : 255 16:46:18 - 16:46:18 - == ERRORS FOUND in SCALA CODE == 16:46:18 - 16:46:18 - The syntax of the command is incorrect. 16:46:18 - ================================ 16:46:18 - 16:46:18 - Client recompile failed, correct source then rerun updatemd5 I found this topic (http://www.minecraftforge.net/forum/index.php?topic=10127.0) which seems to be the same problem that I encountered, but changing the version of the scala compiler didn't work as suggested there; I just got the same error message. I have a 32-bit windows 7 operating system and scala version 2.10.2. Any suggestions as to what is wrong here?
  12. Also, when trying to compile AccessTransformer, it is giving several "package does not exist" errors, missing packages com.google.common and cpw.mods.fml, as well as possibly others. Also, in the readme it says there is a bug which could cause compile errors in jdk 1.6_21 or earlier, and I found that my jdk was in fact only 1.6_17, but after updating it to the current one it still does not work.
  13. Ok, I am no longer getting the message about "scalac" missing from the path, but the second issue still exists - I am getting many "cannot find symbol" errors, all of which are occurring in the AccessTransformer class.
  14. When I run the install.cmd file, I get a message about "scala" missing from the path, and then I get 64 decompiler errors (not sure if these two things are related or not). Then in the end none of the source files that should be created actually are created. Any suggestions/help? (What other information do you need?)
×
×
  • Create New...

Important Information

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