For$
<!-- begin site header -->
<div id=

Author Topic: Map generation  (Read 9809 times)

Kieran

  • Newbie
  • *
  • Posts: 1
    • View Profile
Map generation
« 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?

Nredor

  • Administrator
  • Newbie
  • *****
  • Posts: 18
    • View Profile
Re: Map generation
« 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 :)

Hexorg

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Map generation
« 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.

Nredor

  • Administrator
  • Newbie
  • *****
  • Posts: 18
    • View Profile
Re: Map generation
« 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)));

Ligustah

  • Newbie
  • *
  • Posts: 42
    • View Profile
Re: Map generation
« Reply #4 on: February 28, 2011, 01:00:37 pm »
Then what is used to seed rand() ?

Matt - Kerplunc

  • Newbie
  • *
  • Posts: 11
  • Founder of Kerplunc and MinecraftGSP
    • View Profile
    • Kerplunc
Re: Map generation
« Reply #5 on: February 28, 2011, 03:34:56 pm »
Matthew Hall - matt@kerplunc.com - Kerplunc.com