• 0

    posted a message on Mineserver a C++ Minecraft Server (Open Source) Functional
    After a ton of mucking about with ruby in debian, I managed to get redmine up and running so we have a centralised issue tracker (and soon, wiki).

    From now on, bug reports go here.

    Still setting up the email confirmations and such, so new users won't be able to register until then, but you can poke around and see how it works at least. ALL IS WELL.
    Posted in: Server Support and Administration
  • 0

    posted a message on hey0 alternative? is there one?
    You may want to look into mineserver once it's stable. The problem with hey0's mod is that it's just that: a mod. It's still relying on the default java server, which has shown itself to be painfully inefficient. Mineserver is a complete reimplementation of the SMP server in c++ and is quite a bit faster, but is still a ways off being ready for production.
    Posted in: Alpha - Survival Multiplayer Discussion
  • 0

    posted a message on Mineserver a C++ Minecraft Server (Open Source) Functional
    Quote from sk89q »
    I personally hate Lua. Building anything big with it often means spending the saved time on writing the code on debugging it (an experience only made harder by Lua's features). There are also no real OOP features -- you can do it using some metatable stuff blah blah blah


    This is why Lua will be only one of many options available to prospective plugin developers. The Lua stuff will be aimed at people who want to do things like add simple chat commands, script NPC actions, etc. For anything remotely complex, it'd probably be best to do it in c++ (as was mentioned in a previous post of mine) so that a) it's quicker and :cool.gif: you have a more powerful language at your disposal.
    Posted in: Server Support and Administration
  • 0

    posted a message on Mineserver a C++ Minecraft Server (Open Source) Functional
    Woovie wrote:
    > A small annoyance of mine ( and many fellow Lua programmers ) is when
    > people type LUA. That's like typing RUBY or PYTHON.

    ^^ This. Lua means "moon" if I remember correctly, so it's a proper name and not an acronym, meaning the first letter should be the only one capitalised.

    Kane_Hartwrote:

    > looks like the majority of people like to see LUA as one the default
    > plugin/scripting systems.

    Yeah, it'll definitely be one of the default plugins.
    Posted in: Server Support and Administration
  • 0

    posted a message on Mineserver a C++ Minecraft Server (Open Source) Functional
    Psoden has set up a server running on an old thinkpad laptop, just as a proof of how few resources mineserver requires to run. It's a slightly older revision, just because right now there's a lot of changes making the main branch a little unstable. It's running on a Mobile Pentium 3 800MHz with 622MB of memory.

    You can (probably) connect to it here: figuan.tontut.fi

    NOTE: If you can't connect to it, it's down. It is an old laptop after all...
    Posted in: Server Support and Administration
  • 0

    posted a message on Mineserver a C++ Minecraft Server (Open Source) Functional
    Quote from Kane_Hart »
    Quote from deoxxa »
    In case anyone is curious, there's usually a somewhat recent build running on fknsrs.biz:25566. Everyone can use /give and /ctp, so go nuts with whatever you want.



    I must be getting bad packets or something. I connect and it says logging in and boom the client freezes up. I use to get this on older version of the java server sometimes connecting to a server for the first time.


    Yeah I just saw you logging in and then immediately getting disconnected.

    Handshake player: Kane_Hart
    Player 5 login v.4 : Kane_Hart:Password
    Currently 5 users in!
    Socket had no data to read


    I'll hunt down what might be causing that. A few other people were connected just fine though, so I'm not sure what could be happening...
    Posted in: Server Support and Administration
  • 0

    posted a message on Mineserver a C++ Minecraft Server (Open Source) Functional
    In case anyone is curious, there's usually a somewhat recent build running on fknsrs.biz:25566. Everyone can use /give and /ctp, so go nuts with whatever you want.
    Posted in: Server Support and Administration
  • 0

    posted a message on Mineserver a C++ Minecraft Server (Open Source) Functional
    Quote from GuardMoony »
    Any chance to implement a world backup function. Nothing fancy. Like an option so it would backup the world every x hours to a specified location. Ofc this is not high priority but would be a nice feature.


    That'd be a job for an extension. Anything that isn't core functionality (i.e. specifically required to run the most basic of servers) will be broken out into a plugin. This includes things like remote administration, map generation, most chat commands, etc.
    Posted in: Server Support and Administration
  • 0

    posted a message on Mineserver a C++ Minecraft Server (Open Source) Functional
    Quote from Neko_Baron »
    Then why does all my world saves have 64 folders?


    3/10, poor troll effort.
    Posted in: Server Support and Administration
  • 0

    posted a message on Mineserver a C++ Minecraft Server (Open Source) Functional
    Quote from B3NW »
    I don't know whether this is a wrapper or a complete server software -.-


    Complete reimplementation of the minecraft server in c++, no code is shared with the java server.

    Quote from sk89q »
    Heh, it would be nice if it DID support Java plugins, mainly because of WorldEdit (link below). It's 21,000 lines of code at the moment


    Hooo boy, that must be a nightmare to maintain :x. There's nothing stopping someone from writing a java plugin or something, I assume java has some way to interface with <things that aren't java>?
    Posted in: Server Support and Administration
  • 0

    posted a message on Mineserver a C++ Minecraft Server (Open Source) Functional
    Quote from B3NW »
    Good work guys!


    \o/

    Quote from B3NW »
    I hope the framework is PnP so it will function if certain features get bugged by Notch's updates so servers can run pretty much un-interrupted.


    I have no idea what this is meant to mean. You want the server to react to changes in another piece of software that is completely unrelated and even written in a entirely different language without intervention from the users or developers? Sorry, totally not risking the chance of accidentally creating skynet just to save a few minutes of downtime for admins.

    Quote from B3NW »
    Oh and set-up an SVN so files can be updated quickly.


    There's a github project already. git is better than SVN in so many ways.

    Quote from B3NW »
    One last note, have it set-up so that plugins can be installed without the server restarting.


    If it's not an absolute pain to do (and maintain) it, and as long as it doesn't introduce any performance penalties, this will be done. Otherwise, it only takes a few seconds to restart mineserver and as I mentioned in a previous post, I don't think it's unreasonable for the server to require a restart after installing a new plugin. You're not meant to be swapping plugins in and out all the time on a production server anyway.
    Posted in: Server Support and Administration
  • 0

    posted a message on Mineserver a C++ Minecraft Server (Open Source) Functional
    Quote from Fergo »
    You said you plan to add mod support, so it would be a big +1 if it's implemented in the same way that hey0s is


    I'm just going to say this to make it clear: we will not officially support a hey0 compatibility layer or anything of the like. In saying that however, there's nothing stopping someone from writing some kind of glue code once the system is in place. We just won't officially have anything to do with it as it'd be a horrible thing to maintain.

    Quote from Joymo »
    we run about 48 plugins currently!


    :|

    Quote from Joymo »
    I understand you can't plug Java into C++, but if it would be possible to make a plugin layer that makes porting those plugins easy for the developers, that'd be huge!


    That's the plan. The end result will be roughly the same, but without a lot of the hackery required to make some of the more advanced stuff in hMod work. Also the developers won't be required to use java for everything, widening the market significantly.

    Quote from JayRocknWeezy »
    Is it alright to say we will have game modes similar to gmod?


    Not 100% sure what you mean here. Elaborate?

    Quote from wjykk »
    As far as I understand, you're pretty much telling that everyone who wants the plugin needs to take the code that I wrote, modify the original code, and recompile it.


    Right now? Yes. When we have the plugin interface up and running? No.

    Quote from wjykk »
    in order to apply that plugin, the server will needed to be stopped


    I don't think that's unreasonable. It only takes a few seconds to restart the application and it's not like you'd be testing mods on a live server anyway, right?

    Quote from cuzincuz »
    Unfortunately now I am getting a Segmentation fault on the server when a client attempts to connect :-/


    If that's not fixed yet, could you run it under gdb (`gdb ./mineserver`) and file an issue on github, pasting the relevant debug data?
    Posted in: Server Support and Administration
  • 0

    posted a message on Mineserver a C++ Minecraft Server (Open Source) Functional
    Quote from PR#6 »
    hMod/hey0 is "the" mod


    Ah. hey0's mod. I can say 100% for sure that we will never, ever support that. It's nothing against the mod, it's just that it's technically infeasible. As far as I understand it, it's actually a modified version of the java server which loads additional classes at runtime. Loading mods designed for it into mineserver would be like trying to swap the wheels from a bicycle onto a boat: they simply won't fit anywhere and even if they did, they wouldn't be very useful without what would essentially be a reimplementation anyway. I plan to implement a few of the more popular mods in Lua and/or c++ once the systems are in place, so hopefully that'll spur some other people to do the same.
    Posted in: Server Support and Administration
  • 0

    posted a message on Mineserver a C++ Minecraft Server (Open Source) Functional
    Quote from nicklozon »

    Since there is no map generation, I copied over a map generated with the regular minecraft server. It seems to be quite glitchy though and if you move more than a few blocks, it tries accessing files that don't exist. :tnt:

    I imagine it has mostly to do with the map I am loading.


    Yeah that's what happens if the chunks aren't there to read. I suggest testing it out with a flatland map.

    Quote from nicklozon »

    I am big into C++, currently learning socket programming myself. Maybe I can contribute in some way - need a forum on that website of yours!


    Feel free to fork the project on github and get coding! We're more than happy to merge changes in if they're useful :smile.gif:.

    Quote from nicklozon »

    Oh ya, I can't compile in Release mode because of linker errors for unresolved externals: gzread, gzwrite, gzclose and gzopen. Might have something to do with zlib library I downloaded...


    I'll pass this and your workaround on to Fador, I'm pretty sure he takes care of the Windows project file things (I don't even run a Windows box anymore so I can't test it D:).
    Posted in: Server Support and Administration
  • 0

    posted a message on Mineserver a C++ Minecraft Server (Open Source) Functional
    Quote from Kane_Hart »
    Thanks deoxxa for taking the time for answering our questions and keeping us updated on what is going on. I read the change notes a couple times of day and do a little dance every small update :smile.gif:


    No problem, I'll keep an eye on this thread for more questions.

    Quote from nossr50 »
    How are you reverse engineering the MC server?
    I'm curious as it sounds pretty cool that you are able to do it.


    There's a bunch of awesome guys in #mcc who've written up great docs on the MC protocol and workings, check out http://mc.kev009.com/wiki/Main_Page if you want to take a look-see.
    Posted in: Server Support and Administration
  • To post a comment, please or register a new account.