Fork me on GitHub
  February 21, 2018, 05:17:05 am
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Map generation  (Read 2988 times)
Kieran
Newbie
*
Posts: 1


View Profile
« on: December 07, 2010, 05:07:53 pm »

Hi. I just found this, and it seems really cool. I have a question though:

Without actually having tried the server yet, I was wondmering how it works regarding map generation?
Logged
Nredor
Administrator
Newbie
*****
Posts: 18


View Profile
« Reply #1 on: December 07, 2010, 07:01:29 pm »

Mineserver uses NBT map format (same that original minecraft server) and old maps can be used in it although there will be little offset where mineserver's mapgen starts to generate chunks.

Mapgeneration itself is still not fully complete but will be quite similar to what original server has. Later we plan to implement themes for mapgeneration.

If you have some more detailed questions about map generation I will happily answer those Smiley
Logged
Hexorg
Newbie
*
Posts: 6


View Profile
« Reply #2 on: February 24, 2011, 07:43:57 pm »

Nredor, from what I understand, the seed used for map gen never changes, right?

I'm just making sure, because I was experimenting with the server (love it so much XD) and it keeps generating exactly the same terrain each time, either covered with snow or grass, depending on the config file.
Logged
Nredor
Administrator
Newbie
*****
Posts: 18


View Profile
« Reply #3 on: February 27, 2011, 11:26:27 pm »

It actually should be random..
level["Data"]->Insert("RandomSeed", new NBT_Value((int64_t)(rand()*65535)));
Logged
Ligustah
Newbie
*
Posts: 42


View Profile
« Reply #4 on: February 28, 2011, 01:00:37 pm »

Then what is used to seed rand() ?
Logged
Matt - Kerplunc
Newbie
*
Posts: 11


Founder of Kerplunc and MinecraftGSP


View Profile WWW
« Reply #5 on: February 28, 2011, 03:34:56 pm »

Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!