Jump to content

Help
Latest News Article

World Downloader

1.2.5 smp function

879 replies to this topic

#1

    nairol

    Zombie Killer

  • Members
  • 173 posts
  • Location: Southern Germany
  • Minecraft: nairol

Posted 22 May 2011 - 03:15 AM

*
POPULAR

World Downloader

With this mod you can download parts of a multiplayer world while you are connected to the server.

What does it save automatically?
  • All blocks that are within your range of vision (typically 160 blocks in each direction)
  • From height 0 (bedrock) to 255 (clouds)
  • Your position, health, inventory, experience, gamemode (creative/survival), the time and the weather
  • All mobs and animals
  • All items that lie on the ground
What doesn't it save automatically? How can these things be saved?
  • Content of chests and dispensers -> Will be saved whenever you open them (right-click)
  • Ingredients and products in furnaces and brew stands -> Will be saved whenever you use them (right-click)
  • The note of note blocks -> Will be saved whenever the note is played (click/right-click/redstone)
What can't be saved?
  • The seed value of the world. It is no longer sent by the server.
  • Records that are in record players.
  • The spawn position if it has been moved (by the admin or by sleeping in a bed).
  • Other human players of course Posted Image
Does it start to download when I join a server?
No, you have to start and stop the download by pressing the escape key and clicking on "Download this world"

I want to download an area bigger than my range of vision. What should I do?
Walk around and visit everything you want to have in your copy while the downloader is active. (Or fly, ride, teleport, swim, ...)
World Downloader works much like the maps in Minecraft. (The paper ones you can craft)

How long does it take to download a world?
As soon as something is in your range of vision (the 160 blocks mentioned above) it is also in your copy.
Again, think of Minecraft's maps.

Does this mod interfere with the server?
No, the mod doesn't cause any additional load on the server. It doesn't send or request anything.
It just looks at the incoming data, converts some data structures and saves everything as a singleplayer world.

Can this mod be used to synchronize my copy with the server world?
Of course! Just reconnect to the server and start the download. The mod will update your copy of the world to the current state. Any changes you made in your copy, in the area you're updating, will be overwritten.

What happens to previously downloaded areas that I don't visit while updating my copy?
They'll stay the same. The mod does not delete anything from your copy. It only updates the area you are currently in and doesn't touch anything else.

Other questions:
Spoiler

To do:
  • Add an option to automatically start the download when you connect to a server (in next release)
  • Maybe add a map that highlights the already downloaded chunks
  • Update the screenshots and maybe the video
  • Multiworld support (in next release)
  • Make it compatible with Forge(in next release)
If you find any bugs that crash Minecraft PLEASE also add the text from the error report screen. Without that I probably won't be able to help you.

Download for Minecraft 1.2.3

Thanks cubic72 for the updates while I was away:
Download for Minecraft 1.2.4
Download for Minecraft 1.2.5


(Old versions and Source code on Github)

How to install:
Open your minecraft.jar* with an archive tool like 7zip or WinRAR.
Put the class files you just downloaded in there. Overwrite if necessary.
Delete the META-INF folder if it exists in the jar file.
Close the archive and save if asked.
Done.

* You can find this file on ...
  • Windows by entering %APPDATA%\.minecraft\bin in an Explorer window or in the start->run dialog.
  • Linux by opening ~/.minecraft/bin/ in a file manager of your choice.
  • Mac OS X by opening Library/Application Support/minecraft/bin in Finder.
Demo video by troycheek:
Spoiler

Outdated screenshots:
Posted Image Posted Image

Posted Image Posted Image

Changelog:
Spoiler

My favorite bug (in DMD):
"Hello" = "World"; println("Hello"); --> Prints "World"

Register or log in to remove.

#2

    Wolffe

    Glowstone Miner

  • Members
  • 3093 posts

Posted 22 May 2011 - 03:17 AM

Like World Recorder, but more features. One question, servers won't know if your doing this right, and is it un-blockable? I'm not planning a heist, I just think that players should have rights to a servers world.
Posted Image

#3

    AloSec

    Obsidian Miner

  • Members
  • 1274 posts

Posted 22 May 2011 - 03:18 AM

This could be kind of dangerous...

#4

    nairol

    Zombie Killer

  • Members
  • 173 posts
  • Location: Southern Germany
  • Minecraft: nairol

Posted 22 May 2011 - 03:27 AM

View Postcaseyds620, on 22 May 2011 - 03:17 AM, said:

Like World Recorder, but more features. One question, servers won't know if your doing this right, and is it un-blockable? I'm not planning a heist, I just think that players should have rights to a servers world.
I didn't know World Recorder. The server can't detect that/when you download. It's not really "downloading" just saving the data stream for offline use.

edit: It is un-blockable, but the mojang guys could change the way they send the world data. So that invisible blocks (underground) aren't sent at all. I don't know how much more CPU power that might cost on the server side.

edit2: Now that I think more about this... It is blockable for limited areas. The server could send different world data to different player groups like trusted and untrusted groups. I don't know if anyone would like to write that mod though. Looks difficult.
My favorite bug (in DMD):
"Hello" = "World"; println("Hello"); --> Prints "World"

#5

    nairol

    Zombie Killer

  • Members
  • 173 posts
  • Location: Southern Germany
  • Minecraft: nairol

Posted 22 May 2011 - 03:29 AM

View PostAloSec, on 22 May 2011 - 03:18 AM, said:

This could be kind of dangerous...
How can it be dangerous to have a local copy of a part of the server world?
Really, I don't play online that often. What's the problem?

edit: So the problem is that griefers etc. could download parts of the world, open it with for example MCedit and look for weak spots in buildings where they could do the most harm?

Well I don't know what to do about that. I could delete the mod again but I've got so much positive feedback on YT and reddit.
My favorite bug (in DMD):
"Hello" = "World"; println("Hello"); --> Prints "World"

#6

  • Location: NJ, USA
  • Minecraft: UJustGotMcPwned

Posted 22 May 2011 - 06:21 AM

I saw this mod today on Reddit, watched your videos on YouTube, and downloaded and installed it. It works great, no bugs (although when I first connected to c.nerd.nu the sky was red and it kept on flashing between blue and red o.o it went away though :P) and it saves a whole lot more than World Recorder. Keep up the good work! :D

#7

    DBish95

    Zombie Killer

  • Members
  • 176 posts

Posted 22 May 2011 - 07:14 AM

This mod is pretty fucking epic if i do say so myself. Keep up the good work!

#8

Posted 22 May 2011 - 08:25 AM

hello, i'd like to use this mod, but the download link doesnt work for me :-(.

#9

  • Location: England
  • Minecraft: AlfieSR

Posted 22 May 2011 - 10:04 AM

Does this require anything like modloader or is it self-contained?

This will be incredibly useful for saving my wool-based projects from Dan's server before some dick burns them down. I know that will happen.
Posted Image

#10

    toompan

    Zombie Killer

  • Members
  • 166 posts

Posted 22 May 2011 - 10:12 AM

YEEES! finaly my dream mod has come, THX !!!!! :Diamond: :Diamond: :Diamond: :Diamond: :Diamond: :Diamond: :Diamond: :Diamond: :Diamond:
Posted Image

#11

    nairol

    Zombie Killer

  • Members
  • 173 posts
  • Location: Southern Germany
  • Minecraft: nairol

Posted 22 May 2011 - 02:30 PM

View PostAlfieSR, on 22 May 2011 - 10:04 AM, said:

Does this require anything like modloader or is it self-contained?

This will be incredibly useful for saving my wool-based projects from Dan's server before some dick burns them down. I know that will happen.

No modloader required.
Should I have used modloader? I'm new to modding Minecraft.
And I've read that modloader doesn't work if the original class files have to be overwritten. (?)
My favorite bug (in DMD):
"Hello" = "World"; println("Hello"); --> Prints "World"

#12

    nairol

    Zombie Killer

  • Members
  • 173 posts
  • Location: Southern Germany
  • Minecraft: nairol

Posted 22 May 2011 - 02:33 PM

View Postspatista, on 22 May 2011 - 08:25 AM, said:

hello, i'd like to use this mod, but the download link doesnt work for me :-(.

I'm working on that...
Once I figure out how to use Github the problems should be gone.

Btw, the DL link works for me at the moment.
My favorite bug (in DMD):
"Hello" = "World"; println("Hello"); --> Prints "World"

#13

Posted 22 May 2011 - 03:13 PM

View Postnairol, on 22 May 2011 - 03:29 AM, said:

How can it be dangerous to have a local copy of a part of the server world?
Really, I don't play online that often. What's the problem?

edit: So the problem is that griefers etc. could download parts of the world, open it with for example MCedit and look for weak spots in buildings where they could do the most harm?

Well I don't know what to do about that. I could delete the mod again but I've got so much positive feedback on YT and reddit.
Additionally, people can use tools to find where all the valuable ores are, and go to the server and dig straight to them. But in any case, it's good to see this working.. I'll test it sometime later.

#14

    AloSec

    Obsidian Miner

  • Members
  • 1274 posts

Posted 22 May 2011 - 04:44 PM

I don't exactly know how this mod works, but depending on how it does someone could spam download and get tons of server lag for everyone else.

#15

  • Location: California

Posted 22 May 2011 - 04:47 PM

This is fantastic! I'd been trying to use World Recorder, but the latest version constantly causes my game to crash. Looking forward to test this baby out. ^_^

View PostAloSec, on 22 May 2011 - 04:44 PM, said:

I don't exactly know how this mod works, but depending on how it does someone could spam download and get tons of server lag for everyone else.

From the OP:

"The mod will not cause any additional load on the server because it never actively requests anything. It lets Minecraft do all the loading and buffering and then right before MC overwrites a buffered chunk that is no longer needed, it saves this chunk to disk. This will only slow down the client a bit when your HDD is too slow. It also saves the complete chunk buffer when stopping downloading or disconnecting."

Posted Image


#16

    AloSec

    Obsidian Miner

  • Members
  • 1274 posts

Posted 22 May 2011 - 04:49 PM

View PostSpitefulFox, on 22 May 2011 - 04:47 PM, said:

This is fantastic! I'd been trying to use World Recorder, but the latest version constantly causes my game to crash. Looking forward to test this baby out. ^_^



From the OP:

"The mod will not cause any additional load on the server because it never actively requests anything. It lets Minecraft do all the loading and buffering and then right before MC overwrites a buffered chunk that is no longer needed, it saves this chunk to disk. This will only slow down the client a bit when your HDD is too slow. It also saves the complete chunk buffer when stopping downloading or disconnecting."
Ok, that was the only problem I had with this mod, and I guess I didn't quite read the OP to it's fullest. ^_^

#17

  • Location: California

Posted 22 May 2011 - 05:45 PM

Posted Image

That is not what my world looked like. >_>

For some reason, the mod keeps writing gigantic holes in the world in areas that I definitely visited. In this case, it had made some holes, and I went back online to try and fill them in and it overwrote the main area of the server with a gigantic hole where the map was just fine before.

Edit: Whoops, missed the part where you mentioned that in the bugs section.

Posted Image


#18

    caspur

    Zombie Killer

  • Members
  • 184 posts

Posted 22 May 2011 - 06:18 PM

Wow this is amazing. Never even thought about this concept! Howd you do this!
Caspur's Creative Mods
AutoID , PlanksGalore, and Mods to enhance the BUILDING aspect of Minecraft.

#19

    nairol

    Zombie Killer

  • Members
  • 173 posts
  • Location: Southern Germany
  • Minecraft: nairol

Posted 22 May 2011 - 11:45 PM

View Postcaspur, on 22 May 2011 - 06:18 PM, said:

Wow this is amazing. Never even thought about this concept! Howd you do this!

It's pretty simple. I'm patching the multiplayer chunk saving methods to actally save the chunks instead of doing nothing.
The code is on Github.
I used MCP 3.1.1 in case you don't have the original files.

If you have questions about the code, just ask.
My favorite bug (in DMD):
"Hello" = "World"; println("Hello"); --> Prints "World"

#20

Posted 23 May 2011 - 12:00 AM

WOW that work perfectly! THANKS SO MUCH!!! i now have my huge city i made on the xaldin server as a regular map :)
Posted Image