- Registered Member
Member for 11 years, 10 months, and 22 days
Last active Sun, Apr, 20 2014 21:56:17
- 0 Followers
- 46 Total Posts
- 0 Thanks
Oct 2, 2010infraded posted a message on Minecraft Map (MM) SMP Player Map 0.4.3 - Bukkit PluginPosted in: Server Support and AdministrationQuote from bp2008 »
Right now loading and rendering even a 14mb PNG is consuming over 1GB ram (HOW, I ask, HOW!!?). I am told it works ok if Java is allowed 3GB. But 60mb? There's just no way it will work without some modifications to the client app. So, getting Java to behave itself when loading and drawing very large images is next on my priority list. Hopefully I can do it without too much sacrifice in speed and quality. I hope to make that my weekend project. Will see.
My current method of drawing was the lazy one. Draw the entire image every time the screen needs refreshed. To understand why this is a problem, consider that a 1080p HDTV/LCD monitor has 2,073,600 pixels. The computer can draw an image of that size as easily as you can breathe in and out. But the 60mb image of Kane_Hart's is 2,923,100,287 pixels. That is about 1,400 TIMES LARGER which means way, way more work for the computer. Obviously there is no reason to try and draw all 3 billion pixels at once if you can't view more than a few million of them at a time. It is the equivalent of printing an entire book just to have one paragraph on paper.
I know I can make the task more efficient. But efficient enough to resize and draw parts of a 3 billion pixel image without tremendous quality or speed losses? Damn.
EDIT: Godcraft day 16 map is only 6840x6480. Are you pulling on my leg here or do you actually have a 3 billion pixel map?
EDIT 2: Just doing some math that I hope is completely wrong, that image, if it exists, would use 11.7 GB of ram to load into memory all at once, uncompressed at 32 bits per pixel. Something tells me Java's image handling classes were not meant to do that at all.
The biggest pics I have ever played around with are in the few hundred million pixel range, and those are huge stitched together panoramas from space. I'm definitely thinking Kane just made up those dimensions to scare me.
So I'm going to say right now. If your map is much bigger than 10,000 x 10,000, crop it.
Sweet, now I can get some use out of the extra 8GB of RAM I just ordered for my server! :wink.gif:
Oct 2, 2010Posted in: Server Support and AdministrationQuote from hey0 »Well my internet finally went up after 6 hours. During that 6 hours I refactored a lot of user-related code. If you change some user's details in mysql/flatfile, the person has to logoff then back on for the changes to appear. Also changed public etc vars to private. This might break a few plugins so I'll be uploading to mediafire so the authors of plugins can update any user related code.
Server download: http://www.mediafire.com/download.php?1v2buob2gzizhtn
Also, I removed the SaveAll/Reload threads from the server, but I made a plugin out of them for those that want them: http://www.mediafire.com/download.php?mcikh22h6ti2x9w
It's amazing how much work one can get done when the internet goes away :biggrin.gif:
Thanks for the updates!
Oct 2, 2010I'd like to also see this. Mainly for the RAM implications actually. I think this would be a good way to test a server's load handling and memory usage without having to have a bunch of random players on your server. Not sure how this could be implemented though.Posted in: Alpha - Survival Multiplayer Discussion
One way I imagine would be to just tell the server there is a player there, but that may be a problem if the player is actually somewhere else; or if it were to use a non-existant player, if that would interfere with user auth. Another option would be if a wrapper or mod could just manually run the servers tick functions. Hmm....
Sep 28, 2010I've tested the RC6 pre-release w/ hey0's build 100 and the bucket fix from llamacraft and confirmed they all work great together. It is a little crazy with both mod's config files in one directory with very similar names. If you think it would be a quick update to put them in a folder, I would fix that before release. Especially since this release helps loading alternate mods.Posted in: Minecraft Tools
EDIT: You may want to consider checking the folder it's running from first and moving the configs to a folder if they already exist. That way you don't break any existing setups.
Sep 26, 2010Posted in: Server Support and AdministrationQuote from Snoa »okay. Downloaded .JAR, but it wouldn't let me open the archive, only extract. So I did, and now I have a folder titled "Minecraft_server" with class files in it and the .JAR executable file. So do I just drag n' drop the class files from your folder into the "minecraft_server" folder?
You have to open it, JAVA needs it as a .jar to run it properly. Try this: Right click on the .jar file and see if you see an 'Open with' option. If so, check for a WinRAR option in there. If not, just open winrar from your start menu and drag the .jar to the window.
Sep 26, 2010Posted in: Server Support and AdministrationQuote from Roadcrosser »I don't understand data-source. What does it do? I'm not willing to comb through 88 pages to find out.
It specifies which data storage format you want to use. You can setup a local or remote MySQL database, or a local flat file storage. MySQL stores the mod's data in a database, while flat file stores it in the standard txt files like other mods and wrappers. If you don't know how to setup and import info into a database, you may want to just stick with the flatfile setting.
Sep 26, 2010Posted in: Server Support and AdministrationQuote from Snoa »http://oi51.tinypic.com/fxv7n8.jpg
The circled file is the one I'm using, as every other file in there is either a text document or a server log.
That's your problem. That file is minecraft_server.EXE and you need minecraft_server.JAR. Head over to the download page and grab the .jar from the link at the bottom. Then open that w/ winrar and you should be good to go.
EDIT: Also, RUSH FTW
Sep 26, 2010Posted in: Server Support and AdministrationQuote from Relliktsohg »Quote from Lim-Dul »BOY will it make degriefing stuff easy. =)
I have a function that lets you fill cuboids with a bloctype.
This allowed me to repair countless lakes, beaches, plains etc...
And if a construction is ugly, and you want it removed ? 2 clicks on the corners, and the this is gone !
And now I'm finalizing the ownership system.
Who is not totally thrilled by that ? =D
Oooh, this will make building that 20x20x20 block of TNT so much easier.... :wink.gif:
Sep 26, 2010Posted in: Server Support and AdministrationQuote from ronji »just get 7zip and ditch that old winrar crap. why do people use winrar? i used it up until i learned about 7zip, and now i never download any other archive utility.
The bigger question is why would I bother to change? I have winrar already and it does everything 7z would for me. Don't get me wrong, I have no problem w/ 7z and freely admit it does everything just as well. But it's not like it's 1995 and I have to compress anything anymore. More commonly in the desktop environment people are using these for just combining and archiving more than compression features.
Anyway, back on topic... still would need to know if he's opening the .jar, or trying the .exe
Sep 26, 2010Posted in: Server Support and AdministrationQuote from Relliktsohg »I think I will release the Cuboid plugin in less than 8 hours.
Still have to optimize the code a little, and add muli-owner and/or group support.
So far it works very well with a single owner though =)
There are some surprises you're going to love !
Awesome, I can't wait!
Sep 25, 2010Posted in: Server Support and AdministrationQuote from Snoa »Quote from shadow386 »Quote from Snoa »No sir. I'm right clicking on the server.jar, clicking "View Archive" And the winrar thing opens up. Then I double click on your file (Which has the winrar logo on it) and attempt to drag the class file over.
you need to OPEN it, not view
That's what I mean. Either way, tried it again, doesn't work.
That's a pretty specific error for it be something with the archive itself and nobody else reporting it.
Any chance you can try it on another computer?
Sep 25, 2010Reset it in what way? If you just want to fully start over then you can just delete your world folder. If you want to go back to before it was messed up, you would have had to have been doing backups and restore from one of those.Posted in: Alpha - Survival Multiplayer Discussion
- To post a comment, please login.