01-15-2016, 05:18 AM
Relating to this, is there a way to prevent older versions from joining? 1.8 has iirc some new blocks, and I'm guessing they would be disabled if 1.7 is allowed to join.
|
Multi version Support
|
|
01-15-2016, 05:18 AM
Relating to this, is there a way to prevent older versions from joining? 1.8 has iirc some new blocks, and I'm guessing they would be disabled if 1.7 is allowed to join.
01-15-2016, 06:04 AM
There's a plugin for that: https://github.com/madmaxoft/SingleClientVersion
01-15-2016, 08:07 AM
Thanks! Exactly what I want!
01-15-2016, 02:22 PM
(01-15-2016, 04:49 AM)xoft Wrote: There's even a source code release of the last version that did support the pre-1.7 protocols: If supported by the more previous version, 1.4, 1.5 would be great.
01-15-2016, 03:08 PM
The 1.6EoS version, linked above, supports protocols from 1.2 to 1.7.
01-17-2016, 08:52 AM
(01-15-2016, 03:08 PM)xoft Wrote: The 1.6EoS version, linked above, supports protocols from 1.2 to 1.7. I tryed this command Code: cd src
cmake . -DCMAKE_BUILD_TYPE=DEBUG && makebut it did not work Code: root@raspberrypi:~/Desktop/Cuberite/src# cmake . -DCMAKE_BUILD_TYPE=DEBUG && make
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /root/Desktop/Cuberite/src
Scanning dependencies of target Blocks
[ 1%] Building CXX object Blocks/CMakeFiles/Blocks.dir/BlockBed.cpp.o
[ 1%] Building CXX object Blocks/CMakeFiles/Blocks.dir/BlockDoor.cpp.o
[ 2%] Building CXX object Blocks/CMakeFiles/Blocks.dir/BlockHandler.cpp.o
In file included from /root/Desktop/Cuberite/src/./PolarSSL++/RsaPrivateKey.h:12:0,
from /root/Desktop/Cuberite/src/./HTTPServer/HTTPServer.h:15,
from /root/Desktop/Cuberite/src/./Root.h:6,
from /root/Desktop/Cuberite/src/Blocks/BlockDirt.h:6,
from /root/Desktop/Cuberite/src/Blocks/BlockHandler.cpp:23:
/root/Desktop/Cuberite/src/./PolarSSL++/CtrDrbgContext.h:12:31: fatal error: polarssl/ctr_drbg.h: No such file or directory
#include "polarssl/ctr_drbg.h"
^
compilation terminated.
Blocks/CMakeFiles/Blocks.dir/build.make:100: recipe for target 'Blocks/CMakeFiles/Blocks.dir/BlockHandler.cpp.o' failed
make[2]: *** [Blocks/CMakeFiles/Blocks.dir/BlockHandler.cpp.o] Error 1
CMakeFiles/Makefile2:274: recipe for target 'Blocks/CMakeFiles/Blocks.dir/all' failed
make[1]: *** [Blocks/CMakeFiles/Blocks.dir/all] Error 2
Makefile:76: recipe for target 'all' failed
make: *** [all] Error 2This is error log Help me please..
01-17-2016, 11:52 AM
If you downloaded the release, then you also need to download the associated libs. The easiest way of doing it is to use gits submodule functionality with the actual git repo.
01-18-2016, 06:20 PM
You shouldn't be doing "cd src" before calling cmake. It will still fail, but it will give you hints about what you should do (download additional libraries and unpack to specific folders).
01-18-2016, 09:07 PM
The 1.6EoS release won't as it predates the hints being added to the cmakelist.
|
|
« Next Oldest | Next Newest »
|