![]() |
Re: Run a minecraft server on 'the beast'
Its is very possible to run a minecraft server on the phone, I would not recommend using the official client.
I would instead port craftd or use a third party server |
Re: Run a minecraft server on 'the beast'
Quote:
In the current Minecraft, maps 'infinitely' generate (at one cube = one meter, you can travel more than the equivalent of the surface of the earth by several orders of magnitude before the game engine will start having issues. An average minecraft 'chunk' is, if I recall correctly. 64x64x128, so 4 of those fit within what you called a map. A server will generate new terrain dynamically (derived from the seed you give the map) as you explore outside of the terrain generated so far. And then keep in RAM terrain within 10 'chunks' of the player (I don't know if that's circular, rectangular, or whatever). Now, that's the default server and I suspect that stuff is configurable, of course, in most servers. Of course, if you're talking about the classic Minecraft that's currently free-to-play, I have no clue what map size that thing has, though I do know the 'infinite' maps feature was added after classic Minecraft was detached from the current Minecraft. - Edit - Oh, right, OP: Awesome that you got it working. By "work on performance and stuff" how exactly is it performing now? Playable, or just completely lagfest-like? |
Re: Run a minecraft server on 'the beast'
Quote:
But the size of the savefile has no importance. The total size of minecraft (client) is just under 6MB but it uses almost 1GB of RAM. It uses alot more recources tan Duke Nukem. Quote:
Quote:
bluiding is no problem either. Though if i set a block, after approx 20 sec it dissapears but reapears a fraction of a second later. Haven't been able to destroy a block yet. I guess it's because of the lag. This is the only problem i got (so far) could i run this better if i installed the power user kernel? (stupid question.. let me rephrase) Should i install the power user kernel to overclock this son of a b****? or maybe someone with the powerkernel to test it? And before i forget, i'm running the default server( 1.0.0 - it's finally out of beta) |
Re: Run a minecraft server on 'the beast'
While Mentalist got point here, I also can't disagree, that minecraft is horribly unoptimized. Of course, comparing it to Duke Nuken is far too stretched, but - putting random numbers of course - I think that resource usage should be 3-4 times lower than current one.
I must admit - I'm not Minecraft player/fan, but I was interested in the project as curiosity (mainly, infinite world generator). For using on N900, i also strongly recommend trying (Open Source!) unofficial servers. Most of the time, what Minecraft offer officially, is worst version possible, compared to modified/rewritten ones. Basically, Minecraft created got "fame" of being hard-head one, not very cooperative on including ideas/optimizations/fixes by other people (thus, so many forks/rewrites). I got strange feeling, that - using alternate servers - it's possible to host quite effective server on N900 ;) Still, it's rather a curiosity. It's pity, that OpenGLES port isn't possible (for now). /Estel |
Re: Run a minecraft server on 'the beast'
Bump, check my posts it might help
|
Re: Run a minecraft server on 'the beast'
Yeah, I have never used Java on the N900 but I have IcedTea installed on both of mine (at least one for sure, if not on the other one than I need to fix that).
Both run powerkernel and the non-phone one is overclocked, so I COULD test for you. Honestly though, I'm pretty confident CPU speed isn't the bottleneck - the RAM probably is. But I'm willing to experiment. I'd need instructions though, as I'm much too lazy and time pressed to do the actual thinking involved. :P Oh, and I by no means wished to disagree with the idea that Minecraft is unoptimized - just being Java seems to me to be inherently inefficient. But I'm sure there's serious memory flaws here or there. Either way, definitely better to install a lighter server. If you can't break blocks you'd probably die horribly in multiplayer survival mode, since even on an otherwise almost completely lagless server, I find killing creepers in melee combat is impossible without them blowing up in your face - where-as it's extremely easy in singleplayer survival. |
Re: Run a minecraft server on 'the beast'
Why not just give Minetest a try? On a 5yr old laptop it outpreforms minecraft by twice the speed. It plays like Minecraft's creative mode and has a multiplayer mode also. So instead of porting the heavyweight Minecraft, have a go a porting Minetest-c55, though irrlicht(?) 1.7 is required to be ported.
|
Re: Run a minecraft server on 'the beast'
Quote:
i turned of all mobs because they use memory to.. I'm in class for the moment and i'm pretty loaded with lots of homework so i won't be able to work on it every day, but my next "objective" is to find a lightweight server to run on the N900.. i'll try to describe how i did it later today so others can test it. Oh and there is one more thing i'dd like to tell you guys. i'm not a developper or crazy man. I'm just a guy with basic linux, windows knowledge so don't expect miracles from my side :D |
Re: Run a minecraft server on 'the beast'
Quote:
I think the main problem with Minecraft is the fact that it is written in JAVA. I imagine (again I don't know for sure) that each block is an object w private data of its position, orientation, texture, whatever, so it is waaay more than 1byte / block, hence the big memory consumption. Also, easy to write the code, but horrible to render the graphics. Last time I checked JAVA was awful with memory handling. I also guess that there is no 3D-acceleration in the game. Fact is that my Core i5 machine while does not lag, uses 100% CPU while running the free beta, that should never happen with a game. A C++ rewrite and the use of 3D accelerators should make this game run smooth on any machine. So again, I admit I'm not the hardcore Minecraft fan, but given what I see this is the problem with the game and is why I said it should run on an i486. :cool: |
Re: Run a minecraft server on 'the beast'
in addition to what you said:
Daggerfall had a premade map where-as minecraft renders random maps itself.. But once they'r created it should use less RAM, i agree on that. |
All times are GMT. The time now is 04:56. |
vBulletin® Version 3.8.8