l0b0 / mian

Mine analysis - Graph blocks to height in a Minecraft save game
https://github.com/l0b0/mian/wiki
GNU General Public License v3.0
14 stars 4 forks source link

integration into a linux based webserver #29

Open calvinte opened 13 years ago

calvinte commented 13 years ago

I run the website http://seedminer.com. I'm looking to be able to passively analyze minecraft seeds in order to provide statistics along with the seeds posted to the website. This would ideally be done without the user having to upload a minecraft save file.

If mian can do this or be adapted to do this please let me know. If you have any other suggestions or insights that would be great as well.

Thanks,

Fenixin commented 13 years ago

Hello.

Thanks for your interest in mian.

At the moment mian needs a save file to scan in order to work. A way to adapt mian to run with the seed is to reverse engineer the world generator in minecraft and then implement it in mian... but I think that would be like to kill a flea with a sledgehammer, and also, it would make mian really resource intensive, and also, notch is changing the generation process almost every new version.

If you really want this to work and you are not scared to throw CPU/RAM to it you can automate a world generation every time a seed is uploaded. There are tools that automatize the generation of a world in any size (actually it only starts the server, waits for world generation and stops it, then change the location of the spawn to a non generated zone, starts the server, waits and stops it, etc...). After the world generation you can run mian and take all the statistics.

And once you have the world generation automated you can use more tools as c10t to offer a fast preview of the map.

Hope this info helps. Don't hesitate to ask.