• 1

    posted a message on i will start programming java tommorow. any tips?
    Here's a quote from Zed Shaw out of one of his books. It's just some very general advice about programming.


    You've finished this book and have decided to continue with programming. Maybe it will be a career for you, or maybe it will be a hobby. You'll need some advice to make sure you continue on the right path, and get the most enjoyment out of your newly chosen activity.

    I've been programming for a very long time. So long that it's incredibly boring to me. At the time that I wrote this book, I knew about 20 programming languages and could learn new ones in about a day to a week depending on how weird they were. Eventually though this just became boring and couldn't hold my interest anymore. This doesn't mean I think programming is boring, or that you will think it's boring, only that I find it uninteresting at this point in my journey.

    What I discovered after this journey of learning is that it's not the languages that matter but what you do with them. Actually, I always knew that, but I'd get distracted by the languages and forget it periodically. Now I never forget it, and neither should you.

    Which programming language you learn and use doesn't matter. Do not get sucked into the religion surrounding programming languages as that will only blind you to their true purpose of being your tool for doing interesting things.

    Programming as an intellectual activity is the only art form that allows you to create interactive art. You can create projects that other people can play with, and you can talk to them indirectly. No other art form is quite this interactive. Movies flow to the audience in one direction. Paintings do not move. Code goes both ways.

    Programming as a profession is only moderately interesting. It can be a good job, but you could make about the same money and be happier running a fast food joint. You're much better off using code as your secret weapon in another profession.

    People who can code in the world of technology companies are a dime a dozen and get no respect. People who can code in biology, medicine, government, sociology, physics, history, and mathematics are respected and can do amazing things to advance those disciplines.

    Of course, all of this advice is pointless. If you liked learning to write software with this book, you should try to use it to improve your life any way you can. Go out and explore this weird wonderful new intellectual pursuit that barely anyone in the last 50 years has been able to explore. Might as well enjoy it while you can.

    Finally, I'll say that learning to create software changes you and makes you different. Not better or worse, just different. You may find that people treat you harshly because you can create software, maybe using words like "nerd". Maybe you'll find that because you can dissect their logic that they hate arguing with you. You may even find that simply knowing how a computer works makes you annoying and weird to them.

    To this I have just one piece of advice: they can go to hell. The world needs more weird people who know how things work and who love to figure it all out. When they treat you like this, just remember that this is your journey, not theirs. Being different is not a crime, and people who tell you it is are just jealous that you've picked up a skill they never in their wildest dreams could acquire.

    You can code. They cannot. That is pretty damn cool.
    Posted in: Computer Science and Technology
  • 3

    posted a message on Dont Get Me Wrong With This... But.... Redstone IRL?
    You could try LSD and crayons.
    Posted in: Computer Science and Technology
  • 1

    posted a message on HTML programs
    Sublime Text 2 is the greatest text editor ever. Seriously. Stylish, fast, effective, has a vintage mode ( for you vim users ) and is just nice to use in general. I think the only reason I wouldn't use it is if I needed to use a C++ IDE or something.
    Posted in: Computer Science and Technology
  • 1

    posted a message on How to get Minecraft splash text on a website?
    PHP:
    <?php
    $str = file_get_contents('splashes.txt');
    $result = explode('\n',$var);
    echo $result[array_rand($result)];
    ?>


    I'm not sure how you would do it in Javascript, but I think that works in PHP (maybe).

    Posted in: Computer Science and Technology
  • 1

    posted a message on MS WORD!!!
    Quote from MineMan_620

    I'm trying to type my science experiment for the science fair but whenever I change the font size to 14, it changes from comic sans to calibri. Same the opposite way. Help?

    EDIT: nm finally got it to work.


    It's built in protection to stop you from using comic sans.
    Posted in: Computer Science and Technology
  • 2

    posted a message on GM-Miner
    Not another one of these threads. Kill me now :sad.gif:
    Posted in: Computer Science and Technology
  • 1

    posted a message on Requesting C help
    Quote from Swook

    Hey everyone Im currently fighting with C. I did C++ all last year but now I must learn C.

    This is my first C program, a very simple "guessing game", what I cant figure out is, when I guess above the number generated by rand(), 2 of my if statements fire off, and when I guess lower, all 3 of them fire off.

    Im guessing something is wrong with my if comparisons or something else about C I didn't know Im missing. Are my if statements done correctly?

    Any advice would be great.

    snip 



    I think the problem is that currently ALL the if statements are checked. Think about it, if you know that the guess is higher than the number, it's not going to be lower. It's a pointless thing to check.

    Change from this style:

    if {
    ...
    }
    if {
    ..
    }
    if {
    ...
    }


    To:

    if {
    ...
    }
    else if {
    // This only goes off if the statement above is false
    ...
    }
    
    else if {
    // Same thing here
    // Essentially, else statements act naturally as break statements (kind of)
    ...
    }


    So basically, the if statement will check normally, if the if statement doesn't go through, the next else or else if statement will go of like it was an if statement.

    I can't verify this right now, but please reply back if I'm wrong (which is likely).
    Posted in: Computer Science and Technology
  • 5

    posted a message on Simple Way Of Getting Infinite Eggs
    How to get infinite eggs:

    1. Chicken
    2. ??????
    3. PROFIT!
    Posted in: Survival Mode
  • 1

    posted a message on The Ultimate Minecraft Guide
    ALL CREDIT TO MINECRAFT WIKI FOR THE PICTURES AND INFORMATION
    CREDIT TO THE_FOOL76 FOR SUPPLYING A BUNCH OF QUESTIONS FOR THE FAQ



    THE ULTIMATE MINECRAFT GUIDE



    Crafting is a major method by which blocks, tools, and other resources are created in Minecraft. It is a function only available in Indev, Infdev and Alpha modes.

    A 2x2 crafting grid. This is already in your inventory.



    A 3x3 crafting grid. This requires a crafting table.



    In order to craft something, the player must move items from their inventory into the crafting grid, then arrange them into the correct pattern for the item they wish to create. While some recipes require a degree of trial and error to discover, most can be found through common sense.

    The player has access to a 2x2 crafting grid - located in the inventory screen - at all times. Simple things can be crafted there, like wood planks, sticks and workbenches. To craft with a 3x3 grid, the player must first place a workbench block into the game world, then right click on it.

    In Alpha and listed below, there are 93 recipes. Four can not be used except through hacking (chainmail armor). The ability to use any order of mushrooms to create mushroom stew is considered two recipes. Three recipes merely allow the player to craft diamond, steel, and gold blocks back into their respective bars again. And many recipes are similar in that they only differ in what material can be used, such as for armor.

    When crafting items with limited uses (tools, armor, and weapons), each improvement in building material roughly doubles the number of times the item may be used prior to breaking as well as increasing its speed or power. Once an item breaks, it disappears from the inventory.

    * Wood: 33 uses, n = 0
    * Gold: 33 uses, n = 0
    * Stone: 65 uses, n = 1
    * Iron: 129 uses, n = 2
    * Diamond: 1025 uses, n = 5

    The formula for the number of uses is 2^(5+n)+1. "n" is the durability of the material being used, and the values for each are on the above list. Incrementing n by 1 nearly doubles the number of uses.

    Regardless of what item is being used, a use counts as either the complete deletion of a block or a single strike at an enemy, but an incomplete attempt to delete a block (stopping in the middle) does not qualify as a use. If a tool is used inappropriately, such as using a pickaxe to attack mobs, each use will have the equivalent of 2 proper uses.

    Content

    1 Recipes
    o 1.1 Basic
    o 1.2 Blocks
    o 1.3 Tools
    o 1.4 Weapons
    o 1.5 Armor
    o 1.6 Transportation
    o 1.7 Mechanics
    o 1.8 Food
    o 1.9 Miscellaneous
    o Block IDs and Item IDs list
    o FAQ


    Recipes
    --------------------



    [-'-] 1.1 Basic [-'-]

    - Workbench

    Allows for use of the 3×3 crafting grid.

    - Furnace

    Allows for the smelting of ores and cooking of food.

    - Planks

    Used as a building material and can be crafted into many things.

    - Sticks

    Used for torches, arrows, signs, ladders, and as handles for tools.

    - Torches

    Used to generate light. Torches also melt snow and ice.

    - Chest

    Stores stacks of items inside. Two chests make a large chest when you put one next to another.


    :||||: 1.2 Blocks :||||:

    - Ore Blocks

    Allows bars to be crafted into placeable blocks. Full blocks can also be crafted into 9 bars again.

    - Cloth Block

    Used as a building material. Cloth can also be obtained from Sheep.

    - TNT Block

    Used to cause explosions. Gunpowder can be obtained from Creepers or from chests in Dungeons.

    - Steps

    Used for half block steps. Two half blocks on top of each other create a full-sized block.

    - Stairs

    Used for full block stairs.

    - Snow Block

    Used for storing snowballs or as building material.

    - Clay Block

    Used to store clay and as an alternative to Stone.

    - Brick Block

    Used as a building material.



    :SSSS: 1.3 Tools :SSSS:

    - Axes

    Used to chop wood-related blocks faster than by hand.

    - Pickaxes

    Required to mine stone-related blocks and ore.

    - Shovels

    Used to dig Dirt, Grass, Sand, Gravel, Clay and Snow faster than by hand.

    - Hoes

    Used to till Dirt blocks to find seeds and/or prepare for Crops.

    - Flint and Steel

    Used to create a Fire.

    - Bucket

    Used to transport water, lava and milk.


    [>>-i>] 1.4 Weapons [>>-i>]

    - Arrows

    Used as ammunition for bows. Feathers can be found from Chickens and Zombies.

    - Swords

    When equipped, makes your attacks more powerful on Mobs than by hand.

    - Bow

    Allows for ranged attacks by using arrows. String can be found from Spiders.


    :Diamond: 1.5 Armor :Diamond:

    - Helmet

    Head armor, gives 1.5 armor points.

    - Chestplate

    Chest armor, gives 4 armor points.

    - Leggings

    Leg armor, gives 3 armor points.

    - Boots

    Foot armor, gives 1.5 armor points.


    :Furnace: 1.6 Transportation :Furnace:

    Average is given by the arithmetic mean, sum(x1, x2, ..., xn)/n
    Speed is given by the definition of speed, Δdistance/Δtime

    - Minecart

    Used to transport the player along Minecart tracks.

    - Powered Minecart

    Used to push other Minecarts along Minecart tracks.

    - Storage Minecart

    Used to transport goods along Minecart tracks.

    - Minecart Track

    Used to direct Minecarts.

    - Boat

    Used to travel in water quicker than by swimming. When crashed you receive 3 planks and 2 sticks.


    :tnt: 1.7 Mechanics :tnt:

    - Door

    Wooden doors activated by right clicking. Iron doors can only be activated with Buttons, Levers, Pressure Plates, or Redstone Torches.

    - Pressure Plates

    Used to activate objects by being stepped on. Wooden Pressure Plates can also be activated by having something dropped on them.

    - Stone Button

    Used to activate objects by being pressed.

    - Redstone Torch

    Used to activate objects and power Redstone Wires.

    - Lever

    Used to activate and deactivate objects.


    :Ham: 1.8 Food :Ham:

    - Bowls

    Used to hold Mushroom Stew.

    - Mushroom Stew

    Heals 5 hearts. The ordering of the red and brown mushrooms above the bowl does not matter.

    - Bread

    Heals 2.5 hearts.

    - Golden Apple

    Heals all 10 hearts.


    :Sheep: 1.9 Miscellaneous :Sheep:

    - Painting

    Used as decoration.

    - Sign

    Shows text input by the player.

    - Ladder

    Used to climb vertically.

    - Papers

    Used to create books.

    - Book

    Used to create a bookshelf.

    - Bookshelf

    Used as decoration.

    - Jukebox

    Plays a song when you use a record on it. Records can be acquired by killing Creepers or from chests in Dungeons.

    - Fence

    Used as a barrier. Can not be jumped over.


    --------------

    Block IDs

    dec hex Block type
    0 00 Air
    1 01 Stone
    2 02 Grass
    3 03 Dirt
    4 04 Cobblestone
    5 05 Wood
    6 06 Sapling
    7 07 Bedrock (Adminium)
    8 08 Water
    9 09 Stationary water
    10 0A Lava
    11 0B Stationary lava
    12 0C Sand
    13 0D Gravel
    14 0E Gold ore
    15 0F Iron ore
    16 10 Coal ore
    17 11 Log
    18 12 Leaves
    19 13 Sponge
    20 14 Glass
    21 15 Red Cloth
    22 16 Orange Cloth
    23 17 Yellow Cloth
    24 18 Lime Cloth
    25 19 Green Cloth
    26 1A Aqua green Cloth
    27 1B Cyan Cloth
    28 1C Blue Cloth
    29 1D Purple Cloth
    30 1E Indigo Cloth
    31 1F Violet Cloth
    32 20 Magenta Cloth
    33 21 Pink Cloth
    34 22 Black Cloth
    35 23 Gray Cloth (White Cloth has this space in Alpha)
    36 24 White Cloth
    37 25 Yellow flower
    38 26 Red rose
    39 28 Brown Mushroom
    40 27 Red Mushroom
    41 29 Gold Block
    42 2A Iron Block
    43 2B Double Stair
    44 2C Stair
    45 2D Brick
    46 2E TNT
    47 2F Bookcase
    48 30 Mossy Cobblestone
    49 31 Obsidian
    50 32 Torch
    51 33 Fire
    52 34 Mob Spawner
    53 35 Wooden Stairs
    54 36 Chest
    55 37 Redstone Wire
    56 38 Diamond Ore
    57 39 Diamond Block
    58 3A Workbench
    59 3B Crops
    60 3C Soil
    61 3D Furnace
    62 3E Burning Furnace
    63 3F Sign Post
    64 40 Wooden Door, bottom half
    65 41 Ladder
    66 42 Minecart Rail
    67 43 Cobblestone Stairs
    68 44 Sign
    69 45 Lever
    70 46 Stone Pressure Plate
    71 47 Iron Door, bottom half
    72 48 Wooden Pressure Plate
    73 49 Redstone Ore
    74 4A Lighted Redstone Ore
    75 4B Redstone torch ("off" state)
    76 4C Redstone torch ("on" state)
    77 4D Stone Button
    78 4E Snow
    79 4F Ice
    80 50 Snow Block
    81 51 Cactus
    82 52 Clay
    83 53 Reed
    84 54 Jukebox
    85 55 Fence

    Item IDs

    dec hex Item
    256 00 Iron Spade
    257 01 Iron Pickaxe
    258 02 Iron Axe
    259 03 Flint and Steel
    260 04 Apple
    261 05 Bow
    262 06 Arrow
    263 07 Coal
    264 08 Diamond
    265 09 Iron Ingot
    266 0A Gold Ingot
    267 0B Iron Sword
    268 0C Wooden Sword
    269 0D Wooden Spade
    270 0E Wooden Pickaxe
    271 0F Wooden Axe
    272 10 Stone Sword
    273 11 Stone Spade
    274 12 Stone Pickaxe
    275 13 Stone Axe
    276 14 Diamond Sword
    277 15 Diamond Spade
    278 16 Diamond Pickaxe
    279 17 Diamond Axe
    280 18 Stick
    281 19 Bowl
    282 1A Mushroom Soup
    283 1B Gold Sword
    284 1C Gold Spade
    285 1D Gold Pickaxe
    286 1E Gold Axe
    287 1F String
    288 20 Feather
    289 21 Gunpowder
    290 22 Wooden Hoe
    291 23 Stone Hoe
    292 24 Iron Hoe
    293 25 Diamond Hoe
    294 26 Gold Hoe
    295 27 Seeds
    296 28 Wheat
    297 29 Bread
    298 2A Leather Helmet
    299 2B Leather Chestplate
    300 2C Leather Pants
    301 2D Leather Boots
    302 2E Chainmail Helmet
    303 2F Chainmail Chestplate
    304 30 Chainmail Pants
    305 31 Chainmail Boots
    306 32 Iron Helmet
    307 33 Iron Chestplate
    308 34 Iron Pants
    309 35 Iron Boots
    310 36 Diamond Helmet
    311 37 Diamond Chestplate
    312 38 Diamond Pants
    313 39 Diamond Boots
    314 3A Gold Helmet
    315 3B Gold Chestplate
    316 3C Gold Pants
    317 3D Gold Boots
    318 3E Flint
    319 3F Pork
    320 40 Grilled Pork
    321 41 Paintings
    322 42 Golden apple
    323 43 Sign
    324 44 Wooden door
    325 45 Bucket
    326 46 Water bucket
    327 47 Lava bucket
    328 48 Mine cart
    329 49 Saddle
    330 4A Iron door
    331 4B Redstone
    332 4C Snowball
    333 4D Boat
    334 4E Leather
    335 4F Milk Bucket
    336 50 Clay Brick
    337 51 Clay Balls
    338 52 Papyrus
    339 53 Paper
    340 54 Book
    341 55 Slime Ball
    342 56 Storage Minecart
    343 57 Powered Minecart
    344 58 Egg
    2256 8D0 Gold Record
    2257 8D1 Green Record


    Inventory Slot Numbers


    FAQ.

    Q. How do I make glass?

    A. Gather some sand and coal, put the sand in the top slot of a furnace and the coal in the bottom slot. The furnace will automatically begin to make glass.

    Q. I'm new to survival, how can I survive my first few nights?

    A. I would suggest going to these threads: viewtopic.php?f=35&t=21089, viewtopic.php?f=35&t=19065.
    They should help you survive a few nights on your own.

    Q. I don't know what to put in my base!

    A. Use this thread. viewtopic.php?f=35&t=14998
    You should be able to somehow weave this into your existing base.

    Q. Is there any way for me to find out the damage for falling at certain heights?

    A. Yes, you can use Aexis Rai's fall damage research thread. viewtopic.php?f=3&t=16072&


    Q. I found some :mossystone: underground and there was a chest and a box with a burning monster in it?

    A. It is a dungeon, loot the chests for items. The burning thing is a monster spawner but it will only spawn monsters if you are not playing on peaceful. You cannot pick up the spawner, you can only break it.

    Q. I found some gray blocks in some sand and they gave me these round balls when I mined them?

    A. That is clay and you can either combine the four balls back into a clay block or you can bake them in a furnace to make bricks which can then be combined into brick blocks.

    Q. I found something that looks like bamboo?

    A. It's a reed and you can use it to make paper. Paper can be used to make books, and books can be used to make bookshelves. Reeds can be placed on dirt adjacent to water and they grow to be up to three blocks in height. With enough time and patience a single reed block can become an unlimited supply.

    Q. I found a monster in peaceful?

    A. The smallest slimes (little green blocks that hop) are about as dangerous as sheep. Perhaps less so as even a small fall will kill them. As such, they can spawn in peaceful.

    Q. I can't break any blocks?

    A. Hold down the button. Unlike creative, breaking blocks in alpha takes time. (The amount of time depends on what tool you are using.)

    Q. My trees won't grow?

    A. Trees must be planted in dirt (a single block will do) and they need a 5x5x5* space that contains nothing but leaves or air in which to grow. (The fact that leaves do not count means that trees planted with only two spaces between them will grow.) They also need light (putting a single torch directly next to the sapling will do it for underground farming). Last but not least, they need time. Sometimes quite a bit of it, the growing time is a bit random. Contrary to real world expectations trees do NOT need water.

    *I am not entirely sure on the vertical space requirement here.

    Q. I found a :opblock:?

    A. This is the bottom of the world. Careful, there ARE holes in it and you CAN fall through to your death. This is a feature not a bug.

    Q. I fell through the world/floor/ground and died?

    A. Never dig straight down. Ever. Also, read the previous question and it's answer.

    Q. What can I use slime balls, milk, or eggs for?

    A. Nothing at the moment.

    Q. How do I make a torch?

    A. Take one piece of coal ( :Coal: which comes from mining :coalore: NOT :Flint: which comes from mining :gravel: ) and put it over a stick ( :|: ) in the crafting area on the inventory screen (i) or the crafting screen opened by right clicking a workbench. Sticks can be made by putting two wood planks over each other. Wood planks are gotten from logs. Logs are obtained by punching down trees with your fist. (Or you can use an axe.)

    Q. How do I get a snowy map?

    A. The odds for getting a snow covered map seem to be one in five, so just keep creating new worlds till you get lucky.

    Q. How do I get infinite water?

    A. Water that is only one unit deep will refill if two or more spring blocks (water with no current) are near each other. The simplest way to get an infinite pool of water is to place to water springs like such:
    (top down view)
    :cobblestone: :cobblestone: :cobblestone: :cobblestone:
    :cobblestone: :Water: [] :cobblestone:
    :cobblestone: [] :Water: :cobblestone:
    :cobblestone: :cobblestone: :cobblestone: :cobblestone:

    Q. How do I get infinite lava?

    A. You can't without cheating. Lava does not create new spring blocks like water does.

    Q. Why won't the water refill?

    A. If water is more than one unit deep, it will not make new water spring blocks to replace ones that are removed from the surface. To fill in a hole like this you have to place solid blocks under the water till the top layer is only one unit deep. Then when the surface is calm with no currents you can remove the solid blocks from under it.

    Q. I thought sand and gravel fell down, why do I have a roof of it?

    A. When the game generates the cave system it doesn't seem to check for falling sand or gravel near the sea level. (As near as I have been able to figure out anyway as I have seen gravel fall down from overhangs and the fallen piles deep within caves and yet still seen sand covered caves next to the shore.) If you add or remove a block next to the suspended sand or gravel it will trigger it to fall.

    Q. Why didn't I get anything from breaking a block?

    A. Some blocks require specific qualities of picks to successfully mine. Stone and Coal ore can be mined with a wood pick or better. Iron ore requires a stone pick or better. Redstone, Gold ore, and Diamond ore all require an Iron pick or better. Obsidian can only be mined with a diamond pick. As a note, gold picks are treated the same as wooden ones for the purposes of determining what you can mine with them. (The only time gold is actually good is if you make a hoe from it.)


    Credit:
    Minecraftwiki for the descriptions, images of the blocks/items.
    The_Fool76 for some FAQ questions.
    Posted in: Discussion
  • To post a comment, please or register a new account.