News for hackers. Stuff that matters.
Re:Writing a Minecraft server from scratch in Bash (2022) by SunlitCat on Saturday March 02, 2024 @11:24AM (#39573565)
Just wondering, but is writing custom servers for commercial games still a thing?
Re:Writing a Minecraft server from scratch in Bash (2022) by madeofpalk on Saturday March 02, 2024 @12:43PM (#39574184)
For Minecraft, very much so. Minecraft, especially the Java version, is in a comparatively odd place in that it receives significant free content updates AND officially supports running any historical version AND has an extremely vibrant modding community.

Minecraft (Java) is as much of a game engine for others to build on as it is a game itself.

Re:Writing a Minecraft server from scratch in Bash (2022) by themoonisachees on Saturday March 02, 2024 @01:20PM (#39574537)
This is because in addition to being the most sold video game of all time, minecraft is effectively open source. It's not literally open source, but you can decompile java bytecode with standard tooling, and symbols are available, either community-reversed, or official.
Re:Writing a Minecraft server from scratch in Bash (2022) by teaearlgraycold on Saturday March 02, 2024 @01:45PM (#39574797)
Frustrating how game studios can see Minecraft's success here and not change a thing about their development practices.
Re:Writing a Minecraft server from scratch in Bash (2022) by Aurornis on Saturday March 02, 2024 @03:04PM (#39575341)
There’s actually a very large and vibrant community for modding Unity games like this.

More competitive games can’t afford any type of easy reverse engineering due to the cheating factor.

Re:Writing a Minecraft server from scratch in Bash (2022) by darknavi on Saturday March 02, 2024 @04:03PM (#39575744)
Mods are the (amazing) end game for Lethal Company. So many fun, new tweaks and content.
Re:Writing a Minecraft server from scratch in Bash (2022) by noah91734 on Saturday March 02, 2024 @04:51PM (#39576084)
For the curious: https://thunderstore.io/c/lethal-company/

Click on any mod, and you can see the decompiled source. The mods use function hooking to run before or after certain functions are called rather than the event based system you see in Minecraft plugins.

Re:Writing a Minecraft server from scratch in Bash (2022) by ryukoposting on Sunday March 03, 2024 @10:54AM (#39581622)
I think Minecraft's position today has as much to do with the content of the game itself as it has to do with its architecture/Mojang's engineering choices.

The nearly-infinite expandability and modularity of Minecraft is partially due to the simplicity of the art, core game mechanics, and lack of storyline. Good mods are harder to make when the world they must integrate into is more complex.

I think this means a lot of games wouldn't see the kind of sustained success Minecraft has seen, even with more "open" development practices.

I hypothesize that the "open world" craze of years past was an attempt to capture Minecraft magic, but those games lacked the thematic open-endedness that really facilitates Minecraft's longevity.

Re:Writing a Minecraft server from scratch in Bash (2022) by LtWorf on Saturday March 02, 2024 @09:48PM (#39578011)
minetest is open source for real though
Re:Writing a Minecraft server from scratch in Bash (2022) by Filligree on Saturday March 02, 2024 @01:20PM (#39574536)
The four great game engines: Unreal, Unity, Minecraft and Godot.

I don’t think Minecraft is number four on the list. It might be number two.

Re:Writing a Minecraft server from scratch in Bash (2022) by jasonjayr on Saturday March 02, 2024 @01:58PM (#39574915)
Roblox is somewhere on that list too ....
Re:Writing a Minecraft server from scratch in Bash (2022) by Filligree on Saturday March 02, 2024 @06:02PM (#39576597)
How many thousand mods does it have?
Re:Writing a Minecraft server from scratch in Bash (2022) by BalinKing on Saturday March 02, 2024 @06:07PM (#39576641)
Isn't each server its own mod, in effect?
Re:Writing a Minecraft server from scratch in Bash (2022) by LtWorf on Saturday March 02, 2024 @09:47PM (#39578004)
Minetest is much more of a game engine.

I've heard from someone I know that played both extensively that minetest is less prone to losing everything for data corruption (never happened once in minetest, regularly in minecraft after a while. But sample size is 1).

Re:Writing a Minecraft server from scratch in Bash (2022) by tehbeard on Sunday March 03, 2024 @03:24AM (#39579391)
Is that sample size of one from the java edition or bedrock edition of minecraft?
Re:Writing a Minecraft server from scratch in Bash (2022) by LtWorf on Sunday March 03, 2024 @05:59AM (#39580061)
java
Re:Writing a Minecraft server from scratch in Bash (2022) by chungy on Sunday March 03, 2024 @10:53AM (#39581617)
I don't think I've ever witnessed data corruption in Minecraft, and that's even playing since Alpha 1.0.11 and multiple data format migrations... well, my sample size is 1, too.

I've also been on ZFS nearly the whole time. Are you certain Minecraft actually corrupted your data file, or do you suffer underlying hardware failure?

Re:Writing a Minecraft server from scratch in Bash (2022) by petee on Saturday March 02, 2024 @12:09PM (#39573920)
I think it will always be a thing for those who play games & like to dabble with tech, either to fix a bug, learn a language, or just see how the sausage is made.
Re:Writing a Minecraft server from scratch in Bash (2022) by firtoz on Saturday March 02, 2024 @12:58PM (#39574329)
AFAIK yes, the RE scene is still active.
Re:Writing a Minecraft server from scratch in Bash (2022) by haunter on Saturday March 02, 2024 @01:18PM (#39574512)
Not just servers but for some games clients too https://runelite.net/
Re:Writing a Minecraft server from scratch in Bash (2022) by static_motion on Saturday March 02, 2024 @02:15PM (#39575029)
I find RuneLite a fascinatingly well-built piece of software. The lead dev, Adam, did a fantastic job with it, and good on Jagex for allowing its use, even as far as advertising it on their own front page.
Re:Writing a Minecraft server from scratch in Bash (2022) by hoten on Saturday March 02, 2024 @02:53PM (#39575268)
It really papers over (some of) the tedium of the game and let's you enjoy the rest easier. Love it.
Re:Writing a Minecraft server from scratch in Bash (2022) by SunlitCat on Sunday March 03, 2024 @10:59AM (#39581658)
Although writing game servers for commercial games is already "difficult", isn't writing game clients for commercial games a huge issue copyright wise?