• 0

    posted a message on Fossores 2 [IP: 184.154.103.204][FACTIONS] [Survival Games][Mob Arena][Economy] [PvP][Multiple Worlds][Dungeons]
    Fossores 2

    What we have:

    --3 worlds, including one PvP world

    --Factions
    --A dungeon to explore and get loot
    --A Survival Games Arena
    --A MobArena

    --A Maze for fun!
    --DisguiseCraft (Limited use for Members)
    --Lockette to protect your chests and furnaces beyond other protections
    --Grief Prevention—Protect your space!
    --Server and Player-run shops
    --Building allowed almost anywhere. If it isn’t claimed, you can build there!
    --A chance of special rare drops, including diamond, from certain blocks


    If you like us and wish to donate, we are now offering benefits and ranks! Three ranks with lots of benefits, as well as, many extras such as flying and the ability to repair your items. Visit our website at www.fossores.enjin.com for more details.
    Posted in: PC Servers
  • 0

    posted a message on Fossores [IP: 63.224.68.9] [Survival Games][Mob Arena][Economy] [PvP][Multiple Worlds][Dungeons]
    Fossores is a 1.3.2 SURVIVAL server with 4 worlds in which the players can build, earn money from owning a shop or earn rewards from our Jungle Dungeon. Players can also participate in our Survival Games Arena or test their mob fighting skills in the our Mob Arena! The server is equipped with the Lockette plugin so that no other players may steal from your chests or furnaces. With the Grief Prevention plugin, players have land claiming abilities. A player can claim their land by earning "Claiming Blocks”. You earn claiming blocks by actively playing on the server. On land that has been claimed, no player but the owner of the land may break blocks or build. PvP is available in 3 worlds, one that is monster free. Please visit our Web site at www.fossores.enjin.com!
    Posted in: Minecraft Survival Servers (archive)
  • 0

    posted a message on [Creating Mods] ModLoader [28/1/12]
    Quote from fox_news

    to decompile your MCP WITH modLoader you DO NOT delete META-INF.

    i cant test my mod because of this error

    how to fix?


    First, I DID delete the META-INF and it didn't seem to cause any problem, as I have everything working fine :)

    Second, try to change the block id number you assigned to your block. It looks like you assigned 500 to your block. From what I understand, blocks can have numbers from 124(ish) to 255. (I have read that these numbers may have changed, but it worked for me when I changed my block id number to a number in between.)
    Posted in: Tutorials
  • 0

    posted a message on Problem updating mod with MCP6.0 and ModLoader 1.2.3
    Quote from Warleader94

    well...one question wheres the folder to change the number?


    The code where you change the number would be in the mod_(whatever you named your mod) class file that you created for your mod. :)
    Posted in: Mods Discussion
  • 0

    posted a message on Problem updating mod with MCP6.0 and ModLoader 1.2.3
    Quote from CreeperMirror

    i am having the same problem only im an idiot when it comes to coding so how do i fix it back to 255??


    If you look at your code, you assigned a number to your block when you created it. For example:

    						PotatoBlock = (new Block(505, ModLoader.addOverride("/terrain.png",  "/gfx/potatoBlock.png"))).setHardness(0.5F).setStepSound(Block.soundClothFootstep).setBlockName("potatoBlock");


    Where I have the number 505 is the "data value" number I assigned to my block. Blocks can't go above 255. It doesn't have to be 255 exactly. It can be anywhere from 124(ish, depending on new things that have been added) to 255. :)
    Posted in: Mods Discussion
  • 0

    posted a message on Problem updating mod with MCP6.0 and ModLoader 1.2.3
    Quote from copskid1

    you guys are trying to look too hard!
    the problem is that you cant have a block id over 255
    your block id is 505
    you should have been able to tell that from the first post


    YOU ARE FRICKIN' AWESOME!! Thank you so much! I knew it was probably something really simple... lol. :steve_blushing:
    Posted in: Mods Discussion
  • 0

    posted a message on [Creating Mods] ModLoader [28/1/12]
    Quote from Methuselah96

    from what I've seen, most people get this error when they don't delete META-INF


    Is there another place besides the original minecraft.jar file that I put into MCP where I would need to delete the META-INF from? I did delete it from the original jar when I put ModLoader in before I decompiled it in MCP ;)
    Posted in: Tutorials
  • 0

    posted a message on [Creating Mods] ModLoader [28/1/12]
    Quote from 277772

    sorry once again i fixed the errors again so nvm about that last post

    i got no errors but if i install any mod with my mod minecraft crashes it gives this erorr report.




    java.lang.ArrayIndexOutOfBoundsException: 800
    at ModLoader.initStats(ModLoader.java:925)
    at ModLoader.init(ModLoader.java:909)
    at ModLoader.addAllRenderers(ModLoader.java:186)
    at aho.<init>(aho.java:79)
    at aho.<clinit>(aho.java:9)
    at net.minecraft.client.Minecraft.a(SourceFile:267)
    at net.minecraft.client.Minecraft.run(SourceFile:650)
    at java.lang.Thread.run(Unknown Source)
    --- END ERROR REPORT 94e64240 ----------


    why do i want to install mods with it???

    because i made my ore hard-to-find.

    thx for helping me any way


    I, too, am getting this error. I've posted about it in a couple different places. If anyone has any thoughts about what is causing this and/or how to fix it, I would greatly appreciate hearing(reading) them :)

    ADDED:

    Thanks to copskid1 and zerieth, I have learned that the problem was in my block id number. They cannot go above 255, mine was set at 505.

    eg.
     public static final Block potatoBlock = (new BlockPotatoBlock(505, 0)).setHardness(0.5F).setStepSound(Block.soundClothFootstep).setBlockName("potatoBlock");


    @277772 yours is set to 800 :)
    Posted in: Tutorials
  • 0

    posted a message on Problem updating mod with MCP6.0 and ModLoader 1.2.3
    Quote from TopolaWar

    Can You paste text from modloader.txt here?
    It's in .minecraft :D


    Here ya go :)

    Mar 4, 2012 1:47:27 PM ModLoader init
    FINE: ModLoader 1.2.2 Initializing...
    Mar 4, 2012 1:47:27 PM ModLoader readFromClassPath
    FINER: Adding mods from C:\Users\xxxx\AppData\Roaming\.minecraft\bin\minecraft.jar
    Mar 4, 2012 1:47:27 PM ModLoader readFromClassPath
    FINER: Zip found.
    Mar 4, 2012 1:47:27 PM ModLoader addOverride
    FINER: addOverride(/terrain.png,/gfx/potatoBlock.png,30). 36 left.
    Mar 4, 2012 1:47:27 PM ModLoader addOverride
    FINER: addOverride(/gui/items.png,/gfx/chocolateBar.png,38). 84 left.
    Mar 4, 2012 1:47:27 PM ModLoader addOverride
    FINER: addOverride(/gui/items.png,/gfx/burger.png,102). 83 left.
    Mar 4, 2012 1:47:27 PM ModLoader addOverride
    FINER: addOverride(/gui/items.png,/gfx/chocolateMilk.png,118). 82 left.
    Mar 4, 2012 1:47:27 PM ModLoader addOverride
    FINER: addOverride(/gui/items.png,/gfx/potato.png,119). 81 left.
    Mar 4, 2012 1:47:27 PM ModLoader addOverride
    FINER: addOverride(/gui/items.png,/gfx/frenchFries.png,120). 80 left.
    Mar 4, 2012 1:47:27 PM ModLoader addOverride
    FINER: addOverride(/gui/items.png,/gfx/hotCocoa.png,134). 79 left.
    Mar 4, 2012 1:47:27 PM ModLoader addMod
    FINE: Mod Initialized: "mod_CafeFoods 1.2.1" from mod_CafeFoods.class
    Mar 4, 2012 1:47:27 PM ModLoader init
    FINE: Mod Loaded: "mod_CafeFoods 1.2.1"
    Mar 4, 2012 1:47:27 PM ModLoader init
    FINER: THROW
    java.lang.ArrayIndexOutOfBoundsException: 505
    	at ModLoader.initStats(ModLoader.java:912)
    	at ModLoader.init(ModLoader.java:896)
    	at ModLoader.addAllRenderers(ModLoader.java:186)
    	at aho.<init>(aho.java:79)
    	at aho.<clinit>(aho.java:9)
    	at net.minecraft.client.Minecraft.a(SourceFile:267)
    	at net.minecraft.client.Minecraft.run(SourceFile:650)
    	at java.lang.Thread.run(Unknown Source)
    Posted in: Mods Discussion
  • 0

    posted a message on Need help making mobs with ModLoader 1.2.3 (Old way dosent seem to work)
    Try changing the "a" in AddName, AddEntity, etc. to lower case. I believe Risugami changed that in this update.
    Posted in: Mods Discussion
  • 0

    posted a message on Problem updating mod with MCP6.0 and ModLoader 1.2.3
    Quote from Briggy_Bros

    What is your code?


    This is my mod class file code. Thanks for taking a look :)
    package net.minecraft.src;
    import java.util.Random;
    
    
    	public class mod_CafeFoods extends BaseMod
    	{
    			public static final Item hotCocoa = new ItemFood(501, 1, 0.2F, false).setItemName("hotCocoa");
    			public static final Item chocolateBar = new ItemFood(502, 0, 0.0F, false).setItemName("chocolateBar");
    			public static final Item burger = new ItemFood(503, 5, 0.8F, true).setItemName("burger");
    			public static final Item chocolateMilk = new ItemFood(504, 2, 0.3F, false).setItemName("chocolateMilk");
    			public static final Item potato = new ItemFood(506, 3, 0.3F, false).setItemName("potato");
    			public static final Item frenchFries = new ItemFood(507, 4, 0.5F, false).setItemName("frenchFries");
    			public static final Block PotatoBlock;
    		  
    			static
    			{
    			PotatoBlock = (new BlockPotatoBlock(505, ModLoader.addOverride("/terrain.png",	"/gfx/potatoBlock.png"))).setHardness(0.5F).setStepSound(Block.soundClothFootstep).setBlockName("potatoBlock");
    			}
    	  
    			public void load()
    			{
    			}
    		  
    			public mod_CafeFoods()
    		  
    		{
    			hotCocoa.iconIndex=ModLoader.addOverride("/gui/items.png", "/gfx/hotCocoa.png");
    			ModLoader.addName (hotCocoa, "Hot Cocoa");
    			ModLoader.addSmelting(chocolateMilk.shiftedIndex, new ItemStack(hotCocoa, 1));
    		}
    	   {
    			chocolateBar.iconIndex=ModLoader.addOverride("/gui/items.png", "/gfx/chocolateBar.png");			
    			ModLoader.addName (chocolateBar, "Chocolate Bar");
    			ModLoader.addRecipe(new ItemStack(chocolateBar, 8), new Object[] {
    			  "SSS", "XMX", "SSS", Character.valueOf('S'), Item.sugar, Character.valueOf('X'), Block.dirt, Character.valueOf('M'),	 Item.bucketMilk});
    		}
    		{
    			burger.iconIndex=ModLoader.addOverride("/gui/items.png", "/gfx/burger.png");
    			ModLoader.addName (burger, "Burger");
    			ModLoader.addRecipe(new ItemStack(burger, 3), new Object[] {
    			" B ", " C ", " P ", Character.valueOf('B'), Item.bread, Character.valueOf('C'), Item.beefCooked, Character.valueOf('P'), Item.paper});
    		}
    	   {
    			chocolateMilk.iconIndex=ModLoader.addOverride("/gui/items.png", "/gfx/chocolateMilk.png");
    			ModLoader.addName (chocolateMilk, "Chocolate Milk");
    			ModLoader.addRecipe(new ItemStack(chocolateMilk, 1), new Object[] {
    			  " M ", " C ", " G ", Character.valueOf('M'), Item.bucketMilk, Character.valueOf('C'), chocolateBar, Character.valueOf('G'), Item.glassBottle});
    		}
    		{
    			potato.iconIndex=ModLoader.addOverride("/gui/items.png", "/gfx/potato.png");
    			ModLoader.addName (potato, "Potato");
    		}
    		{
    			frenchFries.iconIndex=ModLoader.addOverride("/gui/items.png", "/gfx/frenchFries.png");
    			ModLoader.addName (frenchFries, "French Fries");
    			ModLoader.addRecipe(new ItemStack(frenchFries, 1), new Object[] {
    			  " P ", " P ", " W ", Character.valueOf('P'), potato, Character.valueOf('W'), Item.paper});
    		}
    		{
    			ModLoader.registerBlock(PotatoBlock);
    			ModLoader.addName(PotatoBlock, "Potato Block");
    		  
    			world = ModLoader.getMinecraftInstance().theWorld;
    		}
    
    
    	  
    		public void generateSurface(World world, Random random, int chunkx, int chunkz)
    		{
    			for(int a=0; a<30; a++)
    			{
    	  
    			int posX = chunkx + random.nextInt(16);
    			int posY = random.nextInt(62) + 20;
    			int posZ = chunkz + random.nextInt(16);
    	  
    		    (new WorldGenMinable(PotatoBlock.blockID, 10)).generate(world, random, posX, posY, posZ);
    
    			}
    	  
    		}		  
    
    		public String getVersion()
    	   {
    			return "1.2.1";
    	   }
    	  
    		World world;  
    	  
    
    	}
    Posted in: Mods Discussion
  • 0

    posted a message on Problem updating mod with MCP6.0 and ModLoader 1.2.3
    Hi all :)

    I've been working on a little update to a mod I created and am having some trouble. My mod previously had only "items" and updated to MC 1.2.3 just fine. But, now I'm trying to add naturally generated blocks and am having an issue.

    When using MCP 6.0 (I have ModLoader 1.2.3 in the jar), I get no errors on recompilation with my mod. When I run the test client in MCP, I get the following error message:


    Mods loaded: 2
    ModLoader 1.2.3
    mod_CafeFoods 1.2.1

    Minecraft has crashed!
    ----------------------

    Minecraft has stopped running because it encountered a problem.


    --- BEGIN ERROR REPORT b1ba1330 --------
    Generated 3/4/12 9:03 AM

    Minecraft: Minecraft 1.2.3
    OS: Windows 7 (amd64) version 6.1
    Java: 1.6.0_31, Sun Microsystems Inc.
    VM: Java HotSpot™ 64-Bit Server VM (mixed mode), Sun Microsystems Inc.
    LWJGL: 2.4.2
    OpenGL: Intel® HD Graphics Family version 3.0.0 - Build 8.15.10.2353, Intel

    java.lang.ArrayIndexOutOfBoundsException: 505
    at net.minecraft.src.ModLoader.initStats(ModLoader.java:902)
    at net.minecraft.src.ModLoader.init(ModLoader.java:875)
    at net.minecraft.src.ModLoader.addAllRenderers(ModLoader.java:154)
    at net.minecraft.src.RenderManager.<init>(RenderManager.java:85)
    at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:12)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:423)
    at net.minecraft.client.Minecraft.run(Minecraft.java:784)
    at java.lang.Thread.run(Thread.java:662)
    --- END ERROR REPORT a073d87a ----------

    Any help in what might be causing this and how I can fix it would be greatly appreciated.

    Thanks! :)
    Posted in: Mods Discussion
  • 0

    posted a message on Mrsal511's Modding Tutorials (With Video)
    First. I'd llike to say thanks for taking the time to make these tutorials. I found them very useful.

    Second, I'd like your thoughts, please. :)

    I have been working on an update to my mod. It previously just had a few items, but I am trying to add a naturally generating block using your tutorial. I have the MCP 6.0 preview, and ModLoader 1.2.3. I have no errors after recompiling in MCP. However, when I run the test client, I get the following error message:

    --- BEGIN ERROR REPORT a0bb3f11 --------
    Generated 3/3/12 9:05 PM

    Minecraft: Minecraft 1.2.3
    OS: Windows 7 (amd64) version 6.1
    Java: 1.6.0_31, Sun Microsystems Inc.
    VM: Java HotSpot™ 64-Bit Server VM (mixed mode), Sun Microsystems Inc.
    LWJGL: 2.4.2
    OpenGL: Intel® HD Graphics Family version 3.0.0 - Build 8.15.10.2353, Intel

    java.lang.ArrayIndexOutOfBoundsException: 505
    at net.minecraft.src.ModLoader.initStats(ModLoader.java:887)
    at net.minecraft.src.ModLoader.init(ModLoader.java:860)
    at net.minecraft.src.ModLoader.addAllRenderers(ModLoader.java:154)
    at net.minecraft.src.RenderManager.<init>(RenderManager.java:85)
    at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:12)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:423)
    at net.minecraft.client.Minecraft.run(Minecraft.java:784)
    at java.lang.Thread.run(Thread.java:662)
    --- END ERROR REPORT bd20ae5e ----------

    To be clear, my mod did update and run ok for 1.2.3 before I added the new block/items. Though I know this may have nothing to do with your instruction (as I didn't get the error on recompilation), I thought maybe you might know the direction to start looking for a solution. Thanks!



    Quote from diehard362

    i dont think there is a mcp pre-release for minecraft 1.2.3 yet if so link me and i will try fix it :D


    The MCP preview link was found on Searge's Twitter page earlier today (3/3/12) :)
    Posted in: Tutorials
  • To post a comment, please or register a new account.