Live data from Hacker News

Writing a Minecraft server from scratch in Bash (2022)

sdomi.pl

21–30 of 56 posts

Re: Writing a Minecraft server from scratch in Bash (2022)

#21

Earlier quoted context omitted.

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.

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.

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)

#22

Earlier quoted context omitted.

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.

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.

Roblox is somewhere on that list too ....

Re: Writing a Minecraft server from scratch in Bash (2022)

#23
post #17

Just wondering, but is writing custom servers for commercial games still a thing?

Not just servers but for some games clients too https://runelite.net/

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)

#25
post #10

They should have used my (dumb?) library, ctypes.sh: https://github.com/taviso/ctypes.sh Then they can access libm, poll(), select() and so on from bash :)

I‘m not sure you should have done that, but it is impressive for the sheer chuzpa of it. Like reanimating Frankenstein.

Re: Writing a Minecraft server from scratch in Bash (2022)

#26
post #17

Earlier quoted context omitted.

Not just servers but for some games clients too https://runelite.net/

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.

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)

#27

Earlier quoted context omitted.

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.

Frustrating how game studios can see Minecraft's success here and not change a thing about their development practices.

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)

#28

Earlier quoted context omitted.

Frustrating how game studios can see Minecraft's success here and not change a thing about their development practices.

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.

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)

#30
post #8

A negative power, i.e. 2^(-n) is just 1/(2^n). I'm surprised the author didn't remember that with their own 2^-1 = 0.5 example and eventually reached out to awk for it.

I don't understand how this would help the author. Since the bash doesn't support floating point numbers anyway
Post reply on HN