pastebin

Paste #ko6 -- näytä pelkkänä tekstinä -- uusi tämän pohjalta

Värjäys: Tyyli: ensimmäinen rivinumero: Tabin korvaus:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Hi all!

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 were playing 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 (git) version
of minetest to connect.

Any server that runs a huge number of mods can be affected as well.
Technically, 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).
Both the server and the client must be upgraded in this case.


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 MAX_REGISTERED_CONTENT and recompile. Your clients do
not need to make this change, but they need a new version of minetest to
be able to connect.