• 0

    posted a message on Java developer's Needed for hub Network

    Hello my name is Andrew and i am a java developer, I am looking for one or two people to help me work on my Server hub network plugins, these servers will only have one plugin on each server when done so like the hub will have a plugin called hub and the minigames servers will have only one plugin on them too The Hub is already Almost fully dynamic with a permission system, each person when they join they get a account which will record if they have ever been banned, or muted on the hole network ETC, So if anyone want's to help That knows java and the bukkit api you can contact me at my skype an120633

    Posted in: Server Recruitment
  • 0

    posted a message on How to Do world Ore Generation with one Ore Block with Meta's

    Can Anyone Help Me?


    My Ore Gen Class

    http://pastebin.com/Yh1KmMNc

    Posted in: Modification Development
  • 0

    posted a message on Game Development in Unity 5

    Hello I am looking for Coders and Designers For a game i am making, It is a remake of minecraft and i am making it in Unity 5. if you want to help Please contact me Down below


    Pictures:

    http://imgur.com/a/nNqnE#0

    Posted in: General Gaming
  • 0

    posted a message on Gui Handler Problems

    I am making a tutorial series on how to make a power network in 1.7.10 but i am having a problem in my Gui Handler for some reasion but i am copying from my other workspace where i made the power network and it is working.


    ---- Minecraft Crash Report ----
    // You're mean.

    Time: 7/17/15 11:16 PM
    Description: Initializing game

    java.lang.NullPointerException: Initializing game
    at cpw.mods.fml.common.network.NetworkRegistry.registerGuiHandler(NetworkRegistry.java:217)
    at tut.handler.GuiHandler.register(GuiHandler.java:30)
    at tut.Tutorial.Init(Tutorial.java:39)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
    at cpw.mods.fml.common.Loader.initializeMods(Loader.java:691)
    at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:288)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:586)
    at net.minecraft.client.Minecraft.run(Minecraft.java:931)
    at net.minecraft.client.main.Main.main(Main.java:164)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
    at GradleStart.main(Unknown Source)

    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------

    -- Head --
    Stacktrace:
    at cpw.mods.fml.common.network.NetworkRegistry.registerGuiHandler(NetworkRegistry.java:217)
    at tut.handler.GuiHandler.register(GuiHandler.java:30)
    at tut.Tutorial.Init(Tutorial.java:39)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
    at cpw.mods.fml.common.Loader.initializeMods(Loader.java:691)
    at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:288)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:586)

    -- Initialization --
    Details:
    Stacktrace:
    at net.minecraft.client.Minecraft.run(Minecraft.java:931)
    at net.minecraft.client.main.Main.main(Main.java:164)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
    at GradleStart.main(Unknown Source)

    -- System Details --
    Details:
    Minecraft Version: 1.7.10
    Operating System: Windows 8.1 (amd64) version 6.3
    Java Version: 1.7.0_79, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 725299432 bytes (691 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v9.05 FML v7.10.85.1291 Minecraft Forge 10.13.2.1291 4 mods loaded, 4 mods active
    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
    FML{7.10.85.1291} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized->Initialized
    Forge{10.13.2.1291} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized->Initialized
    tut{1.0} [tutorial] (bin) Unloaded->Constructed->Pre-initialized->Errored
    Launched Version: 1.7.10
    LWJGL: 2.9.1
    OpenGL: GeForce GTX 660/PCIe/SSE2 GL version 4.5.0 NVIDIA 353.50, NVIDIA Corporation
    GL Caps: Using GL 1.3 multitexturing.
    Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
    Anisotropic filtering is supported and maximum anisotropy is 16.
    Shaders are available because OpenGL 2.1 is supported.

    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: []
    Current Language: English (US)
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    Anisotropic Filtering: Off (1)

    Posted in: Modification Development
  • 0

    posted a message on Developing a game

    I can make it work for Linux and for mechanics excellent map design, Fixed spawns, competitive play and much much more.

    Posted in: Computer Science and Technology
  • 0

    posted a message on Developing a game

    The Profile server's are running on alwaysdata and the the game servers any player that plays can host the game from in game and the dedicated servers i am working on

    Posted in: Computer Science and Technology
  • 0

    posted a message on Developing a game

    Hello my name is Andrew and i am making a game in unity 4.5.0f6 it is called Ashes it is a online rpg game I am looking for developers and beta testers for the game if you want to be a developer or beta tester do a msg below or add me on skype.


    My skype is an120633


    Pictures of Ashes So far

    http://imgur.com/a/dwzOL

    Posted in: Computer Science and Technology
  • 0

    posted a message on Beta Tester's needed for a new Industrial mod

    Beta Tester's needed for a new Industrial mod for minecraft 1.7.10
    If you are interested Send me a message on skype!
    Skype name is an120633


    http://imgur.com/a/VgfG4#0

    Posted in: Mods Discussion
  • 0

    posted a message on breakBlock method problem

    How to make multiple TileEntity's work in one breakBlock method


    breakBlock method


    http://pastebin.com/LnjVELDH

    Posted in: Modification Development
  • 0

    posted a message on Should i make a tutorial on how to make a power network

    Should i make a tutorial on how to make a power network in minecraft with a few blocks with 2 power cables, tier 1 energy Storage, Creative Energy Storage and a basic block for it to connect too, and a power debug tool Tell me down below or add me on skype if i should or you would like to do a tutorial on how too.


    Skype Name an120633

    Posted in: Mods Discussion
  • 0

    posted a message on Problems with my energy network with Electric Furnace

    Ok i have traced it down to my smelt method getting fired a lot from this if statement



    if statement



    if (this.smeltStatus >= this.smeltTime)
    {
    LogHelper.info("3");
    smelt();
    }



    Smelt method



    private void smelt()
    {
    LogHelper.info("6");
    MachineUtil.operate(inventory, energyBar, FurnaceRecipes.smelting().getSmeltingResult(inventory[0]), this, smeltStatus, isSmelting, energyUsePerSmelt, 1);
    }


    MachineUtil



    package andrewcraft.util;

    import andrewcraft.energy.EnergyBar;
    import net.minecraft.inventory.IInventory;
    import net.minecraft.item.ItemStack;

    public class MachineUtil
    {
    public static void operate(ItemStack[] inventory, EnergyBar energyBar, ItemStack result, IInventory inventoryClass, int grindStatus, boolean isGrinding, int energyUsePerOperation, int stackSizeToDecrease)
    {
    if (result != null)
    {
    if (inventory[1] == null)
    {
    inventory[1] = result.copy();
    }
    else if (inventory[1].isItemEqual(result))
    {
    inventory[1].stackSize += result.stackSize;
    }

    inventory[0].stackSize -= stackSizeToDecrease;

    if (inventory[0].stackSize <= 0)
    {
    inventory[0] = null;
    }
    energyBar.removeEnergy(energyUsePerOperation);
    }
    grindStatus = 0;
    isGrinding = false;
    }

    public static boolean canOperate(ItemStack[] inventory, EnergyBar energyBar, ItemStack result, IInventory inventoryClass, int energyUsePerOperation, int stackSizeToDecrease)
    {
    if (inventory[0] == null)
    {
    return false;
    }
    if (result == null) return false;
    if (!energyBar.canRemoveEnergy(energyUsePerOperation)) return false;
    if (inventory[1] == null) return true;
    if (!inventory[1].isItemEqual(result)) return false;
    if (inventory[1].stackSize + stackSizeToDecrease > inventory[1].getMaxStackSize()) return false;
    int resultStack = inventory[1].stackSize + result.stackSize;
    return (resultStack <= inventoryClass.getInventoryStackLimit()) && (resultStack <= result.getMaxStackSize());
    }
    }

    Posted in: Modification Development
  • 0

    posted a message on Problems with my energy network with Electric Furnace

    Hello i am having problems with my Electric Furnace only pulling one power from my power network but i want it to use one power for each block and it is smelting one time then all of the ore's start to smelt fast after it. Works one time smelting and it does not use power for the items after the first one


    My TileEntityElectricFurnace Class



    package andrewcraft.tileentity;

    import java.util.ArrayList;

    import andrewcraft.block.BlockType;
    import andrewcraft.damage.DamageSources;
    import andrewcraft.energy.EnergyBar;
    import andrewcraft.energy.IEnergy;
    import andrewcraft.item.MolecularEnergyItems;
    import andrewcraft.upgrade.IUpgrade;
    import andrewcraft.upgrade.Upgrade;
    import andrewcraft.util.InventoryUtil;
    import andrewcraft.util.MachineUtil;
    import andrewcraft.util.NBTUtil;
    import net.minecraft.entity.Entity;
    import net.minecraft.entity.player.EntityPlayer;
    import net.minecraft.inventory.IInventory;
    import net.minecraft.item.ItemStack;
    import net.minecraft.item.crafting.FurnaceRecipes;
    import net.minecraft.nbt.NBTTagCompound;
    import net.minecraft.network.NetworkManager;
    import net.minecraft.network.Packet;
    import net.minecraft.network.play.server.S35PacketUpdateTileEntity;
    import net.minecraft.tileentity.TileEntity;
    import net.minecraftforge.common.util.ForgeDirection;

    public class TileEntityElectricFurnace extends TileEntity implements IEnergy, IInventory
    {
    private EnergyBar energyBar = new EnergyBar(45);
    private ItemStack[] inventory = new ItemStack[18];
    private int energyUsePerSmelt = 1;
    private int defaultEnergyUsePerSmelt = 1;
    public boolean isSmelting;
    private int smeltStatus;
    private int smeltTime = 90;
    private int defaultSmeltTime = 90;
    public int rotation = 3;
    public boolean hasExtraInventory;

    public void updateEntity()
    {

    updateUpgrades();
    updateSmelting();
    }


    private void updateUpgrades()
    {
    int inventoryUpgrades = 0;
    smeltTime = defaultSmeltTime;
    energyUsePerSmelt = defaultEnergyUsePerSmelt;
    energyBar.resetMaxEnergyLevel();
    for (int index = 2; index < 6; index++)
    {
    if (inventory[index] != null && inventory[index].getItem() instanceof IUpgrade)
    {
    IUpgrade itemUpgrade = (IUpgrade) inventory[index].getItem();
    this.energyBar.setMaxEnergyLevel(energyBar.getMaxEnergyLevel() + itemUpgrade.getUpgradeWorthness(Upgrade.STORAGE, inventory[index].getItemDamage()) * inventory[index].stackSize);
    this.smeltTime -= itemUpgrade.getUpgradeWorthness(Upgrade.SPEED, inventory[index].getItemDamage()) * inventory[index].stackSize;
    this.energyUsePerSmelt -= itemUpgrade.getUpgradeWorthness(Upgrade.EFFICIENCY, inventory[index].getItemDamage() * inventory[index].stackSize);
    if (inventory[index].isItemEqual(new ItemStack(ModItems.UPGRADES, 1, 3)))
    {
    inventoryUpgrades++;
    }
    }
    }
    hasExtraInventory = inventoryUpgrades > 0;
    if (energyBar.getEnergyLevel() > energyBar.getMaxEnergyLevel())
    {
    if (!worldObj.isRemote)
    {
    ArrayList<Entity> entities = (ArrayList<Entity>) worldObj.getEntitiesWithinAABB(EntityPlayer.class, getRenderBoundingBox().expand(3, 3, 3));
    for (Entity entity : entities)
    {
    entity.attackEntityFrom(DamageSources.ELECTRICITY, (energyBar.getEnergyLevel() - energyBar.getMaxEnergyLevel()) / 100);
    }
    }
    energyBar.setEnergyLevel(energyBar.getMaxEnergyLevel());
    }
    }

    private void updateSmelting()
    {
    boolean modified = isSmelting;
    this.isSmelting = canSmelt();
    if (this.isSmelting)
    {
    this.smeltStatus += 1;
    }
    else
    {
    this.smeltStatus = 0;
    }
    if (this.smeltStatus >= this.smeltTime)
    {
    smelt();
    }
    if (modified != isSmelting)
    {
    worldObj.markBlockForUpdate(xCoord, yCoord, zCoord);
    }
    }

    private boolean canSmelt()
    {
    if (inventory[0] == null) return false;
    return MachineUtil.canOperate(inventory, energyBar, FurnaceRecipes.smelting().getSmeltingResult(inventory[0]), this, energyUsePerSmelt, 1);
    }

    private void smelt()
    {
    MachineUtil.operate(inventory, energyBar, FurnaceRecipes.smelting().getSmeltingResult(inventory[0]), this, smeltStatus, isSmelting, energyUsePerSmelt, 1);
    }

    @Override
    public boolean canAddEnergyOnSide(ForgeDirection direction)
    {
    return true;
    }

    @Override
    public boolean canConnect(ForgeDirection direction)
    {
    return true;
    }

    @Override
    public EnergyBar getEnergyBar()
    {
    return energyBar;
    }

    @Override
    public void setLastReceivedDirection(ForgeDirection direction)
    {

    }

    @Override
    public int getEnergyTransferRate()
    {
    return 32;
    }

    @Override
    public int getSizeInventory()
    {
    return InventoryUtil.getSizeInventory(inventory);
    }

    @Override
    public ItemStack getStackInSlot(int slot)
    {
    return InventoryUtil.getStackInSlot(inventory, slot);
    }

    @Override
    public ItemStack decrStackSize(int slot, int count)
    {
    return InventoryUtil.decrStackSize(inventory, slot, count);
    }

    @Override
    public ItemStack getStackInSlotOnClosing(int slot)
    {
    return InventoryUtil.getStackInSlotOnClosing(inventory, slot);
    }

    @Override
    public void setInventorySlotContents(int slot, ItemStack itemstack)
    {
    InventoryUtil.setInventorySlotContents(this, inventory, slot, itemstack);
    }

    @Override
    public String getInventoryName()
    {
    return "container.energizedFurnace";
    }

    @Override
    public boolean hasCustomInventoryName()
    {
    return false;
    }

    @Override
    public int getInventoryStackLimit()
    {
    return 64;
    }

    @Override
    public boolean isUseableByPlayer(EntityPlayer player)
    {
    return true;
    }

    @Override
    public void openInventory()
    {

    }

    @Override
    public void closeInventory()
    {

    }

    @Override
    public boolean isItemValidForSlot(int slot, ItemStack itemstack)
    {
    return true;
    }

    public int getCookProgressScaled(int scale)
    {
    return this.smeltStatus * scale / smeltTime;
    }

    @Override
    public BlockType getTypeOfBlock()
    {
    return BlockType.MACHINE;
    }

    public Packet getDescriptionPacket()
    {
    NBTTagCompound tag = new NBTTagCompound();
    writeToNBT(tag);
    return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 1, tag);
    }

    public void onDataPacket(NetworkManager manager, S35PacketUpdateTileEntity packet)
    {
    readFromNBT(packet.func_148857_g());
    }

    public void writeToNBT(NBTTagCompound tag)
    {
    super.writeToNBT(tag);
    energyBar.writeToNBT(tag);
    tag.setInteger("rotation", rotation);
    tag.setInteger("smeltStatus", smeltStatus);
    NBTUtil.writeItemStackArrayToNBT(inventory, tag);
    }

    public void readFromNBT(NBTTagCompound tag)
    {
    super.readFromNBT(tag);
    energyBar.readFromNBT(tag);
    rotation = tag.getInteger("rotation");
    smeltStatus = tag.getInteger("smeltStatus");
    NBTUtil.readItemStackArrayFromNBT(inventory, tag);
    }
    }

    Posted in: Modification Development
  • 0

    posted a message on Modding Team Recruitment | Need Coders

    Hello my name is Andrew and I am making a Minecraft mod called MolecularEnergy it is based on power and automation. The power Network is custom for my mod i have done all the work so far ther is 2 cables, coal generator, electric furnace, energy storage cube creative one and a Tier 1 for survival if you want to help or even be a Partner put down below some basic info on you like your name, IGN, how long you have been coding/modeling minecraft mods


    http://imgur.com/rB3TbR7

    Posted in: Mods Discussion
  • To post a comment, please or register a new account.