• 0

    posted a message on [ModLoader]Zid's Tutorials - Not Just ModLoader[12/04/2011]
    Yes I did install ModLoader. But I did not see a modloader.txt

    Edit: I had to create a modloader.txt manually and run the game again.
    It was a simple fix after that. Thanks for all the help : )
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader]Zid's Tutorials - Not Just ModLoader[12/04/2011]
    Do you mean the ModLoader.class because there is no modloader file/folder in my .minecraft.

    EDIT: Also I have not edited the ModLoader.class
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader]Zid's Tutorials - Not Just ModLoader[12/04/2011]
    When I start the moded game client it lets me login shows me the MOJANG logo then freezes and crashes.
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader]Zid's Tutorials - Not Just ModLoader[12/04/2011]
    Quote from ziddia »
    @SwissArmy: 1. The spawn rate you set for the ores is really low
    2. Is your class called mod_Copper, like it should?
    3. Did you put the textures in when you put it in the game?

    The code you have should work.


    1. In the test_game I found all 6 of my ores within 15 minutes most of them I found just as much as I found iron.
    2. All the files are correctly named e.g. mod_Copper, BlockCopperOre.
    3. I put my texture folder and textures in the .jar before I started the game.
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader]Zid's Tutorials - Not Just ModLoader[12/04/2011]
    Here is the code for EnumTool material
    public enum EnumToolMaterial
    {
        WOOD("WOOD", 0, 0, 59, 2.0F, 0),
        STONE("STONE", 1, 1, 131, 4F, 1),
        IRON("IRON", 2, 2, 250, 6F, 2),
        EMERALD("EMERALD", 3, 3, 1561, 8F, 3),
        GOLD("GOLD", 4, 0, 32, 12F, 0);
    /*
        public static EnumToolMaterial[] values()
        {
            return (EnumToolMaterial[])field_21209_j.clone();
        }
    
        public static EnumToolMaterial valueOf(String s)
        {
            return (EnumToolMaterial)Enum.valueOf(EnumToolMaterial.class, s);
        }
    */
        private EnumToolMaterial(String s, int i, int j, int k, float f, int l)
        {
    //        super(s, i);
            harvestLevel = j;
            maxUses = k;
            efficiencyOnProperMaterial = f;
            damageVsEntity = l;
        }
    
        public int getMaxUses()
        {
            return maxUses;
        }
    
        public float getEfficiencyOnProperMaterial()
        {
            return efficiencyOnProperMaterial;
        }
    
        public int getDamageVsEntity()
        {
            return damageVsEntity;
        }
    
        public int getHarvestLevel()
        {
            return harvestLevel;
        }
    /*
        public static final EnumToolMaterial WOOD;
        public static final EnumToolMaterial STONE;
        public static final EnumToolMaterial IRON;
        public static final EnumToolMaterial EMERALD;
        public static final EnumToolMaterial GOLD;
    */
        private final int harvestLevel;
        private final int maxUses;
        private final float efficiencyOnProperMaterial;
        private final int damageVsEntity;
    //    private static final EnumToolMaterial field_21209_j[]; /* synthetic field */
    /*
        static 
        {
            WOOD = new EnumToolMaterial("WOOD", 0, 0, 59, 2.0F, 0);
            STONE = new EnumToolMaterial("STONE", 1, 1, 131, 4F, 1);
            IRON = new EnumToolMaterial("IRON", 2, 2, 250, 6F, 2);
            EMERALD = new EnumToolMaterial("EMERALD", 3, 3, 1561, 8F, 3);
            GOLD = new EnumToolMaterial("GOLD", 4, 0, 32, 12F, 0);
            field_21209_j = (new EnumToolMaterial[] {
                WOOD, STONE, IRON, EMERALD, GOLD
            });
        }
    */
    }


    I also have the problem with copper and a few other mod_ files
    + Normalizing mapping tables for net/minecraft/src/mod_Copper.
    	+ Found 0 potential candidates for net/minecraft/src/ModLoader/addOverride (Ljava/lang/String;Ljava/lang/String;)I
    	+ Found 0 potential candidates for net/minecraft/src/ModLoader/AddName (Ljava/lang/Object;Ljava/lang/String;)V
    	+ Found 0 potential candidates for net/minecraft/src/mod_Copper/GenerateSurface (Leb;Ljava/util/Random;II)V
    	+ Found 0 potential candidates for net/minecraft/src/ModLoader/RegisterBlock (Lra;)V
    	+ Found 0 potential candidates for net/minecraft/src/ModLoader/AddSmelting (ILhi;)V
    	+ Found 0 potential candidates for net/minecraft/src/mod_Copper/Version ()Ljava/lang/String;
    	+ Found 0 potential candidates for net/minecraft/src/mod_Copper/copperItem None
    	+ Found 0 potential candidates for net/minecraft/src/mod_Copper/copperOre None
    + Remapping net/minecraft/src/mod_Copper.

    This is my copper .class
    package net.minecraft.src;
    
    import java.util.Random;
    
    public class mod_Copper extends BaseMod
    {
      public static final Block copperOre = new BlockCopperOre(111, 0).setHardness(2.0F).setResistance(5.0F).setBlockName("copperOre");
      public static final Item copperItem = new Item(2004).setItemName("copperItem");
      
      public mod_Copper()
      {
        ModLoader.RegisterBlock(copperOre);
        copperOre.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/nashores/copperore.png");
        copperItem.iconIndex = ModLoader.addOverride("/gui/items.png", "/nashores/copperitem.png");
        
        ModLoader.AddName(copperOre, "Copper Ore");
        ModLoader.AddName(copperItem, "Copper Ingot");
        
        ModLoader.AddSmelting(copperOre.blockID, new ItemStack(copperItem, 1));
      }  
      public void GenerateSurface (World world, Random rand, int chunkX, int chunkZ)
      {
        for(int i = 0; i < 6; i++)
        {
          int randPosX = chunkX + rand.nextInt(16);
          int randPosY = rand.nextInt(24)+58;
          int randPosZ = chunkZ + rand.nextInt(16);
          (new WorldGenMinable(mod_Copper.copperOre.blockID, 6)).generate(world, rand, randPosX, randPosY, randPosZ);
        }
      }  
      
      public String Version()
      {
        return "1.4_01";
      }
      
    }


    Also all of this code works fine with the MCP test_game.bin it only dosent work with the game client.
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader]Zid's Tutorials - Not Just ModLoader[12/04/2011]
    So I have created a mod that adds a few new ores and rock types and it works fine. I can test it in MCP without any issues but after i reobf it and try to play it on my normal minecraft it dosent seem to work. I installed it correctly and everything.
    I looked in my reobf.log file and found this.

    + Normalizing mapping tables for net/minecraft/src/EnumToolMaterial.
    	+ Found 0 potential candidates for net/minecraft/src/EnumToolMaterial/values ()[Lbc;
    	+ Found 0 potential candidates for net/minecraft/src/EnumToolMaterial/valueOf (Ljava/lang/String;)Lbc;
    	+ Found 0 potential candidates for net/minecraft/src/EnumToolMaterial/$VALUES None
    	+ Found 0 potential candidates for net/minecraft/src/EnumToolMaterial/COPPER None
    + Remapping net/minecraft/src/EnumToolMaterial.

    I am not sure if this is the problem or not but i also see some .class file in the reobf log file without any errors.
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader]Zid's Tutorials - Not Just ModLoader[12/04/2011]
    How could I make a block drop a differnt block when broken?All Ican find from you is how to make it drop an item.
    Posted in: Tutorials
  • 0

    posted a message on [ORIGINAL][EVENT]Minecraft Hunger Games - Join and Fight! (Not just another Hunger Games Server!) ~ HELP US BUILD APPLY NOW ~
    Quote from battlekid »
    Quote from ImACheesyMonkey »
    Well, we have plenty of time to worry about servers. So I think we'll stick with his once he gets everything sorted out.

    The problem is that he's 13, and doesn't know a single thing about Bukkit/Plugins/Server Admining.

    Thats OK, but the fact that his comp can't even RUN the server right now (and he doesn't even have a CONSOLE opening, for pities sake)... Basically he is not able to run this as of right now...


    With the weekend aproaching quickly im sure this will get sorted out and we will be able to get to work. So just relax and be calm.
    Posted in: PC Servers
  • 0

    posted a message on [ORIGINAL][EVENT]Minecraft Hunger Games - Join and Fight! (Not just another Hunger Games Server!) ~ HELP US BUILD APPLY NOW ~
    Quote from tarlench »
    Quote from Liam3997 »
    Hey guys. So about the whole skype thing. Maybe we need a different way to communicate like IRC? Somebody suggested this and I think that may be a good idea for those not comfortable using skype. Also, to clear this up, I never said that skype was the official way of communicating out of the forum!Their seems to be a misconception about this. Also, do we really need to look for another paid server? If tarlench's server is not working right, perhaps we should remove some mods? Or maybe we could just start some new system files and start with a clean slate? I'd rather go through with this idea without paying money as it could lead to financial problems so to speak with the server. Also, battlekid, the server that you set up seems to be suffering from major lag right now as things are very slow right now on my end. As in VERY slow! Also, why are there mobs? Anyways, we should try and figure these problems out, and fast because it seems we are losing progress rather than gaining it right now.


    i can try starting a new servr but with no mods then add them from then on


    This sounds like a better idea then starting with a whole load of extra possibly unstable mods.
    Posted in: PC Servers
  • 0

    posted a message on [ORIGINAL][EVENT]Minecraft Hunger Games - Join and Fight! (Not just another Hunger Games Server!) ~ HELP US BUILD APPLY NOW ~
    Quote from TheFieldZy »
    Architects
    We need to start planning out what all the buildings and such will look like. Please, send me any pictures you have for these things:
    The Training Center
    The Arena Wall
    The Gamemakers Box
    Anything else you can think of.
    They don't need to be perfect or something huge, just a segment of the building.
    This would be greatly appreciated.


    I think I remeber there being a cliff around one of the arenas im thinking we could do that.
    Posted in: PC Servers
  • 0

    posted a message on [ORIGINAL][EVENT]Minecraft Hunger Games - Join and Fight! (Not just another Hunger Games Server!) ~ HELP US BUILD APPLY NOW ~
    Quote from ImACheesyMonkey »
    Quote from Sw1ss4rmy »
    Quote from tarlench »

    Nice traps man


    Thanks, I made a few more but i thought they were a bit to complicated to add to the arena.


    The sand trap I really like, I might just use it. But the second one, with the melting ice, I don't really get what the point is.


    Well that was a very small version just for testing and the video. I could make it bigger and lets say someone is being chased by the muts this could slow tham down and let them be surrounded. Though i agree that the sand trap was the better of the 2.
    Posted in: PC Servers
  • 0

    posted a message on [ORIGINAL][EVENT]Minecraft Hunger Games - Join and Fight! (Not just another Hunger Games Server!) ~ HELP US BUILD APPLY NOW ~
    Quote from tarlench »
    Quote from Sw1ss4rmy »
    I have just made a video with a few scale trap mockups all of which can be made much larger or any size or shape for that matter. If you are interested just click the link





    Nice traps man


    Thanks, I made a few more but i thought they were a bit to complicated to add to the arena.
    Posted in: PC Servers
  • 0

    posted a message on [ORIGINAL][EVENT]Minecraft Hunger Games - Join and Fight! (Not just another Hunger Games Server!) ~ HELP US BUILD APPLY NOW ~
    I have just made a video with a few scale trap mockups all of which can be made much larger or any size or shape for that matter. If you are interested just click the link
    Posted in: PC Servers
  • 0

    posted a message on [ORIGINAL][EVENT]Minecraft Hunger Games - Join and Fight! (Not just another Hunger Games Server!) ~ HELP US BUILD APPLY NOW ~
    I will be posting a few Game Master/ Tribute set off traps tomorrow some for all around use some biome specific. So expect a video on here tomorrow afternoon.
    Posted in: PC Servers
  • 0

    posted a message on [ORIGINAL][EVENT]Minecraft Hunger Games - Join and Fight! (Not just another Hunger Games Server!) ~ HELP US BUILD APPLY NOW ~
    Nice mine design but what happens when you jump do the plates turn off or do they stay on long enough?
    Posted in: PC Servers
  • To post a comment, please .