News:

FOR INFORMATION ON DONATIONS, AND HOW TO OBTAIN ACCESS TO THE GAME, PLEASE VIEW THE FOLLOWING TOPIC: http://stick-online.com/boards/index.php?topic=2.0

Main Menu

Minecraft

Started by tehrozzy, September 10, 2010, 08:06:31 PM

Previous topic - Next topic

EpicPhailure

If someone could whitelist Epicphail on Igu's server, that'd be coo'.

igufed

Quote from: EpicPhailure on April 03, 2011, 04:42:42 PM
If someone could whitelist Epicphail on Igu's server, that'd be coo'.

You are already whitelisted.  What message do you get when you try to connect?
Gettra - In development  ExcessPoker - Released v1.0

EpicPhailure

Quote from: igufed on April 03, 2011, 04:58:52 PM
Quote from: EpicPhailure on April 03, 2011, 04:42:42 PM
If someone could whitelist Epicphail on Igu's server, that'd be coo'.

You are already whitelisted.  What message do you get when you try to connect?
Ah, I was getting End of Stream, but it turned out to be on my end.

11clock

#1188
Anyone here heard of the Edgelands? It's apparently Minecraft's biggest secret.

The Edgelands takes about 800-900 hours of solid walking to get to from the center of the world. A little after 12 million blocks, you will get static movement. Walk a little further, and you will come face to face with a huge solid wall that has holes in it. It goes from the bottom to the top and lasts to the end of the world. It's extremely laggy and highly recommended that you don't explore it with risk of crashing.

http://www.youtube.com/watch?v=5bGm2-YpzXE

Chaos

Quote from: 11clock on April 03, 2011, 06:10:26 PM
Anyone here heard of the Edgelands? It's apparently Minecraft's biggest secret.

The Edgelands takes about 800-900 hours of solid walking to get to from the center of the world. A little after 12 million blocks, you will get static movement. Walk a little further, and you will come face to face with a huge solid wall that has holes in it. It goes from the bottom to the top and lasts to the end of the world. It's extremely laggy and highly recommended that you don't explore it with risk of crashing.

http://www.youtube.com/watch?v=5bGm2-YpzXE

Yeah, Notch pretty much stated as much 3 weeks ago on his blog:

QuoteTerrain generation, Part 1

I?ve been promising to write a technical post on Minecraft for a while, but never really got around to doing so. I?m on a tiny airplane now, though, with nowhere to run, so here we go!

One of the most complex parts of Minecraft is the terrain generation. When I changed the game over from being just single zones of a map to an infinite map, the terrain generation got a whole lot more complicated, as terrain needs to get generated on the fly as the player explores, and it has to be the same no matter what direction the player approaches it from.

1) How infinite is it?

First of all, let me clarify some things about the ?infinite? maps: They?re not infinite, but there?s no hard limit either. It?ll just get buggier and buggier the further out you are. Terrain is generated, saved and loaded, and (kind of) rendered in chunks of 16*16*128 blocks. These chunks have an offset value that is a 32 bit integer roughly in the range negative two billion to positive two billion. If you go outside that range (about 25% of the distance from where you are now to the sun), loading and saving chunks will start overwriting old chunks. At a 16/th of that distance, things that use integers for block positions, such as using items and pathfinding, will start overflowing and acting weird.

Those are the two ?hard? limits.

Most other things, like the terrain generation seeds and entity locations use 64 bit doubles for locations, and they do much subtler things. For example, at extreme distances, the player may move slower than near the center of the world, due to rounding errors (the position has a huge mantissa, the movement delta has a tiny, so it gets cut off faster). The terrain generator can also start generating weird structures, such as huge blocks of solid material, but I haven?t seen this lately nor examined exactly what behavior causes it to happen. One major problem at long distances is that the physics starts bugging out, so the player can randomly fall into ground blocks or get stuck while walking along a wall.

Many of these problems can be solved by changing the math into a local model centered around the player so the numbers all have vaguely the same magnitude. For rendering, Minecraft already uses local coordinates within the block and offset the block position relative to the player to give the impression of the player moving. This is mostly due to OpengGL using 32 bit floats for positions, but also because the rounding errors are extremely visible when displayed on a screen.

We?re probably not going to fix these bugs until it becomes common for players to experience them while playing legitimately. My gut feeling is that nobody ever has so far, and nobody will. Walking that far will take a very long time. Besides, the bugs add mystery and charisma to the Far Lands.

2) Isn?t that terrain shape pretty awesome?

In the very earliest version of Minecraft, I used a 2D Perlin noise heightmap to set the shape of the world. Or, rather, I used quite a few of them. One for overall elevation, one for terrain roughness, and one for local detail. For each column of blocks, the height was (elevation + (roughness*detail))*64+64. Both elevation and roughness were smooth, large scale noises, and detail was a more intricate one. This method had the great advantage of being very fast as there?s just 16*16*(noiseNum) samples per chunk to generate, but the disadvantage of being rather dull. Specifically, there?s no way for this method to generate any overhangs.

So I switched the system over into a similar system based off 3D Perlin noise. Instead of sampling the ?ground height?, I treated the noise value as the ?density?, where anything lower than 0 would be air, and anything higher than or equal to 0 would be ground. To make sure the bottom layer is solid and the top isn?t, I just add the height (offset by the water level) to the sampled result.

Unfortunately, I immediately ran into both performance issues and playability issues. Performance issues because of the huge amount of sampling needed to be done, and playability issues because there were no flat areas or smooth hills. The solution to both problems turned out to be just sampling at a lower resolution (scaled 8x along the horizontals, 4x along the vertical) and doing a linear interpolation. Suddenly, the game had flat areas, smooth hills, and also most single floating blocks were gone.

The exact formula I use is a bit involved (and secret!), but it evolved slowly over time as I worked on the game. It still uses the 2D elevation and noisyness maps, though.

STILL TO COME, ON TERRAIN GENERATION:

    Biomes!
    Caves and Large Features
    Trees, Lakes, and Small Features
    The nether!

Now I?ll prepare for landing so I can switch flights!
Jake says:
lol, I found God! He was hiding under a big rock this entire time that lil jokster

Celson

Just thought I should mention that someone stole my jukebox, tore down my wooden couch, placed pumpkins around my house, raided my hidden chest and stole my green music disc.



darkflash

Is this game fun? cause i'm considering getting it cause 80 pages on this!? I want to know what im missing out on :O

11clock

Quote from: Celson on April 04, 2011, 11:12:17 PM
Just thought I should mention that someone stole my jukebox, tore down my wooden couch, placed pumpkins around my house, raided my hidden chest and stole my green music disc.

Well that wasn't me. All I did was block everyone's houses and shops with random junk (which has been cleaned up by the way).

ARTgames

Quote from: darkflash on April 04, 2011, 11:40:58 PM
Is this game fun? cause i'm considering getting it cause 80 pages on this!? I want to know what im missing out on :O
Yeah its fun. Get it.

RayRay

Anyone know about the wolves on Newarc? They've been left there for nearly a week, and I hope they weren't abandoned. A few of us are thinking about killing them...

Turkey

Kill them? Just adopt them.

Freeforall

How is everyone liking the 1.4 update? Just found some wolves, looks pretty awesome so far. And did everyone see the April Fools prank?

RayRay

Quote from: Turkey on April 05, 2011, 05:34:28 PM
Kill them? Just adopt them.
Can't. If you try to do something with them, they'll attack you.

By the way, we already killed them all. lol

EpicPhailure

lol real ghast attacking in newarc

11clock

#1199
Quote from: EpicPhailure on April 05, 2011, 07:16:11 PM
lol real ghast attacking in newarc

Must of came from the portal on the Mob Room. I forgot to finish sealing it. :-X

EDIT: Cant connect.