• 0

    posted a message on MineOS Questions
    Huh. No one?
    Posted in: Server Support and Administration
  • 0

    posted a message on MineOS Questions
    Hey guys! I plan to run a small Minecraft Server mostly for my buddies to play on instead of continuing to pay for an expensive realm. Now here's my questions:

    • 1. Will more than 1 person be able to remotely administrate the console via SSH or the Web App?
    • 2. Takingadvantage of the barebones lifestyle of Linux, will I be able to use average hardware to get maybe 30 players on a laptop?
    • 3. Risks of using a laptop to host the server 24/7?
    If you guys could help me with these few questions, it would be GREATLY appreciated



    warning: I wrote this thread on a phone, please excuse...
    Posted in: Server Support and Administration
  • 0

    posted a message on WR-CBE is crashing
    I don't necessarily know why but, here's the crash report:
    EDIT: It happens when I load up a world

    2014-04-12 07:48:07 [INFO] [STDOUT] ---- Minecraft Crash Report ----
    2014-04-12 07:48:07 [INFO] [STDOUT] // I let you down. Sorry :(
    2014-04-12 07:48:07 [INFO] [STDOUT]
    2014-04-12 07:48:07 [INFO] [STDOUT] Time: 4/12/14 7:48 AM
    2014-04-12 07:48:07 [INFO] [STDOUT] Description: Exception in server tick loop
    2014-04-12 07:48:07 [INFO] [STDOUT]
    2014-04-12 07:48:07 [INFO] [STDOUT] java.lang.NoSuchFieldError: dimension
    2014-04-12 07:48:07 [INFO] [STDOUT] at codechicken.core.ServerUtils.getPlayersInDimension(ServerUtils.java:38)
    2014-04-12 07:48:07 [INFO] [STDOUT] at codechicken.wirelessredstone.addons.RedstoneEtherServerAddons.processSMPMaps(RedstoneEtherServerAddons.java:141)
    2014-04-12 07:48:07 [INFO] [STDOUT] at codechicken.wirelessredstone.addons.WRAddonEventHandler.tickStart(WRAddonEventHandler.java:51)
    2014-04-12 07:48:07 [INFO] [STDOUT] at cpw.mods.fml.common.SingleIntervalHandler.tickStart(SingleIntervalHandler.java:28)
    2014-04-12 07:48:07 [INFO] [STDOUT] at cpw.mods.fml.common.FMLCommonHandler.tickStart(FMLCommonHandler.java:122)
    2014-04-12 07:48:07 [INFO] [STDOUT] at cpw.mods.fml.common.FMLCommonHandler.onPreWorldTick(FMLCommonHandler.java:295)
    2014-04-12 07:48:07 [INFO] [STDOUT] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:652)
    2014-04-12 07:48:07 [INFO] [STDOUT] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:587)
    2014-04-12 07:48:07 [INFO] [STDOUT] at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:129)
    2014-04-12 07:48:07 [INFO] [STDOUT] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
    2014-04-12 07:48:07 [INFO] [STDOUT] at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:583)
    2014-04-12 07:48:07 [INFO] [STDOUT]
    2014-04-12 07:48:07 [INFO] [STDOUT]
    2014-04-12 07:48:07 [INFO] [STDOUT] A detailed walkthrough of the error, its code path and all known details is as follows:
    2014-04-12 07:48:07 [INFO] [STDOUT] ---------------------------------------------------------------------------------------
    2014-04-12 07:48:07 [INFO] [STDOUT]
    2014-04-12 07:48:07 [INFO] [STDOUT] -- System Details --
    2014-04-12 07:48:07 [INFO] [STDOUT] Details:
    2014-04-12 07:48:07 [INFO] [STDOUT] Minecraft Version: 1.6.4
    2014-04-12 07:48:07 [INFO] [STDOUT] Operating System: Windows 8 (amd64) version 6.2
    2014-04-12 07:48:07 [INFO] [STDOUT] Java Version: 1.7.0_45, Oracle Corporation
    2014-04-12 07:48:07 [INFO] [STDOUT] Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    2014-04-12 07:48:07 [INFO] [STDOUT] Memory: 173770752 bytes (165 MB) / 843579392 bytes (804 MB) up to 1908932608 bytes (1820 MB)
    2014-04-12 07:48:07 [INFO] [STDOUT] JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2048m -XX:MaxPermSize=256m
    2014-04-12 07:48:07 [INFO] [STDOUT] AABB Pool Size: 2 (112 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    2014-04-12 07:48:07 [INFO] [STDOUT] Suspicious classes: FML and Forge are installed
    2014-04-12 07:48:07 [INFO] [STDOUT] IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    2014-04-12 07:48:07 [INFO] [STDOUT] FML: MCP v8.11 FML v6.4.49.965 Minecraft Forge 9.11.1.965 33 mods loaded, 33 mods active
    2014-04-12 07:48:07 [INFO] [STDOUT] mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] FML{6.4.49.965} [Forge Mod Loader] (modpack.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] Forge{9.11.1.965} [Minecraft Forge] (modpack.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] CodeChickenCore{0.9.0.8} [CodeChicken Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] NotEnoughItems{1.6.1.9} [Not Enough Items] (NotEnoughItems 1.6.1.9.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] PlayerAPI{1.2} [Player API] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] DamageIndicatorsMod{2.9.2.3} [Damage Indicators] (1.6.4 DamageIndicatorsv2.9.2.3.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] bspkrsCore{v5.3(1.6.4)} [bspkrsCore] ([1.6.4]bspkrsCorev5.3.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] TreeCapitator{Forge 1.6.4.r09} [Treecapitator] ([1.6.4]TreeCapitator.Forge.1.6.4.r09.Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] BattleTowers{1.4.2} [Battle Towers] (BattleTowers_1.6.4.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] BetterDungeons{2.4} [Chocolate quest] (BetterDungeons2091.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] BuildCraft|Core{4.2.2} [BuildCraft] (buildcraft-A-1.6.4-4.2.2.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] BuildCraft|Builders{4.2.2} [BC Builders] (buildcraft-A-1.6.4-4.2.2.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] BuildCraft|Energy{4.2.2} [BC Energy] (buildcraft-A-1.6.4-4.2.2.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] BuildCraft|Factory{4.2.2} [BC Factory] (buildcraft-A-1.6.4-4.2.2.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] BuildCraft|Transport{4.2.2} [BC Transport] (buildcraft-A-1.6.4-4.2.2.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] BuildCraft|Silicon{4.2.2} [BC Silicon] (buildcraft-A-1.6.4-4.2.2.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] chococraft{3.0.3} [Torojima's ChocoCraft] (Chococraft_3.0.3.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] ComputerCraft{1.62} [ComputerCraft] (ComputerCraft1.62.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] FlansMod{4.1.1} [Flans Mod] (FlansMod-4.1.1.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] Hats{2.1.5} [Hats] (Hats2.1.5.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] IC2{2.0.345-experimental} [IndustrialCraft 2] (industrialcraft-2_2.0.345-experimental.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] numina{0.1.2-55} [Numina] (Numina-1.6.2-0.1.2-55.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] powersuits{0.10.0-91} [MachineMuse's Modular Powersuits] (ModularPowersuits-1.6.4-0.10.0-91.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] mod_SmartMoving{14.5} [Smart Moving] (Smart Moving Universal for ModLoader or Minecraft Forge or MCPC+.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] mod_SmartRender{1.1} [Smart Render] (Smart Moving Universal for ModLoader or Minecraft Forge or MCPC+.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] AS_UpdateCheck{1.1.1} [AtomicStryker Update Check Mod] (UpdateCheckerMod_1.6.4.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] ForgeMultipart{1.0.0.250} [Forge Multipart] (ForgeMultipart-universal-1.6.4-1.0.0.250.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] WR-CBE|Core{1.4.0.7} [WR-CBE Core] (WR-CBE 1.4.0.7.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] WR-CBE|Addons{1.4.0.7} [WR-CBE Addons] (WR-CBE 1.4.0.7.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] WR-CBE|Logic{1.4.0.7} [WR-CBE Logic] (WR-CBE 1.4.0.7.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] McMultipart{1.0.0.250} [Minecraft Multipart Plugin] (ForgeMultipart-universal-1.6.4-1.0.0.250.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] ForgeMicroblock{1.0.0.250} [Forge Microblocks] (ForgeMultipart-universal-1.6.4-1.0.0.250.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    2014-04-12 07:48:07 [INFO] [STDOUT] Profiler Position: N/A (disabled)
    2014-04-12 07:48:07 [INFO] [STDOUT] Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    2014-04-12 07:48:07 [INFO] [STDOUT] Player Count: 1 / 8; [EntityPlayerMP['ThaDarkRobber'/1, l='TEST2FIGHT', x=-1201.50, y=4.00, z=-132.50]]
    2014-04-12 07:48:07 [INFO] [STDOUT] Type: Integrated Server (map_client.txt)
    2014-04-12 07:48:07 [INFO] [STDOUT] Is Modded: Definitely; Client brand changed to 'fml,forge'
    2014-04-12 07:48:07 [INFO] [STDOUT] #@[email protected]# Game crashed! Crash report saved to: #@[email protected]# D:\Downloads\.technic\modpacks\herpie-derpie\crash-reports\crash-2014-04-12_07.48.02-server.txt

    Posted in: Java Edition Support
  • 0

    posted a message on DiamondServers - High Quality Servers, Low End Price | 20% off for life!
    This service is AMAZING! The live support was awesome, the CEO (amico500) was the representative and he even got me a server demo! It was amazing, there was no lag even though the server only had a gig of ram (the iron package). It survived even the most outrageous amount of TNT. It didn't even lag a tick. This service is outstanding and I would recommend this to anyone! After all the discounts the Iron Package would be about $6/month which means $80 dollars a year but, everyone THIS IS WORTH IT. The support is really good, you get a great service, and the staff is cool.




    Near the top of the picture you can barely see the CEO's name tag
    Posted in: Other hosts
  • 0

    posted a message on Thinking about buying a server
    Hello! I am thinking about buying a minecraft server (bukkit mod). I want the price range to be $6 - $9USD for a 1024MB server.

    Please recommend me someone. :D
    Posted in: Hosting Requests
  • 0

    posted a message on What type of lock would you suggest?
    Hello guys! I need help with a lock or something to hide my precious items and to go when my base is being raided. (Something that doesn't require more than 3 stacks of redstone) I liked the thread with the hopper password lock but it was a bit too complicated for me and I couldn't afford all that iron. (Just started days ago)
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on HELP! Players cannot talk on my server!
    Here's an idea:
    Delete ModifyWorld.jar
    I see no use with it anyways so I normally delete it when I use PEX.
    Posted in: Server Support and Administration
  • 0

    posted a message on FAILED TO LOGIN: JAVA.IO.IOEXCEPTION: SERVER RETURNED HTTP RESPONSE CODE

    Daniel Frisk@danfrisk
    There seems to be some kind of attack on our servers. DDoS is for losers who can't hack properly.

    This is why we don't have multiplayer.
    Posted in: Server Support and Administration
  • 0

    posted a message on Crash when looking at wood door
    I don't know why but when I look at a wooden door my minecraft freezes then brings me back to the home screen! I am on iOS 5.1.1 I believe thanks!
    Posted in: Minecraft (Bedrock) Support
  • 0

    posted a message on MCPE 24/7 TEST SERVER FOR IOS - CREATIVE JOIN PL TO SEE IF IT WORKS
    It kept on scanning and scanning
    Posted in: MCPE: Quick Sessions / Minigames
  • 1

    posted a message on Ender Dragon update in 1.4?

    The dragon just needs some more fine tuning. More animations, more attacks, better AI etc. I would like to see him interact with the surroundings(landing on the ground, not flying directly at the pilars etc) I would be cool if they'd overhaul the whole end. Place a large Endercastle or something in the middle. First you've gotta fight your way through to find the dragon on top. And it most definently needs boss music. All those things offer for an epic boss fight :)

    It needs... METAL BOSS MUSIC
    Posted in: Future Updates
  • 0

    posted a message on Custom "Furnace" GUI not working
    Bumping is not allowed... -_-
    Posted in: Modification Development
  • 0

    posted a message on Help making a new GUI
    Help please!
    Posted in: Modification Development
  • 0

    posted a message on Need Quick Key for Putting Armor On in PvP[REQ]
    I want this too can someone give this to me in java code?
    Posted in: Modification Development
  • 0

    posted a message on Help making a new GUI
    Hey! I'm trying to make something when H is pressed show the default background (like when paused) so here's my code:

    package net.minecraft.src;
    
    import java.util.Iterator;
    import java.util.List;
    import org.lwjgl.input.Keyboard;
    import org.lwjgl.opengl.GL11;
    import org.lwjgl.opengl.GL12;
    
    public abstract class GuiContainer extends GuiScreen
    {
    /** Stacks renderer. Icons, stack size, health, etc... */
    protected static RenderItem itemRenderer = new RenderItem();
    
    /** The X size of the inventory window in pixels. */
    protected int xSize = 176;
    
    /** The Y size of the inventory window in pixels. */
    protected int ySize = 166;
    
    /** A list of the players inventory slots. */
    public Container inventorySlots;
    
    /**
    * Starting X position for the Gui. Inconsistent use for Gui backgrounds.
    */
    protected int guiLeft;
    
    /**
    * Starting Y position for the Gui. Inconsistent use for Gui backgrounds.
    */
    protected int guiTop;
    
    public GuiContainer(Container par1Container)
    {
    this.inventorySlots = par1Container;
    }
    
    /**
    * Adds the buttons (and other controls) to the screen in question.
    */
    public void initGui()
    {
    super.initGui();
    this.mc.thePlayer.craftingInventory = this.inventorySlots;
    this.guiLeft = (this.width - this.xSize) / 2;
    this.guiTop = (this.height - this.ySize) / 2;
    }
    
    /**
    * Draws the screen and all the components in it.
    */
    
    
    public void drawScreen(int par1, int par2, float par3)
    {
    this.drawDefaultBackground();
    int var4 = this.guiLeft;
    int var5 = this.guiTop;
    this.drawGuiContainerBackgroundLayer(par3, par1, par2);
    GL11.glDisable(GL12.GL_RESCALE_NORMAL);
    RenderHelper.disableStandardItemLighting();
    GL11.glDisable(GL11.GL_LIGHTING);
    GL11.glDisable(GL11.GL_DEPTH_TEST);
    super.drawScreen(par1, par2, par3);
    RenderHelper.enableGUIStandardItemLighting();
    GL11.glPushMatrix();
    GL11.glTranslatef((float)var4, (float)var5, 0.0F);
    GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
    GL11.glEnable(GL12.GL_RESCALE_NORMAL);
    Slot var6 = null;
    short var7 = 240;
    short var8 = 240;
    OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, (float)var7 / 1.0F, (float)var8 / 1.0F);
    GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
    
    for (int var11 = 0; var11 < this.inventorySlots.inventorySlots.size(); ++var11)
    {
    Slot var14 = (Slot)this.inventorySlots.inventorySlots.get(var11);
    this.drawSlotInventory(var14);
    
    if (this.isMouseOverSlot(var14, par1, par2))
    {
    var6 = var14;
    GL11.glDisable(GL11.GL_LIGHTING);
    GL11.glDisable(GL11.GL_DEPTH_TEST);
    int var9 = var14.xDisplayPosition;
    int var10 = var14.yDisplayPosition;
    this.drawGradientRect(var9, var10, var9 + 16, var10 + 16, -2130706433, -2130706433);
    GL11.glEnable(GL11.GL_LIGHTING);
    GL11.glEnable(GL11.GL_DEPTH_TEST);
    }
    }
    
    this.drawGuiContainerForegroundLayer();
    InventoryPlayer var12 = this.mc.thePlayer.inventory;
    
    if (var12.getItemStack() != null)
    {
    GL11.glTranslatef(0.0F, 0.0F, 32.0F);
    this.zLevel = 200.0F;
    itemRenderer.zLevel = 200.0F;
    itemRenderer.renderItemIntoGUI(this.fontRenderer, this.mc.renderEngine, var12.getItemStack(), par1 - var4 - 8, par2 - var5 - 8);
    itemRenderer.renderItemOverlayIntoGUI(this.fontRenderer, this.mc.renderEngine, var12.getItemStack(), par1 - var4 - 8, par2 - var5 - 8);
    this.zLevel = 0.0F;
    itemRenderer.zLevel = 0.0F;
    }
    
    if (var12.getItemStack() == null && var6 != null && var6.getHasStack())
    {
    ItemStack var13 = var6.getStack();
    this.func_74184_a(var13, par1 - var4, par2 - var5);
    }
    
    GL11.glPopMatrix();
    GL11.glEnable(GL11.GL_LIGHTING);
    GL11.glEnable(GL11.GL_DEPTH_TEST);
    RenderHelper.enableStandardItemLighting();
    }
    
    protected void func_74184_a(ItemStack par1ItemStack, int par2, int par3)
    {
    GL11.glDisable(GL12.GL_RESCALE_NORMAL);
    RenderHelper.disableStandardItemLighting();
    GL11.glDisable(GL11.GL_LIGHTING);
    GL11.glDisable(GL11.GL_DEPTH_TEST);
    List var4 = par1ItemStack.getItemNameandInformation();
    
    if (!var4.isEmpty())
    {
    int var5 = 0;
    Iterator var6 = var4.iterator();
    
    while (var6.hasNext())
    {
    String var7 = (String)var6.next();
    int var8 = this.fontRenderer.getStringWidth(var7);
    
    if (var8 > var5)
    {
    var5 = var8;
    }
    }
    
    int var15 = par2 + 12;
    int var16 = par3 - 12;
    int var9 = 8;
    
    if (var4.size() > 1)
    {
    var9 += 2 + (var4.size() - 1) * 10;
    }
    
    this.zLevel = 300.0F;
    itemRenderer.zLevel = 300.0F;
    int var10 = -267386864;
    this.drawGradientRect(var15 - 3, var16 - 4, var15 + var5 + 3, var16 - 3, var10, var10);
    this.drawGradientRect(var15 - 3, var16 + var9 + 3, var15 + var5 + 3, var16 + var9 + 4, var10, var10);
    this.drawGradientRect(var15 - 3, var16 - 3, var15 + var5 + 3, var16 + var9 + 3, var10, var10);
    this.drawGradientRect(var15 - 4, var16 - 3, var15 - 3, var16 + var9 + 3, var10, var10);
    this.drawGradientRect(var15 + var5 + 3, var16 - 3, var15 + var5 + 4, var16 + var9 + 3, var10, var10);
    int var11 = 1347420415;
    int var12 = (var11 & 16711422) >> 1 | var11 & -16777216;
    this.drawGradientRect(var15 - 3, var16 - 3 + 1, var15 - 3 + 1, var16 + var9 + 3 - 1, var11, var12);
    this.drawGradientRect(var15 + var5 + 2, var16 - 3 + 1, var15 + var5 + 3, var16 + var9 + 3 - 1, var11, var12);
    this.drawGradientRect(var15 - 3, var16 - 3, var15 + var5 + 3, var16 - 3 + 1, var11, var11);
    this.drawGradientRect(var15 - 3, var16 + var9 + 2, var15 + var5 + 3, var16 + var9 + 3, var12, var12);
    
    for (int var13 = 0; var13 < var4.size(); ++var13)
    {
    String var14 = (String)var4.get(var13);
    
    if (var13 == 0)
    {
    var14 = "\u00a7" + Integer.toHexString(par1ItemStack.getRarity().rarityColor) + var14;
    }
    else
    {
    var14 = "\u00a77" + var14;
    }
    
    this.fontRenderer.drawStringWithShadow(var14, var15, var16, -1);
    
    if (var13 == 0)
    {
    var16 += 2;
    }
    
    var16 += 10;
    }
    
    this.zLevel = 0.0F;
    itemRenderer.zLevel = 0.0F;
    }
    }
    
    protected void func_74190_a(String par1Str, int par2, int par3)
    {
    GL11.glDisable(GL12.GL_RESCALE_NORMAL);
    RenderHelper.disableStandardItemLighting();
    GL11.glDisable(GL11.GL_LIGHTING);
    GL11.glDisable(GL11.GL_DEPTH_TEST);
    int var4 = this.fontRenderer.getStringWidth(par1Str);
    int var5 = par2 + 12;
    int var6 = par3 - 12;
    byte var8 = 8;
    this.zLevel = 300.0F;
    itemRenderer.zLevel = 300.0F;
    int var9 = -267386864;
    this.drawGradientRect(var5 - 3, var6 - 4, var5 + var4 + 3, var6 - 3, var9, var9);
    this.drawGradientRect(var5 - 3, var6 + var8 + 3, var5 + var4 + 3, var6 + var8 + 4, var9, var9);
    this.drawGradientRect(var5 - 3, var6 - 3, var5 + var4 + 3, var6 + var8 + 3, var9, var9);
    this.drawGradientRect(var5 - 4, var6 - 3, var5 - 3, var6 + var8 + 3, var9, var9);
    this.drawGradientRect(var5 + var4 + 3, var6 - 3, var5 + var4 + 4, var6 + var8 + 3, var9, var9);
    int var10 = 1347420415;
    int var11 = (var10 & 16711422) >> 1 | var10 & -16777216;
    this.drawGradientRect(var5 - 3, var6 - 3 + 1, var5 - 3 + 1, var6 + var8 + 3 - 1, var10, var11);
    this.drawGradientRect(var5 + var4 + 2, var6 - 3 + 1, var5 + var4 + 3, var6 + var8 + 3 - 1, var10, var11);
    this.drawGradientRect(var5 - 3, var6 - 3, var5 + var4 + 3, var6 - 3 + 1, var10, var10);
    this.drawGradientRect(var5 - 3, var6 + var8 + 2, var5 + var4 + 3, var6 + var8 + 3, var11, var11);
    this.fontRenderer.drawStringWithShadow(par1Str, var5, var6, -1);
    this.zLevel = 0.0F;
    itemRenderer.zLevel = 0.0F;
    }
    
    /**
    * Draw the foreground layer for the GuiContainer (everything in front of the items)
    */
    protected void drawGuiContainerForegroundLayer() {}
    
    /**
    * Draw the background layer for the GuiContainer (everything behind the items)
    */
    protected abstract void drawGuiContainerBackgroundLayer(float var1, int var2, int var3);
    
    /**
    * Draws an inventory slot
    */
    private void drawSlotInventory(Slot par1Slot)
    {
    int var2 = par1Slot.xDisplayPosition;
    int var3 = par1Slot.yDisplayPosition;
    ItemStack var4 = par1Slot.getStack();
    boolean var5 = false;
    this.zLevel = 100.0F;
    itemRenderer.zLevel = 100.0F;
    
    if (var4 == null)
    {
    int var6 = par1Slot.getBackgroundIconIndex();
    
    if (var6 >= 0)
    {
    GL11.glDisable(GL11.GL_LIGHTING);
    this.mc.renderEngine.bindTexture(this.mc.renderEngine.getTexture("/gui/items.png"));
    this.drawTexturedModalRect(var2, var3, var6 % 16 * 16, var6 / 16 * 16, 16, 16);
    GL11.glEnable(GL11.GL_LIGHTING);
    var5 = true;
    }
    }
    
    if (!var5)
    {
    GL11.glEnable(GL11.GL_DEPTH_TEST);
    itemRenderer.renderItemIntoGUI(this.fontRenderer, this.mc.renderEngine, var4, var2, var3);
    itemRenderer.renderItemOverlayIntoGUI(this.fontRenderer, this.mc.renderEngine, var4, var2, var3);
    }
    
    itemRenderer.zLevel = 0.0F;
    this.zLevel = 0.0F;
    }
    
    /**
    * Returns the slot at the given coordinates or null if there is none.
    */
    private Slot getSlotAtPosition(int par1, int par2)
    {
    for (int var3 = 0; var3 < this.inventorySlots.inventorySlots.size(); ++var3)
    {
    Slot var4 = (Slot)this.inventorySlots.inventorySlots.get(var3);
    
    if (this.isMouseOverSlot(var4, par1, par2))
    {
    return var4;
    }
    }
    
    return null;
    }
    
    /**
    * Called when the mouse is clicked.
    */
    protected void mouseClicked(int par1, int par2, int par3)
    {
    super.mouseClicked(par1, par2, par3);
    
    if (par3 == 0 || par3 == 1)
    {
    Slot var4 = this.getSlotAtPosition(par1, par2);
    int var5 = this.guiLeft;
    int var6 = this.guiTop;
    boolean var7 = par1 < var5 || par2 < var6 || par1 >= var5 + this.xSize || par2 >= var6 + this.ySize;
    int var8 = -1;
    
    if (var4 != null)
    {
    var8 = var4.slotNumber;
    }
    
    if (var7)
    {
    var8 = -999;
    }
    
    if (var8 != -1)
    {
    boolean var9 = var8 != -999 && (Keyboard.isKeyDown(42) || Keyboard.isKeyDown(54));
    this.handleMouseClick(var4, var8, par3, var9);
    }
    }
    }
    
    
    
    /**
    * Returns if the passed mouse position is over the specified slot.
    */
    private boolean isMouseOverSlot(Slot par1Slot, int par2, int par3)
    {
    return this.func_74188_c(par1Slot.xDisplayPosition, par1Slot.yDisplayPosition, 16, 16, par2, par3);
    }
    
    protected boolean func_74188_c(int par1, int par2, int par3, int par4, int par5, int par6)
    {
    int var7 = this.guiLeft;
    int var8 = this.guiTop;
    par5 -= var7;
    par6 -= var8;
    return par5 >= par1 - 1 && par5 < par1 + par3 + 1 && par6 >= par2 - 1 && par6 < par2 + par4 + 1;
    }
    
    protected void handleMouseClick(Slot par1Slot, int par2, int par3, boolean par4)
    {
    if (par1Slot != null)
    {
    par2 = par1Slot.slotNumber;
    }
    
    this.mc.playerController.windowClick(this.inventorySlots.windowId, par2, par3, par4, this.mc.thePlayer);
    }
    
    /**
    * Fired when a key is typed. This is the equivalent of KeyListener.keyTyped(KeyEvent e).
    */
    protected void keyTyped(char par1, int par2)
    {
    if (par2 == 1 || par2 == this.mc.gameSettings.keyBindInventory.keyCode)
    {
    this.mc.thePlayer.closeScreen();
    }
    }
    
    /**
    * Called when the screen is unloaded. Used to disable keyboard repeat events
    */
    public void onGuiClosed()
    {
    if (this.mc.thePlayer != null)
    {
    this.inventorySlots.onCraftGuiClosed(this.mc.thePlayer);
    }
    }
    
    /**
    * Returns true if this GUI should pause the game when it is displayed in single-player
    */
    public boolean doesGuiPauseGame()
    {
    return false;
    }
    
    /**
    * Called from the main game loop to update the screen.
    */
    public void updateScreen()
    {
    super.updateScreen();
    
    if (!this.mc.thePlayer.isEntityAlive() || this.mc.thePlayer.isDead)
    {
    this.mc.thePlayer.closeScreen();
    
    }
    if(Hacks.Menu)
    {
    this.drawDefaultBackground();
    }
    }
    }


    But my checkKey is in GuiIngame and when I hit H nothing happens help?
    Posted in: Modification Development
  • To post a comment, please .