#cuberite

/

      • ajusa joined the channel
      • ajusa
        I am getting errors :(
      • Here is a quick log
      • Never mind, ill make a github issue
      • ajusa has quit
      • PaddyMac
        I'm impressed! The official Mojang server uses about %70 of my 768 MB RAM, but Cuberite only about 20%!
      • LogicParrot
        @ajusa: It seems you used C.H.I.P, if I am not mistaken, the Armv7 builds are RaspberryPi-specific. Try compiling instead. I replied to your issue.
      • @PaddyMac: C++ ;)
      • NOTICE: [cuberite] LogicParrot pushed 2 new commits to master: https://git.io/vgWHT
      • NOTICE: cuberite/master 1376743 LogicParrot: Pathfinder now properly treats nonsolids above fence
      • NOTICE: cuberite/master 2b81759 LogicParrot: Merge pull request #2958 from LogicParrot/fence...
      • guenstigwerben
        LogicParrot change your NickServ password Now!
      • (LogicParrot) [23:01:12] /msg NickServ VERIFY REGISTER LogicParrot gcqzpwhvcdbk
      • It was open to everyone
      • And hex bearbin
      • bearbin
        hex bearbin
      • but hi guenstigwerben
      • ?
      • LogicParrot
        @guenstigwerben that is not my password. That's just my registeration code.
      • Which is useless now that it's used.
      • But thanks for the warning :)
      • @bearbin my comment was completely wrong, I thought the book does not use https, my bad.
      • bearbin
        That's fine, we just need to get it on the main site now.
      • LogicParrot
        Do we?
      • Oh, I thought "it" is referring to the manual :P
      • bearbin
        No, the HTTPS. If xoft transfers the domain it should be quit easy.
      • SphinxC0re joined the channel
      • SphinxC0re
        Hi bearbin LogicParrot and everyone else
      • bearbin
        hi
      • SphinxC0re
        bearbin the OS X build failed because of a segfault
      • Compilation went out fine, but the start was interrupted
      • bearbin
        restarted
      • NOTICE: [cuberite] SphinxC0re pushed 2 new commits to master: https://git.io/vgWb2
      • NOTICE: cuberite/master ca6ef58 LogicParrot: Bulk clearing of whitespace
      • NOTICE: cuberite/master 6fdd719 Julian Laubstein: Merge pull request #2974 from LogicParrot/perl...
      • SphinxC0re
        Thank you, but I don't think that will do future wise
      • bearbin
        yes, we need to fix the segfaults
      • SphinxC0re
        Does your start script produce a core dump
      • bearbin
        nope
      • SphinxC0re
        Hmm that would be good. What do you think?
      • bearbin
        Where would I put the coredump in an automated fashion? Since Jenkins does not archive artifacts on a failed build AFAIK.
      • but it would be a good idea
      • actually nvm, artifacts are archived on failyre
      • failure*
      • SphinxC0re
        OS X build is still failing
      • bearbin
        but builds are done in release mode with full optimisation, so would a coredump be helpful?
      • SphinxC0re
        could you determine whether the build failed or succeeded automatically?
      • Not really
      • uhh..
      • -_-
      • bearbin
        Making the coredump available is very easy I realised, it's just whether they would be useful for release mode.
      • SphinxC0re
        THey wouldn't until you wanted to reverse engineer it
      • Okay
      • the last build is okay
      • could you remove the raspbian crosscompile pack and the freebsd x86 build? They are just taking up space and traffic.
      • bearbin
        The Raspi Crosscompile pack is an essential part of the raspi build process. I can disable the freebsd x86 build to stop it taking up build time though.
      • I don't have any issues with disk space or traffic though, 2TB disk space and unlimited traffic
      • SphinxC0re
        2TB ?? Woo. Okay
      • just disable it then. I thought you were still hanging on a small VPS
      • bearbin
        Nope, it has a proper Kimsufi dedicated :P
      • SphinxC0re
        nice
      • I have to go now. See you in the evening
      • SphinxC0re has quit
      • SphinxC0re joined the channel
      • rincewind1 has quit
      • rincewind joined the channel
      • SphinxC0re has quit
      • teb_ joined the channel
      • teb_
        Hello!
      • bearbin
        hi teb_
      • teb_
        Love Cubrite! Thanks guys :)
      • I have a performance question - are there any numbers to back up how does Cubrite compare to the standard Java Minecraft server?
      • I'm sure it's better.
      • but I'm interested in the rates (2x, 4x, better with memory)
      • I know old Bukkit could have eaten 4GB for breakfast :D
      • bearbin
        It's our pleasure, I'm glad you like it! I don't have numbers, but in general the memory usage is a lot lower, and CPU is lower in some areas, higher in others (world gen lower, mobs/redstone higher)
      • You could do a benchmark yourself if you want, and we did work out what memory the server should need
      • but not compare it to bukkit
      • I think it's in a forum thread somewhere
      • teb_
        numbers would be more than sufiscient
      • I see there is binary for Raspberry :D
      • must be damn fast
      • bearbin
        Also, multithreading for lots of tasks, so the Pi2 is good for that
      • LogicParrot has quit
      • teb_
        where can I read up on the numbers?
      • bearbin
      • But we did implement chunk sparsing, so the memory usage should be much lower as air is not stored.
      • LogicParrot joined the channel
      • LogicParrot has quit
      • teb_
        so I can expect ~40MB/player? That feels like a huge saving compared to the Java impl :o
      • LogicParrot joined the channel
      • bearbin
        You should also expect some for the spawn area which is always loaded, some for network connections, and some for other aspects, but somewhere around that, yes
      • teb_
        really interesting :)
      • bearbin
        memory usage will be less with players densely packed, and nearer to the maximum with less packed players
      • teb_
        I can see that :)
      • thank you very much
      • bearbin: is that normal to take 180MB when there is noone connected?
      • bearbin
        180mb is a little high, but ~100 meg is normal
      • teb_
        ok :)
      • LogicParrot has quit
      • how would I go about minimizing the server's memory usage?
      • I've reduced DefaultViewDistance but that didn't help much
      • can I limit how many chucks can a player load?
      • teb_ has quit
      • LogicParrot joined the channel
      • LogicParrot
        I don't know about that, but one extreme measure you could try is having a flat world.
      • Not too nice for survival, but ideal for creative worldbuilding.
      • LogicParrot has quit
      • rincewind has quit
      • rincewind joined the channel
      • NOTICE: [cuberite] LogicParrot created checker (+1 new commit): https://git.io/vglGC
      • NOTICE: cuberite/checker f671b29 LogicParrot: Style checker - Prevent whitespace-only lines
      • NOTICE: [cuberite] LogicParrot opened pull request #2978: Style checker - Prevent whitespace-only lines (master...checker) https://git.io/vglG8
      • NOTICE: [cuberite] LogicParrot force-pushed checker from f671b29 to 7378eb7: https://git.io/vglGE
      • NOTICE: cuberite/checker 7378eb7 LogicParrot: Style checker - Prevent whitespace-only lines
      • NOTICE: [cuberite] LogicParrot force-pushed checker from 7378eb7 to 0709f76: https://git.io/vglGE
      • NOTICE: cuberite/checker 0709f76 LogicParrot: Style checker - Prevent whitespace-only lines
      • SphinxC0re joined the channel
      • LogicParrot joined the channel
      • @bearbin?
      • bearbin
        yes
      • LogicParrot
      • Which means the way it auto updates would need modification.
      • If we keep the #2.5 format, people will inevitably post brittle links around (forums, etc.)
      • bearbin
        gtg for dinner, but I think we're approaching this problem from the wrong direction - we should have a versioning system instead.
      • bb in 30 mins
      • LogicParrot has quit
      • micechal joined the channel
      • SphinxC0re has quit
      • LogicParrot joined the channel
      • NOTICE: [cuberite] LogicParrot opened pull request #2980: Proper entity destruction in non ticking chunks (master...entityDestroy) https://git.io/vgl2X
      • NOTICE: [cuberite] LogicParrot closed pull request #2980: Proper entity destruction in non ticking chunks (master...entityDestroy) https://git.io/vgl2X
      • NOTICE: [cuberite] Drahoslav7 opened pull request #2981: Fix Pickups of BlockFlower (master...master) https://git.io/vglw9
      • PaddyMac
        LogicParrot, you free for a moment?
      • NOTICE: [cuberite] LogicParrot reopened pull request #2980: Proper entity destruction in non ticking chunks (master...entityDestroy) https://git.io/vgl2X
      • I'd like to be able to build Cuberite using all external dependencies instead of using the bundled libs. Is there an easy way to do this?
      • In other words, use the system libs.
      • bearbin
        I believe that most of our dependencies are modified so it wouldn't be possible to use external libs. Do you have a particular reason to use external libs?
      • PaddyMac
        Well, if the bundled libs are customized, that is a different story. But I'd like to write a Gentoo ebuild for Cuberite, and the general rule is to use system libs. The general exception to that rule, though, is if the libs are customized.
      • bearbin
        I think using a library for lua would be possible however, as it's not customised, and we have got some of the way towards using the system lua.
      • PaddyMac
        I found the bug about system lua, but it hadn't been touched since 2014, so I was wondering if any progress had been made on that.
      • bearbin
        I don't think any progress has been made, unfortunately. I think we'd be very happy for you to work on changing it if you want, as it's something that is planned anyway.
      • PaddyMac
        Well, it seems that modyifying CMakeLists.txt to search for and use system Lua would be all that is needed. I'm not very knowledgeable with cmake, but that's never stopped me from learning.
      • I'll probably have some time tonight or tomorrow to look into it.
      • I'm happy to see an efficient non-java Minecraft server. It seems like most Minecraft server projects have been abandoned.
      • Anyway. Thank you for your time. I'll just comment on the Lua bug when I have something to submit.
      • bearbin
        No problem PaddyMac, and thank you for getting involved! As you say, there are few open-source servers still in development
      • LogicParrot has quit