Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Rainfur

Members
  • Content Count

    38
  • Joined

  • Last visited

Everything posted by Rainfur

  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 =
  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?
  15. So then this: @EventHandler public void load(FMLInitializationEvent evt) { proxy.registerRenderInformation(); MinecraftForge.EVENT_BUS.register(new TeamStatsHookContainer()); and this: package kovu.teamstats; import cpw.mods.fml.common.Mod.EventHandler; import net.ae97.teamstats.api.events.NewFriendEvent; import net.ae97.teamstats.api.events.NewRequestEvent; import net.ae97.teamstats.api.events.StatsUpdatedEvent; import net.minecraftforge.event.ForgeSubscribe; public class TeamStatsHookContainer { @ForgeSubscribe public void getNewFriends(NewFrien
  16. It's fine, I'll just move onto another part of the mod while I wait for hydroflame.
  17. How? Is there a proper structure for events?
  18. How would I go about making a new event? Would it be as simple as extending Event, or is there more to it? Then, once that's done, how do I actually use this new event?
  19. So, I'm trying to develop 2 mods at once, but the issue I'm having is below: The trace hasn't been very helpful either...
  20. You do have an error, shown in eclipse as a red X. Where is that error?
  21. I'm currently having an issue with some IO. I have this line: File skin = new File(".dlskins" + File.separator + username + ".png"); BufferedImage skinBR = ImageIO.read(skin); Whenever I run this, it always gives a IO error: 2013-07-23 13:59:13 [iNFO] [sTDERR] javax.imageio.IIOException: Can't read input file! 2013-07-23 13:59:13 [iNFO] [sTDERR] at javax.imageio.ImageIO.read(ImageIO.java:1301) 2013-07-23 13:59:13 [iNFO] [sTDERR] at kovu.teamstats.gui.GuiTeamInfoIngame.getCroppedFacialImage(GuiTeamInfoIngame.java:106) I have checked the directory, (both in my M
  22. I have tried that as well. 2013-07-23 08:40:20 [iNFO] [Minecraft-Client] Setting user: REDACTED 2013-07-23 08:40:20 [iNFO] [Minecraft-Client] (Session ID is null) 2013-07-23 08:40:21 [iNFO] [sTDOUT] Completely ignored arguments: [--password, REDACTED]
  23. Because, for security reasons, my mod needs to send a session with a packet to a server to relay its information.
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.