• 0

    posted a message on [1.7.9] TimberWolf Minecraft Server in need of staff!
    Hello All,
    From my post history you may see that I have tried this before and failed due to my family being annoying, but I have since moved out and on to bigger and better things! Translated: College :|

    Anyway, I have a dedicated PC (specs in a spoiler at the bottom of this post) and my internet is being upgraded tomorrow (Friday the 1st) from the current D: 1.5, U: 0.35 to a nice clean D: 25 U: 10. So, all that formal stuff aside, time for what you actually came here for, the open positions!

    These will be updated as applications are accepted:

    Admin: 2
    • DrakenGames (DrakenSlayer141)
    • Skype Interview (Deathman1613)
    • ImNathanAnthony (PrankVsPrank)
    Plugin-Tester/Plugin-Upkeep: 1
    Mod: 8-10
    Builder: ∞ (I could use as many as possible)

    IGN:

    Age (Don't lie, if you mature then you win, if not then we'll see):

    Skype (Required for Plugin-Tester and above):

    Location:

    Time Zone:

    What times are you most active:

    Have you been banned on other servers:

    [if so try to list why were you banned on that server]

    Why do you want to become a part of staff:

    Previous experiences as being a staff:

    How long have you been playing Minecraft:

    What rank are you seeking for:

    Anything else you want to add:

    Here are the specs (the ones that matter anyway)
    Ram: 8 GB DDR 3
    Processor: AMD A6-3650 APU with Radeon HD Graphics 2.60 GHz
    OS: Windows 7 Ultimate x64
    Hard Disk: 930 GB Internal
    Down Speed (As of Friday August 1st) 25 Mbps
    Up Speed (As of Friday August 1st) 10 Mbps


    • Several of my own plugins
    • Essentials
    • Group Manager
    • World Guard
    • World Edit
    • Factions
    • Multiverse
    • [8]mcMMO
    • As you can see this is a very small list...HELP!
    Posted in: Server Recruitment
  • 0

    posted a message on [1.4.5][Forge] Container-Based Gui Tutorial
    Everything is exactly the same and with the coding experience i have, as far as I can tell there should be no null pointer exception, as the array is declared before it is called I think.
    Posted in: Tutorials
  • 0

    posted a message on [1.4.5][Forge] Container-Based Gui Tutorial
    No problem :)

    package jwolff52.minetopia;
    import net.minecraft.entity.player.EntityPlayer;
    import net.minecraft.inventory.IInventory;
    import net.minecraft.item.ItemStack;
    import net.minecraft.nbt.NBTTagCompound;
    import net.minecraft.nbt.NBTTagList;
    import net.minecraft.tileentity.TileEntity;
    public class TileEntityAlchemyChest extends TileEntity implements IInventory{
    private ItemStack[] inventory;
    
    public void TileEnityAlchemyChest(){
    inventory=new ItemStack[9];
    }
    
    @Override
    public int getSizeInventory(){
    return inventory.length;
    }
    
    @Override
    public ItemStack getStackInSlot(int slotIndex){
    return inventory[slotIndex];
    }
    
    @Override
    public void setInventorySlotContents(int par1, ItemStack par2){
    inventory[par1]=par2;
    if(par2!=null&&par2.stackSize>getInventoryStackLimit()){
    par2.stackSize=getInventoryStackLimit();
    }
    }
    
    @Override
    public ItemStack decrStackSize(int par1, int par2){
    
    ItemStack stack=getStackInSlot(par1);
    
    if(stack!=null){
    if(stack.stackSize<=par2){
    setInventorySlotContents(par1, null);
    }else{
    stack=stack.splitStack(par2);
    if(stack.stackSize==0){
    setInventorySlotContents(par1, null);
    }
    }
    }
    
    return stack;
    }
    
    @Override
    public ItemStack getStackInSlotOnClosing(int par1){
    
    ItemStack stack=getStackInSlot(par1);
    
    if(stack!=null){
    setInventorySlotContents(par1, null);
    }
    
    return stack;
    }
    
    @Override
    public int getInventoryStackLimit(){
    return 64;
    }
    
    @Override
    public boolean isUseableByPlayer(EntityPlayer par1){
    return worldObj.getBlockTileEntity(xCoord, yCoord, zCoord)== this && par1.getDistanceSq(xCoord+0.5, yCoord+0.5, zCoord+0.5)<64;
    }
    
    @Override
    public void openChest(){
    }
    
    @Override
    public void closeChest(){
    }
    
    @Override
    public void readFromNBT(NBTTagCompound tagCompound){
    super.readFromNBT(tagCompound);
    NBTTagList tagList = tagCompound.getTagList("Inventory");
    for(int i = 0; i < tagList.tagCount(); i++){
    NBTTagCompound tag = (NBTTagCompound) tagList.tagAt(i);
    byte slot = tag.getByte("Slot");
    if(slot >= 0 && slot < inventory.length){
    inventory[slot] = ItemStack.loadItemStackFromNBT(tag);
    }
    }
    }
    @Override
    public void writeToNBT(NBTTagCompound tagCompound){
    super.writeToNBT(tagCompound);
    NBTTagList itemList = new NBTTagList();
    for(int i = 0; i < inventory.length; i++){
    ItemStack stack = inventory[i];
    if(stack != null){
    NBTTagCompound tag = new NBTTagCompound();
    tag.setByte("Slot", (byte) i);
    stack.writeToNBT(tag);
    itemList.appendTag(tag);
    }
    }
    tagCompound.setTag("Inventory", itemList);
    }
    
    @Override
    public String getInvName(){
    return "Magic Chest";
    }
    }

    Oh and I don't remember if it was in the error report or not but this is 1.4.6.....
    Don't know if that changes anything ;)
    Posted in: Tutorials
  • 0

    posted a message on [1.4.5][Forge] Container-Based Gui Tutorial
    Hello I have copied this tutorial nearly word for word and I keep getting the following error everytime I try to open the Chest

    -- System Details --
    Details:
    Minecraft Version: 1.4.6
    Operating System: Windows 7 (amd64) version 6.1
    Java Version: 1.7.0_11, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 894010464 bytes (852 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    AABB Pool Size: 11910 (666960 bytes; 0 MB) allocated, 3484 (195104 bytes; 0 MB) used
    Suspicious classes: FML and Forge are installed
    IntCache: cache: 0, tcache: 0, allocated: 1, tallocated: 63
    FML: MCP v7.25 FML v4.6.17.515 Minecraft Forge 6.5.0.489 4 mods loaded, 4 mods active
    mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
    FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
    Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
    jwolff52_Minetopia [Minetopia] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
    LWJGL: 2.4.2
    OpenGL: Intel(R) HD Graphics 3000 GL version 3.1.0 - Build 9.17.10.2867, Intel
    Is Modded: Definitely; Client brand changed to 'forge,fml'
    Type: Client (map_client.txt)
    Texture Pack: Default
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: 1828 (102368 bytes; 0 MB) allocated, 560 (31360 bytes; 0 MB) used
    java.lang.NullPointerException
    at jwolff52.minetopia.TileEntityAlchemyChest.getStackInSlot(TileEntityAlchemyChest.java:24)
    at net.minecraft.inventory.Slot.getStack(Slot.java:87)
    at net.minecraft.client.gui.inventory.GuiContainer.drawSlotInventory(GuiContainer.java:315)
    at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:107)
    at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1004)
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:882)
    at net.minecraft.client.Minecraft.run(Minecraft.java:771)
    at java.lang.Thread.run(Unknown Source)
    --- END ERROR REPORT e8a4012c ----------


    P.S. There is a lot more of an error report that is before this however it is just information about the world crash that the error causes, I can paste it if you like, but I dont think it is necessary.

    Thanks for any help that can be given it would be much appreciated
    Posted in: Tutorials
  • 0

    posted a message on Legendary Kingdoms [Towny][PvP][McMMO][ChestShop][New][Anti Griefing][Staff Needed][Great Staff/Community]
    Minecraft Username:jwolff52

    Can you be active on the server?:Yes

    Anything we might like to know about you?: I do a let's play on youtube.

    Anything else you would like to add: No that's it

    Do you agree to follow the rules?:Yes.
    Posted in: PC Servers
  • To post a comment, please or register a new account.