New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
forceload_block ... doesn't #13823
Comments
I'm not really sure what the extent of this bug is. Is it just bad documentation (in which case, the minetest.forceload_block is not supposed to act quickly at all - taking more than a minute or two) If so, why does looking at the block to load always trigger it to load, even 100 nodes away? It seems odd to be dependent on whether a player is looking at it or not |
Unable to reproduce on Linux with Mientest 5.7.0 or 5.8.0-dev-e36b2226b |
Yeah, it's nearly instantaneous for me on 5.7.0 on Linux, I get like one frame of blue sky when the world loads before it pops in. |
I did: I can see it instantly, as soon as I join. Tried both in singleplayer and dedicated server, minetest version is 5.7.0 (official, not compiled by me). |
Could you guys re-test with "host server" enabled? I also just tried in singleplayer, and yes, in singleplayer it loads immediately. But in Host Server mode, as the Host Client, the bug exists. That might have been an important detail, sorry :P |
I'm afraid I still can't reproduce it when launching the game with 'Host Server' checked from the GUI. Neither in the hosting instance, nor in a second instance I used as a second client. |
The entity shows for me instantly when hosting a server as well. On stable and dev, tried lowering my view_range to 110 but it still worked. |
Strange. I confirmed that the latest windows zip download from minetest.net has this behavior... |
Not sure if this is related, but when I use |
I did not notice a difference based on location. Like I said, this is repeatable for me, on a new world, in "host server" mode |
Forceloading is not supposed to force sending blocks to clients. AFAIK, it's only for keeping blocks active on the server. It looks like this is just a documentation issue, at best. |
Since others cannot reproduce, and since I have found a workaround, I can see closing this issue. |
Minetest version
Operating system and version
Windows 11
This:
Doesn't actually load the block in a reasonable time ... until a player looks up at the block that is to be forceloaded.
For context, the block to be forceloaded is a single position about 100 nodes above the player's head, filled with air. A very large entity needs to spawn there, and cannot until forceloaded.
Steps to reproduce
Using the minimal_test mod included here,
join the game...
Wait
look up...
this should spawn, but only after waiting quite a while and/or looking up: (its a very large transparent cylinder ring entity with its position 100 nodes above the player's head)
Here's the minimal_test mod for this bug:
minimal_test.zip
IMPORTANT EDIT:
To experience the bug, you must be in Host Server mode
The text was updated successfully, but these errors were encountered: