How to raise a limit of registration of node?
- Andrey01
- Member
- Posts: 2577
- Joined: Wed Oct 19, 2016 15:18
- GitHub: Andrey2470T
- In-game: Andrey01
- Location: Russia, Moscow
How to raise a limit of registration of node?
The registration limit is 32768 nodes. But i want to register more nodes. How to raise the limit?
- Krock
- Developer
- Posts: 4650
- Joined: Thu Oct 03, 2013 07:48
- GitHub: SmallJoker
- Location: Switzerland
- Contact:
Re: How to raise a limit of registration of node?
Short answer: No
Long answer:
Untested, will break maps and/or cause errors because nobody yet experimented with that
1) Increase content_t to u32: https://github.com/minetest/minetest/bl ... node.h#L36
2) Increase the limit to 0x7fffffffU: https://github.com/minetest/minetest/bl ... node.h#L44
3) Compile Minetest
4) Pray that it'll work.
Relevant issue: https://github.com/minetest/minetest/issues/6101
Long answer:
Untested, will break maps and/or cause errors because nobody yet experimented with that
1) Increase content_t to u32: https://github.com/minetest/minetest/bl ... node.h#L36
2) Increase the limit to 0x7fffffffU: https://github.com/minetest/minetest/bl ... node.h#L44
3) Compile Minetest
4) Pray that it'll work.
Relevant issue: https://github.com/minetest/minetest/issues/6101
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
Who is online
Users browsing this forum: Ahrefs [Bot] and 22 guests