Jump to content

Rainfur

Members
  • Posts

    38
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Rainfur's Achievements

Tree Puncher

Tree Puncher (2/8)

1

Reputation

  1. Adding onto Elyon said, try overriding the launchIntegratedServer method, in your own IntegratedServer class. (@Override in the class). Remove what you need.
  2. Thank you, that appears to have fixed all issues.
  3. I've got an OpenGL question for ya'll. I'm using Slick for dynamic texture loading BTW. My issue is currently that when I try to render more than one face (2), both faces are set to the last one downloaded and bound. I've also tried adding each texture to a Set when initialized and properly set, then looping through and binding each texture, but that doesn't work either. Current code: if(!(Boolean)playerInfo.get(player)) { try { URL url = new URL("http://s3.amazonaws.com/MinecraftSkins/" + player + ".png"); InputStream in = url.openStream(); t = TextureLoader.getTexture("PNG", in); System.out.println("TEXID: " + t.getTextureID()); playerInfo.put(player, Boolean.valueOf(true)); } catch(IOException e) { e.printStackTrace(); } } GL11.glBindTexture(GL11.GL_TEXTURE_2D, t.getTextureID()); GL11.glScalef(1.0F, 0.5F, 1.0F); GL11.glScalef(0.75F, 0.75F, 1.0F); Any help?
  4. Thank you very much! I knew about sessions, but I seem to have forgotten that it stores the username in plaintext.
  5. So, I've been writing a mod which requires the username of each player that uses the mod. I'm currently using Minecraft.getMinecraft().thePlayer.getGameProfile().getName(). However, this method only works if the player has loaded into a World, and I need the player username when the game launches. I know that this information is stored somewhere, because the game prints it out as a debug statement. Anyone have any insight?
  6. Yep. Generally, I don't make stupid mistakes like that, I guess I was tired or just derped.
  7. Thanks, that appears to have worked. The reason why it wasn't when I tried that before was I was accessing a different instance of the Config file than was being used.
  8. I've currently got a configuration file being written to, using the line: Consts.hasInitialAudioSetupBeenDisplayed = config.get("Audio", "audioSetup", false).getBoolean(false); How would I set this value in the config file to say, true? I've tried to do the same .get() then a .set(), but it did not work.
  9. So, I'm trying to just replace certain class files on runtime, not inject into them. Basically, I am thrown an error below when I try to use the mod. Error: http://pastebin.com/hAcK8m9Q However, this shouldn't be happening. The block file in question is And it's loaded from the preinit of the main class: What could be causing this, and how do I fix it?
  10. I'm fairly confident you can, I'm just not sure how to. If it turns out I can't though, I'll go ASM route.
  11. Looks nice, good work, can't wait for release!
  12. What do you mean, fingerprint? If it's open sourced, all you can do to make sure your code isn't stolen is to try to keep track of potential mods using it.
  13. I'd find it useful, but I always use these forums.
  14. I'm modifying base classes without ASM right now. Eventually, I'll transition to that but I can't do that ATM. What I'm doing right now is trying to just install the mod like a 1.5.2 era mod. However, I get this: How can I fix this?
×
×
  • Create New...

Important Information

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