Jump to content

Gingerbreadman

Members
  • Posts

    74
  • Joined

  • Last visited

Everything posted by Gingerbreadman

  1. I fixed this. Only problem is that the text gets darker when the other Gl11 method starts. Any solutions?
  2. Minecraft.getMinecraft().fontRendererObj.func_175063_a(s, i, i, i); This is the method I used. The problem is not about methods, etc. It's about doing 2 different types of rendering on same event listeners.
  3. For me it doesn't render it on screen. It renders it in 3d. That's why I used the setupOverlay method.
  4. I am rendering text on screen so I used the setupOverlayRendering method. I am trying to render a square using GL11 at the same time. This is causing the problem.
  5. I have 2 methods that are rendering. One is rendering a HUD while the other is rendering vertexes. Problem is that when HUD is rendering the vertexes render as overlay, making the hand RED, etc instead of making an actual square in the screen. public static void draw(String s, int i, int ii, int iii) { GL11.glPushMatrix(); Minecraft.getMinecraft().entityRenderer.setupOverlayRendering(); Minecraft.getMinecraft().fontRendererObj.drawString(s, ii, i, iii); GL11.glPopMatrix(); } ^That's the HUD renderer. GL11.glVertex3d ^This is the method I'm using to render a square in game.(Not showing full code of this, though it works without HUD.)
  6. I think it's would be fair to say that Bukkit supports more symbols? I am trying alot of different characters in the character map. but none of them are working atm D:
  7. On every server I go to thats bukkit, has text pop up instead of me getting kicked.
  8. same code? It just prints it out in chat... maybe try it out on play.itsjerryandharry.com?
  9. @SubscribeEvent public void onTick(ClientTickEvent e) { if(this.ad.isPressed()) { Minecraft.getMinecraft().thePlayer.sendChatMessage("§"); } }
  10. I want to disconnect with the reason "Illegal Characters".
  11. why not. Can you just tell me how to send illegal characters to get kicked out?
  12. Can I send illegal characters or something to do this?
  13. Not in chat. The disconnect message... (In Bukkit, e.getReason() in the PlayerDisconnectEvent.)
  14. It basically disconnects you with a custom message. I tried to decompile the jar and see, but it was obfuscated
  15. Example. Huzuni has this thing called AutoDisconnect, how does that work?
  16. I think its possible, I saw Hack clients do it before!
  17. I cant cast EntityClientPlayerMP to EntityPlayerMP (Minecraft.getMinecraft().thePlayer) I am using this in a ClientTickEvent, what should I do?
  18. I am working on a mod, and I need to be able to disconnect with a custom message. Any help?
×
×
  • Create New...

Important Information

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