Up until now, node definitions were stored in an array of size 4096 that could not be resized. Since this system caused problems, we changed it to a resizable vector today.
How does this affect me?
Unless you want to play on VanessaE's server, probably not at all. Maps are not affected. In most cases, you can connect with new clients to old servers, old clients to new servers, and of course new clients to new servers.
What's the deal with VanessaE's server? Are other servers affected?
If you want to play on VanessaE's server, you need a new version (git, for now) of minetest to connect. Any server that runs a huge number of mods can be affected as well. In technical terms, a server is affected if
- nearly 4096 nodes are defined by mods and
- the map contains nodes that belong to deleted mods (and are not aliased).
Can I register more than 4096 nodes now?
No. The limit for lua mods is still 4096, until there is consensus between the devs that this limit should be raised. However, dummy nodes (caused by unknown nodes in the map) are no longer affected by this limit.
If you are a server admin who absolutely needs more than 4096 nodes, modify mapnode.h, increase
Code: Select all
#define MAX_REGISTERED_CONTENT 0xfffU