Gravity Differences in movementGravity on Mineclonia (Docker Version) #30

Open
opened 2025-04-25 15:09:01 +02:00 by Kindaglia · 10 comments
Contributor

Bug Report: Gravity Differences in movementGravity on Mineclonia (Docker Version)

In the Docker-hosted version of Mineclonia I'm running, I've noticed that the gravity behavior movementGravity differs from the standard version. This has a noticeable side effect on jetpack usage: after reaching a certain height, the jetpack can no longer ascend and starts descending, as if it doesn't have enough thrust to overcome gravity.

Temporary Workaround:
To work around this issue, I added a check to detect when gravity is higher than expected. If it is, the jetpack’s velocity is increased proportionally to compensate, allowing it to continue ascending as intended.

Bug Report: Gravity Differences in movementGravity on Mineclonia (Docker Version) In the Docker-hosted version of Mineclonia I'm running, I've noticed that the gravity behavior `movementGravity` differs from the standard version. This has a noticeable side effect on jetpack usage: after reaching a certain height, the jetpack can no longer ascend and starts descending, as if it doesn't have enough thrust to overcome gravity. Temporary Workaround: To work around this issue, I added a check to detect when gravity is higher than expected. If it is, the jetpack’s velocity is increased proportionally to compensate, allowing it to continue ascending as intended.
Author
Contributor
Solution [https://git.weirdcore.net/Kindaglia/industrialtest/src/branch/fix-jetpack/](url)
mrkubax10 added the
bug
compat-mode:mineclone2
labels 2025-04-25 17:03:52 +02:00
Owner

I will try to come up with proper solution to this issue

I will try to come up with proper solution to this issue
Owner

Seems like support for Mineclonia will require some more work, so I guess supporting it has to be put aside for now.

ModError: Runtime error from mod 'tt' in callback on_mods_loaded(): ...test/games/mineclonia/mods/HELP/mcl_tt/snippets_base.lua:34: attempt to compare nil with number
stack traceback:
	...test/games/mineclonia/mods/HELP/mcl_tt/snippets_base.lua:34: in function <...test/games/mineclonia/mods/HELP/mcl_tt/snippets_base.lua:10>
	/home/kuba/.minetest/games/mineclonia/mods/HELP/tt/init.lua:25: in function 'apply_snippets'
	/home/kuba/.minetest/games/mineclonia/mods/HELP/tt/init.lua:49: in function </home/kuba/.minetest/games/mineclonia/mods/HELP/tt/init.lua:45>
	...inetest-5.9.1/share/minetest/builtin/common/register.lua:26: in function <...inetest-5.9.1/share/minetest/builtin/common/register.lua:12>
Seems like support for Mineclonia will require some more work, so I guess supporting it has to be put aside for now. ``` ModError: Runtime error from mod 'tt' in callback on_mods_loaded(): ...test/games/mineclonia/mods/HELP/mcl_tt/snippets_base.lua:34: attempt to compare nil with number stack traceback: ...test/games/mineclonia/mods/HELP/mcl_tt/snippets_base.lua:34: in function <...test/games/mineclonia/mods/HELP/mcl_tt/snippets_base.lua:10> /home/kuba/.minetest/games/mineclonia/mods/HELP/tt/init.lua:25: in function 'apply_snippets' /home/kuba/.minetest/games/mineclonia/mods/HELP/tt/init.lua:49: in function </home/kuba/.minetest/games/mineclonia/mods/HELP/tt/init.lua:45> ...inetest-5.9.1/share/minetest/builtin/common/register.lua:26: in function <...inetest-5.9.1/share/minetest/builtin/common/register.lua:12> ```
Author
Contributor

i contanct mineclonia team , and they tell me to use this for start mod on minclonia
https://codeberg.org/mineclonia/mineclonia/pulls/3363

i contanct mineclonia team , and they tell me to use this for start mod on minclonia https://codeberg.org/mineclonia/mineclonia/pulls/3363
Owner

I see, will try again later

I see, will try again later
Owner

I tried to reproduce the issue but I couldn't. I can ascend normally until jetpack runs out of fuel. Maybe you could record a video?

I tried to reproduce the issue but I couldn't. I can ascend normally until jetpack runs out of fuel. Maybe you could record a video?
Author
Contributor
https://youtu.be/zNzRopzUlVI
Owner

What are the steps to reproduce the issue? I'm still unable to do so.

What are the steps to reproduce the issue? I'm still unable to do so.
Author
Contributor

i play on server mineclonia on luanti docker,

this docker compose
https://hub.docker.com/r/linuxserver/luanti

i play on server mineclonia on luanti docker, this docker compose https://hub.docker.com/r/linuxserver/luanti
Owner

Docker shouldn't make a difference. Do you use any other mods?

Docker shouldn't make a difference. Do you use any other mods?
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mrkubax10/industrialtest#30
No description provided.