Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Mincraft
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Off Topic
View previous topic :: View next topic  
Author Message
AndyBaxman
LXF regular


Joined: Tue Oct 04, 2005 9:47 am
Posts: 523

PostPosted: Fri Sep 07, 2012 8:44 am    Post subject: Reply with quote

I found I needed to use this script to fire up Minecraft:-

Code:

#!/bin/bash
export LD_LIBRARY_PATH="/usr/lib/jvm/jdk1.7.0/jre/lib/amd64"
java -Xmx1024M -Xms512M -jar minecraft.jar


Found it would run fine under openJDK, but installed Oracle (spit spit) Java as above.

Obviously change the value of LD_LIBRARY_PATH to suit your environment.
_________________
Bomb #20: "Let there be light"
Back to top
View user's profile Send private message
leke
LXF regular


Joined: Mon Oct 22, 2007 6:45 pm
Posts: 503
Location: Oulu, Finland

PostPosted: Sat Sep 08, 2012 3:04 pm    Post subject: Reply with quote

Yeah, couldn't get it to run by itself. I'll try the script next, but my java path is a little different ...
Code:
asdf@asdf:~$ cd /usr/lib/jvm/java-7-oracle/jre/lib/
asdf@asdf:/usr/lib/jvm/java-7-oracle/jre/lib$ ls
alt-rt.jar                          images
applet                              jar.binfmt
calendars.properties                javafx.properties
charsets.jar                        javaws.jar
classlist                           jce.jar
cmm                                 jexec
content-types.properties            jfr.jar
currency.data                       jfxrt.jar
deploy                              jsse.jar
deploy.jar                          jvm.hprof.txt
desktop                             locale
ext                                 logging.properties
flavormap.properties                management
fontconfig.bfc                      management-agent.jar
fontconfig.properties.src           meta-index
fontconfig.RedHat.5.bfc             net.properties
fontconfig.RedHat.5.properties.src  oblique-fonts
fontconfig.RedHat.6.bfc             plugin.jar
fontconfig.RedHat.6.properties.src  psfontj2d.properties
fontconfig.SuSE.10.bfc              psfont.properties.ja
fontconfig.SuSE.10.properties.src   resources.jar
fontconfig.SuSE.11.bfc              rt.jar
fontconfig.SuSE.11.properties.src   security
fontconfig.Turbo.bfc                servicetag
fontconfig.Turbo.properties.src     sound.properties
fonts                               zi
i386

So, instead of amd64, should I add i386 to the end of that path or something else from that list?

Thanks
_________________
http://truecenterpublishing.com/zenstory/maybe.html
Back to top
View user's profile Send private message
bobthebob1234
LXF regular


Joined: Thu Jan 03, 2008 9:38 pm
Posts: 1369
Location: A hole in a field

PostPosted: Sat Sep 08, 2012 7:50 pm    Post subject: Reply with quote

i386 would make sense. I assume you aren't using a 64bit OS
_________________
For certain you have to be lost to find the places that can't be found. Elseways, everyone would know where it was
Back to top
View user's profile Send private message
AndyBaxman
LXF regular


Joined: Tue Oct 04, 2005 9:47 am
Posts: 523

PostPosted: Sun Sep 09, 2012 9:52 am    Post subject: Reply with quote

leke wrote:

So, instead of amd64, should I add i386 to the end of that path or something else from that list?
Thanks


yes. i386 would be correct. You should see a lot of library (.so) files in that directory, including libjava.so

One last point. Mincraft requires ridiculously memory requirements on Linux to run well. It runs adequately on my daughters elderly single core Athlon box with 2gb of memory, but really struggled on my amd64 triple core Ubuntu based box with the same memory and trying to run the Minecraft client, Bukkit server and Eclipse (to develop plugins) would make the whole system grind to a halt. Upping the memory to 4gb stopped it continually bashing the swap file and made things much smoother.
_________________
Bomb #20: "Let there be light"
Back to top
View user's profile Send private message
leke
LXF regular


Joined: Mon Oct 22, 2007 6:45 pm
Posts: 503
Location: Oulu, Finland

PostPosted: Sun Sep 09, 2012 7:03 pm    Post subject: Reply with quote

The script worked flawlessly Smile We've all been playing on it tonight -- lots of laughs were had.

I think it runs pretty good on my machine although it too has plenty of memory (2gb).

I'll be buying it for the kids -- as long as they still want the game after the demo period has expired.

Thanks for all your help.
_________________
http://truecenterpublishing.com/zenstory/maybe.html
Back to top
View user's profile Send private message
bobthebob1234
LXF regular


Joined: Thu Jan 03, 2008 9:38 pm
Posts: 1369
Location: A hole in a field

PostPosted: Sun Sep 09, 2012 9:40 pm    Post subject: Reply with quote

You can never get bored of minecraft

If somehow you do, have a look at tekkit (a bunch of reallly cool mods for minecraft) Have a watch of http://www.youtube.com/watch?v=qk58R6g7PGA (and the series) if you ever get bored, some realllly cool stuff in there


Also if you have kids plural, and they each have their own computer (lucky children, I didn't!) you might want to set up a minecraft server (v easy) so they can blow each other up Very Happy
_________________
For certain you have to be lost to find the places that can't be found. Elseways, everyone would know where it was
Back to top
View user's profile Send private message
AndyBaxman
LXF regular


Joined: Tue Oct 04, 2005 9:47 am
Posts: 523

PostPosted: Mon Sep 10, 2012 10:04 am    Post subject: Reply with quote

Minecraft certainly is a whole bunch of fun. I run a Bukkit server.

This has a nice easy to use plugin API

Working on a cut and paste plugin which will allow you to copy buildings and interesting geographical features into a database and then "paste" them elsewhere (even another world). The idea is to allow you to build up a library of objects that can be used to build custom worlds.

My server is on most evenings. PM me for the IP address, if interested.
_________________
Bomb #20: "Let there be light"
Back to top
View user's profile Send private message
bobthebob1234
LXF regular


Joined: Thu Jan 03, 2008 9:38 pm
Posts: 1369
Location: A hole in a field

PostPosted: Mon Sep 10, 2012 1:05 pm    Post subject: Reply with quote

Yeah tekkit is built on bukkit. Basically a bunch of plugins grouped together so that clients don't have to install loads of plugins to join a server. I also run a tekkit server in the evenings, check out http://tynecraft.net/ for details Very Happy

Also like the idea of your cut ans paste plugin Andy!
_________________
For certain you have to be lost to find the places that can't be found. Elseways, everyone would know where it was
Back to top
View user's profile Send private message
leke
LXF regular


Joined: Mon Oct 22, 2007 6:45 pm
Posts: 503
Location: Oulu, Finland

PostPosted: Mon Sep 10, 2012 4:21 pm    Post subject: Reply with quote

Thanks for the offers -- It sounds like a lot of fun. The kids had a little moan recently saying it was difficult, but I think they just need a little more playing practice.

My other computers are a bit old and underpowered to allow both of them to play at once, but if I did manage to pick up a fairly new one, would I need to buy 2 licences (accounts) or could the kids play at the same time with one?
_________________
http://truecenterpublishing.com/zenstory/maybe.html
Back to top
View user's profile Send private message
bobthebob1234
LXF regular


Joined: Thu Jan 03, 2008 9:38 pm
Posts: 1369
Location: A hole in a field

PostPosted: Mon Sep 10, 2012 6:27 pm    Post subject: Reply with quote

Short answer; I believe you will need two accounts to play at the same time. Sad

Long answer;
You can play offline with the same account once minecraft on that computer has been played once I believe, but you would have to disconnect the computer from the intertubes. I don't believe you can login to two minecrafts at the same time whilst on the intertubes, and the server will probably kick one of you off if both minecrafts have the same username if you join a server.

I will try tonight when my server comes online and see what happens
_________________
For certain you have to be lost to find the places that can't be found. Elseways, everyone would know where it was
Back to top
View user's profile Send private message
bobthebob1234
LXF regular


Joined: Thu Jan 03, 2008 9:38 pm
Posts: 1369
Location: A hole in a field

PostPosted: Mon Sep 10, 2012 11:19 pm    Post subject: Reply with quote

Yeah just tried, can run 2 at the same time in single player, but if you try and join a server it kicks one of the users off.
_________________
For certain you have to be lost to find the places that can't be found. Elseways, everyone would know where it was
Back to top
View user's profile Send private message
leke
LXF regular


Joined: Mon Oct 22, 2007 6:45 pm
Posts: 503
Location: Oulu, Finland

PostPosted: Sat Sep 22, 2012 1:57 pm    Post subject: Reply with quote

bobthebob1234 wrote:
Yeah tekkit is built on bukkit. Basically a bunch of plugins grouped together so that clients don't have to install loads of plugins to join a server. I also run a tekkit server in the evenings, check out http://tynecraft.net/ for details Very Happy

Also like the idea of your cut ans paste plugin Andy!
Ok, so I finally got round to purchasing the game (my kids have still been playing on in even after the demo time). Anyway, I tried to connect to your server a few times, but got the error, Failed to connect -- Connection refused.

Do I need to forward port 27015 on my router or something?

Thanks.
_________________
http://truecenterpublishing.com/zenstory/maybe.html
Back to top
View user's profile Send private message
bobthebob1234
LXF regular


Joined: Thu Jan 03, 2008 9:38 pm
Posts: 1369
Location: A hole in a field

PostPosted: Sat Sep 22, 2012 5:35 pm    Post subject: Reply with quote

I have just updated the instructions on that page. Basically because I am running a slightly older server (because they took some stuff out that we like) you have to manually select which 'build' you would like to run.

Let me know if you run into any other problems. I'll try and be on it tonight.
_________________
For certain you have to be lost to find the places that can't be found. Elseways, everyone would know where it was
Back to top
View user's profile Send private message
leke
LXF regular


Joined: Mon Oct 22, 2007 6:45 pm
Posts: 503
Location: Oulu, Finland

PostPosted: Tue Sep 25, 2012 6:47 pm    Post subject: Reply with quote

bobthebob1234 wrote:
I have just updated the instructions on that page. Basically because I am running a slightly older server (because they took some stuff out that we like) you have to manually select which 'build' you would like to run.

Let me know if you run into any other problems. I'll try and be on it tonight.
Thanks Bob, it worked with the new instructions and the kids were there this weekend (not making trouble I hope), but after a while the server disconnected them and they couldn't connect since. I've just tried it now as well and it's still offline. No worries though, they've been exploring other worlds in the mean time. I'm a tempted to get into this game, but I'm a little busy with Uni now. I could look into the plug-in dev and maybe get the work as credits.
_________________
http://truecenterpublishing.com/zenstory/maybe.html
Back to top
View user's profile Send private message
bobthebob1234
LXF regular


Joined: Thu Jan 03, 2008 9:38 pm
Posts: 1369
Location: A hole in a field

PostPosted: Tue Sep 25, 2012 10:15 pm    Post subject: Reply with quote

I haven't spotted any trouble Wink

Due to the location of the server it can only be online between 10pm and 8am, a little late for the kids perhaps. I might be able to get this extended at the weekends.

Playing on minecraft for credits sounds like a good idea to me! Very Happy
_________________
For certain you have to be lost to find the places that can't be found. Elseways, everyone would know where it was
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Off Topic All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast