I stand corrected!Hume2 wrote:It is possible to make it purely server-side.
Infinite world size
Re: Infinite world size
- v-rob
- Developer
- Posts: 970
- Joined: Thu Mar 24, 2016 03:19
- GitHub: v-rob
- IRC: v-rob
- Location: Right behind you.
Re: Infinite world size
Theoretically, it might be possible, but in all practicality, both server and client should have to be the same version. There are a lot of things that "could" be possible, but the work and maintenance that would go in to them is not worth it. So, a big change such as this would essentially necessitate a major breaking change, such as the one from 0.4 -> 5.0.Minix wrote: ↑Thu May 20, 2021 05:071)If one were to actually do all the work to rewrite the engine code so that worlds can be bigger, is it enough for only the server to run the modified Minetest engine or would the clients also need to run the modified version ? I am pretty sure something would break client-side but I want to know if that is true.
Has been discussed many times before. See, for instance, https://github.com/minetest/minetest/pull/11175, https://github.com/minetest/minetest/issues/10041, https://github.com/minetest/minetest/issues/5813, and viewtopic.php?f=5&t=17580.
Very large discussion in https://github.com/minetest/minetest/issues/4428.
Re: Infinite world size
I agree, that would break compatibility with prior versions, and then it would become a fork, so keeping up with changes from upstream would be too much work. Thanks for your responses guys, I will look into those github issues.v-rob wrote: ↑Thu May 20, 2021 18:19
Theoretically, it might be possible, but in all practicality, both server and client should have to be the same version. There are a lot of things that "could" be possible, but the work and maintenance that would go in to them is not worth it. So, a big change such as this would essentially necessitate a major breaking change, such as the one from 0.4 -> 5.0.
-
- Member
- Posts: 79
- Joined: Sun May 03, 2020 05:38
- GitHub: ChrysoliteAzalea
Re: Infinite world size
I think it's better to have several dimensions connected with portals than increase world size. MineClone 2 does it with Nether, I think it's possible to have several Overworld-like dimensions.
cdb_JQUaRqvA1Vho
- Linuxdirk
- Member
- Posts: 3218
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: Infinite world size
Since Minetest was never planned with having multiple dimensions in mind it's pretty much impossible to add them now without basically rewrite the whole server and world generation and world coordinates system.Chrysolite Azalea wrote: ↑Sun May 23, 2021 18:12I think it's better to have several dimensions connected with portals than increase world size. MineClone 2 does it with Nether, I think it's possible to have several Overworld-like dimensions.
Enlarging the world by using Int32 or even Int64 would allow infinite large worlds* by only changing the world generation system. You could even use the current coordinates because every number in Int16 fits into anything lager than Int16 and is in the same place.
With this you can place any* amount of dimensions into the space of the currently loaded world. There will be a little more data to be stored, of course, but since only changed mapblocks and nodes are stored the amount of data will be waaaaaay smaller than "anti-larger-world activists" fear.
* Since it is not possible to save infinite data in a finite system the world of course is not infinitely large. The infinity aspect comes from the size of the world that makes it impossible to completely traverse it within the constraints of the vanilla game.
-
- Member
- Posts: 79
- Joined: Sun May 03, 2020 05:38
- GitHub: ChrysoliteAzalea
Re: Infinite world size
AFAIK, there are mods that add new dimensions. So I think it's possible.Linuxdirk wrote: ↑Tue May 25, 2021 10:26Since Minetest was never planned with having multiple dimensions in mind it's pretty much impossible to add them now without basically rewrite the whole server and world generation and world coordinates system.Chrysolite Azalea wrote: ↑Sun May 23, 2021 18:12I think it's better to have several dimensions connected with portals than increase world size. MineClone 2 does it with Nether, I think it's possible to have several Overworld-like dimensions.
cdb_JQUaRqvA1Vho
- Linuxdirk
- Member
- Posts: 3218
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: Infinite world size
Those “dimensions“ are areas that are located within the world. For example, the Nether from the nether mod is placed from -5000,-30000,32767 to -11000,-32768,30000 according to the mod’s settingtypes.txt.
-
- Member
- Posts: 79
- Joined: Sun May 03, 2020 05:38
- GitHub: ChrysoliteAzalea
Re: Infinite world size
Yeah, checked, found it out. The Nether from both MineClone 2 and Nether mod is placed inside the Overworld. I wonder whether it's possible to make a wholly separate world. Or have something like regions grid in OpenSimulator.
cdb_JQUaRqvA1Vho
- Linuxdirk
- Member
- Posts: 3218
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: Infinite world size
No, it’s not and likely will never be without basically rewriting everything that is somehow relevant for creating and serving the world.Chrysolite Azalea wrote: ↑Fri May 28, 2021 09:16I wonder whether it's possible to make a wholly separate world.
-
- Member
- Posts: 307
- Joined: Wed Apr 21, 2021 03:05
- GitHub: tigercoding56
- In-game: bm5 or bemo5 also sell_her_on55
Re: Infinite world size
there are quite a lot of things that basically require that so 5.(whatever ) to 6.0 could be basically rewriting that and adding all those thingsLinuxdirk wrote: ↑Fri May 28, 2021 12:45No, it’s not and likely will never be without basically rewriting everything that is somehow relevant for creating and serving the world.Chrysolite Azalea wrote: ↑Fri May 28, 2021 09:16I wonder whether it's possible to make a wholly separate world.
this is a signature not a place to post messages also if i could change my username i would change it to sell_her_on55
Re: Infinite world size
For history:
first working attempt to break 62000 limit was here:
https://github.com/minetest/minetest/pull/11843
first working attempt to break 62000 limit was here:
https://github.com/minetest/minetest/pull/11843
Re: Infinite world size
Very interesting, I will test this as soon as I have time available.proller wrote: ↑Sat Dec 18, 2021 12:08For history:
first working attempt to break 62000 limit was here:
https://github.com/minetest/minetest/pull/11843
-
- Member
- Posts: 1118
- Joined: Mon Dec 29, 2014 08:07
- Location: USA
Re: Infinite world size
Proller,
Is this truly considered as a working feature for future versions. This sounds "too" promising, but I likes the idea!
I'll test if yes!
Shad
Is this truly considered as a working feature for future versions. This sounds "too" promising, but I likes the idea!
I'll test if yes!
Shad
Re: Infinite world size
I compiled your minetest32 fork and after some trial and error I finally got it to work, this is a big step forward towards achieving near "infinite" worlds in Minetest. I am hosting a public server running the latest version of this fork from Proller's repository for anyone interested in trying it out, you will need to compile the appropriate client to join of course. The server address is freedomtest-c2d.ddns.net:30032, you can also find it on the server list as Minetest32. You have fast, fly, noclip and teleport so you can explore the world.proller wrote: ↑Sat Dec 18, 2021 12:08For history:
first working attempt to break 62000 limit was here:
https://github.com/minetest/minetest/pull/11843
- Linuxdirk
- Member
- Posts: 3218
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: Infinite world size
This sounds wonderful! So … a decent world size isn’t completely off the table! :)proller wrote: ↑Sat Dec 18, 2021 12:08For history:
first working attempt to break 62000 limit was here:
https://github.com/minetest/minetest/pull/11843
Re: Infinite world size
Update:
So far the most stable game is devtest, but it is boring so I decided to test other games; minetest game crashes instantly, however Loria and NodeCore work out of the box. Since there seem to be no public servers hosting Loria I decided to change my public testing server from devtest to Loria. Even though it works it is very unstable, going further than 300k nodes causes a segmentation fault, so a lot of work is still needed.
So far the most stable game is devtest, but it is boring so I decided to test other games; minetest game crashes instantly, however Loria and NodeCore work out of the box. Since there seem to be no public servers hosting Loria I decided to change my public testing server from devtest to Loria. Even though it works it is very unstable, going further than 300k nodes causes a segmentation fault, so a lot of work is still needed.
Re: Infinite world size
Second PR with float->double convert.
https://github.com/minetest/minetest/pull/11910
crashes on object serialize with big positions fixed
https://github.com/minetest/minetest/pull/11910
crashes on object serialize with big positions fixed
Re: Infinite world size
I'm not sure if this has been brought up already but, has anyone considered scaling the sizes of everything instead of trying to increase the area? I mean I know it's going to break compatibility as well but it may be easier to implement?
So scaling at 0.5 would increase the world by 8x. It would also mean that node bounds would every 0.5 instead of every whole number.
So scaling at 0.5 would increase the world by 8x. It would also mean that node bounds would every 0.5 instead of every whole number.
- j0j0n4th4n
- Member
- Posts: 249
- Joined: Tue Jan 26, 2021 06:45
Re: Infinite world size
Unless scaling down allow you to place more than 1 node into the same node space I don't see much difference
cdb_894a100ddd76
Re: Infinite world size
Well, yeah, that's exactly what I mean. Scale everything: nodes, entities, particles. If you make everything half size in each direction then node borders would be at every half step instead of every step. This means 2x2x2 for every 1x1x1 coordinate. If you scale by 0.1 then you get 1000 nodes inside 1x1x1.j0j0n4th4n wrote: ↑Sat Jan 01, 2022 21:24Unless scaling down allow you to place more than 1 node into the same node space I don't see much difference
- Linuxdirk
- Member
- Posts: 3218
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: Infinite world size
No, because that’s nonsense.
- v-rob
- Developer
- Posts: 970
- Joined: Thu Mar 24, 2016 03:19
- GitHub: v-rob
- IRC: v-rob
- Location: Right behind you.
Re: Infinite world size
Not really, you'd have to use floating point, so you'd still have to convert every 16-bit integer to another type, plus the extra complexity of stuffing multiple nodes every whole number. It would be quite a bit harder.
Re: Infinite world size
Thank you for at least taking the suggestion seriously. It occurred to me after I posted that we still have the same limitation due to the 16-bit Int. When I first suggested this, I was thinking about how coordinates show as floats in-game but I'm guessing this is a combination of the Int and a float. I'm not a fan of floats anyway since you lose precision with higher numbers. I learned a valuable lesson with that when I was working on a Skyrim mod years ago. Papyrus stores all numbers internally as float. So if you save a large number and then try to use it later, it may change without warning or error
-
- Member
- Posts: 124
- Joined: Mon May 31, 2021 23:32
- GitHub: Tim79000
- In-game: Tim7
- Location: Land of the Midnight Sun
Re: Infinite world size
Could you add it to Freeminer? smileproller wrote: ↑Sat Dec 18, 2021 12:08For history:
first working attempt to break 62000 limit was here:
https://github.com/minetest/minetest/pull/11843
Yeet.
Who is online
Users browsing this forum: No registered users and 5 guests