Multi version Support
#11
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.
Reply
Thanks given by:
#12
There's a plugin for that: https://github.com/madmaxoft/SingleClientVersion
Reply
Thanks given by:
#13
Thanks! Exactly what I want!
Reply
Thanks given by:
#14
(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:
https://github.com/cuberite/cuberite/rel...tag/1.6EoS

Note that supporting older protocols sounds like a good idea until you dig around for details. For example, the older clients have no knowledge of the newer blocks or mobs. So the clients usually crash whenever the server sends such data.

If supported by the more previous version, 1.4, 1.5 would be great. Smile
Reply
Thanks given by:
#15
The 1.6EoS version, linked above, supports protocols from 1.2 to 1.7.
Reply
Thanks given by:
#16
(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 && make

but 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 2

This is error log
Help me please..
Reply
Thanks given by:
#17
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.
Reply
Thanks given by:
#18
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).
Reply
Thanks given by:
#19
The 1.6EoS release won't as it predates the hints being added to the cmakelist.
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)