Cuberite Forum
MC-Server on Raspberry Pi - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Development (https://forum.cuberite.org/forum-13.html)
+--- Thread: MC-Server on Raspberry Pi (/thread-520.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12


RE: MC-Server on Raspberry Pi - xoft - 11-27-2012

Can you post your build log, so that I can see the exact error messages? Maybe we can fix them so that the -fpermissive flag is not needed anymore.

Oh, and the flag needs to be added into the GNUmakefile, to the CXX_OPTIONS and CC_OPTIONS. Note that there are several lines setting those variables, either add the flag to all of them, or at least to the relevant part - either release or debug, whichever you're building ("make release=1" -> "release build" part of GNUmakefile)


RE: MC-Server on Raspberry Pi - scythium - 12-15-2012

I just finished compiling this on my Pi, and when I try to connect it boots me before loading the level. Then on my server list it says version 1.3. I'm using the vanilla client 1.4.5. Is there a small change I can do to get it to work with my current client?

TLDR: How to get 1.3 MCserver working with 1.4.5 client?


RE: MC-Server on Raspberry Pi - bearbin - 12-15-2012

MCServer should work with 1.2.5 all the way to 1.4.5. Are you sure you have no mods at all. Even REI's minimap sets off MCServer and means you can't join. Try getting a new build from here: http://ci.berboe.co.uk:8080/job/MCServer%20Linux-ARM/ and seeing if that fixes it.


RE: MC-Server on Raspberry Pi - xoft - 12-15-2012

As for client versions, 1.4 clients and higher do check the server version before connecting, so the server needs to send a version number to them. That is the PrimaryServerVersion value in settings.ini, documented here: http://www.mc-server.org/wiki/doku.php?id=configure:settings.ini#server_section
You should be best off with an up-to-date version from the svn and leaving the value unset.


RE: MC-Server on Raspberry Pi - scythium - 12-16-2012

I downloaded the source files here http://code.google.com/p/mc-server/downloads/list which is the MCServer rev 1024 source files.
I did the settings change to Version=47 and ended up with the same error not being able to connect. But the version number changed to 1.4.2 as expected.

I'm going to attempt to get the most recent version compiled. If not I'll use the build bearbin linked.

Thanks guys for your reply, I just got up so I'm looking forward to getting this working today.


RE: MC-Server on Raspberry Pi - gandl - 12-16-2012

I did the same mistake.

You need to get the source from their subversion server. This Tutorial is helpfull:
http://www.mc-server.org/wiki/doku.php?id=compiling_gcc

1074 is the current version - if i'm right.


By the way: Great project.

I'm running 1074 on a raspberry pi with arch linux. The performance seems great, but a few bugs are still there.

Greetings. Smile


RE: MC-Server on Raspberry Pi - scythium - 12-16-2012

1074 is the most recent revision on their svn server.
I just finished compiling on my Pi (that also runs Arch!) and I was able to join with my Vanilla client 1.4.5 with no problems.
It also runs really fast.

Thank you Dev's for all your hard work!


RE: MC-Server on Raspberry Pi - FakeTruth - 12-16-2012

Good to hear it worksTongue


RE: MC-Server on Raspberry Pi - gandl - 12-17-2012

Hi there,

I'm still having some difficulties running "picraft". Whenever i start walking in one direction it crashes. I don't know if its the loading of chunks or the generating of them or something else.
It only says "killed" in the console. So i tried compiling it in debug mode without the option release=1. But that fails with the following error:

[...]build/debug/WebServer/Events.o -o MCServer/MCServer
collect2: error: ld terminated with signal 11 [Segmentation fault]
make: *** [MCServer/MCServer] Error 1

If i run "make release=1" it compiles just fine.

I'm running Arch Linux in the latest version and have installed gcc and make via pacman.

The Source Code is up to date and checked out of your subversion system.

Greetings


RE: MC-Server on Raspberry Pi - Luksor - 12-18-2012

(12-17-2012, 10:20 PM)gandl Wrote: Hi there,

I'm still having some difficulties running "picraft". Whenever i start walking in one direction it crashes. I don't know if its the loading of chunks or the generating of them or something else.
It only says "killed" in the console. So i tried compiling it in debug mode without the option release=1. But that fails with the following error:

[...]build/debug/WebServer/Events.o -o MCServer/MCServer
collect2: error: ld terminated with signal 11 [Segmentation fault]
make: *** [MCServer/MCServer] Error 1

If i run "make release=1" it compiles just fine.

I'm running Arch Linux in the latest version and have installed gcc and make via pacman.

The Source Code is up to date and checked out of your subversion system.

Greetings

Hi! I think that might be caused by the bug i wrote about yesterday: https://forum.cuberite.org/showthread.php?tid=434&pid=5663#pid5663
Hopefully it will be fixed soon.